|
@@ -62,11 +62,11 @@
|
|
|
|
|
|
|
|
<!-- 操作按钮区域 -->
|
|
<!-- 操作按钮区域 -->
|
|
|
<div class="operation-bar">
|
|
<div class="operation-bar">
|
|
|
- <el-button
|
|
|
|
|
- v-region-permission="{
|
|
|
|
|
|
|
+ <!-- v-region-permission="{
|
|
|
category: 'auditDocNoManage',
|
|
category: 'auditDocNoManage',
|
|
|
action: 'add',
|
|
action: 'add',
|
|
|
- }"
|
|
|
|
|
|
|
+ }" -->
|
|
|
|
|
+ <el-button
|
|
|
plain
|
|
plain
|
|
|
type="success"
|
|
type="success"
|
|
|
icon="el-icon-circle-plus"
|
|
icon="el-icon-circle-plus"
|
|
@@ -115,33 +115,25 @@
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
<template #action="{ row }">
|
|
<template #action="{ row }">
|
|
|
- <el-button
|
|
|
|
|
- v-region-permission="{
|
|
|
|
|
|
|
+ <!-- v-region-permission="{
|
|
|
category: 'auditReviewDocManage',
|
|
category: 'auditReviewDocManage',
|
|
|
action: 'view',
|
|
action: 'view',
|
|
|
- }"
|
|
|
|
|
- type="text"
|
|
|
|
|
- size="mini"
|
|
|
|
|
- @click="handleDetail(row)"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ }" -->
|
|
|
|
|
+ <el-button type="text" size="mini" @click="handleDetail(row)">
|
|
|
详情
|
|
详情
|
|
|
</el-button>
|
|
</el-button>
|
|
|
- <el-button
|
|
|
|
|
- v-region-permission="{
|
|
|
|
|
|
|
+ <!-- v-region-permission="{
|
|
|
category: 'auditReviewDocManage',
|
|
category: 'auditReviewDocManage',
|
|
|
action: 'edit',
|
|
action: 'edit',
|
|
|
- }"
|
|
|
|
|
- type="text"
|
|
|
|
|
- size="mini"
|
|
|
|
|
- @click="handleEdit(row)"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ }" -->
|
|
|
|
|
+ <el-button type="text" size="mini" @click="handleEdit(row)">
|
|
|
修改
|
|
修改
|
|
|
</el-button>
|
|
</el-button>
|
|
|
- <el-button
|
|
|
|
|
- v-region-permission="{
|
|
|
|
|
|
|
+ <!-- v-region-permission="{
|
|
|
category: 'auditReviewDocManage',
|
|
category: 'auditReviewDocManage',
|
|
|
action: 'delete',
|
|
action: 'delete',
|
|
|
- }"
|
|
|
|
|
|
|
+ }" -->
|
|
|
|
|
+ <el-button
|
|
|
type="text"
|
|
type="text"
|
|
|
size="mini"
|
|
size="mini"
|
|
|
class="delete-btn"
|
|
class="delete-btn"
|
|
@@ -330,13 +322,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div slot="footer" class="dialog-footer">
|
|
<div slot="footer" class="dialog-footer">
|
|
|
- <el-button
|
|
|
|
|
- v-if="dialogTitle === '添加'"
|
|
|
|
|
- type="primary"
|
|
|
|
|
- @click="handleSave"
|
|
|
|
|
- >
|
|
|
|
|
- 确认
|
|
|
|
|
- </el-button>
|
|
|
|
|
|
|
+ <el-button type="primary" @click="handleSave">确认</el-button>
|
|
|
<el-button @click="dialogVisible = false">取消</el-button>
|
|
<el-button @click="dialogVisible = false">取消</el-button>
|
|
|
</div>
|
|
</div>
|
|
|
</el-dialog>
|
|
</el-dialog>
|
|
@@ -560,8 +546,8 @@
|
|
|
...this.searchForm,
|
|
...this.searchForm,
|
|
|
}
|
|
}
|
|
|
const response = await getData(params)
|
|
const response = await getData(params)
|
|
|
- this.tableData = response.value.records || []
|
|
|
|
|
- this.total = response.value.total || 0
|
|
|
|
|
|
|
+ this.tableData = response.rows || []
|
|
|
|
|
+ this.total = response.total || 0
|
|
|
this.fetchRegionNames(this.tableData, 'areaCode')
|
|
this.fetchRegionNames(this.tableData, 'areaCode')
|
|
|
} catch (error) {
|
|
} catch (error) {
|
|
|
console.error('获取数据失败:', error)
|
|
console.error('获取数据失败:', error)
|