修改 技术监督 现场问题

This commit is contained in:
GGJ
2024-07-23 15:03:48 +08:00
parent 049d0c1132
commit 33814bf712
13 changed files with 237 additions and 105 deletions

View File

@@ -22,6 +22,11 @@
<Table ref="tableRef" />
<!--弹框-->
<feedback-popup ref="feedbackPopup" />
<!-- 详情 -->
<el-dialog draggable v-model="dialogVisible" v-if="dialogVisible" title="详情" width="1000">
<detail :id="detailId" />
</el-dialog>
</template>
<script setup lang="ts">
import { ref, onMounted, provide, nextTick } from 'vue'
@@ -35,6 +40,7 @@ import { cancelFeedback } from '@/api/supervision-boot/leaflet'
import { useAdminInfo } from '@/stores/adminInfo'
import { useDictData } from '@/stores/dictData'
import { getFileNameAndFilePath } from '@/api/system-boot/file'
import detail from '@/views/pqs/supervise/harmonicSurvey/test/detail.vue'
const dictData = useDictData()
const statusSelect = dictData.statusSelect()
@@ -44,6 +50,8 @@ const { push } = useRouter()
const feedbackPopup = ref()
const tableRef = ref()
const dialogVisible = ref(false)
const detailId = ref('')
const TableHeaderRef = ref()
const tableStore = new TableStore({
url: '/supervision-boot/warningLeaflet/alarmPageData',
@@ -113,6 +121,7 @@ const tableStore = new TableStore({
return dictData.state.userList.filter(item => item.id == row.cellValue)[0]?.name
}
},
{
title: '操作',
minWidth: '220',
@@ -120,6 +129,20 @@ const tableStore = new TableStore({
render: 'buttons',
fixed: 'right',
buttons: [
{
name: 'edit',
title: '查看信息',
type: 'primary',
icon: 'el-icon-Open',
render: 'basicButton',
disabled: row => {
return !row.problemId
},
click: async row => {
dialogVisible.value = true
detailId.value = row.problemId
}
},
{
name: 'productSetting',
title: '发送督办单',