|
|
@ -1,12 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
|
<transition name="el-zoom-in-center">
|
|
|
|
<transition name="el-zoom-in-center">
|
|
|
|
<div class="JNPF-preview-main">
|
|
|
|
<div class="JNPF-preview-main">
|
|
|
|
<div class="JNPF-common-page-header">
|
|
|
|
<div class="JNPF-common-page-header">
|
|
|
|
<el-page-header @back="goBack"
|
|
|
|
<el-page-header @back="goBack" :content="!dataForm.id ? '新建' : '编辑'" />
|
|
|
|
:content="!dataForm.id ? '新建':'编辑'"/>
|
|
|
|
|
|
|
|
<div class="options">
|
|
|
|
<div class="options">
|
|
|
|
<el-dropdown class="dropdown" placement="bottom">
|
|
|
|
<el-dropdown class="dropdown" placement="bottom">
|
|
|
|
<el-button style="width:70px">
|
|
|
|
<el-button style="width:70px">
|
|
|
@ -26,195 +22,196 @@
|
|
|
|
{{ !dataForm.id ? '确定并新增' : '确定并继续' }}</el-dropdown-item>
|
|
|
|
{{ !dataForm.id ? '确定并新增' : '确定并继续' }}</el-dropdown-item>
|
|
|
|
</el-dropdown-menu>
|
|
|
|
</el-dropdown-menu>
|
|
|
|
</el-dropdown>
|
|
|
|
</el-dropdown>
|
|
|
|
<el-button type="primary" @click="dataFormSubmit()" :loading="btnLoading" :disabled='continueBtnLoading'> 保 存</el-button>
|
|
|
|
<el-button type="primary" @click="dataFormSubmit()" :loading="btnLoading"
|
|
|
|
|
|
|
|
:disabled='continueBtnLoading'> 保
|
|
|
|
|
|
|
|
存</el-button>
|
|
|
|
<el-button @click="goBack"> 取 消</el-button>
|
|
|
|
<el-button @click="goBack"> 取 消</el-button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<el-row :gutter="15" class=" main" :style="{ margin: '0 auto', width: '100%' }">
|
|
|
|
<el-row :gutter="15" class=" main" :style="{ margin: '0 auto', width: '100%' }">
|
|
|
|
<el-form ref="formRef" :model="dataForm" :rules="dataRule" size="small" label-width="100px" label-position="right" >
|
|
|
|
<el-form ref="formRef" :model="dataForm" :rules="dataRule" size="small" label-width="100px"
|
|
|
|
|
|
|
|
label-position="right">
|
|
|
|
<template v-if="!loading">
|
|
|
|
<template v-if="!loading">
|
|
|
|
<!-- 具体表单 -->
|
|
|
|
<!-- 具体表单 -->
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-col :span="8">
|
|
|
|
<jnpf-form-tip-item
|
|
|
|
<jnpf-form-tip-item label="显示别名" prop="showName">
|
|
|
|
label="显示别名" prop="showName" >
|
|
|
|
|
|
|
|
<JnpfInput v-model="dataForm.showName" @change="changeData('showName', -1)"
|
|
|
|
<JnpfInput v-model="dataForm.showName" @change="changeData('showName', -1)"
|
|
|
|
placeholder="请输入" clearable :style='{ "width": "100%" }'>
|
|
|
|
placeholder="请输入" clearable :style='{ "width": "100%" }'>
|
|
|
|
</JnpfInput>
|
|
|
|
</JnpfInput>
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-col :span="8">
|
|
|
|
<jnpf-form-tip-item
|
|
|
|
<jnpf-form-tip-item label="门号" prop="doorNum">
|
|
|
|
label="门号" prop="doorNum" >
|
|
|
|
|
|
|
|
<JnpfSelect v-model="dataForm.doorNum" @change="changeData('doorNum', -1)"
|
|
|
|
<JnpfSelect v-model="dataForm.doorNum" @change="changeData('doorNum', -1)"
|
|
|
|
placeholder="请选择" clearable :style='{"width":"100%"}' :options="doorNumOptions" :props="doorNumProps" >
|
|
|
|
placeholder="请选择" clearable :style='{ "width": "100%" }' :options="doorNumOptions"
|
|
|
|
|
|
|
|
:props="doorNumProps">
|
|
|
|
</JnpfSelect>
|
|
|
|
</JnpfSelect>
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-col :span="8">
|
|
|
|
<jnpf-form-tip-item
|
|
|
|
<jnpf-form-tip-item label="所属设备" prop="deviceCode">
|
|
|
|
label="所属设备" prop="deviceCode" >
|
|
|
|
|
|
|
|
<JnpfPopupSelect v-model="dataForm.deviceCode" @change="changeData('deviceCode', -1)"
|
|
|
|
<JnpfPopupSelect v-model="dataForm.deviceCode" @change="changeData('deviceCode', -1)"
|
|
|
|
:rowIndex="null" :formData="dataForm" :templateJson="interfaceRes.deviceCode" placeholder="请选择" propsValue="device_code" popupWidth="800px" popupTitle="选择数据" popupType="dialog" relationField='device_name' field='deviceCode' interfaceId="564713894723988869" :pageSize="20" :columnOptions="deviceCodecolumnOptions" clearable :style='{"width":"100%"}'>
|
|
|
|
:rowIndex="null" :formData="dataForm" :templateJson="interfaceRes.deviceCode"
|
|
|
|
|
|
|
|
placeholder="请选择" propsValue="device_code" popupWidth="800px" popupTitle="选择数据"
|
|
|
|
|
|
|
|
popupType="dialog" relationField='device_name' field='deviceCode'
|
|
|
|
|
|
|
|
interfaceId="564713894723988869" :pageSize="20"
|
|
|
|
|
|
|
|
:columnOptions="deviceCodecolumnOptions" clearable :style='{ "width": "100%" }'>
|
|
|
|
</JnpfPopupSelect>
|
|
|
|
</JnpfPopupSelect>
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-col :span="8">
|
|
|
|
<jnpf-form-tip-item
|
|
|
|
<jnpf-form-tip-item label="是否显示" prop="isShow">
|
|
|
|
label="是否显示" prop="isShow" >
|
|
|
|
|
|
|
|
<JnpfRadio v-model="dataForm.isShow" @change="changeData('isShow', -1)"
|
|
|
|
<JnpfRadio v-model="dataForm.isShow" @change="changeData('isShow', -1)"
|
|
|
|
optionType="default" direction="horizontal" size="small" :options="isShowOptions" :props="isShowProps" >
|
|
|
|
optionType="default" direction="horizontal" size="small" :options="isShowOptions"
|
|
|
|
|
|
|
|
:props="isShowProps">
|
|
|
|
</JnpfRadio>
|
|
|
|
</JnpfRadio>
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-col :span="8">
|
|
|
|
<jnpf-form-tip-item
|
|
|
|
<jnpf-form-tip-item label="显示顺序" prop="showOrd">
|
|
|
|
label="显示顺序" prop="showOrd" >
|
|
|
|
|
|
|
|
<JnpfInputNumber v-model="dataForm.showOrd" @change="changeData('showOrd', -1)"
|
|
|
|
<JnpfInputNumber v-model="dataForm.showOrd" @change="changeData('showOrd', -1)"
|
|
|
|
placeholder="数字文本" :step="1">
|
|
|
|
placeholder="数字文本" :step="1">
|
|
|
|
</JnpfInputNumber>
|
|
|
|
</JnpfInputNumber>
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="24">
|
|
|
|
<el-col :span="24">
|
|
|
|
<jnpf-form-tip-item
|
|
|
|
<jnpf-form-tip-item label="回收品大类" prop="productCode">
|
|
|
|
label="回收品大类" prop="productCode" >
|
|
|
|
|
|
|
|
<JnpfRadio v-model="dataForm.productCode" @change="changeData('productCode', -1)"
|
|
|
|
<JnpfRadio v-model="dataForm.productCode" @change="changeData('productCode', -1)"
|
|
|
|
optionType="default" direction="horizontal" size="small" :options="productCodeOptions" :props="productCodeProps" >
|
|
|
|
optionType="default" direction="horizontal" size="small"
|
|
|
|
|
|
|
|
:options="productCodeOptions" :props="productCodeProps">
|
|
|
|
</JnpfRadio>
|
|
|
|
</JnpfRadio>
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="24">
|
|
|
|
<el-col :span="24">
|
|
|
|
<jnpf-form-tip-item
|
|
|
|
<jnpf-form-tip-item label="回收品子类" prop="productSubCode">
|
|
|
|
label="回收品子类" prop="productSubCode" >
|
|
|
|
|
|
|
|
<JnpfRadio v-model="dataForm.productSubCode" @change="changeData('productSubCode', -1)"
|
|
|
|
<JnpfRadio v-model="dataForm.productSubCode" @change="changeData('productSubCode', -1)"
|
|
|
|
optionType="default" direction="horizontal" size="small" :options="productSubCodeOptions" :props="productSubCodeProps" >
|
|
|
|
optionType="default" direction="horizontal" size="small"
|
|
|
|
|
|
|
|
:options="productSubCodeOptions" :props="productSubCodeProps">
|
|
|
|
</JnpfRadio>
|
|
|
|
</JnpfRadio>
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-col :span="8">
|
|
|
|
<jnpf-form-tip-item
|
|
|
|
<jnpf-form-tip-item label="价格" prop="price">
|
|
|
|
label="价格" prop="price" >
|
|
|
|
|
|
|
|
<JnpfInputNumber v-model="dataForm.price" @change="changeData('price', -1)"
|
|
|
|
<JnpfInputNumber v-model="dataForm.price" @change="changeData('price', -1)"
|
|
|
|
placeholder="数字文本" :precision="2" :step="1">
|
|
|
|
placeholder="数字文本" :precision="2" :step="1">
|
|
|
|
</JnpfInputNumber>
|
|
|
|
</JnpfInputNumber>
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-col :span="8">
|
|
|
|
<jnpf-form-tip-item
|
|
|
|
<jnpf-form-tip-item label="满溢状态" prop="fullStatus">
|
|
|
|
label="满溢状态" prop="fullStatus" >
|
|
|
|
|
|
|
|
<JnpfRadio v-model="dataForm.fullStatus" @change="changeData('fullStatus', -1)"
|
|
|
|
<JnpfRadio v-model="dataForm.fullStatus" @change="changeData('fullStatus', -1)"
|
|
|
|
optionType="default" direction="horizontal" size="small" :options="fullStatusOptions" :props="fullStatusProps" >
|
|
|
|
optionType="default" direction="horizontal" size="small"
|
|
|
|
|
|
|
|
:options="fullStatusOptions" :props="fullStatusProps">
|
|
|
|
</JnpfRadio>
|
|
|
|
</JnpfRadio>
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-col :span="8">
|
|
|
|
<jnpf-form-tip-item
|
|
|
|
<jnpf-form-tip-item label="满溢设置" prop="fullSet">
|
|
|
|
label="满溢设置" prop="fullSet" >
|
|
|
|
|
|
|
|
<JnpfRadio v-model="dataForm.fullSet" @change="changeData('fullSet', -1)"
|
|
|
|
<JnpfRadio v-model="dataForm.fullSet" @change="changeData('fullSet', -1)"
|
|
|
|
optionType="default" direction="horizontal" size="small" :options="fullSetOptions" :props="fullSetProps" >
|
|
|
|
optionType="default" direction="horizontal" size="small" :options="fullSetOptions"
|
|
|
|
|
|
|
|
:props="fullSetProps">
|
|
|
|
</JnpfRadio>
|
|
|
|
</JnpfRadio>
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-col :span="8">
|
|
|
|
<jnpf-form-tip-item
|
|
|
|
<jnpf-form-tip-item label="烟雾状态" prop="smogStauts">
|
|
|
|
label="烟雾状态" prop="smogStauts" >
|
|
|
|
|
|
|
|
<JnpfRadio v-model="dataForm.smogStauts" @change="changeData('smogStauts', -1)"
|
|
|
|
<JnpfRadio v-model="dataForm.smogStauts" @change="changeData('smogStauts', -1)"
|
|
|
|
optionType="default" direction="horizontal" size="small" :options="smogStautsOptions" :props="smogStautsProps" >
|
|
|
|
optionType="default" direction="horizontal" size="small"
|
|
|
|
|
|
|
|
:options="smogStautsOptions" :props="smogStautsProps">
|
|
|
|
</JnpfRadio>
|
|
|
|
</JnpfRadio>
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-col :span="8">
|
|
|
|
<jnpf-form-tip-item
|
|
|
|
<jnpf-form-tip-item label="烟雾设置" prop="smogSet">
|
|
|
|
label="烟雾设置" prop="smogSet" >
|
|
|
|
|
|
|
|
<JnpfRadio v-model="dataForm.smogSet" @change="changeData('smogSet', -1)"
|
|
|
|
<JnpfRadio v-model="dataForm.smogSet" @change="changeData('smogSet', -1)"
|
|
|
|
optionType="default" direction="horizontal" size="small" :options="smogSetOptions" :props="smogSetProps" >
|
|
|
|
optionType="default" direction="horizontal" size="small" :options="smogSetOptions"
|
|
|
|
|
|
|
|
:props="smogSetProps">
|
|
|
|
</JnpfRadio>
|
|
|
|
</JnpfRadio>
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-col :span="8">
|
|
|
|
<jnpf-form-tip-item
|
|
|
|
<jnpf-form-tip-item label="容器重量" prop="containerWeight">
|
|
|
|
label="容器重量" prop="containerWeight" >
|
|
|
|
<JnpfInputNumber v-model="dataForm.containerWeight"
|
|
|
|
<JnpfInputNumber v-model="dataForm.containerWeight" @change="changeData('containerWeight',-1)"
|
|
|
|
@change="changeData('containerWeight', -1)" placeholder="数字文本" :precision="2"
|
|
|
|
placeholder="数字文本" :precision="2" addonAfter="KG" :step="1" >
|
|
|
|
addonAfter="KG" :step="1">
|
|
|
|
</JnpfInputNumber>
|
|
|
|
</JnpfInputNumber>
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-col :span="8">
|
|
|
|
<jnpf-form-tip-item
|
|
|
|
<jnpf-form-tip-item label="当前重量" prop="currentWeight">
|
|
|
|
label="当前重量" prop="currentWeight" >
|
|
|
|
<JnpfInputNumber v-model="dataForm.currentWeight"
|
|
|
|
<JnpfInputNumber v-model="dataForm.currentWeight" @change="changeData('currentWeight',-1)"
|
|
|
|
@change="changeData('currentWeight', -1)" placeholder="数字文本" :precision="2"
|
|
|
|
placeholder="数字文本" :precision="2" addonAfter="KG" :step="1" >
|
|
|
|
addonAfter="KG" :step="1">
|
|
|
|
</JnpfInputNumber>
|
|
|
|
</JnpfInputNumber>
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-col :span="8">
|
|
|
|
<jnpf-form-tip-item
|
|
|
|
<jnpf-form-tip-item label="重量上限" prop="warningWeight">
|
|
|
|
label="重量上限" prop="warningWeight" >
|
|
|
|
<JnpfInputNumber v-model="dataForm.warningWeight"
|
|
|
|
<JnpfInputNumber v-model="dataForm.warningWeight" @change="changeData('warningWeight',-1)"
|
|
|
|
@change="changeData('warningWeight', -1)" placeholder="数字文本" :precision="2"
|
|
|
|
placeholder="数字文本" :precision="2" addonAfter="KG" :step="1" >
|
|
|
|
addonAfter="KG" :step="1">
|
|
|
|
</JnpfInputNumber>
|
|
|
|
</JnpfInputNumber>
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-col :span="8">
|
|
|
|
<jnpf-form-tip-item
|
|
|
|
<jnpf-form-tip-item label="关闭延时" tipLabel="投递门关闭延时" prop="closeDelay">
|
|
|
|
label="关闭延时" tipLabel="投递门关闭延时" prop="closeDelay" >
|
|
|
|
|
|
|
|
<JnpfInput v-model="dataForm.closeDelay" @change="changeData('closeDelay', -1)"
|
|
|
|
<JnpfInput v-model="dataForm.closeDelay" @change="changeData('closeDelay', -1)"
|
|
|
|
placeholder="请输入" addonAfter="秒" clearable :style='{ "width": "100%" }'>
|
|
|
|
placeholder="请输入" addonAfter="秒" clearable :style='{ "width": "100%" }'>
|
|
|
|
</JnpfInput>
|
|
|
|
</JnpfInput>
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-col :span="8">
|
|
|
|
<jnpf-form-tip-item
|
|
|
|
<jnpf-form-tip-item label="投递门" tipLabel="投递门状态" prop="deliveryDoorStatus">
|
|
|
|
label="投递门" tipLabel="投递门状态" prop="deliveryDoorStatus" >
|
|
|
|
<JnpfRadio v-model="dataForm.deliveryDoorStatus"
|
|
|
|
<JnpfRadio v-model="dataForm.deliveryDoorStatus" @change="changeData('deliveryDoorStatus',-1)"
|
|
|
|
@change="changeData('deliveryDoorStatus', -1)" optionType="default"
|
|
|
|
optionType="default" direction="horizontal" size="small" :options="deliveryDoorStatusOptions" :props="deliveryDoorStatusProps" >
|
|
|
|
direction="horizontal" size="small" :options="deliveryDoorStatusOptions"
|
|
|
|
|
|
|
|
:props="deliveryDoorStatusProps">
|
|
|
|
</JnpfRadio>
|
|
|
|
</JnpfRadio>
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-col :span="8">
|
|
|
|
<jnpf-form-tip-item
|
|
|
|
<jnpf-form-tip-item label="清运门" tipLabel="清运门状态" prop="cleanDoorStatus">
|
|
|
|
label="清运门" tipLabel="清运门状态" prop="cleanDoorStatus" >
|
|
|
|
|
|
|
|
<JnpfRadio v-model="dataForm.cleanDoorStatus" @change="changeData('cleanDoorStatus', -1)"
|
|
|
|
<JnpfRadio v-model="dataForm.cleanDoorStatus" @change="changeData('cleanDoorStatus', -1)"
|
|
|
|
optionType="default" direction="horizontal" size="small" :options="cleanDoorStatusOptions" :props="cleanDoorStatusProps" >
|
|
|
|
optionType="default" direction="horizontal" size="small"
|
|
|
|
|
|
|
|
:options="cleanDoorStatusOptions" :props="cleanDoorStatusProps">
|
|
|
|
</JnpfRadio>
|
|
|
|
</JnpfRadio>
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-col :span="8">
|
|
|
|
<jnpf-form-tip-item
|
|
|
|
<jnpf-form-tip-item label="垃圾袋编码" prop="bagNo">
|
|
|
|
label="垃圾袋编码" prop="bagNo" >
|
|
|
|
<JnpfInput v-model="dataForm.bagNo" @change="changeData('bagNo', -1)" placeholder="请输入"
|
|
|
|
<JnpfInput v-model="dataForm.bagNo" @change="changeData('bagNo',-1)"
|
|
|
|
clearable :style='{ "width": "100%" }'>
|
|
|
|
placeholder="请输入" clearable :style='{"width":"100%"}'>
|
|
|
|
|
|
|
|
</JnpfInput>
|
|
|
|
</JnpfInput>
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="24">
|
|
|
|
<el-col :span="24">
|
|
|
|
<jnpf-form-tip-item
|
|
|
|
<jnpf-form-tip-item label="桶身图片" prop="bucketImg">
|
|
|
|
label="桶身图片" prop="bucketImg" >
|
|
|
|
|
|
|
|
<JnpfUploadImg v-model="dataForm.bucketImg" @change="changeData('bucketImg', -1)"
|
|
|
|
<JnpfUploadImg v-model="dataForm.bucketImg" @change="changeData('bucketImg', -1)"
|
|
|
|
:fileSize="10" sizeUnit="MB" :limit="9" pathType="defaultPath" :isAccount="0">
|
|
|
|
:fileSize="10" sizeUnit="MB" :limit="9" pathType="defaultPath" :isAccount="0">
|
|
|
|
</JnpfUploadImg>
|
|
|
|
</JnpfUploadImg>
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-col :span="8">
|
|
|
|
<jnpf-form-tip-item
|
|
|
|
<jnpf-form-tip-item label="状态" prop="status">
|
|
|
|
label="状态" prop="status" >
|
|
|
|
|
|
|
|
<JnpfRadio v-model="dataForm.status" @change="changeData('status', -1)"
|
|
|
|
<JnpfRadio v-model="dataForm.status" @change="changeData('status', -1)"
|
|
|
|
optionType="default" direction="horizontal" size="small" :options="statusOptions" :props="statusProps" >
|
|
|
|
optionType="default" direction="horizontal" size="small" :options="statusOptions"
|
|
|
|
|
|
|
|
:props="statusProps">
|
|
|
|
</JnpfRadio>
|
|
|
|
</JnpfRadio>
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-col :span="8">
|
|
|
|
<jnpf-form-tip-item
|
|
|
|
<jnpf-form-tip-item label="租户" prop="tenantId">
|
|
|
|
label="租户" prop="tenantId" >
|
|
|
|
|
|
|
|
<JnpfOrganizeSelect v-model="dataForm.tenantId" @change="changeData('tenantId', -1)"
|
|
|
|
<JnpfOrganizeSelect v-model="dataForm.tenantId" @change="changeData('tenantId', -1)"
|
|
|
|
placeholder="请选择" selectType="all" :ableIds="ableAll.tenantIdableIds" clearable :style='{"width":"100%"}'>
|
|
|
|
placeholder="请选择" selectType="all" :ableIds="ableAll.tenantIdableIds" clearable
|
|
|
|
|
|
|
|
:style='{ "width": "100%" }'>
|
|
|
|
</JnpfOrganizeSelect>
|
|
|
|
</JnpfOrganizeSelect>
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<!-- 表单结束 -->
|
|
|
|
<!-- 表单结束 -->
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-form>
|
|
|
|
</el-form>
|
|
|
|
<SelectDialog v-if="selectDialogVisible" :config="currTableConf" :formData="dataForm"
|
|
|
|
<SelectDialog v-if="selectDialogVisible" :config="currTableConf" :formData="dataForm" ref="selectDialog"
|
|
|
|
ref="selectDialog" @select="addForSelect" @close="selectDialogVisible=false"/>
|
|
|
|
@select="addForSelect" @close="selectDialogVisible = false" />
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</transition>
|
|
|
|
</transition>
|
|
|
@ -299,25 +296,25 @@
|
|
|
|
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" }],
|
|
|
|
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" },
|
|
|
|
doorNumProps: { "label": "fullName", "value": "id" },
|
|
|
|
deviceCodecolumnOptions: [{ "label": "设备编码", "value": "device_code" }, { "label": "设备名称", "value": "device_name" },],
|
|
|
|
deviceCodecolumnOptions: [{ "label": "设备编码", "value": "device_code" }, { "label": "设备名称", "value": "device_name" },],
|
|
|
|
isShowOptions:[{"fullName":"关闭","id":"0"},{"fullName":"显示","id":"1"}],
|
|
|
|
isShowOptions: [{ "fullName": "关闭", "id": 0 }, { "fullName": "显示", "id": 1 }],
|
|
|
|
isShowProps: { "label": "fullName", "value": "id" },
|
|
|
|
isShowProps: { "label": "fullName", "value": "id" },
|
|
|
|
productCodeOptions: [],
|
|
|
|
productCodeOptions: [],
|
|
|
|
productCodeProps: { "label": "name", "value": "id" },
|
|
|
|
productCodeProps: { "label": "name", "value": "id" },
|
|
|
|
productSubCodeOptions: [],
|
|
|
|
productSubCodeOptions: [],
|
|
|
|
productSubCodeProps: { "label": "name", "value": "id" },
|
|
|
|
productSubCodeProps: { "label": "name", "value": "id" },
|
|
|
|
fullStatusOptions:[{"fullName":"未满","id":"0"},{"fullName":"满","id":"1"}],
|
|
|
|
fullStatusOptions: [{ "fullName": "未满", "id": 0 }, { "fullName": "满", "id": 1 }],
|
|
|
|
fullStatusProps: { "label": "fullName", "value": "id" },
|
|
|
|
fullStatusProps: { "label": "fullName", "value": "id" },
|
|
|
|
fullSetOptions:[{"fullName":"关闭","id":"0"},{"fullName":"开启","id":"1"}],
|
|
|
|
fullSetOptions: [{ "fullName": "关闭", "id": 0 }, { "fullName": "开启", "id": 1 }],
|
|
|
|
fullSetProps: { "label": "fullName", "value": "id" },
|
|
|
|
fullSetProps: { "label": "fullName", "value": "id" },
|
|
|
|
smogStautsOptions:[{"fullName":"正常","id":"0"},{"fullName":"报警","id":"1"}],
|
|
|
|
smogStautsOptions: [{ "fullName": "正常", "id": 0 }, { "fullName": "报警", "id": 1 }],
|
|
|
|
smogStautsProps: { "label": "fullName", "value": "id" },
|
|
|
|
smogStautsProps: { "label": "fullName", "value": "id" },
|
|
|
|
smogSetOptions:[{"fullName":"关闭","id":"0"},{"fullName":"开启","id":"1"}],
|
|
|
|
smogSetOptions: [{ "fullName": "关闭", "id": 0 }, { "fullName": "开启", "id": 1 }],
|
|
|
|
smogSetProps: { "label": "fullName", "value": "id" },
|
|
|
|
smogSetProps: { "label": "fullName", "value": "id" },
|
|
|
|
deliveryDoorStatusOptions:[{"fullName":"关闭","id":"0"},{"fullName":"开启","id":"2"}],
|
|
|
|
deliveryDoorStatusOptions: [{ "fullName": "关闭", "id": 0 }, { "fullName": "开启", "id": 1 }],
|
|
|
|
deliveryDoorStatusProps: { "label": "fullName", "value": "id" },
|
|
|
|
deliveryDoorStatusProps: { "label": "fullName", "value": "id" },
|
|
|
|
cleanDoorStatusOptions:[{"fullName":"关闭","id":"0"},{"fullName":"开启","id":"1"}],
|
|
|
|
cleanDoorStatusOptions: [{ "fullName": "关闭", "id": 0 }, { "fullName": "开启", "id": 1 }],
|
|
|
|
cleanDoorStatusProps: { "label": "fullName", "value": "id" },
|
|
|
|
cleanDoorStatusProps: { "label": "fullName", "value": "id" },
|
|
|
|
statusOptions:[{"fullName":"停用","id":"0"},{"fullName":"启用","id":"1"}],
|
|
|
|
statusOptions: [{ "fullName": "停用", "id": 0 }, { "fullName": "启用", "id": 1 }],
|
|
|
|
statusProps: { "label": "fullName", "value": "id" },
|
|
|
|
statusProps: { "label": "fullName", "value": "id" },
|
|
|
|
childIndex: -1,
|
|
|
|
childIndex: -1,
|
|
|
|
isEdit: false,
|
|
|
|
isEdit: false,
|
|
|
|