30155
This commit is contained in:
		| @@ -58,7 +58,7 @@ | ||||
|                               :picker-options="{ start: formData.startTime, minTime: formData.startTime}" | ||||
|                               value-format="HH:mm:ss"></el-time-picker> | ||||
|             </el-form-item> | ||||
|             <el-form-item label="播放设备" v-if="areaId.length" prop="serialNo" style="width: 100%;"> | ||||
|             <el-form-item label="播放设备" v-if="areaId" prop="serialNo" style="width: 100%;"> | ||||
|               <ai-table-select nodeName="name" :instance="instance" :action="`/app/appdlbquipment/list?devStatus=5&areaId=${areaId}`" | ||||
|                               @select="v=> formData.serialNo = v.map(e=> e.serialNo).toString()" multiple/> | ||||
|             </el-form-item> | ||||
| @@ -171,6 +171,7 @@ export default { | ||||
|       serialNoList: [], | ||||
|       areaId: '', | ||||
|       areaName: '', | ||||
|       userAreaId: '', | ||||
|     } | ||||
|   }, | ||||
|   computed: { | ||||
| @@ -183,15 +184,26 @@ export default { | ||||
|       var myDate = new Date(); | ||||
|       return myDate.getHours() + ':' + myDate.getMinutes() + ':' + myDate.getSeconds() | ||||
|     }, | ||||
|     areaRoot() { | ||||
|       return this.areaRootId = [this.user.info.areaId.substr(0,6),'000000'].join("") | ||||
|     } | ||||
|     // areaRoot() { | ||||
|     //   return this.areaRootId = [this.user.info.areaId.substr(0,6),'000000'].join("") | ||||
|     // } | ||||
|  | ||||
|   }, | ||||
|  | ||||
|   watch: { | ||||
|     userAreaId: { | ||||
|       handler: function(v) { | ||||
|         this.areaRootId = [v.substr(0,6),'000000'].join("") | ||||
|       }, | ||||
|       deep: true | ||||
|     } | ||||
|   }, | ||||
|  | ||||
|   created() { | ||||
|     this.dict.load('dlbMessageUrgency', 'dlbBroadTaskType', 'dlbDyclingType') | ||||
|     Promise.all([this.getEquipmentList(), this.getMediaList()]).then(() => { | ||||
|       this.formData.mediaId = this.params.id | ||||
|       this.userAreaId = this.user.info.areaId | ||||
|     }) | ||||
|   }, | ||||
|   methods: { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user