This commit is contained in:
shijingjing
2022-06-13 10:20:34 +08:00
parent b25222b93e
commit c1c046971e

View File

@@ -59,8 +59,8 @@
value-format="HH:mm:ss"></el-time-picker>
</el-form-item>
<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/>
<ai-table-select nodeName="name" :instance="instance" extra="serialNo" :action="`/app/appdlbquipment/list?devStatus=5&areaId=${areaId}`"
@select="v => formData.serialNo = v.map(e=> e.serialNo).toString()" multiple/>
</el-form-item>
</el-form>
</template>
@@ -187,17 +187,16 @@ export default {
// 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
}
},
// watch: {
// userAreaId: {
// handler: function(v) {
// this.areaRootId = [v?.substr(0,6),'000000'].join("")
// },
// deep: true
// }
// },
created() {
this.dict.load('dlbMessageUrgency', 'dlbBroadTaskType', 'dlbDyclingType')
@@ -230,7 +229,7 @@ export default {
})
},
// 地区选择
handleAreaSelect() {
handleAreaSelect(v) {
this.areaName = v?.[0]?.label
},