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