mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 04:16:47 +08:00
Merge branch 'zcwy-0306' into dev0223
This commit is contained in:
@@ -205,7 +205,7 @@ import {boeRequest} from "@/api/request";
|
|||||||
dialog({
|
dialog({
|
||||||
content: '请您确认是否要删除该报告?',
|
content: '请您确认是否要删除该报告?',
|
||||||
ok: () => {
|
ok: () => {
|
||||||
deleteById({id:record.id,pid:route.query.id}).then((res)=>{
|
deleteById({id:record.id,kid:route.query.kid}).then((res)=>{
|
||||||
message.success('删除成功')
|
message.success('删除成功')
|
||||||
listData()
|
listData()
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<div class="evaluationUpload">
|
<div class="evaluationUpload">
|
||||||
<div class="headers">
|
<div class="headers">
|
||||||
<div class="headers_item">
|
<div class="headers_item">
|
||||||
<div class="headers_item_btn" @click="bgupload">
|
<div class="headers_item_btn" v-if="uploadAdmin('Upload-admin')" @click="bgupload">
|
||||||
<div class="btnText">报告上传</div>
|
<div class="btnText">报告上传</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -48,7 +48,7 @@
|
|||||||
:scroll="{ x: '1000' }"
|
:scroll="{ x: '1000' }"
|
||||||
:pagination="false"
|
:pagination="false"
|
||||||
>
|
>
|
||||||
<template #operation="{ record, column }">
|
<template #operation="{ record, column }" >
|
||||||
<a-space>
|
<a-space>
|
||||||
<a-button v-if="trueFalse(record.permission,1)" type="link" @click="bgcheck(record)">
|
<a-button v-if="trueFalse(record.permission,1)" type="link" @click="bgcheck(record)">
|
||||||
<a-tooltip>
|
<a-tooltip>
|
||||||
@@ -761,6 +761,7 @@ import {timeoutUpload} from "@/api/configPublic";
|
|||||||
// ]);
|
// ]);
|
||||||
onMounted(()=>{
|
onMounted(()=>{
|
||||||
state.tableLoading = true
|
state.tableLoading = true
|
||||||
|
console.log(userInfo.value,'userInfo.value')
|
||||||
listData()
|
listData()
|
||||||
})
|
})
|
||||||
const uploadAdmin = (aaaa)=>{
|
const uploadAdmin = (aaaa)=>{
|
||||||
@@ -794,8 +795,8 @@ import {timeoutUpload} from "@/api/configPublic";
|
|||||||
workNum:userInfo.value.userNo
|
workNum:userInfo.value.userNo
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
console.log(res,'resdata')
|
console.log(res,'resdata')
|
||||||
state.tableData = res.data.records
|
state.tableData = res.data.pageList.records
|
||||||
state.tableDataTotal = res.data.total
|
state.tableDataTotal = res.data.pageList.total
|
||||||
state.tableLoading = false
|
state.tableLoading = false
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user