mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-09 19:06:45 +08:00
测评上传
This commit is contained in:
@@ -1071,11 +1071,13 @@ import { message } from "ant-design-vue";
|
||||
};
|
||||
//报告上传
|
||||
const bgupload = () => {
|
||||
state.valueAll = []
|
||||
state.bg_check = true;
|
||||
state.formData = {}
|
||||
}
|
||||
const bgupload1 = (record) => {
|
||||
console.log(record,'record')
|
||||
state.valueAll = []
|
||||
state.uploadDownId =record.id
|
||||
state.btShowEdit = trueFalse(record.permission,2)
|
||||
state.uploadId = record.id
|
||||
@@ -1091,7 +1093,7 @@ import { message } from "ant-design-vue";
|
||||
const of_exit = () => {
|
||||
state.bg_check = false;
|
||||
state.errorMessage = ''
|
||||
state.uploadId = ''
|
||||
// state.uploadId = ''
|
||||
state.uploadName = ''
|
||||
state.loadData = false
|
||||
state.uploadStatus = true
|
||||
@@ -1131,7 +1133,9 @@ import { message } from "ant-design-vue";
|
||||
})
|
||||
}
|
||||
if(state.valueAll.length != 0 && !state.loadData){
|
||||
state.bg_results = true
|
||||
if(state.valueAll.length >1){
|
||||
state.bg_results = true
|
||||
}
|
||||
state.valueAll.forEach((item)=>{
|
||||
if(item.createId){
|
||||
item.createId = userInfo.value.userId
|
||||
@@ -1142,6 +1146,9 @@ import { message } from "ant-design-vue";
|
||||
if(res.code == 200){
|
||||
message.success(res.msg)
|
||||
}
|
||||
if(res.data.code == -1){
|
||||
message.error(res.msg)
|
||||
}
|
||||
console.log(res,'aaa')
|
||||
})
|
||||
}
|
||||
@@ -1369,6 +1376,7 @@ import { message } from "ant-design-vue";
|
||||
state.bg_addsetting = false
|
||||
state.searchParam.createName = ''
|
||||
state.tableDataAdd = []
|
||||
state.saveList = []
|
||||
}
|
||||
//搜索权限
|
||||
const searchSave = async () => {
|
||||
@@ -1410,6 +1418,7 @@ import { message } from "ant-design-vue";
|
||||
const of_power = () => {
|
||||
state.bg_power = false
|
||||
state.bg_power2 = false
|
||||
state.powerStatus = {}
|
||||
state.permissionId = ''
|
||||
state.checkclick = []
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user