mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 11:26:45 +08:00
测评删除
This commit is contained in:
@@ -48,7 +48,7 @@
|
|||||||
<span class="download"></span>
|
<span class="download"></span>
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
</a-button>
|
</a-button>
|
||||||
<a-button type="link" @click="deleteItem(record)">
|
<a-button type="link" v-if="deleteIds" @click="deleteItem(record)">
|
||||||
<a-tooltip>
|
<a-tooltip>
|
||||||
<template #title>删除</template>
|
<template #title>删除</template>
|
||||||
<span class="delete"></span>
|
<span class="delete"></span>
|
||||||
@@ -78,6 +78,7 @@ import {boeRequest} from "@/api/request";
|
|||||||
const route = useRoute();
|
const route = useRoute();
|
||||||
const state = reactive({
|
const state = reactive({
|
||||||
downloadShow: route.query.permission=='true'?true:false,
|
downloadShow: route.query.permission=='true'?true:false,
|
||||||
|
deleteIds: route.query.deleteIds=='true'?true:false,
|
||||||
searchName: '',
|
searchName: '',
|
||||||
tableLoading: false,
|
tableLoading: false,
|
||||||
tableData:[],
|
tableData:[],
|
||||||
|
|||||||
@@ -1067,7 +1067,7 @@ import {timeoutUpload} from "@/api/configPublic";
|
|||||||
const bgcheck = (record) =>{
|
const bgcheck = (record) =>{
|
||||||
router.push({
|
router.push({
|
||||||
path:'/evadown',
|
path:'/evadown',
|
||||||
query:{id:record.id,name:record.evaluationName,permission:trueFalse(record.permission,5)}
|
query:{id:record.id,name:record.evaluationName,permission:trueFalse(record.permission,5),deleteIds:trueFalse(record.permission,3)}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
watch(() => state.searchParam.pageSize, () => {
|
watch(() => state.searchParam.pageSize, () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user