|
|
|
@ -40,6 +40,30 @@
|
|
|
|
|
<JnpfSelect v-model="dataForm.eventType" @change="changeData('eventType',-1)"
|
|
|
|
|
placeholder="请选择" clearable :style='{"width":"100%"}' :options="eventTypeOptions" :props="eventTypeProps" >
|
|
|
|
|
</JnpfSelect>
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="24" >
|
|
|
|
|
<jnpf-form-tip-item
|
|
|
|
|
label="订单号" prop="orderNo" >
|
|
|
|
|
<JnpfInput v-model="dataForm.orderNo" @change="changeData('orderNo',-1)"
|
|
|
|
|
placeholder="请输入" clearable :style='{"width":"100%"}'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="24" >
|
|
|
|
|
<jnpf-form-tip-item
|
|
|
|
|
label="订单类型" prop="orderType" >
|
|
|
|
|
<JnpfRadio v-model="dataForm.orderType" @change="changeData('orderType',-1)"
|
|
|
|
|
optionType="button" direction="horizontal" size="small" :options="orderTypeOptions" :props="orderTypeProps" >
|
|
|
|
|
</JnpfRadio>
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="24" >
|
|
|
|
|
<jnpf-form-tip-item
|
|
|
|
|
label="手机号" prop="phone" >
|
|
|
|
|
<JnpfInput v-model="dataForm.phone" @change="changeData('phone',-1)"
|
|
|
|
|
placeholder="请输入" clearable :style='{"width":"100%"}'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
@ -88,22 +112,6 @@
|
|
|
|
|
label="创建时间" prop="createTime" >
|
|
|
|
|
<JnpfOpenData v-model="dataForm.createTime" @change="changeData('createTime',-1)"
|
|
|
|
|
placeholder="系统自动生成" readonly :style='{"width":"100%"}' type="currTime" >
|
|
|
|
|
</JnpfOpenData>
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="24" >
|
|
|
|
|
<jnpf-form-tip-item
|
|
|
|
|
label="所属组织" prop="organizeJsonId" >
|
|
|
|
|
<JnpfOpenData v-model="dataForm.organizeJsonId" @change="changeData('organizeJsonId',-1)"
|
|
|
|
|
placeholder="系统自动生成" readonly :style='{"width":"100%"}' type="currOrganize" showLevel="all" >
|
|
|
|
|
</JnpfOpenData>
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="24" >
|
|
|
|
|
<jnpf-form-tip-item
|
|
|
|
|
label="部门" prop="departmentId" >
|
|
|
|
|
<JnpfOpenData v-model="dataForm.departmentId" @change="changeData('departmentId',-1)"
|
|
|
|
|
placeholder="系统自动生成" readonly :style='{"width":"100%"}' type="currPosition" >
|
|
|
|
|
</JnpfOpenData>
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
</el-col>
|
|
|
|
@ -175,14 +183,15 @@
|
|
|
|
|
bucketCode : undefined,
|
|
|
|
|
doorNum : undefined,
|
|
|
|
|
eventType : undefined,
|
|
|
|
|
orderNo : undefined,
|
|
|
|
|
orderType : undefined,
|
|
|
|
|
phone : undefined,
|
|
|
|
|
eventTime : undefined,
|
|
|
|
|
eventDesc : undefined,
|
|
|
|
|
isLocal : undefined,
|
|
|
|
|
eventResult : undefined,
|
|
|
|
|
createUserId : undefined,
|
|
|
|
|
createTime : undefined,
|
|
|
|
|
organizeJsonId : undefined,
|
|
|
|
|
departmentId : undefined,
|
|
|
|
|
},
|
|
|
|
|
tableRequiredData: {},
|
|
|
|
|
dataRule:
|
|
|
|
@ -194,8 +203,10 @@
|
|
|
|
|
bucketCodeProps:{"label":"bucket_name","value":"bucket_code" },
|
|
|
|
|
doorNumOptions:[{"fullName":"1号","id":"1"},{"fullName":"2号","id":"2"},{"fullName":"3号","id":"3"},{"fullName":"4号","id":"4"},{"fullName":"5号","id":"5"},{"fullName":"6号","id":"6"},{"fullName":"7号","id":"7"},{"fullName":"8号","id":"8"},{"fullName":"9号","id":"9"},{"fullName":"10号","id":"10"},{"fullName":"11号","id":"11"},{"fullName":"12号","id":"12"}],
|
|
|
|
|
doorNumProps:{"label":"fullName","value":"id" },
|
|
|
|
|
eventTypeOptions:[{"fullName":"登录成功","id":"login"},{"fullName":"配置变更","id":"change"},{"fullName":"重启设备","id":"reboot"},{"fullName":"重启应用","id":"restart"},{"fullName":"更新应用","id":"update"},{"fullName":"投递开门","id":"deliveryOpen"},{"fullName":"投递关门","id":"deliveryClose"},{"fullName":"延时关门","id":"delay"},{"fullName":"清运开门","id":"cleanOpen"},{"fullName":"抓拍","id":"snapshot"},{"fullName":"秤体校准","id":"adjust"},{"fullName":"秤体清零","id":"clear"},{"fullName":"获取状态","id":"status"}],
|
|
|
|
|
eventTypeProps:{"label":"fullName","value":"id" },
|
|
|
|
|
eventTypeOptions:[],
|
|
|
|
|
eventTypeProps:{"label":"fullName","value":"enCode" },
|
|
|
|
|
orderTypeOptions:[{"fullName":"投递单","id":"1"},{"fullName":"清运单","id":"2"}],
|
|
|
|
|
orderTypeProps:{"label":"fullName","value":"id" },
|
|
|
|
|
isLocalOptions:[{"fullName":"本地","id":"1"},{"fullName":"远程","id":"2"}],
|
|
|
|
|
isLocalProps:{"label":"fullName","value":"id" },
|
|
|
|
|
eventResultOptions:[{"fullName":"成功","id":"1"},{"fullName":"失败","id":"0"}],
|
|
|
|
@ -207,14 +218,15 @@
|
|
|
|
|
bucketCode:[{"dataType":"varchar","defaultValue":"","field":"device_code","fieldName":"","id":"ow3vw72","jnpfKey":"select","relationField":"deviceCode","required":"0"}] ,
|
|
|
|
|
doorNum:[] ,
|
|
|
|
|
eventType:[] ,
|
|
|
|
|
orderNo:[] ,
|
|
|
|
|
orderType:[] ,
|
|
|
|
|
phone:[] ,
|
|
|
|
|
eventTime:[] ,
|
|
|
|
|
eventDesc:[] ,
|
|
|
|
|
isLocal:[] ,
|
|
|
|
|
eventResult:[] ,
|
|
|
|
|
createUserId:[] ,
|
|
|
|
|
createTime:[] ,
|
|
|
|
|
organizeJsonId:[] ,
|
|
|
|
|
departmentId:[] ,
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
@ -308,6 +320,7 @@
|
|
|
|
|
dataAll(){
|
|
|
|
|
this.getdeviceCodeOptions();
|
|
|
|
|
this.getbucketCodeOptions();
|
|
|
|
|
this.geteventTypeOptions();
|
|
|
|
|
},
|
|
|
|
|
getdeviceCodeOptions() {
|
|
|
|
|
const index = this.childIndex
|
|
|
|
@ -359,6 +372,11 @@
|
|
|
|
|
this.changeDataFormData(1,'bucketCode','bucketCode',index,'')
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
geteventTypeOptions() {
|
|
|
|
|
getDictionaryDataSelector('577809052780746757').then(res => {
|
|
|
|
|
this.eventTypeOptions = res.data.list
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
clearData(){
|
|
|
|
|
this.dataForm = JSON.parse(JSON.stringify(this.dataValueAll))
|
|
|
|
|
},
|
|
|
|
|