| | |
| | | Name: page.After_Delete?.Name |
| | | }; |
| | | } |
| | | |
| | | if (evt.ID) { |
| | | return [{ |
| | | Cls_Name: this.param?.master_cls?.name || "", |
| | | Cls_ID: this.param?.master_cls?.id || "", |
| | | FunCode: "Delete", |
| | | ShowName: this.$t("sys.delete"), |
| | | Style: "text", |
| | | Prompt: false, |
| | | NotTriggerSYSEvent: false, |
| | | DataStateVerify: false, |
| | | AttrVerify: false, |
| | | AfterProcess_Event: evt, |
| | | }]; |
| | | } |
| | | return [{ |
| | | Cls_Name: this.param?.master_cls?.name || "", |
| | | Cls_ID: this.param?.master_cls?.id || "", |
| | | FunCode: "Delete", |
| | | ShowName: this.$t("sys.delete"), |
| | | Style: "text", |
| | | Prompt: false, |
| | | NotTriggerSYSEvent: false, |
| | | DataStateVerify: false, |
| | | AttrVerify: false, |
| | | AfterProcess_Event: evt, |
| | | }]; |
| | | } |
| | | return []; |
| | | } |
| | |
| | | } |
| | | }) |
| | | }); |
| | | pageData.DefList = detailStyleDefList |
| | | pageData.DefList = detailStyleDefList |
| | | $this.$set(this.pageDetail, pageIndex, pageData) |
| | | }, |
| | | //加载正在码盘内容 |
| | |
| | | if (ele.fieldId == attr.attr) { |
| | | ele.value = attr.value; |
| | | ele.oldvalue = attr.value; |
| | | if (ele.name == "Input") { |
| | | if (attr.prompt) ele.placeholder = attr.prompt; |
| | | } |
| | | if (attr.enable !== undefined) { |
| | | if (attr.enable) ele.disabled = false; |
| | | else ele.disabled = true; |
| | | } |
| | | } |
| | | } else if (ele.name == "Layout") { |
| | | ele.setting.colList.forEach((col) => { |
| | |
| | | if (col.fieldId == attr.attr) { |
| | | col.value = attr.value; |
| | | col.oldvalue = attr.value; |
| | | if (col.name == "Input") { |
| | | if (attr.prompt) col.placeholder = attr.prompt; |
| | | } |
| | | if (attr.enable !== undefined) { |
| | | if (attr.enable) col.disabled = false; |
| | | else col.disabled = true; |
| | | } |
| | | } |
| | | } |
| | | }); |
| | |
| | | const style = pageData.DefList[index]; |
| | | //删除码盘中样式面板 |
| | | pageData.DefList.splice(index, 1); |
| | | this.del(pageData, style, btn.AfterProcess_Event); |
| | | if (btn.AfterProcess_Event.ID) |
| | | this.del(pageData, style, btn.AfterProcess_Event); |
| | | this.$set(this.pageDetail, pageIndex, pageData) |
| | | } |
| | | } else if (btn.FunCode == "Modify") { |
| | |
| | | flex-direction: column; |
| | | } |
| | | |
| | | .v-head-style { |
| | | width: 98%; |
| | | |
| | | .uni-forms-item { |
| | | margin-bottom: 11rpx; |
| | | } |
| | | |
| | | .input-wrapper { |
| | | border: 1px solid #d5d5d5; |
| | | width: 100%; |
| | | display: flex; |
| | | flex-direction: row; |
| | | |
| | | .uni-input { |
| | | flex: 1; |
| | | padding: 12rpx 8rpx; |
| | | color: #2d8cf0; |
| | | // height: 40rpx; |
| | | // line-height: 40rpx; |
| | | } |
| | | |
| | | .uni-icon { |
| | | padding: 10rpx 5rpx; |
| | | font-size: 32rpx; |
| | | color: rgb(192, 196, 204); |
| | | } |
| | | } |
| | | |
| | | .input-wrapper:hover { |
| | | border: 1px solid rgb(41, 121, 255); |
| | | } |
| | | } |
| | | |
| | | .view-content { |
| | | display: flex; |
| | |
| | | padding: 0px; |
| | | margin: 0; |
| | | |
| | | .uni-forms-item { |
| | | padding-bottom: 5rpx; |
| | | margin-bottom: 0; |
| | | |
| | | .uni-forms-item__label { |
| | | height: 20px !important; |
| | | padding: 0 10rpx 0 0 !important; |
| | | } |
| | | } |
| | | |
| | | } |
| | | |