diff --git a/src/store/modules/attribute.js b/src/store/modules/attribute.js index dbef5110..58639a93 100644 --- a/src/store/modules/attribute.js +++ b/src/store/modules/attribute.js @@ -177,6 +177,14 @@ const attribute = { EditEvent({ commit, state }, param) { commit('UPDATE_EVENT', param) }, + // 修改 列表 + UpdateFunctionList({ commit, state }, param) { + commit('SET_FUNCTION_LIST', param) + }, + // 修改 列表 + UpdateEventList({ commit, state }, param) { + commit('SET_EVENT_LIST', param) + }, // 删除分组 删除分组 判断分组是否有属性,有属性就不能删除 DeleteGroup({ commit, state }, idx) { let groupItem = state.groupList[idx]; diff --git a/src/views/iot/device/index.vue b/src/views/iot/device/index.vue index fbc87974..532f0809 100644 --- a/src/views/iot/device/index.vue +++ b/src/views/iot/device/index.vue @@ -877,7 +877,7 @@ export default { } ], deviceTag: [ - { required: true, message: "设备标签不能为空", trigger: "change" } + // { required: true, message: "设备标签不能为空", trigger: "change" } ] }, deviceTypeList: {}, diff --git a/src/views/iot/device/profile/functionWrap.vue b/src/views/iot/device/profile/functionWrap.vue index 02f234a3..4ee554f0 100644 --- a/src/views/iot/device/profile/functionWrap.vue +++ b/src/views/iot/device/profile/functionWrap.vue @@ -333,14 +333,12 @@ - - - diff --git a/src/views/profile/attribute/eventView.vue b/src/views/profile/attribute/eventView.vue index 6b31e2e3..845d48b7 100644 --- a/src/views/profile/attribute/eventView.vue +++ b/src/views/profile/attribute/eventView.vue @@ -33,9 +33,23 @@ align="center" class-name="small-padding fixed-width" label="操作" - width="180px" + width="200px" > - - - diff --git a/src/views/profile/attribute/functionView.vue b/src/views/profile/attribute/functionView.vue index fa2731bb..6c01ea59 100644 --- a/src/views/profile/attribute/functionView.vue +++ b/src/views/profile/attribute/functionView.vue @@ -31,9 +31,23 @@ align="center" class-name="small-padding fixed-width" label="操作" - width="180px" + width="200px" >