Browse Source

不满意信件权限配置问题

master
21819 2 years ago
parent
commit
66989adb56
  1. 2
      src/views/work/Dissatisfied.vue
  2. 5
      src/views/work/Query.vue

2
src/views/work/Dissatisfied.vue

@ -139,7 +139,7 @@
<el-button type="primary" link v-if="row.appealState === '3'"
@click="handleOverruleReason(row.id)">查看驳回理由</el-button>
<el-button type="primary" link
v-if="row.appealState === '1' && row.nowDeptId === row.handlingDept"
v-if="row.appealState === '1'" v-perms="['dissatisfied:handle']"
@click="handleAppeal(row.id)">立即处理</el-button>
</template>
</el-table-column>

5
src/views/work/Query.vue

@ -94,7 +94,7 @@
</div>
</el-form>
</header>
<main>
<main v-loading="loading">
<div class="table-container">
<el-table :data="form" style="width: 100%" stripe ref="tableRef"
@selection-change="handleSelectionChange" :row-key="rowKey">
@ -202,6 +202,7 @@ import { getToken } from '@/utils/auth'
import axios from 'axios'
const rowKey = "id";
const loading = ref(false)
const tableRef = ref<InstanceType<typeof ElTable>>();
const mailStore = useMailStore();
@ -302,6 +303,7 @@ const handleCurrentChange = (page: any) => {
}
function getList() {
loading.value = true
let source = ""
if (query.value.mailLabels) {
let strLabels = ""
@ -320,6 +322,7 @@ function getList() {
totalSize.total = data.total;
totalSize.pages = data.pages;
query.value.mailLabels = source
loading.value = false
});
}

Loading…
Cancel
Save