Commit c5f0d091 authored by Sixiang_Zzb's avatar Sixiang_Zzb

服务商模块提示修改

parent 596208ca
...@@ -65,7 +65,7 @@ export default { ...@@ -65,7 +65,7 @@ export default {
// message.error("Service scope selection error!!!") // message.error("Service scope selection error!!!")
Modal.error({ Modal.error({
title: 'Service selection 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; return;
} }
...@@ -91,9 +91,9 @@ export default { ...@@ -91,9 +91,9 @@ export default {
// 创建成功 // 创建成功
if (resp.error_code === "0000") { if (resp.error_code === "0000") {
message.success('Operator Success!', 1.5, () => { // message.success('Operator Success!', 1.5, () => {
window.location.href = '/UserManagement/ServiceProviderManagement'; // });
}); window.location.href = '/UserManagement/ServiceProviderManagement';
let CurData: Boolean = true; let CurData: Boolean = true;
yield put({ type: 'returnCurData', CurData }); yield put({ type: 'returnCurData', CurData });
return; return;
......
...@@ -97,6 +97,8 @@ const Users = (props: any) => { ...@@ -97,6 +97,8 @@ const Users = (props: any) => {
name: 'file', name: 'file',
action: '/tos/excel/upload?userId=' + id, action: '/tos/excel/upload?userId=' + id,
beforeUpload: (file: any) => { beforeUpload: (file: any) => {
console.log(file);
if (permissionArr.indexOf('4') < 0) { if (permissionArr.indexOf('4') < 0) {
message.error('No permissions'); message.error('No permissions');
return false; return false;
......
...@@ -38,7 +38,6 @@ const Edit = (props: any) => { ...@@ -38,7 +38,6 @@ const Edit = (props: any) => {
// 处理服务范围数据 // 处理服务范围数据
useEffect(() => { useEffect(() => {
if (DataServices != null) { if (DataServices != null) {
console.log(DataServices);
options = DataServices.data.rows.map((v: any) => { options = DataServices.data.rows.map((v: any) => {
return { return {
label: v.serviceName, label: v.serviceName,
...@@ -103,7 +102,6 @@ const Edit = (props: any) => { ...@@ -103,7 +102,6 @@ const Edit = (props: any) => {
if (SaveChooseData) { if (SaveChooseData) {
val.id = SaveChooseData.id; val.id = SaveChooseData.id;
} }
console.log(val);
setload(true); setload(true);
TosTosServiceProviderSave(val); 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