|
@@ -127,7 +127,7 @@
|
|
|
</span>
|
|
|
</template>
|
|
|
</vxe-column>
|
|
|
- <vxe-column title="操作" fixed="right" width="200" align="center">
|
|
|
+ <vxe-column title="操作" fixed="right" width="200" align="center" v-if="['ZiGong', 'LuZhou'].includes(themeConfig.appScope)">
|
|
|
<template #default="{ row }">
|
|
|
<el-button link type="primary" @click="visitDetail(row)" title="查看回访详情"> 回访详情 </el-button>
|
|
|
<el-button
|
|
@@ -136,12 +136,17 @@
|
|
|
@click="updateVisitResult(row)"
|
|
|
title="修改回访结果"
|
|
|
v-auth="'business:visit:visitEdit'"
|
|
|
- v-if="['ZiGong'].includes(themeConfig.appScope) && row.visitState === 30"
|
|
|
+ v-if="row.visitState === 30"
|
|
|
>
|
|
|
修改回访结果
|
|
|
</el-button>
|
|
|
</template>
|
|
|
</vxe-column>
|
|
|
+ <vxe-column title="操作" fixed="right" width="100" align="center" v-else>
|
|
|
+ <template #default="{ row }">
|
|
|
+ <el-button link type="primary" @click="visitDetail(row)" title="查看回访详情"> 回访详情 </el-button>
|
|
|
+ </template>
|
|
|
+ </vxe-column>
|
|
|
</vxe-table>
|
|
|
</div>
|
|
|
<pagination
|
|
@@ -243,7 +248,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script setup lang="tsx" name="businessVisit">
|
|
|
-import { defineAsyncComponent, onMounted, reactive, ref } from 'vue';
|
|
|
+import { defineAsyncComponent, onMounted, reactive, ref } from 'vue';
|
|
|
import { FormInstance } from 'element-plus';
|
|
|
import { formatDate } from '@/utils/formatTime';
|
|
|
import { visitList, visitSearchBaseData } from '@/api/business/visit';
|