mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 03:46:45 +08:00
测评上传
This commit is contained in:
@@ -512,7 +512,7 @@
|
|||||||
<a-button type="link" @click="powerSetting(record)">
|
<a-button type="link" @click="powerSetting(record)">
|
||||||
<span>权限配置</span>
|
<span>权限配置</span>
|
||||||
</a-button>
|
</a-button>
|
||||||
<a-button type="link" :disabled="record.status==0" @click="textEnableAdd(record)">
|
<a-button type="link" :disabled="record.status==0||record.statusList == 0" @click="textEnableAdd(record)">
|
||||||
<span>启用</span>
|
<span>启用</span>
|
||||||
</a-button>
|
</a-button>
|
||||||
<a-button type="link" @click="textDeleteAdd(record,index)">
|
<a-button type="link" @click="textDeleteAdd(record,index)">
|
||||||
@@ -967,7 +967,7 @@ import { message } from "ant-design-vue";
|
|||||||
}
|
}
|
||||||
const downloadAll = async (record) => {
|
const downloadAll = async (record) => {
|
||||||
console.log(record,'record')
|
console.log(record,'record')
|
||||||
// window.open(`${process.env.VUE_APP_BASE_API}/activityApi/evaluation/detaildownload?id=${record.id}`);
|
window.open(`/activityApi/evaluation/detaildownload?id=${record.id}`);
|
||||||
}
|
}
|
||||||
const of_exit = () => {
|
const of_exit = () => {
|
||||||
state.bg_check = false;
|
state.bg_check = false;
|
||||||
@@ -1009,8 +1009,7 @@ import { message } from "ant-design-vue";
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
if(state.valueAll.length != 0){
|
if(state.valueAll.length != 0){
|
||||||
console.log(state.valueAll,'valueAll')
|
await saveEvaluationDetail({evaluationDetailListlist:state.valueAll,pid:state.uploadId}).then((res)=>{
|
||||||
await saveEvaluationDetail({evaluationDetailListlist:state.valueAll}).then((res)=>{
|
|
||||||
console.log(res.data,'json')
|
console.log(res.data,'json')
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@@ -1118,7 +1117,8 @@ import { message } from "ant-design-vue";
|
|||||||
content: '请您确认是否要清空全部报告?',
|
content: '请您确认是否要清空全部报告?',
|
||||||
ok: () => {
|
ok: () => {
|
||||||
clear({
|
clear({
|
||||||
creatId:record.id
|
createId:record.id,
|
||||||
|
id:record.id
|
||||||
}).then((res)=>{
|
}).then((res)=>{
|
||||||
console.log(res,'data')
|
console.log(res,'data')
|
||||||
message.success('清空成功')
|
message.success('清空成功')
|
||||||
@@ -1222,6 +1222,7 @@ import { message } from "ant-design-vue";
|
|||||||
}
|
}
|
||||||
//添加权限确定
|
//添加权限确定
|
||||||
const addSettingUp = async () => {
|
const addSettingUp = async () => {
|
||||||
|
console.log(state.saveList,'state.saveList')
|
||||||
await savePermission({userList:state.saveList,pid:state.saveListPid})
|
await savePermission({userList:state.saveList,pid:state.saveListPid})
|
||||||
saveListItem()
|
saveListItem()
|
||||||
of_addsetting()
|
of_addsetting()
|
||||||
@@ -1239,6 +1240,7 @@ import { message } from "ant-design-vue";
|
|||||||
if(res.code === 200){
|
if(res.code === 200){
|
||||||
console.log(res,'res')
|
console.log(res,'res')
|
||||||
message.success('启用成功')
|
message.success('启用成功')
|
||||||
|
record.statusList = 0
|
||||||
state.saveList.push(record)
|
state.saveList.push(record)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user