|
@@ -176,26 +176,26 @@
|
|
<el-row v-if="deal_flag">
|
|
<el-row v-if="deal_flag">
|
|
<el-col class="user-table">
|
|
<el-col class="user-table">
|
|
<div class="label">处理状态:</div>
|
|
<div class="label">处理状态:</div>
|
|
- <!-- <el-radio-group> -->
|
|
|
|
- <el-radio v-model="form.solve_status" label="0">未处理</el-radio>
|
|
|
|
- <el-radio v-model="form.solve_status" label="2">在处理</el-radio>
|
|
|
|
- <el-radio v-model="form.solve_status" label="1">已处理</el-radio>
|
|
|
|
- <!-- </el-radio-group> -->
|
|
|
|
|
|
+ <el-radio-group v-model="form.solve_status">
|
|
|
|
+ <el-radio :label="0">未处理</el-radio>
|
|
|
|
+ <el-radio :label="2">在处理</el-radio>
|
|
|
|
+ <el-radio :label="1">已处理</el-radio>
|
|
|
|
+ </el-radio-group>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
<el-row v-if="deal_flag" style="margin-bottom: 20px;">
|
|
<el-row v-if="deal_flag" style="margin-bottom: 20px;">
|
|
<el-col class="user-table" style="align-items: flex-start;">
|
|
<el-col class="user-table" style="align-items: flex-start;">
|
|
<div class="label">事件记录:</div>
|
|
<div class="label">事件记录:</div>
|
|
- <el-input type="textarea" :rows="2" style="width: 950px;" v-model="form.msg"></el-input>
|
|
|
|
|
|
+ <el-input type="textarea" :rows="5" style="width: 950px;" v-model="form.msg"></el-input>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
- <el-row>
|
|
|
|
- <div id="sos-map"></div>
|
|
|
|
- </el-row>
|
|
|
|
- <div slot="footer" class="dialog-footer" style="text-align: center;">
|
|
|
|
|
|
+ <div class="dialog-footer" style="text-align: center; margin: 20px 0;">
|
|
<el-button type="primary" @click="submit" v-if="deal_flag">提 交</el-button>
|
|
<el-button type="primary" @click="submit" v-if="deal_flag">提 交</el-button>
|
|
<el-button @click="cancel" v-if="!deal_flag">关 闭</el-button>
|
|
<el-button @click="cancel" v-if="!deal_flag">关 闭</el-button>
|
|
</div>
|
|
</div>
|
|
|
|
+ <el-row>
|
|
|
|
+ <div id="sos-map"></div>
|
|
|
|
+ </el-row>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
@@ -294,6 +294,7 @@ export default {
|
|
async getList() {
|
|
async getList() {
|
|
this.loading = true;
|
|
this.loading = true;
|
|
let { data: deviceModel } = await this.getDicts('sys_device_type')
|
|
let { data: deviceModel } = await this.getDicts('sys_device_type')
|
|
|
|
+
|
|
this.deviceModel = deviceModel
|
|
this.deviceModel = deviceModel
|
|
await listSolve(this.queryParams).then(response => {
|
|
await listSolve(this.queryParams).then(response => {
|
|
this.solveList = response.rows;
|
|
this.solveList = response.rows;
|
|
@@ -305,7 +306,6 @@ export default {
|
|
})
|
|
})
|
|
this.total = response.total;
|
|
this.total = response.total;
|
|
this.loading = false;
|
|
this.loading = false;
|
|
- console.log(this.solveList);
|
|
|
|
});
|
|
});
|
|
},
|
|
},
|
|
// 取消按钮
|
|
// 取消按钮
|
|
@@ -374,7 +374,6 @@ export default {
|
|
const id = row.aid
|
|
const id = row.aid
|
|
this.solveList.map(item => {
|
|
this.solveList.map(item => {
|
|
if (item.aid == id) {
|
|
if (item.aid == id) {
|
|
- console.log(item);
|
|
|
|
this.form = item
|
|
this.form = item
|
|
this.open = true;
|
|
this.open = true;
|
|
this.deal_flag = false
|
|
this.deal_flag = false
|