|
@@ -444,19 +444,19 @@ export default {
|
|
|
{ required: true, message: "请添加申请用途", trigger: "blur" },
|
|
|
],
|
|
|
proposerUserType: [
|
|
|
- { required: true, message: "请选择请选择申请用户类型", trigger: "blur" },
|
|
|
+ { required: true, message: "请选择请选择申请用户类型", trigger: "change" },
|
|
|
],
|
|
|
proposerType: [
|
|
|
- { required: true, message: "请选择申请类型", trigger: "blur" },
|
|
|
+ { required: true, message: "请选择申请类型", trigger: "change" },
|
|
|
],
|
|
|
needName: [
|
|
|
{ required: true, message: "请添加申请主题", trigger: "blur" },
|
|
|
],
|
|
|
isSensitive: [
|
|
|
- { required: true, message: "请选择是否涉敏", trigger: "blur" },
|
|
|
+ { required: true, message: "请选择是否涉敏", trigger: "change" },
|
|
|
],
|
|
|
isAdd4aRights: [
|
|
|
- { required: true, message: "请选择是否添加4A授权", trigger: "blur" },
|
|
|
+ { required: true, message: "请选择是否添加4A授权", trigger: "change" },
|
|
|
],
|
|
|
userName: [
|
|
|
{ required: true, message: "请添加用户名", trigger: "blur" },
|
|
@@ -486,7 +486,7 @@ export default {
|
|
|
type: "bt1n",
|
|
|
typename: "上传文件",
|
|
|
// limit: 5,
|
|
|
- url: "/market/waf/upload",
|
|
|
+ url: "/market/waf/uploadByMinio",
|
|
|
fileList: [],
|
|
|
},
|
|
|
list: {},
|
|
@@ -630,7 +630,7 @@ export default {
|
|
|
// fresourceId: "b3e6cc47-b1a9-11ed-886f-d6cd97160e00", // 本地环境
|
|
|
// fresourceId: "canvas", // 生产环境
|
|
|
// fresourceId: "9acf34bf-b24d-11ed-be6b-00505687dcd3", //测试91环境
|
|
|
- fresourceId: getConfig().accountApplicationfresourceId,
|
|
|
+ fresourceId: getConfig().accountApplicationfresourceId,
|
|
|
processDefinitionKey: "BOMC_process",
|
|
|
},
|
|
|
dialogStatus: false, //dialog显示
|
|
@@ -924,30 +924,46 @@ export default {
|
|
|
this.handleAccountStatus = true
|
|
|
},
|
|
|
delAccount() {
|
|
|
- this.$http({
|
|
|
- url: "/market/BomcProcessAccount/delBatch",
|
|
|
- method: "post",
|
|
|
- headers: {
|
|
|
- "Content-Type": "application/json",
|
|
|
- },
|
|
|
- data: { delId: this.AccountdelId },
|
|
|
- }).then((res) => {
|
|
|
- this.getAccountTable({}, this.pageSizeAccount)
|
|
|
- this.handleAccountStatus = false
|
|
|
+ this.$confirm("即将删除数据, 是否删除?", "提示", {
|
|
|
+ confirmButtonText: "确定",
|
|
|
+ cancelButtonText: "取消",
|
|
|
+ type: "warning",
|
|
|
})
|
|
|
+ .then(() => {
|
|
|
+ this.$http({
|
|
|
+ url: "/market/BomcProcessAccount/delBatch",
|
|
|
+ method: "post",
|
|
|
+ headers: {
|
|
|
+ "Content-Type": "application/json",
|
|
|
+ },
|
|
|
+ data: { delId: this.AccountdelId },
|
|
|
+ }).then((res) => {
|
|
|
+ this.getAccountTable({}, this.pageSizeAccount)
|
|
|
+ this.handleAccountStatus = false
|
|
|
+ })
|
|
|
+ })
|
|
|
+ .catch(() => { });
|
|
|
},
|
|
|
delHost() {
|
|
|
- this.$http({
|
|
|
- url: "/market/BomcProcessHost/delBatch",
|
|
|
- method: "post",
|
|
|
- headers: {
|
|
|
- "Content-Type": "application/json",
|
|
|
- },
|
|
|
- data: { delId: this.HostdelId },
|
|
|
- }).then((res) => {
|
|
|
- this.getHostTable({}, this.pageSizeHost)
|
|
|
- this.handleHostStatus = false
|
|
|
+ this.$confirm("即将删除数据, 是否删除?", "提示", {
|
|
|
+ confirmButtonText: "确定",
|
|
|
+ cancelButtonText: "取消",
|
|
|
+ type: "warning",
|
|
|
})
|
|
|
+ .then(() => {
|
|
|
+ this.$http({
|
|
|
+ url: "/market/BomcProcessHost/delBatch",
|
|
|
+ method: "post",
|
|
|
+ headers: {
|
|
|
+ "Content-Type": "application/json",
|
|
|
+ },
|
|
|
+ data: { delId: this.HostdelId },
|
|
|
+ }).then((res) => {
|
|
|
+ this.getHostTable({}, this.pageSizeHost)
|
|
|
+ this.handleHostStatus = false
|
|
|
+ })
|
|
|
+ })
|
|
|
+ .catch(() => { });
|
|
|
},
|
|
|
handleSelectionChangeHost(val) {
|
|
|
this.HostdelId = []
|
|
@@ -1124,7 +1140,7 @@ export default {
|
|
|
fileName: e.fileName,
|
|
|
};
|
|
|
this.$http({
|
|
|
- url: "/market/waf/downFile",
|
|
|
+ url: "/market/waf/downFileByMinio",
|
|
|
method: "post",
|
|
|
headers: {
|
|
|
"Content-Type": "application/json",
|
|
@@ -1162,7 +1178,7 @@ export default {
|
|
|
fileName: e.name,
|
|
|
};
|
|
|
this.$http({
|
|
|
- url: "/market/waf/downFile",
|
|
|
+ url: "/market/waf/downFileByMinio",
|
|
|
method: "post",
|
|
|
headers: {
|
|
|
"Content-Type": "application/json",
|