diff --git a/packages/device/AppBroadcast/components/Detail.vue b/packages/device/AppBroadcast/components/Detail.vue index f5649a2e..72115fc5 100644 --- a/packages/device/AppBroadcast/components/Detail.vue +++ b/packages/device/AppBroadcast/components/Detail.vue @@ -11,7 +11,8 @@ @@ -79,7 +79,7 @@ export default { return h('span', null, (row.taskType == 1? '定时播放':'立即播放'))}, }, {prop: 'startTime', label: '开始时间', align: 'center', width: 180}, - // {prop: 'broadcastStatus', label: '状态', align: 'center', dict: "dlbBroadcastStatus"}, + {prop: 'broadcastStatus', label: '状态', align: 'center', dict: "dlbBroadcastStatus"}, {prop: 'areaName', label: '地区', align: 'center'}, {prop: 'createUserName', label: '创建人', align: 'center'}, {slot: 'options'}, diff --git a/packages/device/AppEquipmentManage/components/taskList.vue b/packages/device/AppEquipmentManage/components/taskList.vue index 58765e73..0d14d8df 100644 --- a/packages/device/AppEquipmentManage/components/taskList.vue +++ b/packages/device/AppEquipmentManage/components/taskList.vue @@ -14,7 +14,7 @@ :current.sync="page.current" :size.sync="page.size" @getList="getList" @selection-change="(v) => (ids = v.map((e) => e.id))"> - @@ -171,6 +171,7 @@ export default { serialNoList: [], areaId: '', areaName: '', + userAreaId: '', } }, computed: { @@ -183,15 +184,25 @@ 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: { @@ -218,7 +229,7 @@ export default { }) }, // 地区选择 - handleAreaSelect() { + handleAreaSelect(v) { this.areaName = v?.[0]?.label }, diff --git a/packages/work/AppHelpedResident/hrAdd.vue b/packages/work/AppHelpedResident/hrAdd.vue index 2d29e867..02f227da 100644 --- a/packages/work/AppHelpedResident/hrAdd.vue +++ b/packages/work/AppHelpedResident/hrAdd.vue @@ -37,7 +37,7 @@ --> - +