mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 03:16:44 +08:00
测评
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
<div class="evadown">
|
||||
<div class="down_header">
|
||||
<div class="down_header_title" @click="downloadAll">
|
||||
<div class="down_header_btn">
|
||||
<div class="down_header_btn" v-if="downloadShow">
|
||||
<div class="btnText">全量下载</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -42,7 +42,7 @@
|
||||
>
|
||||
<template #operation="{ record, column }">
|
||||
<a-space>
|
||||
<a-button type="link" @click="downloadItem(record)">
|
||||
<a-button type="link" v-if="downloadShow" @click="downloadItem(record)">
|
||||
<a-tooltip>
|
||||
<template #title>下载</template>
|
||||
<span class="download"></span>
|
||||
@@ -77,6 +77,7 @@ import {boeRequest} from "@/api/request";
|
||||
const userInfo = computed(()=>store.state.userInfo)
|
||||
const route = useRoute();
|
||||
const state = reactive({
|
||||
downloadShow: route.query.permission=='true'?true:false,
|
||||
searchName: '',
|
||||
tableLoading: false,
|
||||
tableData:[],
|
||||
|
||||
@@ -363,13 +363,13 @@
|
||||
>
|
||||
<template #action="{ record, column }">
|
||||
<a-space>
|
||||
<a-button type="link" @click="textEnableAdd2(record)" :disabled="record.status==0">
|
||||
<a-button type="link" v-if="uploadAdmin('Upload-admin')" @click="textEnableAdd2(record)" :disabled="record.status==0">
|
||||
<span :class="{text_color:record.status==0?'text_color':''}">启用</span>
|
||||
</a-button>
|
||||
<a-button type="link" @click="textDisabled(record)" :disabled="record.status==1">
|
||||
<a-button type="link" v-if="uploadAdmin('Upload-admin')" @click="textDisabled(record)" :disabled="record.status==1">
|
||||
<span :class="record.status==1?'text_color':''">禁用</span>
|
||||
</a-button>
|
||||
<a-button type="link" @click="textDelete(record)">
|
||||
<a-button type="link" v-if="uploadAdmin('Upload-admin')" @click="textDelete(record)">
|
||||
<span class="download">删除</span>
|
||||
</a-button>
|
||||
<a-button type="link" v-if="uploadAdmin('Upload-admin')" @click="updateAuthority(record)">
|
||||
@@ -1065,7 +1065,7 @@ import {timeoutUpload} from "@/api/configPublic";
|
||||
const bgcheck = (record) =>{
|
||||
router.push({
|
||||
path:'/evadown',
|
||||
query:{id:record.id,name:record.evaluationName}
|
||||
query:{id:record.id,name:record.evaluationName,permission:trueFalse(record.permission,5)}
|
||||
})
|
||||
}
|
||||
watch(() => state.searchParam.pageSize, () => {
|
||||
|
||||
Reference in New Issue
Block a user