修改调度命令报错,添加中转识别号
This commit is contained in:
parent
998f5dbced
commit
5b191b60b7
@ -192,6 +192,7 @@ export default {
|
|||||||
return 'unsigned-row';
|
return 'unsigned-row';
|
||||||
},
|
},
|
||||||
doShow() {
|
doShow() {
|
||||||
|
this.currentInfo = {};
|
||||||
this.searchCmd();
|
this.searchCmd();
|
||||||
this.dialogShow = true;
|
this.dialogShow = true;
|
||||||
this.$store.commit('socket/clearDispatchCommandMsg');
|
this.$store.commit('socket/clearDispatchCommandMsg');
|
||||||
@ -200,6 +201,7 @@ export default {
|
|||||||
this.dialogShow = false;
|
this.dialogShow = false;
|
||||||
},
|
},
|
||||||
handleCurrentChange(obj) {
|
handleCurrentChange(obj) {
|
||||||
|
if (!obj) { return; }
|
||||||
this.currentInfo = obj;
|
this.currentInfo = obj;
|
||||||
if (!this.getSignInfo(obj.receiverInfos).receivedTime) {
|
if (!this.getSignInfo(obj.receiverInfos).receivedTime) {
|
||||||
const data = {
|
const data = {
|
||||||
|
@ -46,7 +46,7 @@
|
|||||||
<div v-show="active1" class="left-table1">
|
<div v-show="active1" class="left-table1">
|
||||||
<el-table ref="table1" :data="cacheTableData" border style="width: 100%" height="100" highlight-current-row @current-change="handleCurrentChange($event, 'table1')">
|
<el-table ref="table1" :data="cacheTableData" border style="width: 100%" height="100" highlight-current-row @current-change="handleCurrentChange($event, 'table1')">
|
||||||
<el-table-column prop="number" label="命令号" width="80" />
|
<el-table-column prop="number" label="命令号" width="80" />
|
||||||
<el-table-column prop="deviceName" label="识别号" width="80" />
|
<el-table-column prop="transferNumber" label="识别号" width="80" />
|
||||||
<el-table-column prop="title" label="命令标题" show-overflow-tooltip />
|
<el-table-column prop="title" label="命令标题" show-overflow-tooltip />
|
||||||
<el-table-column prop="sendTime" label="接收单位" show-overflow-tooltip width="160">
|
<el-table-column prop="sendTime" label="接收单位" show-overflow-tooltip width="160">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
@ -160,22 +160,25 @@
|
|||||||
<div class="middle">
|
<div class="middle">
|
||||||
<el-tabs v-model="cmdTab" type="border-card">
|
<el-tabs v-model="cmdTab" type="border-card">
|
||||||
<el-tab-pane label="调度命令" name="cmd">
|
<el-tab-pane label="调度命令" name="cmd">
|
||||||
<el-form ref="form" :model="command" label-width="80px">
|
<el-form ref="form" :model="command" label-width="85px">
|
||||||
<el-form-item label="命令标题">
|
<el-form-item label="命令标题">
|
||||||
<el-input v-model="command.title" />
|
<el-input v-model="command.title" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-row>
|
<el-col :span="12">
|
||||||
<el-col :span="12">
|
<el-form-item label="命令号">
|
||||||
<el-form-item label="命令号">
|
<el-input v-model="command.number" />
|
||||||
<el-input v-model="command.number" />
|
</el-form-item>
|
||||||
</el-form-item>
|
</el-col>
|
||||||
</el-col>
|
<el-col :span="12">
|
||||||
<el-col :span="12">
|
<el-form-item label="中转识别号">
|
||||||
<el-form-item label="发令时间">
|
<el-input v-model="command.transferNumber" />
|
||||||
<el-date-picker v-model="command.sendTime" type="datetime" placeholder="选择日期时间" style="width: 100%;" value-format="yyyy-MM-dd HH:mm:ss" />
|
</el-form-item>
|
||||||
</el-form-item>
|
</el-col>
|
||||||
</el-col>
|
<el-col :span="12">
|
||||||
</el-row>
|
<el-form-item label="发令时间">
|
||||||
|
<el-date-picker v-model="command.sendTime" type="datetime" placeholder="选择日期时间" style="width: 100%;" value-format="yyyy-MM-dd HH:mm:ss" />
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="发令人">
|
<el-form-item label="发令人">
|
||||||
<el-select v-model="command.senderName" disabled placeholder="请选择" style="width: 100%;" @change="senderChange">
|
<el-select v-model="command.senderName" disabled placeholder="请选择" style="width: 100%;" @change="senderChange">
|
||||||
@ -322,6 +325,7 @@ export default {
|
|||||||
command: {
|
command: {
|
||||||
title: '',
|
title: '',
|
||||||
number: '',
|
number: '',
|
||||||
|
transferNumber: '',
|
||||||
sendTime: '',
|
sendTime: '',
|
||||||
senderId: '',
|
senderId: '',
|
||||||
senderName: '',
|
senderName: '',
|
||||||
@ -520,6 +524,7 @@ export default {
|
|||||||
this.command = {
|
this.command = {
|
||||||
title: '',
|
title: '',
|
||||||
number: '',
|
number: '',
|
||||||
|
transferNumber: '',
|
||||||
sendTime: '',
|
sendTime: '',
|
||||||
senderId: '',
|
senderId: '',
|
||||||
senderName: this.command.senderName,
|
senderName: this.command.senderName,
|
||||||
|
Loading…
Reference in New Issue
Block a user