设备库存,园区设备管理,设备保修信息提交

master
zengchenxi 3 months ago
parent 1546b8e769
commit 6f07402e04

@ -16,14 +16,6 @@ import java.util.Date;
public class ParkEquipmentEntity { public class ParkEquipmentEntity {
@TableId(value ="ID" ) @TableId(value ="ID" )
private String id; private String id;
@TableField("CREATE_BY")
private String createBy;
@TableField("CREATION_TIME")
private Date creationTime;
@TableField("UPDATE_BY")
private String updateBy;
@TableField("UPDATE_TIME")
private Date updateTime;
@TableField(value = "EQUIPMENT_CODING" , updateStrategy = FieldStrategy.IGNORED) @TableField(value = "EQUIPMENT_CODING" , updateStrategy = FieldStrategy.IGNORED)
private String equipmentCoding; private String equipmentCoding;
@TableField(value = "DEVICE_NAME" , updateStrategy = FieldStrategy.IGNORED) @TableField(value = "DEVICE_NAME" , updateStrategy = FieldStrategy.IGNORED)
@ -32,8 +24,6 @@ public class ParkEquipmentEntity {
private String equipmentType; private String equipmentType;
@TableField(value = "EQUIPMENT_BRAND" , updateStrategy = FieldStrategy.IGNORED) @TableField(value = "EQUIPMENT_BRAND" , updateStrategy = FieldStrategy.IGNORED)
private String equipmentBrand; private String equipmentBrand;
@TableField("EQUIPMENT_MODEL")
private String equipmentModel;
@TableField(value = "SUPPLIER" , updateStrategy = FieldStrategy.IGNORED) @TableField(value = "SUPPLIER" , updateStrategy = FieldStrategy.IGNORED)
private String supplier; private String supplier;
@TableField(value = "SUPPLIER_PHONE" , updateStrategy = FieldStrategy.IGNORED) @TableField(value = "SUPPLIER_PHONE" , updateStrategy = FieldStrategy.IGNORED)
@ -66,22 +56,10 @@ public class ParkEquipmentEntity {
private String deviceMacAddress; private String deviceMacAddress;
@TableField(value = "STATE" , updateStrategy = FieldStrategy.IGNORED) @TableField(value = "STATE" , updateStrategy = FieldStrategy.IGNORED)
private String state; private String state;
@TableField("EQUIPMENT_WARRANTY_PERIOD")
private String equipmentWarrantyPeriod;
@TableField("EQUIPMENT_CODE") @TableField("EQUIPMENT_CODE")
private String equipmentCode; private String equipmentCode;
@TableField("REMARKS") @TableField("REMARKS")
private String remarks; private String remarks;
@TableField("OPTIMISTIC_LOCK")
private Integer optimisticLock;
@TableField("CELETE_TAGS")
private Integer celeteTags;
@TableField("COMPANY")
private String company;
@TableField("DEPARTMENT")
private String department;
@TableField("ORGANIZATION")
private String organization;
@TableField("F_CREATOR_TIME") @TableField("F_CREATOR_TIME")
private Date creatorTime; private Date creatorTime;
@TableField("F_CREATOR_USER_ID") @TableField("F_CREATOR_USER_ID")

@ -50,7 +50,7 @@ public class ParkEquipmentForm {
/** 状态 **/ /** 状态 **/
@JsonProperty("state") @JsonProperty("state")
private Object state; private Object state;
/** 设备状态(正常、异常) **/ /** 设备状态 **/
@JsonProperty("deviceStatus") @JsonProperty("deviceStatus")
private Object deviceStatus; private Object deviceStatus;
/** 设备MAC地址 **/ /** 设备MAC地址 **/
@ -62,7 +62,25 @@ public class ParkEquipmentForm {
/** 所属区域 **/ /** 所属区域 **/
@JsonProperty("regionId") @JsonProperty("regionId")
private String regionId; private String regionId;
/** 空间 **/
@JsonProperty("spaceName")
private String spaceName;
/** 所属区域 **/
@JsonProperty("regionName")
private String regionName;
/** 设备描述 **/ /** 设备描述 **/
@JsonProperty("deviceDescription") @JsonProperty("deviceDescription")
private String deviceDescription; private String deviceDescription;
/** 安装时间 **/
@JsonProperty("installationTime")
private String installationTime;
/** 负责人 **/
@JsonProperty("personInCharge")
private String personInCharge;
/** 负责人联系电话 **/
@JsonProperty("chargePhone")
private String chargePhone;
/** 设备码 **/
@JsonProperty("equipmentCode")
private String equipmentCode;
} }

@ -91,9 +91,9 @@
</jnpf-form-tip-item> </jnpf-form-tip-item>
</el-col> </el-col>
<el-col :span="8" > <el-col :span="8" >
<jnpf-form-tip-item label="所属区域" <jnpf-form-tip-item label="区域名称"
prop="regionId" > prop="regionName" >
<p>{{dataForm.regionId}}</p> <p>{{dataForm.regionName}}</p>
</jnpf-form-tip-item> </jnpf-form-tip-item>
</el-col> </el-col>
<el-col :span="24" > <el-col :span="24" >
@ -102,6 +102,30 @@
<p>{{dataForm.deviceDescription}}</p> <p>{{dataForm.deviceDescription}}</p>
</jnpf-form-tip-item> </jnpf-form-tip-item>
</el-col> </el-col>
<el-col :span="8" >
<jnpf-form-tip-item label="安装时间"
prop="installationTime" >
<p>{{dataForm.installationTime}}</p>
</jnpf-form-tip-item>
</el-col>
<el-col :span="8" >
<jnpf-form-tip-item label="负责人"
prop="personInCharge" >
<p>{{dataForm.personInCharge}}</p>
</jnpf-form-tip-item>
</el-col>
<el-col :span="8" >
<jnpf-form-tip-item label="负责人联系电话"
prop="chargePhone" >
<p>{{dataForm.chargePhone}}</p>
</jnpf-form-tip-item>
</el-col>
<el-col :span="8" >
<jnpf-form-tip-item label="设备码"
prop="equipmentCode" >
<p>{{dataForm.equipmentCode}}</p>
</jnpf-form-tip-item>
</el-col>
</template> </template>
</el-form> </el-form>
</el-row> </el-row>
@ -139,8 +163,14 @@
deviceStatus : "1", deviceStatus : "1",
deviceMacAddress : '', deviceMacAddress : '',
spaceId : "", spaceId : "",
regionName : '',
spaceName : '',
regionId : '', regionId : '',
deviceDescription : '', deviceDescription : '',
installationTime : '',
personInCharge : '',
chargePhone : '',
equipmentCode : '',
}, },
equipmentTypeOptions:[{"fullName":"类型1","id":"10"},{"fullName":"类型2","id":"20"}], equipmentTypeOptions:[{"fullName":"类型1","id":"10"},{"fullName":"类型2","id":"20"}],
equipmentTypeProps:{"label":"fullName","value":"id" }, equipmentTypeProps:{"label":"fullName","value":"id" },

@ -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,141 +22,188 @@
{{ !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="24">
<div style="padding:15px 0px">
<span style="color: #409EFF;"></span>
<span style="font-size: 14px;font-weight: 500;color:rgb(102, 102, 102);">基础信息</span>
</div>
</el-col>
<el-col :span="8"> <el-col :span="8">
<jnpf-form-tip-item <jnpf-form-tip-item label="设备编码" prop="equipmentCoding">
label="设备编码" prop="equipmentCoding" > <JnpfInput v-model="dataForm.equipmentCoding"
<JnpfInput v-model="dataForm.equipmentCoding" @change="changeData('equipmentCoding',-1)" @change="changeData('equipmentCoding', -1)" placeholder="请输入" clearable
placeholder="请输入" clearable :style='{"width":"100%"}'> :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="deviceName">
label="设备名称" prop="deviceName" >
<JnpfInput v-model="dataForm.deviceName" @change="changeData('deviceName', -1)" <JnpfInput v-model="dataForm.deviceName" @change="changeData('deviceName', -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="equipmentType">
label="设备类型" prop="equipmentType" >
<JnpfSelect v-model="dataForm.equipmentType" @change="changeData('equipmentType', -1)" <JnpfSelect v-model="dataForm.equipmentType" @change="changeData('equipmentType', -1)"
placeholder="请选择" clearable :style='{"width":"100%"}' :options="equipmentTypeOptions" :props="equipmentTypeProps" > placeholder="请选择" clearable :style='{ "width": "100%" }'
:options="equipmentTypeOptions" :props="equipmentTypeProps">
</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="equipmentBrand">
label="设备品牌" prop="equipmentBrand" >
<JnpfInput v-model="dataForm.equipmentBrand" @change="changeData('equipmentBrand', -1)" <JnpfInput v-model="dataForm.equipmentBrand" @change="changeData('equipmentBrand', -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="supplier">
label="供应商" prop="supplier" >
<JnpfInput v-model="dataForm.supplier" @change="changeData('supplier', -1)" <JnpfInput v-model="dataForm.supplier" @change="changeData('supplier', -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="supplierPhone">
label="供应商联系电话" prop="supplierPhone" >
<JnpfInput v-model="dataForm.supplierPhone" @change="changeData('supplierPhone', -1)" <JnpfInput v-model="dataForm.supplierPhone" @change="changeData('supplierPhone', -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="equipmentWarranty">
label="设备保修期" prop="equipmentWarranty" > <JnpfInput v-model="dataForm.equipmentWarranty"
<JnpfInput v-model="dataForm.equipmentWarranty" @change="changeData('equipmentWarranty',-1)" @change="changeData('equipmentWarranty', -1)" placeholder="请输入" clearable
placeholder="请输入" clearable :style='{"width":"100%"}'> :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="warrantyStartTime">
label="保修开始时间" prop="warrantyStartTime" > <JnpfDatePicker v-model="dataForm.warrantyStartTime"
<JnpfDatePicker v-model="dataForm.warrantyStartTime" @change="changeData('warrantyStartTime',-1)" @change="changeData('warrantyStartTime', -1)"
:startTime="dateTime(false,1,1,'','')" :endTime="dateTime(false,1,1,'','')" placeholder="请选择" clearable :style='{"width":"100%"}' type="date" format="yyyy-MM-dd" > :startTime="dateTime(false, 1, 1, '', '')" :endTime="dateTime(false, 1, 1, '', '')"
placeholder="请选择" clearable :style='{ "width": "100%" }' type="date"
format="yyyy-MM-dd">
</JnpfDatePicker> </JnpfDatePicker>
</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="warrantyEndTime">
label="保修结束时间" prop="warrantyEndTime" > <JnpfDatePicker v-model="dataForm.warrantyEndTime"
<JnpfDatePicker v-model="dataForm.warrantyEndTime" @change="changeData('warrantyEndTime',-1)" @change="changeData('warrantyEndTime', -1)"
:startTime="dateTime(false,1,1,'','')" :endTime="dateTime(false,1,1,'','')" placeholder="请选择" clearable :style='{"width":"100%"}' type="date" format="yyyy-MM-dd" > :startTime="dateTime(false, 1, 1, '', '')" :endTime="dateTime(false, 1, 1, '', '')"
placeholder="请选择" clearable :style='{ "width": "100%" }' type="date"
format="yyyy-MM-dd">
</JnpfDatePicker> </JnpfDatePicker>
</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="state">
label="状态" prop="state" > <JnpfSelect v-model="dataForm.state" @change="changeData('state', -1)" placeholder="请选择"
<JnpfSelect v-model="dataForm.state" @change="changeData('state',-1)" clearable :style='{ "width": "100%" }' :options="stateOptions" :props="stateProps">
placeholder="请选择" clearable :style='{"width":"100%"}' :options="stateOptions" :props="stateProps" >
</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="deviceStatus">
label="设备状态(正常、异常)" prop="deviceStatus" >
<JnpfSelect v-model="dataForm.deviceStatus" @change="changeData('deviceStatus', -1)" <JnpfSelect v-model="dataForm.deviceStatus" @change="changeData('deviceStatus', -1)"
placeholder="请选择" clearable :style='{"width":"100%"}' :options="deviceStatusOptions" :props="deviceStatusProps" > placeholder="请选择" clearable :style='{ "width": "100%" }'
:options="deviceStatusOptions" :props="deviceStatusProps">
</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="设备MAC地址" prop="deviceMacAddress">
label="设备MAC地址" prop="deviceMacAddress" > <JnpfInput v-model="dataForm.deviceMacAddress"
<JnpfInput v-model="dataForm.deviceMacAddress" @change="changeData('deviceMacAddress',-1)" @change="changeData('deviceMacAddress', -1)" placeholder="请输入" clearable
placeholder="请输入" clearable :style='{"width":"100%"}'> :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="spaceId">
label="空间" prop="spaceId" > <JnpfPopupSelect v-model="dataForm.spaceId" @change="spaceChange" :rowIndex="null"
<JnpfPopupSelect v-model="dataForm.spaceId" @change="changeData('spaceId',-1)" :formData="dataForm" :templateJson="interfaceRes.spaceId" placeholder="请选择"
:rowIndex="null" :formData="dataForm" :templateJson="interfaceRes.spaceId" placeholder="请选择" propsValue="id" popupWidth="800px" popupTitle="选择数据" popupType="dialog" relationField='name' field='spaceId' interfaceId="582825768971670725" :pageSize="20" :columnOptions="spaceIdcolumnOptions" clearable :style='{"width":"100%"}'> propsValue="id" popupWidth="800px" popupTitle="选择数据" popupType="dialog"
relationField='name' field='spaceId' interfaceId="582825768971670725" :pageSize="20"
:columnOptions="spaceIdcolumnOptions" 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="regionName">
label="所属区域" prop="regionId" > <JnpfInput v-model="dataForm.regionName" @change="changeData('regionName', -1)"
<JnpfInput v-model="dataForm.regionId" @change="changeData('regionId',-1)" placeholder="请输入" clearable :style='{ "width": "100%" }' :disabled="true">
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="deviceDescription">
label="设备描述" prop="deviceDescription" > <JnpfTextarea v-model="dataForm.deviceDescription"
<JnpfTextarea v-model="dataForm.deviceDescription" @change="changeData('deviceDescription',-1)" @change="changeData('deviceDescription', -1)" placeholder="请输入"
placeholder="请输入" :style='{"width":"100%"}' true type="textarea" :autosize='{"minRows":4,"maxRows":4}' > :style='{ "width": "100%" }' true type="textarea"
:autosize='{ "minRows": 4, "maxRows": 4 }'>
</JnpfTextarea> </JnpfTextarea>
</jnpf-form-tip-item> </jnpf-form-tip-item>
</el-col> </el-col>
<el-col :span="24">
<div style="padding:15px 0px">
<span style="color: #409EFF;"></span>
<span style="font-size: 14px;font-weight: 500;color:rgb(102, 102, 102);">安装信息</span>
</div>
</el-col>
<el-col :span="8">
<jnpf-form-tip-item label="安装时间" prop="installationTime">
<JnpfDatePicker v-model="dataForm.installationTime"
@change="changeData('installationTime', -1)"
:startTime="dateTime(false, 1, 1, '', '')" :endTime="dateTime(false, 1, 1, '', '')"
placeholder="请选择" clearable :style='{ "width": "100%" }' type="date"
format="yyyy-MM-dd">
</JnpfDatePicker>
</jnpf-form-tip-item>
</el-col>
<el-col :span="8">
<jnpf-form-tip-item label="负责人" prop="personInCharge">
<JnpfInput v-model="dataForm.personInCharge" @change="changeData('personInCharge', -1)"
placeholder="请输入" clearable :style='{ "width": "100%" }'>
</JnpfInput>
</jnpf-form-tip-item>
</el-col>
<el-col :span="8">
<jnpf-form-tip-item label="负责人联系电话" prop="chargePhone">
<JnpfInput v-model="dataForm.chargePhone" @change="changeData('chargePhone', -1)"
placeholder="请输入" clearable :style='{ "width": "100%" }'>
</JnpfInput>
</jnpf-form-tip-item>
</el-col>
<el-col :span="8">
<jnpf-form-tip-item label="设备码" prop="equipmentCode">
<JnpfInput v-model="dataForm.equipmentCode" @change="changeData('equipmentCode', -1)"
placeholder="请输入" clearable :style='{ "width": "100%" }'>
</JnpfInput>
</jnpf-form-tip-item>
</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>
@ -220,9 +263,15 @@
deviceStatus: "1", deviceStatus: "1",
deviceMacAddress: undefined, deviceMacAddress: undefined,
spaceId: undefined, spaceId: undefined,
spaceName: undefined,
regionId: undefined, regionId: undefined,
regionName: undefined,
deviceDescription: undefined, deviceDescription: undefined,
version: 0, version: 0,
installationTime: undefined,
personInCharge: undefined,
chargePhone: undefined,
equipmentCode: undefined,
}, },
tableRequiredData: {}, tableRequiredData: {},
dataRule: dataRule:
@ -295,6 +344,39 @@
trigger: 'blur' trigger: 'blur'
}, },
], ],
installationTime: [
{
required: true,
message: '请选择',
trigger: 'change'
},
],
personInCharge: [
{
required: true,
message: '请输入',
trigger: 'blur'
},
],
chargePhone: [
{
required: true,
message: '请输入',
trigger: 'blur'
},
{
pattern: /^1[3456789]\d{9}$|^0\d{2,3}-?\d{7,8}$/,
message: '请输入正确的联系方式',
trigger: 'blur'
},
],
equipmentCode: [
{
required: true,
message: '请输入',
trigger: 'blur'
},
],
}, },
equipmentTypeOptions: [{ "fullName": "类型1", "id": "10" }, { "fullName": "类型2", "id": "20" }], equipmentTypeOptions: [{ "fullName": "类型1", "id": "10" }, { "fullName": "类型2", "id": "20" }],
equipmentTypeProps: { "label": "fullName", "value": "id" }, equipmentTypeProps: { "label": "fullName", "value": "id" },
@ -321,6 +403,10 @@
spaceId: [], spaceId: [],
regionId: [], regionId: [],
deviceDescription: [], deviceDescription: [],
installationTime: [],
personInCharge: [],
chargePhone: [],
equipmentCode: [],
}, },
} }
}, },
@ -335,6 +421,11 @@
}, },
mounted() { }, mounted() { },
methods: { methods: {
spaceChange(var1, var2) {
this.dataForm.spaceName = var2.name;
this.dataForm.regionId = var2.pid;
this.dataForm.regionName = var2.areaName;
},
prev() { prev() {
this.index-- this.index--
if (this.index === 0) { if (this.index === 0) {

Loading…
Cancel
Save