| | |
| | | <a-form-model-item label="设备编号颜色"> |
| | | <a-input type="color" v-model="model.equipmentIdColor"></a-input> |
| | | </a-form-model-item> |
| | | <a-form-model-item label="授权标识"> |
| | | <a-input placeholder="请输入授权标识" v-model="model.perms"/> |
| | | </a-form-model-item> |
| | | </a-form-model> |
| | | </a-spin> |
| | | </a-modal> |
| | |
| | | } |
| | | obj.then((res) => { |
| | | if (res.success) { |
| | | that.$message.success(res.message) |
| | | that.$notification.success({ |
| | | message:'消息', |
| | | description:res.message |
| | | }); |
| | | that.$emit('ok') |
| | | } else { |
| | | that.$message.warning(res.message) |
| | | that.$notification.warning({ |
| | | message:'消息', |
| | | description:res.message |
| | | }); |
| | | } |
| | | }).finally(() => { |
| | | that.confirmLoading = false |