加载效果
This commit is contained in:
		| @@ -16,7 +16,7 @@ | ||||
|                          :selectList="$dict.getDict('dlbMessageUrgency')"></ai-select> | ||||
|             </el-form-item> | ||||
|             <el-form-item label="行政区划" prop="areaId"> | ||||
|               <ai-area-get v-model="areaId" :root="areaRootId"  :instance="instance" @select="handleAreaSelect" size="small" placeholder="全部地区"/> | ||||
|               <ai-area-get v-model="formData.areaId" :root="areaRootId"  :instance="instance" @select="handleAreaSelect" size="small" placeholder="请选择行政区划"/> | ||||
|             </el-form-item> | ||||
|             <el-form-item label="播放方式" prop="taskType" class="buildingTypes"> | ||||
|               <el-radio-group v-model="formData.taskType"> | ||||
| @@ -59,8 +59,8 @@ | ||||
|                               value-format="HH:mm:ss"></el-time-picker> | ||||
|             </el-form-item> | ||||
|             <el-form-item label="播放设备" prop="serialNo" style="width: 100%;"> | ||||
|               <ai-table-select :instance="instance" :action="`/app/appresident/list?householdName=1&areaId=${areaId}&auditStatus=1`" | ||||
|                               @select="v=>chooseUser=v" multiple/> | ||||
|               <ai-table-select nodeName="deviceName" :instance="instance" :action="`/app/appdlbquipment/getDlbDeviceList?devStatus=5`" | ||||
|                               @select="v=>formData.serialNo=v" multiple/> | ||||
|             </el-form-item> | ||||
|           </el-form> | ||||
|         </template> | ||||
| @@ -269,44 +269,10 @@ export default { | ||||
|     }, | ||||
|     // 地区选择 | ||||
|     handleAreaSelect() { | ||||
|       this.areaName = v?.[0]?.label | ||||
|     }, | ||||
|     // 全选按钮 | ||||
|     handleCheckAllChange(val) { | ||||
|       this.checkedCities = val ? this.cities : []; | ||||
|       this.isIndeterminate = false; | ||||
|     }, | ||||
|     // 复选框 | ||||
|     handleCheckedCitiesChange(value) { | ||||
|       let checkedCount = value.length; | ||||
|       this.checkAll = checkedCount == this.cities.length; | ||||
|       this.isIndeterminate = checkedCount > 0 && checkedCount < this.cities.length; | ||||
|     }, | ||||
|     // 搜索设备 | ||||
|     searchEquipment() { | ||||
|       console.log('搜索设备'); | ||||
|     }, | ||||
|     // 关闭标签 | ||||
|     closeTags(tag) { | ||||
|       this.tags.splice(this.tags.indexOf(tag), 1); | ||||
|     }, | ||||
|     // 清空标签 | ||||
|     emptyBtn() { | ||||
|       this.tags = [] | ||||
|     }, | ||||
|     handleNodeClick(data) { | ||||
|       console.log(data); | ||||
|     }, | ||||
|     // 行政区划 | ||||
|     bindAdministrative() { | ||||
|       this.instance.post(`/app/appdlbquipment/addOrUpdate`, this.changeInfo).then((res) => { | ||||
|         if (res.code == 0) { | ||||
|           // this.$message.success('绑定行政区划成功!') | ||||
|           // this.bindVisible = false | ||||
|           // this.getList() | ||||
|         } | ||||
|       }) | ||||
|       this.form.areaName = v?.[0]?.label | ||||
|     }, | ||||
|  | ||||
|     // 播放 | ||||
|     confirm() { | ||||
|       this.$refs['ruleForm'].validate((valid) => { | ||||
|         if (valid) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user