6/23 更改高德地图组件,统一入口
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user