|
|
@@ -15,17 +15,11 @@
|
|
|
<div class="table-list">
|
|
|
<div v-if="showActionBar" class="action-bar">
|
|
|
<span class="num-text">已选{{ chooseNum }}项</span>
|
|
|
- <el-button
|
|
|
- :class="isActiveCancelHide ? 'btn-active' : 'btn-normal'"
|
|
|
- @click="handleCancelHideAll"
|
|
|
+ <el-button :class="isActiveCancelHide ? 'btn-active' : 'btn-normal'" @click="handleCancelHideAll"
|
|
|
>全部生效</el-button
|
|
|
>
|
|
|
- <el-button :class="isActiveHide ? 'btn-active' : 'btn-normal'" @click="handleHideAll"
|
|
|
- >全部失效</el-button
|
|
|
- >
|
|
|
- <el-button :class="isActiveDelete ? 'btn-active' : 'btn-normal'" @click="handleDeleteAll"
|
|
|
- >删除</el-button
|
|
|
- >
|
|
|
+ <el-button :class="isActiveHide ? 'btn-active' : 'btn-normal'" @click="handleHideAll">全部失效</el-button>
|
|
|
+ <el-button :class="isActiveDelete ? 'btn-active' : 'btn-normal'" @click="handleDeleteAll">删除</el-button>
|
|
|
<el-button
|
|
|
v-if="!cancelUrgentFlag"
|
|
|
:class="isActiveUrgent ? 'btn-active' : 'btn-normal'"
|
|
|
@@ -38,10 +32,7 @@
|
|
|
@click="handleCancelUrgentAll"
|
|
|
>取消加急</el-button
|
|
|
>
|
|
|
- <el-button
|
|
|
- v-if="hasPermisson()"
|
|
|
- :class="isActiveCopy ? 'btn-active' : 'btn-normal'"
|
|
|
- @click="handleCopyToShow"
|
|
|
+ <el-button v-if="hasPermisson()" :class="isActiveCopy ? 'btn-active' : 'btn-normal'" @click="handleCopyToShow"
|
|
|
>复制到展示数据</el-button
|
|
|
>
|
|
|
<span class="close-btn" @click="handleSelectNone"></span>
|
|
|
@@ -115,8 +106,7 @@
|
|
|
|
|
|
const userStore = useUserStore();
|
|
|
const { locationOptions, getLocationOptions } = useWorkLocation();
|
|
|
- const { aiMainOptions, manualMainOptions, getAIMainOptions, getManualMainOptions } =
|
|
|
- useIssueMainType();
|
|
|
+ const { aiMainOptions, manualMainOptions, getAIMainOptions, getManualMainOptions } = useIssueMainType();
|
|
|
|
|
|
const { urlPrefix } = useGlobSetting();
|
|
|
|
|
|
@@ -195,7 +185,7 @@
|
|
|
headers: getHeaders(),
|
|
|
responseType: 'blob',
|
|
|
};
|
|
|
- const response = await axios.post(urlPrefix + '/issue/exportIssueList', requestBody, config);
|
|
|
+ const response = await axios.post(urlPrefix + '/admin/issueManage/exportIssueList', requestBody, config);
|
|
|
const blob = new Blob([response.data], {
|
|
|
type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
|
|
|
});
|
|
|
@@ -385,8 +375,7 @@
|
|
|
else hasPreviousRow.value = false;
|
|
|
if (detailNextRow.value) hasNextRow.value = true;
|
|
|
else hasNextRow.value = false;
|
|
|
- if (chooseRow.value.findIndex((item) => item.id === curRow.id) !== -1)
|
|
|
- detailRowChosen.value = true;
|
|
|
+ if (chooseRow.value.findIndex((item) => item.id === curRow.id) !== -1) detailRowChosen.value = true;
|
|
|
else detailRowChosen.value = false;
|
|
|
};
|
|
|
const handleDetail = (row) => {
|