| | |
| | | <view class="box-title">
|
| | | <box-title title="基础信息"></box-title>
|
| | | </view>
|
| | |
|
| | |
|
| | |
|
| | | <u-form-item class="form-item" labelWidth="100" label="场所名称:" :required="isRequiredPlace"
|
| | | :disabled="isDisabled" prop="placeName">
|
| | | <u--input v-if="!currentId" border="none" v-model="form.placeName" placeholder="请输入">
|
| | |
| | | placeholder="请选择">
|
| | | </u-input>
|
| | | <u-icon slot="right" name="arrow-right"></u-icon>
|
| | | </u-form-item>
|
| | | <u-form-item label="九小场所" labelWidth="100" prop="isNine" :required="isRequired">
|
| | | <u-radio-group v-model="form.isNine" v-if="!currentId">
|
| | | <u-radio :customStyle="{marginBottom: '8px'}" v-for="(item, index) in statusList"
|
| | | :key="index" :label="item.name" :name="item.id">
|
| | | </u-radio>
|
| | | </u-radio-group>
|
| | | <view class="f-30" v-if="currentId">
|
| | | {{form.isNine == 1?"是":"否"}}
|
| | | </view>
|
| | | </u-form-item>
|
| | | <!-- <view v-if="showLabelList.length" class="label" style="border-bottom:1px solid eff1f3;">
|
| | | <view v-for="(item,index) in showLabelList" :key="index" class="activeLabel">
|
| | |
| | | principalPhone: '',
|
| | | lat: '',
|
| | | lng: '',
|
| | | location: ''
|
| | | location: '',
|
| | | isNine: ""
|
| | | },
|
| | | rules: {
|
| | | // 'buildingCode': {
|
| | |
| | | // message: '请选择楼栋',
|
| | | // trigger: ['blur', 'change']
|
| | | // },
|
| | | 'placeName': {
|
| | | 'form.isNine': {
|
| | | type: 'string',
|
| | | required: true,
|
| | | message: '是否九小场所',
|
| | | trigger: ['blur', 'change']
|
| | | },
|
| | | 'form.placeName': {
|
| | | type: 'string',
|
| | | required: true,
|
| | | message: '请输入场所名称',
|
| | | trigger: ['blur', 'change']
|
| | | },
|
| | | 'label': {
|
| | | 'form.label': {
|
| | | type: 'string',
|
| | | required: true,
|
| | | message: '请选择标签',
|
| | | trigger: ['blur', 'change'],
|
| | | },
|
| | | 'username': {
|
| | | 'form.username': {
|
| | | type: 'string',
|
| | | required: true,
|
| | | message: '请输入场所负责人',
|
| | | trigger: ['blur', 'change'],
|
| | | },
|
| | | 'principalPhone': [{
|
| | | 'form.principalPhone': [{
|
| | | required: false,
|
| | | message: '请输入手机号',
|
| | | trigger: ['blur', 'change'],
|
| | |
| | | trigger: ['change', 'blur']
|
| | |
|
| | | }
|
| | |
|
| | | ],
|
| | | },
|
| | |
|
| | |
| | | firstId: "",
|
| | | secondId: "",
|
| | | categoryValue: "",
|
| | | houseCode: ""
|
| | | houseCode: "",
|
| | | statusList: [{
|
| | | name: "是",
|
| | | id: 1
|
| | | },
|
| | | {
|
| | | name: "否",
|
| | | id: 2
|
| | | }
|
| | | ],
|
| | | }
|
| | | },
|
| | | created() {
|