Commit c5f0d091 authored by Sixiang_Zzb's avatar Sixiang_Zzb

服务商模块提示修改

parent 596208ca
......@@ -65,7 +65,7 @@ export default {
// message.error("Service scope selection error!!!")
Modal.error({
title: 'Service selection error',
content: 'No multiple selection are allowed once Accounting or Security server is being selected!',
content: 'No multiple selection are allowed once Accounting or Security Service is being selected!',
});
return;
}
......@@ -91,9 +91,9 @@ export default {
// 创建成功
if (resp.error_code === "0000") {
message.success('Operator Success!', 1.5, () => {
// message.success('Operator Success!', 1.5, () => {
// });
window.location.href = '/UserManagement/ServiceProviderManagement';
});
let CurData: Boolean = true;
yield put({ type: 'returnCurData', CurData });
return;
......
......@@ -97,6 +97,8 @@ const Users = (props: any) => {
name: 'file',
action: '/tos/excel/upload?userId=' + id,
beforeUpload: (file: any) => {
console.log(file);
if (permissionArr.indexOf('4') < 0) {
message.error('No permissions');
return false;
......
......@@ -38,7 +38,6 @@ const Edit = (props: any) => {
// 处理服务范围数据
useEffect(() => {
if (DataServices != null) {
console.log(DataServices);
options = DataServices.data.rows.map((v: any) => {
return {
label: v.serviceName,
......@@ -103,7 +102,6 @@ const Edit = (props: any) => {
if (SaveChooseData) {
val.id = SaveChooseData.id;
}
console.log(val);
setload(true);
TosTosServiceProviderSave(val);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment