6/23 更改高德地图组件,统一入口

This commit is contained in:
Zy
2026-06-23 17:07:48 +08:00
parent 826bf3c782
commit 33d35c8d70
30 changed files with 643 additions and 757 deletions

View File

@@ -75,8 +75,7 @@
<el-form ref="formRef" :rules="rules" class="m-auto" :inline="false" label-width="100px" :model="form">
<el-form-item label="处理状态" prop="status">
<el-radio-group v-model="form.status">
<!-- <el-radio v-for="(item, index) in com_complaint_status" :key="index" :value="item.value">{{ item.label }}</el-radio> -->
<el-radio value="1">处理完成</el-radio>
<el-radio value="2">处理完成</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item label="处理人员" prop="handleId">
@@ -92,7 +91,7 @@
<el-input type="textarea" :rows="5" v-model="form.handleContent"></el-input>
</el-form-item>
<el-form-item>
<el-button type="primary" @click="submitForm">提交</el-button>
<el-button type="primary" v-if="form.status === '0'" @click="submitForm">提交</el-button>
<el-button @click="handleBack">返回</el-button>
</el-form-item>
</el-form>
@@ -124,7 +123,7 @@ const form = ref({
'complaintName': '',
'phone': '',
'problemImageUrl': '',
'status': '1', // 投诉状态 0待处理 1已处理
'status': '2', // 投诉状态 0待处理 1处理中 2已处理
'handleId': '',
'handleName': '',
'handleContent': '',
@@ -145,7 +144,6 @@ async function init() {
...res.data
};
problemImageUrlList.value = res.data.problemImageUrl ? res.data.problemImageUrl.split(',') : [];
form.value.status = '1';
const find = res2.rows.find((item) => item.id === form.value.typeId);
if (find) {
form.value.type = find.name;

View File

@@ -34,13 +34,14 @@
<dict-tag :options="com_complaint_status" :value="scope.row.status"></dict-tag>
</template>
</el-table-column>
<el-table-column label="处理人" align="center" prop="handleName" />
<el-table-column label="处理描述" show-overflow-tooltip align="center" prop="handleContent" />
<el-table-column label="操作" align="center" fixed="right" class-name="small-padding fixed-width">
<template #default="scope">
<el-button link type="primary" @click="handleUpdate(scope.row)" v-has-permi="['complaint:complaint:query']">查看详情</el-button>
</template>
</el-table-column>
</el-table>
<pagination v-show="total > 0" :total="total" v-model:page="queryParams.pageNum" v-model:limit="queryParams.pageSize" @pagination="getList" />
</el-card>
</div>
@@ -98,7 +99,7 @@ const data = reactive<PageData<ComplaintForm, ComplaintQuery>>({
const { queryParams } = toRefs(data);
const complainTypeList = ref([]);
/** 查询投诉管理列表 */
/** 查询投诉管理列表 ╬╬╬*/
const getList = async () => {
loading.value = true;
const res2 = await listComplaintType();