gds-plus-design-vue 1.2.72 → 1.2.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/addPermission.4a553cd8.js +1 -0
- package/lib/{addPermission.f2eb7564.mjs → addPermission.78068c52.mjs} +45 -43
- package/lib/{approvalModel.7b3cb5c5.mjs → approvalModel.1d109493.mjs} +2 -2
- package/lib/{approvalModel.2b97fdf8.js → approvalModel.e0e5738f.js} +1 -1
- package/lib/{attribute.4f814780.mjs → attribute.9dfa6953.mjs} +46 -44
- package/lib/attribute.f97b41ad.js +1 -0
- package/lib/{components.globalheader.5418b5ec.js → components.globalheader.c7bf862b.js} +1 -1
- package/lib/{components.globalheader.bc91e6fe.mjs → components.globalheader.f0b8aab7.mjs} +1 -1
- package/lib/components.middleware.216e1574.js +1 -0
- package/lib/components.middleware.d7dc078d.mjs +148 -0
- package/lib/{components.modaltitle.d7ef34cb.js → components.modaltitle.0d3db44e.js} +1 -1
- package/lib/{components.modaltitle.4f454200.mjs → components.modaltitle.517bc660.mjs} +2 -2
- package/lib/{components.sidenavmenu.1f0bbfca.js → components.sidenavmenu.364a8b26.js} +1 -1
- package/lib/{components.sidenavmenu.47d7f44a.mjs → components.sidenavmenu.3f4d259f.mjs} +8 -8
- package/lib/components.table.5d1336dd.js +8 -0
- package/lib/components.table.a50270a9.mjs +3591 -0
- package/lib/components.table.childheader.7e9b960f.mjs +325 -0
- package/lib/components.table.childheader.cee3be75.js +1 -0
- package/lib/components.table.queriesfield.eb795212.js +1 -0
- package/lib/components.table.queriesfield.f16322dc.mjs +748 -0
- package/lib/components.viewformdetails.513f0dbe.js +1 -0
- package/lib/{components.viewformdetails.1236a66e.mjs → components.viewformdetails.cb86a01d.mjs} +60 -37
- package/lib/{createFile.c8d65b52.mjs → createFile.44667f20.mjs} +45 -43
- package/lib/createFile.6389354d.js +1 -0
- package/lib/{editForm.83d10fae.mjs → editForm.54f33a47.mjs} +5 -2
- package/lib/editForm.a5fd3180.js +1 -0
- package/lib/extendedAttributes.3ed8fe2a.js +1 -0
- package/lib/{extendedAttributes.e6b11c68.mjs → extendedAttributes.b2c2ab6c.mjs} +45 -43
- package/lib/{fileSearch.423b64a3.mjs → fileSearch.203b9423.mjs} +45 -43
- package/lib/fileSearch.3513b55b.js +1 -0
- package/lib/{flow.designer.85d0054b.js → flow.designer.362f5f66.js} +1 -1
- package/lib/{flow.designer.5feba43c.mjs → flow.designer.e087cd9b.mjs} +1 -1
- package/lib/{flow.list.82131d80.mjs → flow.list.3c2df716.mjs} +2 -2
- package/lib/{flow.list.e001d91a.js → flow.list.dea8996a.js} +1 -1
- package/lib/{form.build.33cc213e.mjs → form.build.69803596.mjs} +32 -21
- package/lib/form.build.6a1bcad5.js +1 -0
- package/lib/{form.designer.build.7dc12e87.mjs → form.designer.build.12c673f0.mjs} +195 -171
- package/lib/form.designer.build.89af4d24.js +1 -0
- package/lib/{formFiled.5a1c8f7f.mjs → formFiled.593b5a25.mjs} +7 -6
- package/lib/formFiled.d63e97d3.js +1 -0
- package/lib/gd-initial.js +1 -1
- package/lib/gd-initial.mjs +148 -146
- package/lib/{http.message.ceb0a1c6.mjs → http.message.00e72e09.mjs} +29 -21
- package/lib/{http.message.87f319d7.js → http.message.73c3ed85.js} +1 -1
- package/lib/index.4f1635c8.js +8 -0
- package/lib/{index.340d6f00.mjs → index.9ecf4818.mjs} +3097 -2409
- package/lib/layoutBlocks.97713647.mjs +583 -0
- package/lib/layoutBlocks.d26f79f2.js +1 -0
- package/lib/layouts.0e66a0bc.js +2 -0
- package/lib/{layouts.1852e8e4.mjs → layouts.ddf507fa.mjs} +29 -21
- package/lib/{main.1551de4d.js → main.22cae2bb.js} +1 -1
- package/lib/{main.48dc325f.mjs → main.37ae02bc.mjs} +1 -1
- package/lib/main.44750095.js +1 -0
- package/lib/{main.b2314767.mjs → main.55c9f109.mjs} +5 -8
- package/lib/{main.12118407.mjs → main.5bf89f06.mjs} +54 -55
- package/lib/main.f0805dab.js +1 -0
- package/lib/manage.91e76379.js +1 -0
- package/lib/{manage.1bc511ff.mjs → manage.b3462cce.mjs} +46 -44
- package/lib/{messages.messagetemplate.0935e5a3.mjs → messages.messagetemplate.ceeb3f47.mjs} +2 -2
- package/lib/{messages.messagetemplate.50334e5f.js → messages.messagetemplate.e52ab470.js} +1 -1
- package/lib/messages.sendplan.18bda3c5.js +1 -0
- package/lib/{messages.sendplan.61edcc7f.mjs → messages.sendplan.c6821911.mjs} +97 -25
- package/lib/{messages.sendrecord.09a1d1cd.js → messages.sendrecord.12028921.js} +2 -2
- package/lib/{messages.sendrecord.1c48aa6e.mjs → messages.sendrecord.f7630ebd.mjs} +3 -3
- package/lib/{messages.templatelibrary.f31e8d58.mjs → messages.templatelibrary.4654886e.mjs} +1 -1
- package/lib/{messages.templatelibrary.f5952edd.js → messages.templatelibrary.cd20c05b.js} +1 -1
- package/lib/{mobile.designer.componentstree.9439895e.mjs → mobile.designer.componentstree.5a329caa.mjs} +1 -1
- package/lib/{mobile.designer.componentstree.365945a3.js → mobile.designer.componentstree.888d8646.js} +1 -1
- package/lib/{mobile.designer.menutree.4d4e059b.js → mobile.designer.menutree.646ebcdd.js} +1 -1
- package/lib/{mobile.designer.menutree.7d3b783d.mjs → mobile.designer.menutree.da4c05f4.mjs} +1 -1
- package/lib/moveFile.345aee1d.js +1 -0
- package/lib/{moveFile.3dc1dc37.mjs → moveFile.864ea48f.mjs} +48 -46
- package/lib/{page.build.ae61a39b.mjs → page.build.39202359.mjs} +674 -668
- package/lib/{page.build.7ac1ee9b.js → page.build.66e190a5.js} +3 -3
- package/lib/{page.designer.componentstree.cdabec2d.mjs → page.designer.componentstree.2d5a887a.mjs} +1 -1
- package/lib/{page.designer.componentstree.74a3a114.js → page.designer.componentstree.ec3dcbc1.js} +1 -1
- package/lib/{page.designer.menutree.e4ce1e90.mjs → page.designer.menutree.1e642711.mjs} +2 -2
- package/lib/{page.designer.menutree.71c18258.js → page.designer.menutree.6368c636.js} +1 -1
- package/lib/page.designer.page.2dac64ca.js +1 -0
- package/lib/{page.designer.page.821f8994.mjs → page.designer.page.4cf4b1bf.mjs} +39 -35
- package/lib/{result.a87217ae.mjs → result.3c1fc8b7.mjs} +45 -43
- package/lib/result.cf75c6c3.js +1 -0
- package/lib/{router.config.f0ad16fd.mjs → router.config.b78ec9f8.mjs} +5 -5
- package/lib/{router.config.a09f29e7.js → router.config.d746d115.js} +1 -1
- package/lib/{solution.application.8d6c84e8.js → solution.application.15e813b4.js} +1 -1
- package/lib/{solution.application.e6b5dc4f.mjs → solution.application.5d02d1cd.mjs} +16 -10
- package/lib/solution.approvalflow.1f11ad8f.js +1 -0
- package/lib/{solution.approvalflow.eb1c0607.mjs → solution.approvalflow.24a50af0.mjs} +20 -14
- package/lib/solution.dict.28214a3e.js +1 -0
- package/lib/{solution.dict.088a1e72.mjs → solution.dict.77cb1ad2.mjs} +41 -37
- package/lib/{solution.menu.fa48a7e8.js → solution.menu.12b9f56d.js} +1 -1
- package/lib/{solution.menu.e58922fe.mjs → solution.menu.72498250.mjs} +1 -1
- package/lib/{solution.plugin.ae6df926.mjs → solution.plugin.76b603be.mjs} +18 -12
- package/lib/solution.plugin.e7b31aff.js +1 -0
- package/lib/solution.processflow.aa84ec06.js +1 -0
- package/lib/{solution.processflow.62936f1c.mjs → solution.processflow.d336bd7b.mjs} +15 -9
- package/lib/{solution.role.7b3e7030.mjs → solution.role.05efb1b4.mjs} +18 -12
- package/lib/solution.role.d07e1813.js +1 -0
- package/lib/{solution.webresources.88c4483b.mjs → solution.webresources.1b0f8550.mjs} +247 -79
- package/lib/solution.webresources.5b4abeb5.js +2 -0
- package/lib/{solution.workflow.85de0ae5.mjs → solution.workflow.6d081d1f.mjs} +18 -12
- package/lib/solution.workflow.91b42158.js +1 -0
- package/lib/style.css +2 -2
- package/lib/{system.duplicatechecking.a217fc52.js → system.duplicatechecking.719ddda1.js} +1 -1
- package/lib/{system.duplicatechecking.46e182d7.mjs → system.duplicatechecking.af9318aa.mjs} +1 -1
- package/lib/{system.notice.51880df6.mjs → system.notice.12fa4d1c.mjs} +220 -217
- package/lib/system.notice.9385577f.js +1 -0
- package/lib/{system.noticereceived.0b79642e.js → system.noticereceived.3dec9e12.js} +1 -1
- package/lib/{system.noticereceived.55f276ab.mjs → system.noticereceived.7cfcceb4.mjs} +1 -1
- package/lib/{system.team.367bf5e7.mjs → system.team.3b0fcc60.mjs} +1 -1
- package/lib/{system.team.cf1c1558.js → system.team.c0d623a5.js} +1 -1
- package/lib/{system.teammembers.63f21557.js → system.teammembers.c99ef01b.js} +1 -1
- package/lib/{system.teammembers.851ce63b.mjs → system.teammembers.d0dc3f12.mjs} +2 -2
- package/lib/{system.user.475d7391.js → system.user.75fa57c3.js} +1 -1
- package/lib/{system.user.254bbe85.mjs → system.user.78a45735.mjs} +1 -1
- package/lib/versionControl.c39356b7.js +1 -0
- package/lib/{versionControl.d1b2b0da.mjs → versionControl.d572bc44.mjs} +51 -49
- package/lib/{versionEdit.c51606e4.mjs → versionEdit.8b059461.mjs} +45 -43
- package/lib/versionEdit.d56cde69.js +1 -0
- package/lib/view.build.14c0d411.js +1 -0
- package/lib/{view.build.9976c958.mjs → view.build.5b9241fd.mjs} +193 -190
- package/lib/viewList.215afeb2.js +1 -0
- package/lib/{viewList.3ca52f0c.mjs → viewList.b090d62f.mjs} +11 -12
- package/package.json +1 -1
- package/lib/addPermission.e559c495.js +0 -1
- package/lib/attribute.7b4971f5.js +0 -1
- package/lib/components.middleware.24511f17.mjs +0 -148
- package/lib/components.middleware.64b6a988.js +0 -1
- package/lib/components.table.389ab22a.mjs +0 -4650
- package/lib/components.table.d016f609.js +0 -8
- package/lib/components.viewformdetails.328c8642.js +0 -1
- package/lib/copy.3b06d60f.mjs +0 -572
- package/lib/copy.fa2fcb22.js +0 -1
- package/lib/createFile.526dd6db.js +0 -1
- package/lib/drawerContainer.790b0ee6.mjs +0 -163
- package/lib/drawerContainer.c971d22d.js +0 -1
- package/lib/editForm.e284e5ec.js +0 -1
- package/lib/extendedAttributes.bfff1926.js +0 -1
- package/lib/fileSearch.e849491c.js +0 -1
- package/lib/form.build.19f0c882.js +0 -1
- package/lib/form.designer.build.2bcc355d.js +0 -1
- package/lib/formFiled.40284ed9.js +0 -1
- package/lib/index.07adebf0.js +0 -8
- package/lib/layoutBlocks.756e4b57.js +0 -1
- package/lib/layoutBlocks.816b49a7.mjs +0 -413
- package/lib/layouts.2030bf01.js +0 -2
- package/lib/main.1611bb43.js +0 -1
- package/lib/main.fcb67463.js +0 -1
- package/lib/manage.eb0a6c8c.js +0 -1
- package/lib/messages.sendplan.60929f46.js +0 -1
- package/lib/moveFile.f70bbff7.js +0 -1
- package/lib/page.designer.page.654634aa.js +0 -1
- package/lib/result.4d4039ea.js +0 -1
- package/lib/solution.approvalflow.79da028c.js +0 -1
- package/lib/solution.dict.1d5195d0.js +0 -1
- package/lib/solution.plugin.5d6d29cf.js +0 -1
- package/lib/solution.processflow.aa1e808b.js +0 -1
- package/lib/solution.role.2eff83a1.js +0 -1
- package/lib/solution.webresources.bc00603d.js +0 -1
- package/lib/solution.workflow.0ed2cb24.js +0 -1
- package/lib/system.notice.2090c130.js +0 -1
- package/lib/versionControl.97590ce8.js +0 -1
- package/lib/versionEdit.f710d0bb.js +0 -1
- package/lib/view.build.5789a6eb.js +0 -1
- package/lib/viewList.6e181715.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const r=require("./components.chartbi.13a8a7b5.js"),l=require("./utils.util.js.c0ba699b.js"),d=require("./http.main.2f8a6936.js"),p=require("./http.loginmanage.326984c3.js"),f=require("./http.syscodegenerateconfigmanage.840f1136.js"),y=require("./form.build.6a1bcad5.js"),g=require("./http.codegeneratemanage.e3db2f09.js"),C=require("./system.notice.9385577f.js"),b={props:{record:{type:Object,default:()=>({})},recordoperations:{type:Object,default:()=>({})},develop:{type:[Number,String],default:1},openMode:{type:[String,Number],default:1},height:{type:Number,default:100},foreign:{type:Object,default:()=>({})},disabledRowId:{type:Array,default:()=>[]},istable:{type:Boolean,default:!1}},data(){return{statu:!1,viewRecord:{},formList:[],tableData:{},sysViewList:[],personalViewList:[],sysViewButtons:[],selectedRowKeys:[],selectedRows:[],defaultViewId:0,excludeButtons:[],fieldData:[],tableDataSource:[],componentList:[],lineQuickView:t=>{const e="baseQuickView";return this[e]===void 0&&this.func===void 0?new Promise(i=>i(t)):this[e](t)}}},computed:{componentForm(){const t=this.$importViewFiles();let i=`../views/main/${this.options.table.tableName||this.options.table.tablename}/editForm.vue`;const s=t[i];return s?s.default:y.FormDesigner},viewList(){return this.sysViewList.concat(this.personalViewList)},formCode(){return this.options.form.id},options(){return this.record.options},...r.mapGetters(["tableLists"])},methods:{showLoading(){this.statu=!0,this.$refs.table.showLoading()},hideLoading(t=1500){this.$refs.table.hideLoading(t),setTimeout(()=>{this.statu=!1},t)},add(t){this.baseAdd()},edit(t){this.baseEdit()},del(t){this.baseDel()},deactivateData(){this.baseEnable(0)},enableData(){this.baseEnable()},assign(t){this.baseAssign(t)},batchUpdate(t){this.baseBatchUpdate()},teamSharing(t){this.baseTeamSharing(t)},statusChange(){this.baseStatusChange()},importData(){this.baseImportData()},exportData(t){this.baseExportData(t)},open(t){this.$nextTick(()=>{setTimeout(()=>{if(this.$refs.editForm){if(!(this.tableData.isvirtualtable===1)){this.$refs.editForm.open(t);return}this.openVirtual(t)}else console.log("err:\u8868\u5355\u672A\u52A0\u8F7D\uFF0C\u8BF7\u7B49\u5F85\u52A0\u8F7D\u5B8C\u6210\uFF01")},0)})},openVirtual(t){let e=new Map;this.fieldData.filter(s=>["fk","user"].includes(s.effecttype)).forEach(s=>{Object.keys(t).includes(s.columnname);const o=`name${s.fkentityname}${s.columnname}`;if(Object.keys(t).includes(o)){const a=t[`${s.columnname}id`],c=a||new Date().getTime();e.set(`${s.columnname}`,c),e.set(`${s.columnname}name`,t[o])}}),this.$refs.editForm.openDisplay(Object.assign({},t,Object.fromEntries(e)))},refresh(t=!0){this.$refs.table?this.$refs.table.refresh(t):console.log("err:\u89C6\u56FE\u672A\u52A0\u8F7D\uFF0C\u8BF7\u7B49\u5F85\u52A0\u8F7D\u5B8C\u6210\uFF01")},init(){this.record.hasLoad&&this.record.hasLoad(this.record.key),Promise.all([this.baseGetTableView(),this.baseGetPersonalView(!0),this.baseGetLoadData()]).then(t=>{this.$nextTick(()=>{setTimeout(()=>{this.$refs.table&&(this.$refs.table.init({fieldData:this.fieldData,tableData:this.tableData,sysViewList:this.sysViewList,personalViewList:this.personalViewList,defaultViewId:this.defaultViewId}),this.$refs.table.baseCustomComponents(this.componentList));let e=this.formList.filter(i=>i.id===this.formCode)[0];e||(e=this.formList.filter(i=>i.type===1)[0]),this.$refs.editForm&&e&&this.$refs.editForm.setFormRecord(e),this.beaseLoadComplete()},0)})})},onChangeBtn(t){this.sysViewButtons=t},onChangeView(t){this.viewRecord=t},onChangeData(t){this.tableDataSource=[...t],this.$emit("changeData",t)},onChangeSelect(t,e){this.selectedRowKeys=t,this.selectedRows=e,this.$emit("onChangeSelect",t,e);const i="baseChangeSelect";this[i]&&this[i](t,e)},beaseLoadComplete(){const t="onLoadCompleted";this[t]===void 0&&this.func===void 0||this[t]&&this[t]()},baseGetTableView(){const t=this.tableLists.filter(e=>{const i=this.options.table.tableName||this.options.table.tablename;return e.tablename.toLowerCase()===i.toLowerCase()})[0];return t?d.baseTableData({tableId:t.id}).then(e=>(e.code===200?(e.data.viewlist.map(i=>(i.mode=1,i)),this.formList=Object.freeze(e.data.formlist),this.tableData=Object.freeze(e.data.table),this.sysViewList=Object.freeze(e.data.viewlist)):this.$message.error(e.message),e)):(console.log("\u6570\u636E\u9519\u8BEF,\u8868\u4E0D\u5B58\u5728"),new Promise((e,i)=>{e({})}))},baseGetPersonalView(t){if(t&&this.openMode!=1)return new Promise((i,s)=>{i()});const e=this.tableLists.filter(i=>{const s=this.options.table.tableName||this.options.table.tablename;return i.tablename.toLowerCase()===s.toLowerCase()})[0];return e===void 0?(console.log("\u8868\u4E0D\u5B58\u5728"),new Promise((i,s)=>{i()})):d.basePersonalData({tableId:e.id}).then(i=>{if(i.code===200){const s=this.options.layoutConfig!==void 0?this.options.layoutConfig:!1;this.defaultViewId=s?0:i.data.defaultqueryid,this.personalViewList=Object.freeze(i.data.savedquerylist)}else console.log(i.message);return i.data})},baseGetLoadData(){const t=this.tableLists.filter(e=>{const i=this.options.table.tableName||this.options.table.tablename;return e.tablename.toLowerCase()===i.toLowerCase()})[0];return t?f.onlineFormGetCodeGenerateList({codeGenId:t.id}).then(e=>{e.code===200&&(this.fieldData=Object.freeze(JSON.parse(JSON.stringify(e.data))),this.$emit("fieldData",e.data))}):(console.log("\u6570\u636E\u9519\u8BEF,\u8868\u4E0D\u5B58\u5728"),new Promise((e,i)=>{e({})}))},baseAdd(){this.$nextTick(()=>{setTimeout(()=>{this.$refs.editForm?this.$refs.editForm.open({title:this.$i18nt("gd.https.add","\u65B0\u589E")}):console.log("err:\u8868\u5355\u672A\u52A0\u8F7D\uFF0C\u8BF7\u7B49\u5F85\u52A0\u8F7D\u5B8C\u6210\uFF01")},0)})},baseEdit(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.editTip","\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.editTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));return}let t={title:this.$i18nt("gd.https.edit","\u7F16\u8F91")};this.openMode==3?Object.assign(t,{data:this.selectedRows[0]}):Object.assign(t,{id:this.selectedRowKeys[0]}),this.open(t)},baseCopyData(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.editTip","\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.editTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));return}const t=this.tableDataSource.filter(e=>this.selectedRowKeys.includes(e.id))[0];this.$refs.editForm.openCopyData({title:this.$i18nt("gd.advancedFind.anotherSave","\u53E6\u5B58\u4E3A"),data:t})},baseDel(){this.$refs.table.baseDel()},baseEnable(t=1){return this.$refs.table.baseEnable(t)},baseRelationOk(t){this.$refs.table.baseRelationOk(t)},baseBatchUpdate(){this.$refs.table.baseBatchUpdate()},baseTeamSharing(t){this.$refs.table.baseTeamSharing(t)},baseStatusChange(){this.$refs.table.baseStatusChange()},baseAssign(t){this.$refs.table.baseAssign(t)},baseImportData(){this.$refs.table.baseImportData()},baseExportData(t){this.$refs.table.baseExportData(t)},baseGetParentFormData(t){if(this.openMode!=3)return new Promise((i,s)=>{i({})});let e=t===void 0?!1:t;return this.record.getFormAllData(e,!0).then(i=>i)},baseRelationRefresh(t=!0,e,i={}){this.openMode==3&&this.record.refresh(t,e,i)},baseBtnsStatus(t){this.$refs.table.baseBtnsStatus(t)},baseForceShowBtns(t){this.$refs.table.baseForceShowBtns(t)},baseComponentsInit(t){this.$refs.table.baseComponentsInit(t)},baseSetTableData(t){this.$refs.table.baseSetTableData(t)},getDictionary(t){return this.$options.filters.dictData(t)},baseTriggerFilter(t){this.$refs.table.baseTriggerFilter(t)},beseDoComponentEvent(t){const e=t.key?t.key:"",i=t.functionName?t.functionName:"",s=t.data?t.data:null,o=t.callback?t.callback:!1,h=t.callback?t.callback:this.record.key,a=t.callbackFunction?t.callbackFunction:"";this.record.doEvent&&this.record.doEvent({key:e,functionName:i,data:s,source:this.record,callback:o,callbackComponents:h,callbackFunction:a})},baseGetComponentData(t,e="key"){return this.record.getComponentData?this.record.getComponentData(t,e):null},doEvent(t){const e=t.item.functionName||t.item.functionname,i=t.key?t:t.item;if(this[e]===void 0){console.log("\u8BF7\u5B9A\u4E49 "+e+" \u65B9\u6CD5");return}this.showLoading(),this[e]&&this[e](i),this.hideLoading()},executeEvent(t){const e=t.functionName?t.functionName:"";e&&this[e]!==void 0?this.$nextTick(()=>{setTimeout(()=>{this[e](t)},100)}):console.log("\u6267\u884C\u9519\u8BEF")},destroyTree(t){if(!t)return;(t.$children||[]).forEach(i=>{this.destroyTree(i)}),t.$el&&t.$el.parentNode&&t.$el.parentNode.removeChild(t.$el)}},created(){this.init(),this.develop==2&&(this.record.executeEvent=this.executeEvent)},beforeDestroy(){console.log("\u89C6\u56FE\u5378\u8F7D",this.tableData.busname),this.sysViewList=null,this.personalViewList=null,this.selectedRows=null,this.sysViewButtons=null,this.fieldData=null,this.componentList=null,this.tableDataSource=null,this.record.executeEvent=null,this.record.doEvent=null,this.destroyTree(this)}};const D={mixins:[b],methods:{}};var L=function(){var e=this,i=e._self._c;return i("div",[i("gd-view-build-designer",{ref:"table",attrs:{record:e.record,develop:e.develop,openMode:e.openMode,height:e.height,foreign:e.foreign,disabledRowId:e.disabledRowId,excludeButtons:e.excludeButtons,lineQuickView:e.lineQuickView},on:{baseOpen:e.open,changeBtn:e.onChangeBtn,changeView:e.onChangeView,changeData:e.onChangeData,changeSelect:e.onChangeSelect,doEvent:e.doEvent}}),i(e.componentForm,{ref:"editForm",tag:"component",attrs:{fieldData:e.fieldData,tableData:e.tableData,recordRelation:e.record,openMode:e.openMode},on:{ok:e.refresh,relationOk:e.baseRelationOk}})],1)},I=[],k=r.normalizeComponent(D,L,I,!1,null,"ca0b408e",null,null);const _=k.exports;const x={name:"GdViewFormDetails",props:{modalAppendToBody:{type:Boolean,default:!0},appendToBody:{type:Boolean,default:!0}},data(){return{record:"",query:{},openType:"",modeType:"",popupType:"dialog",iframeUri:"",showPopup:!1,statu:!1}},computed:{hig(){return`${this.screenHeight}px`},istyle(){return`width:100%;overflow:hidden;height:${this.hig};`},...r.mapGetters(["primaryColor","screenHeight"])},components:{PopupDetails:()=>Promise.resolve().then(()=>E),ViewDetails:()=>Promise.resolve().then(()=>G)},methods:{open(t,e=!1){console.log(t),this.record=t;const i=l.getParamsQuery(t);this.query=i,this.modeType=e?this.modeType:i.mode_type?i.mode_type:"",this.openType=e?this.openType:i.open_type?i.open_type:"popup";const s=this.query.redirect_uri?this.query.redirect_uri:"";if(this.modeType==="request"){this.getRequestDetail();return}if(["authorize_view","authorize_form","authorize_details"].includes(this.modeType)){this.getAuthorizeCode();return}if(this.openType==="iframe"){this.getIframeUri(s);return}if(["redirect_self","redirect_blank"].includes(this.openType)){this.goRedirectUri(s);return}this.showPopup=!0,this.$nextTick(()=>{setTimeout(()=>{const o=`${this.openType}Details`;this.$refs[o]&&this.$refs[o].init()},100)})},getRequestDetail(){if(this.statu)return;const t=this.query.request_url?this.query.request_url:"";if(t==="")return;const e=decodeURIComponent(t),i=e.indexOf("?")===-1?e:e.slice(0,e.indexOf("?")),s=l.getParamsQuery(e);this.statu=!0,d.post(i,s).then(o=>{if(this.statu=!1,o.code!==200){this.$message.error(o.message);return}if(["redirect_self","redirect_blank"].includes(this.openType)){this.goRedirectUri(o.data),this.beaseLoadComplete();return}if(["iframe"].includes(this.openType)){this.getIframeUri(o.data),this.beaseLoadComplete();return}this.open(o.data,!0)})},getAuthorizeCode(){const t=this.query.code?this.query.code:"";if(t){this.Logout().then(e=>{this.getCode(t)});return}this.oauthAuthorize()},oauthAuthorize(){const t=this.query.client_id?this.query.client_id:"";this.query.response_type&&this.query.response_type,p.oauthAuthorize({client_id:t,response_type:"code"}).then(e=>{if(e.code!==200){this.$message.error(e.message);return}const i=this.query.redirect_uri?this.query.redirect_uri:"";if(i==="")return;const s=decodeURIComponent(i);s.indexOf("?")===-1||s.slice(0,s.indexOf("?"));const o=s.indexOf("?")===-1?[]:s.slice(s.indexOf("?")+1).split("&").map(n=>n.split("=")).map(([n,q])=>({key:n,value:q})).concat([{key:"code",value:e.data.code}]);if(["redirect_self","redirect_blank"].includes(this.openType)){this.oauthAuthorizeRedirect(o);return}const h=this.modeType.replace("authorize_","");let a=`?authorize_type=${this.modeType}&mode_type=${h}`,c=`?authorize_type=${this.modeType}&mode_type=${h}&open_type=view`;for(let n=0;n<o.length;n++)a+=`&${o[n].key}=${o[n].value}`,o[n].key!=="open_type"&&(c+=`&${o[n].key}=${o[n].value}`);const m=encodeURIComponent(s.slice(0,s.indexOf("?"))+c);a+=a===""?`?redirect_uri=${m}`:`&redirect_uri=${m}`,this.query.complete_request&&(a+=`&complete_request=${this.query.complete_request}`);const T=l.getParamsQuery(a);this.query=T,this.showPopup=!0,this.$nextTick(()=>{setTimeout(()=>{const n=`${this.openType}Details`;this.$refs[n]&&this.$refs[n].init()},0)})})},oauthAuthorizeRedirect(t){let e="";for(let s=0;s<t.length;s++)e+=`${s===0?"?":"&"}${t[s].key}=${t[s].value}`;const i=this.openType==="redirect_self"?"_self":this.openType==="redirect_blank"?"_blank":"_self";window.open(`${url}${e}`,i)},getCode(t){p.oauthCodeLogin({code:t}).then(e=>{if(e.code!==200){this.$message.error(e.message);return}this.loginSuccess(e.data),this.loginOther()})},goRedirectUri(t){if(t==="")return;const e=decodeURIComponent(t),i=this.openType==="redirect_self"?"_self":this.openType==="redirect_blank"?"_blank":"";window.open(e,i)},getIframeUri(t){t!==""&&(this.iframeUri=decodeURIComponent(t))},beaseLoadComplete(){const t=this.query.complete_request?this.query.complete_request:"";if(t==="")return;const e=decodeURIComponent(t),i=e.indexOf("?")===-1?e:e.slice(0,e.indexOf("?")),s=l.getParamsQuery(e);d.post(i,s)},loginSuccess(t){Vue.ls.set("ACCESS_TOKEN",t.accesstoken),this.$store.commit("SET_TOKEN",t.accesstoken);let e="";for(let i in this.query)["authorize_view","authorize_form","authorize_details"].includes(i)?e+=`${e===""?"?":"&"}${i}=${this.query[i].replace("authorize_","")}`:e+=`${e===""?"?":"&"}${i}=${this.query[i]}`;this.open(e,!0)},loginOther(){this.dictTypeData().then(e=>{});const t=new BroadcastChannel("gd-channel-msg");t.postMessage({type:"login",data:{gdTagName:window.gdTagName}}),t.close()},close(){this.modeType="",this.openType="",this.$nextTick(()=>{setTimeout(()=>{this.$emit("close")},300)})},doEvent(t){const e=`${this.openType}Details`;this.$refs[e]&&this.$refs[e].doEvent&&this.$refs[e].doEvent(t)},...r.mapActions(["Logout","dictTypeData"])}};var O=function(){var e=this,i=e._self._c;return i("div",{staticClass:"gd-vf-details"},[e.showPopup&&e.openType==="popup"?i("PopupDetails",{ref:"popupDetails",attrs:{record:e.record,query:e.query,modalAppendToBody:e.modalAppendToBody,appendToBody:e.appendToBody},on:{ok:function(s){return e.$emit("ok")},beaseLoadComplete:function(s){return e.$emit("beaseLoadComplete")},closed:e.close}}):e.openType==="view"?i("ViewDetails",{ref:"viewDetails",attrs:{record:e.record,query:e.query},on:{ok:function(s){return e.$emit("ok")},closed:e.close,onChangeBtn:s=>e.$emit("changeBtn",s),beaseLoadComplete:function(s){return e.$emit("beaseLoadComplete")}}}):e.openType==="iframe"?i("iframe",{style:e.istyle,attrs:{id:"iframe",height:e.hig,src:e.iframeUri,frameBorder:"0"}}):e._e()],1)},F=[],B=r.normalizeComponent(x,O,F,!1,null,"87762a64",null,null);const u=B.exports;u.install=function(t){t.component(u.name,u)};const S={props:{record:{type:String,default:""},query:{type:Object,default:()=>{}},modalAppendToBody:{type:Boolean,default:!0},appendToBody:{type:Boolean,default:!0}},data(){return{modeType:"",popupMode:"drawer",fullscreen:!1,confirmLoading:!1,visible:!1,width:"80%",iframeUri:"",sysViewButtons:[],timeOut:null}},components:{ViewItem:()=>Promise.resolve().then(()=>v),FormItem:()=>Promise.resolve().then(()=>$),DetailsItem:()=>Promise.resolve().then(()=>w)},computed:{urls(){return this.iframeUri.indexOf("?")===-1?this.iframeUri:this.iframeUri.slice(0,this.iframeUri.indexOf("?"))},title(){return""},hig(){return`${this.height-24}px`},istyle(){return`width:100%;overflow:hidden;height:${this.hig};`},height(){return this.popupMode==="drawer"?this.screenHeight-48:this.fullscreen?this.screenHeight-72:this.screenHeight-230},...r.mapGetters(["formMode","screenHeight"])},methods:{onChangeBtn(t){this.sysViewButtons=t},againInit(){this.timeOut&&clearTimeout(this.timeOut),this.timeOut=setTimeout(()=>{const t=`${this.modeType}Item`;this.$refs[t]?this.$refs[t]&&this.$refs[t].init():this.againInit()},100)},init(){const t=this.query.popup_wid?this.query.popup_wid:"80%",e=this.query.popup_fullscreen?this.query.popup_fullscreen:"";this.width=isNaN(Number(t))?t:Number(t)+"px",this.fullscreen=e==="true";let i=this.query.popup_type?this.query.popup_type:"drawer";i==="followSystem"&&(i=this.formMode),this.popupMode=i,this.modeType=this.query.mode_type?this.query.mode_type:"form";let s=this.query.redirect_uri?decodeURIComponent(this.query.redirect_uri):"";this.iframeUri=s,console.log(this.iframeUri),this.visible=!0,this.query.open_type&&this.query.open_type!=="popup"&&(this.modeType=this.query.open_type),this.modeType==="iframe"&&window.addEventListener("message",this.monitorIframe),this.$nextTick(()=>{this.timeOut=setTimeout(()=>{const o=`${this.modeType}Item`;this.$refs[o]?(this.$refs[o]&&this.$refs[o].init(),clearTimeout(this.timeOut)):this.againInit()},100)})},toggleFullscreen(){this.fullscreen=!this.fullscreen},closed(){this.modeType="",this.fullscreen=!1,this.visible=!1,this.$emit("closed")},doEvent(t){if(this.modeType==="iframe"){document.getElementById("gd-view-iframe").contentWindow.postMessage({data:JSON.stringify(t),eventType:"btn-click"},this.urls);return}const e=`${this.modeType}Item`;this.$refs[e]&&this.$refs[e].doEvent(t)},monitorIframe(t){if(t.data.eventType==="form-btn"){this.onChangeBtn(t.data.data&&l.isJson(t.data.data)?JSON.parse(t.data.data):[]);return}if(t.data.eventType==="load-complete"){this.beaseLoadComplete();return}t.data.eventType==="close-drawer"&&this.closed()},beaseLoadComplete(t){console.log(this.query);const e=this.query.complete_request?this.query.complete_request:"";if(e==="")return;const i=decodeURIComponent(e),s=i.indexOf("?")===-1?i:i.slice(0,i.indexOf("?")),o=l.getParamsQuery(i);d.post(s,o)}},beforeDestory(){window.removeEventListener("message",this.monitorIframe)}};var V=function(){var e=this,i=e._self._c;return i("div",[e.popupMode==="dialog"?i("el-dialog",{directives:[{name:"drag",rawName:"v-drag"}],ref:"dialog",class:e.fullscreen?"gd-dialog gd-dialog-fangda":"gd-dialog",attrs:{fullscreen:e.fullscreen,visible:e.visible,width:e.width,center:!0,"close-on-click-modal":!1,"append-to-body":e.appendToBody,"modal-append-to-body":e.modalAppendToBody,top:"80px","show-close":!1},on:{"update:visible":function(s){e.visible=s},closed:e.closed}},[i("gd-modal-title",{attrs:{slot:"title",title:e.title,fullscreen:e.fullscreen,buttons:e.sysViewButtons,confirmLoading:e.confirmLoading,emitFun:!0,showClose:!0},on:{changeEvent:e.doEvent,toggleFullscreen:e.toggleFullscreen,close:e.closed},slot:"title"}),e.visible?i("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}],staticStyle:{"min-height":"30vh"}},[e.modeType==="view"?i("ViewItem",{ref:"viewItem",attrs:{query:e.query,height:e.height}}):e.modeType==="form"?i("FormItem",{ref:"formItem",attrs:{query:e.query,height:e.height},on:{onChangeBtn:e.onChangeBtn,closed:e.closed,ok:function(s){return e.$emit("ok")},beaseLoadComplete:function(s){return e.$emit("beaseLoadComplete")}}}):e.modeType==="details"?i("DetailsItem",{ref:"detailsItem",attrs:{query:e.query,height:e.height}}):e.modeType==="iframe"?i("iframe",{style:e.istyle,attrs:{id:"gd-view-iframe",height:e.hig,src:e.iframeUri,frameBorder:"0"}}):e._e()],1):e._e()],1):i("el-drawer",{attrs:{visible:e.visible,"close-on-press-escape":!1,"append-to-body":e.appendToBody,"modal-append-to-body":e.modalAppendToBody,size:e.width,"custom-class":"gd-drawer-form","show-close":!1},on:{"update:visible":function(s){e.visible=s}}},[i("gd-modal-title",{attrs:{slot:"title",title:e.title,fullscreen:e.fullscreen,buttons:e.sysViewButtons,confirmLoading:e.confirmLoading,emitFun:!0,showFullscreen:!1,showClose:!0},on:{changeEvent:e.doEvent,close:e.closed},slot:"title"}),e.visible?i("div",{staticStyle:{height:"100%"}},[e.modeType==="view"?i("ViewItem",{ref:"viewItem",attrs:{query:e.query,height:e.height}}):e.modeType==="form"?i("FormItem",{ref:"formItem",attrs:{query:e.query,height:e.height},on:{onChangeBtn:e.onChangeBtn,closed:e.closed,ok:function(s){return e.$emit("ok")},beaseLoadComplete:function(s){return e.$emit("beaseLoadComplete")}}}):e.modeType==="details"?i("DetailsItem",{ref:"detailsItem",attrs:{query:e.query,height:e.height}}):e.modeType==="iframe"?i("iframe",{style:e.istyle,attrs:{id:"gd-view-iframe",height:e.hig,src:e.iframeUri,frameBorder:"0"}}):e._e()],1):e._e()],1)],1)},R=[],N=r.normalizeComponent(S,V,R,!1,null,"2620738d",null,null);const j=N.exports,E=Object.freeze(Object.defineProperty({__proto__:null,default:j},Symbol.toStringTag,{value:"Module"}));const P={props:{record:{type:String,default:""},query:{type:Object,default:()=>{}}},data(){return{modeType:""}},components:{ViewItem:()=>Promise.resolve().then(()=>v),FormItem:()=>Promise.resolve().then(()=>$),DetailsItem:()=>Promise.resolve().then(()=>w)},computed:{height(){return this.screenHeight-72},...r.mapGetters(["screenHeight"])},methods:{init(){this.modeType=this.query.mode_type?this.query.mode_type:"form",this.visible=!0,this.$nextTick(()=>{setTimeout(()=>{const t=`${this.modeType}Item`;this.$refs[t]&&this.$refs[t].init()},100)})},doEvent(t){const e=`${this.modeType}Item`;this.$refs[e]&&this.$refs[e].doEvent&&this.$refs[e].doEvent(t)}}};var U=function(){var e=this,i=e._self._c;return i("div",[e.modeType==="view"?i("ViewItem",{ref:"viewItem",attrs:{query:e.query,height:e.height}}):e.modeType==="form"?i("FormItem",{ref:"formItem",attrs:{query:e.query,height:e.height,modeType:"component"},on:{ok:function(s){return e.$emit("ok")},onChangeBtn:s=>e.$emit("onChangeBtn",s),closed:function(s){return e.$emit("closed")},beaseLoadComplete:function(s){return e.$emit("beaseLoadComplete")}}}):e.modeType==="details"?i("DetailsItem",{ref:"detailsItem",attrs:{query:e.query,height:e.height}}):e._e()],1)},z=[],M=r.normalizeComponent(P,U,z,!1,null,"7324b770",null,null);const A=M.exports,G=Object.freeze(Object.defineProperty({__proto__:null,default:A},Symbol.toStringTag,{value:"Module"}));const H={props:{height:{type:Number,default:600},query:{type:Object,default:()=>{}}},data(){return{record:{},openMode:1,viewId:"",tableId:"",formId:"",show:!1,confirmLoading:!1}},computed:{table(){const t=this.tableLists.filter(e=>e.id===this.tableId)[0];return t||{}},getHeight(){return this.height-24},componentItem(){const t=this.$importViewFiles();let e=`../views/main/${this.table.tablename}/index.vue`,i=t[e];return i?i.default:_},...r.mapGetters(["tableLists"])},methods:{init(){this.viewId=this.query.view_id?Number(this.query.view_id):"",this.tableId=this.query.table_id?Number(this.query.table_id):"",this.formId=this.query.form_id?Number(this.query.form_id):"",this.tableId!==""&&this.getAllTable().then(t=>{this.record={options:{table:this.table,form:{id:this.formId},view:{id:this.viewId},viewWeights:"1"}},this.$nextTick(()=>{setTimeout(()=>{this.show=!0},0)})})},getAllTable(){return this.tableLists.length>0?new Promise(t=>{t()}):g.codeGenerateInformationList({busName:""}).then(t=>(t.success&&this.TableLists(t.data),t.data))}}};var Q=function(){var e=this,i=e._self._c;return i("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}],staticStyle:{"min-height":"300px"}},[e.show?i(e.componentItem,{ref:"lookuptable",tag:"component",attrs:{record:e.record,height:e.getHeight,develop:2,openMode:e.openMode}}):e._e()],1)},K=[],J=r.normalizeComponent(H,Q,K,!1,null,"5b928d29",null,null);const W=J.exports,v=Object.freeze(Object.defineProperty({__proto__:null,default:W},Symbol.toStringTag,{value:"Module"}));const X={props:{query:{type:Object,default:()=>{}},modeType:{type:String,default:"component"}},data(){return{record:{},openMode:1,tableId:"",formId:"",show:!1,formData:{},fieldData:{},sysViewButtons:[],confirmLoading:!1}},computed:{table(){const t=this.tableLists.filter(e=>e.id===this.tableId)[0];return t||{}},getHeight(){return this.height-24},componentItem(){const t=this.$importViewFiles();let e=`../views/main/${this.table.tablename}/editForm.vue`,i=t[e];return i?i.default:y.FormDesigner},...r.mapGetters(["tableLists"])},methods:{beaseLoadComplete(t){console.log(this.query),this.$emit("beaseLoadComplete");const e=this.query.complete_request?this.query.complete_request:"";if(e==="")return;const i=decodeURIComponent(e),s=i.indexOf("?")===-1?i:i.slice(0,i.indexOf("?")),o=l.getParamsQuery(i);d.post(s,o)},onChangeBtn(t){this.sysViewButtons=t,this.$emit("onChangeBtn",t)},init(){this.confirmLoading=!0,this.tableId=this.query.table_id?Number(this.query.table_id):"",this.formId=this.query.form_id?Number(this.query.form_id):"",this.id=this.query.id?Number(this.query.id):"",this.tableId!==""&&Promise.all([this.sysFormDetails(),this.getLoadData(),this.getAllTable()]).then(t=>{this.record={options:{table:this.table,form:{id:this.formId}}},this.show=!0,this.confirmLoading=!1,this.$nextTick(()=>{setTimeout(()=>{this.$refs.editForm&&this.$refs.editForm.setFormRecord(this.formData).then(()=>{this.$refs.editForm.open({id:this.id,title:""})})},100)})})},getLoadData(){return f.onlineFormGetCodeGenerateList({codeGenId:this.tableId}).then(t=>(this.fieldData=t.data,t.data))},sysFormDetails(){return d.baseTableData({tableId:this.tableId}).then(t=>{if(t.code===200){const e=t.data.formlist.filter(i=>i.id===this.formId)[0];this.formData=e}return t.data})},getAllTable(){return this.tableLists.length>0?new Promise(t=>{t()}):g.codeGenerateInformationList({busName:""}).then(t=>(t.success&&this.TableLists(t.data),t.data))},doEvent(t){this.$refs.editForm&&this.$refs.editForm.doEvent(t)},closed(){console.log("\u5173\u95ED"),this.$emit("closed")},...r.mapActions(["TableLists"])}};var Y=function(){var e=this,i=e._self._c;return i("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}],staticStyle:{"min-height":"300px",height:"100%"}},[e.show?i(e.componentItem,{ref:"editForm",tag:"component",attrs:{recordRelation:e.record,openMode:e.openMode,tableData:e.table,fieldData:e.fieldData,modeType:e.modeType},on:{onChangeBtn:e.onChangeBtn,closed:e.closed,ok:function(s){return e.$emit("ok")},onLoadCompleted:e.beaseLoadComplete}}):e._e()],1)},Z=[],ee=r.normalizeComponent(X,Y,Z,!1,null,"1d330542",null,null);const te=ee.exports,$=Object.freeze(Object.defineProperty({__proto__:null,default:te},Symbol.toStringTag,{value:"Module"}));const ie={props:{query:{type:Object,default:()=>{}},height:{type:Number,default:100}},data(){return{dictCode:"messagetype",messageType:"",componentItem:"",recordData:{}}},computed:{componentForm(){return this.componentItem==="GdNoticeDetails"?C.noticeItem:""}},methods:{onLoadCompleted(){const t=this.query.complete_request?this.query.complete_request:"";if(t==="")return;const e=decodeURIComponent(t),i=e.indexOf("?")===-1?e:e.slice(0,e.indexOf("?")),s=l.getParamsQuery(e);d.post(i,s)},init(){if(this.messageType=this.query.message_type?this.query.message_type:"",this.messageType==="")return;const e=this.getDictionary(this.dictCode).filter(s=>s.code===this.messageType)[0];if(!e)return;const i=this.query.id?this.query.id:"";this.componentItem=e.remark,console.log(this.componentItem,e,this.messageType),this.$nextTick(()=>{setTimeout(()=>{this.$refs.editForm&&this.$refs.editForm.open({id:i})},100)})},getDictionary(t){return this.$options.filters.dictData(t)}}};var se=function(){var e=this,i=e._self._c;return e.componentForm?i(e.componentForm,{ref:"editForm",tag:"component",attrs:{modeType:"component",height:e.height,develop:2,record:e.recordData},on:{onLoadCompleted:e.onLoadCompleted}}):e._e()},oe=[],re=r.normalizeComponent(ie,se,oe,!1,null,"9095b9fe",null,null);const ne=re.exports,w=Object.freeze(Object.defineProperty({__proto__:null,default:ne},Symbol.toStringTag,{value:"Module"}));exports.GDpackage=u;exports.ViewTable=_;exports.viewMixins=b;
|
package/lib/{components.viewformdetails.1236a66e.mjs → components.viewformdetails.cb86a01d.mjs}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { m as d, n as l, a as f } from "./components.chartbi.7356b244.mjs";
|
|
2
|
-
import { g as a, i as
|
|
3
|
-
import { d as y, i as
|
|
2
|
+
import { g as a, i as D } from "./utils.util.js.333daba2.mjs";
|
|
3
|
+
import { d as y, i as C, p as c } from "./http.main.aefea27d.mjs";
|
|
4
4
|
import { o as L, c as I } from "./http.loginmanage.05500c29.mjs";
|
|
5
5
|
import { o as g } from "./http.syscodegenerateconfigmanage.6d2e5da0.mjs";
|
|
6
|
-
import { F as b } from "./form.build.
|
|
6
|
+
import { F as b } from "./form.build.69803596.mjs";
|
|
7
7
|
import { c as _ } from "./http.codegeneratemanage.b123bab3.mjs";
|
|
8
|
-
import { n as k } from "./system.notice.
|
|
8
|
+
import { n as k } from "./system.notice.12fa4d1c.mjs";
|
|
9
9
|
const x = {
|
|
10
10
|
props: {
|
|
11
11
|
record: {
|
|
@@ -197,7 +197,7 @@ const x = {
|
|
|
197
197
|
})[0];
|
|
198
198
|
return t ? y({
|
|
199
199
|
tableId: t.id
|
|
200
|
-
}).then((e) => (e.code === 200 ? (e.data.viewlist.map((i) => (i.mode = 1, i)), this.formList = e.data.formlist, this.tableData = e.data.table, this.sysViewList = e.data.viewlist) : this.$message.error(e.message), e)) : (console.log("\u6570\u636E\u9519\u8BEF,\u8868\u4E0D\u5B58\u5728"), new Promise((e, i) => {
|
|
200
|
+
}).then((e) => (e.code === 200 ? (e.data.viewlist.map((i) => (i.mode = 1, i)), this.formList = Object.freeze(e.data.formlist), this.tableData = Object.freeze(e.data.table), this.sysViewList = Object.freeze(e.data.viewlist)) : this.$message.error(e.message), e)) : (console.log("\u6570\u636E\u9519\u8BEF,\u8868\u4E0D\u5B58\u5728"), new Promise((e, i) => {
|
|
201
201
|
e({});
|
|
202
202
|
}));
|
|
203
203
|
},
|
|
@@ -212,12 +212,12 @@ const x = {
|
|
|
212
212
|
})[0];
|
|
213
213
|
return e === void 0 ? (console.log("\u8868\u4E0D\u5B58\u5728"), new Promise((i, s) => {
|
|
214
214
|
i();
|
|
215
|
-
})) :
|
|
215
|
+
})) : C({
|
|
216
216
|
tableId: e.id
|
|
217
217
|
}).then((i) => {
|
|
218
218
|
if (i.code === 200) {
|
|
219
219
|
const s = this.options.layoutConfig !== void 0 ? this.options.layoutConfig : !1;
|
|
220
|
-
this.defaultViewId = s ? 0 : i.data.defaultqueryid, this.personalViewList = i.data.savedquerylist;
|
|
220
|
+
this.defaultViewId = s ? 0 : i.data.defaultqueryid, this.personalViewList = Object.freeze(i.data.savedquerylist);
|
|
221
221
|
} else
|
|
222
222
|
console.log(i.message);
|
|
223
223
|
return i.data;
|
|
@@ -231,7 +231,7 @@ const x = {
|
|
|
231
231
|
return t ? g({
|
|
232
232
|
codeGenId: t.id
|
|
233
233
|
}).then((e) => {
|
|
234
|
-
e.code === 200 && (this.fieldData = JSON.parse(JSON.stringify(e.data)), this.$emit("fieldData", e.data));
|
|
234
|
+
e.code === 200 && (this.fieldData = Object.freeze(JSON.parse(JSON.stringify(e.data))), this.$emit("fieldData", e.data));
|
|
235
235
|
}) : (console.log("\u6570\u636E\u9519\u8BEF,\u8868\u4E0D\u5B58\u5728"), new Promise((e, i) => {
|
|
236
236
|
e({});
|
|
237
237
|
}));
|
|
@@ -364,26 +364,33 @@ const x = {
|
|
|
364
364
|
this[e](t);
|
|
365
365
|
}, 100);
|
|
366
366
|
}) : console.log("\u6267\u884C\u9519\u8BEF");
|
|
367
|
+
},
|
|
368
|
+
destroyTree(t) {
|
|
369
|
+
if (!t)
|
|
370
|
+
return;
|
|
371
|
+
(t.$children || []).forEach((i) => {
|
|
372
|
+
this.destroyTree(i);
|
|
373
|
+
}), t.$el && t.$el.parentNode && t.$el.parentNode.removeChild(t.$el);
|
|
367
374
|
}
|
|
368
375
|
},
|
|
369
376
|
created() {
|
|
370
377
|
this.init(), this.develop == 2 && (this.record.executeEvent = this.executeEvent);
|
|
371
378
|
},
|
|
372
379
|
beforeDestroy() {
|
|
373
|
-
this.sysViewList =
|
|
380
|
+
console.log("\u89C6\u56FE\u5378\u8F7D", this.tableData.busname), this.sysViewList = null, this.personalViewList = null, this.selectedRows = null, this.sysViewButtons = null, this.fieldData = null, this.componentList = null, this.tableDataSource = null, this.record.executeEvent = null, this.record.doEvent = null, this.destroyTree(this);
|
|
374
381
|
}
|
|
375
382
|
};
|
|
376
|
-
const
|
|
383
|
+
const O = {
|
|
377
384
|
mixins: [x],
|
|
378
385
|
methods: {}
|
|
379
386
|
};
|
|
380
|
-
var
|
|
387
|
+
var F = function() {
|
|
381
388
|
var e = this, i = e._self._c;
|
|
382
389
|
return i("div", [i("gd-view-build-designer", { ref: "table", attrs: { record: e.record, develop: e.develop, openMode: e.openMode, height: e.height, foreign: e.foreign, disabledRowId: e.disabledRowId, excludeButtons: e.excludeButtons, lineQuickView: e.lineQuickView }, on: { baseOpen: e.open, changeBtn: e.onChangeBtn, changeView: e.onChangeView, changeData: e.onChangeData, changeSelect: e.onChangeSelect, doEvent: e.doEvent } }), i(e.componentForm, { ref: "editForm", tag: "component", attrs: { fieldData: e.fieldData, tableData: e.tableData, recordRelation: e.record, openMode: e.openMode }, on: { ok: e.refresh, relationOk: e.baseRelationOk } })], 1);
|
|
383
|
-
},
|
|
390
|
+
}, B = [], S = /* @__PURE__ */ l(
|
|
391
|
+
O,
|
|
384
392
|
F,
|
|
385
393
|
B,
|
|
386
|
-
O,
|
|
387
394
|
!1,
|
|
388
395
|
null,
|
|
389
396
|
"ca0b408e",
|
|
@@ -454,7 +461,7 @@ const R = {
|
|
|
454
461
|
setTimeout(() => {
|
|
455
462
|
const o = `${this.openType}Details`;
|
|
456
463
|
this.$refs[o] && this.$refs[o].init();
|
|
457
|
-
},
|
|
464
|
+
}, 100);
|
|
458
465
|
});
|
|
459
466
|
},
|
|
460
467
|
getRequestDetail() {
|
|
@@ -604,7 +611,7 @@ var N = function() {
|
|
|
604
611
|
E,
|
|
605
612
|
!1,
|
|
606
613
|
null,
|
|
607
|
-
"
|
|
614
|
+
"87762a64",
|
|
608
615
|
null,
|
|
609
616
|
null
|
|
610
617
|
);
|
|
@@ -612,7 +619,7 @@ const m = U.exports;
|
|
|
612
619
|
m.install = function(t) {
|
|
613
620
|
t.component(m.name, m);
|
|
614
621
|
};
|
|
615
|
-
const
|
|
622
|
+
const j = {
|
|
616
623
|
props: {
|
|
617
624
|
record: {
|
|
618
625
|
type: String,
|
|
@@ -641,7 +648,8 @@ const P = {
|
|
|
641
648
|
visible: !1,
|
|
642
649
|
width: "80%",
|
|
643
650
|
iframeUri: "",
|
|
644
|
-
sysViewButtons: []
|
|
651
|
+
sysViewButtons: [],
|
|
652
|
+
timeOut: null
|
|
645
653
|
};
|
|
646
654
|
},
|
|
647
655
|
components: {
|
|
@@ -671,6 +679,12 @@ const P = {
|
|
|
671
679
|
onChangeBtn(t) {
|
|
672
680
|
this.sysViewButtons = t;
|
|
673
681
|
},
|
|
682
|
+
againInit() {
|
|
683
|
+
this.timeOut && clearTimeout(this.timeOut), this.timeOut = setTimeout(() => {
|
|
684
|
+
const t = `${this.modeType}Item`;
|
|
685
|
+
this.$refs[t] ? this.$refs[t] && this.$refs[t].init() : this.againInit();
|
|
686
|
+
}, 100);
|
|
687
|
+
},
|
|
674
688
|
init() {
|
|
675
689
|
const t = this.query.popup_wid ? this.query.popup_wid : "80%", e = this.query.popup_fullscreen ? this.query.popup_fullscreen : "";
|
|
676
690
|
this.width = isNaN(Number(t)) ? t : Number(t) + "px", this.fullscreen = e === "true";
|
|
@@ -678,8 +692,10 @@ const P = {
|
|
|
678
692
|
i === "followSystem" && (i = this.formMode), this.popupMode = i, this.modeType = this.query.mode_type ? this.query.mode_type : "form";
|
|
679
693
|
let s = this.query.redirect_uri ? decodeURIComponent(this.query.redirect_uri) : "";
|
|
680
694
|
this.iframeUri = s, console.log(this.iframeUri), this.visible = !0, this.query.open_type && this.query.open_type !== "popup" && (this.modeType = this.query.open_type), this.modeType === "iframe" && window.addEventListener("message", this.monitorIframe), this.$nextTick(() => {
|
|
681
|
-
|
|
682
|
-
|
|
695
|
+
this.timeOut = setTimeout(() => {
|
|
696
|
+
const o = `${this.modeType}Item`;
|
|
697
|
+
this.$refs[o] ? (this.$refs[o] && this.$refs[o].init(), clearTimeout(this.timeOut)) : this.againInit();
|
|
698
|
+
}, 100);
|
|
683
699
|
});
|
|
684
700
|
},
|
|
685
701
|
toggleFullscreen() {
|
|
@@ -698,7 +714,7 @@ const P = {
|
|
|
698
714
|
},
|
|
699
715
|
monitorIframe(t) {
|
|
700
716
|
if (t.data.eventType === "form-btn") {
|
|
701
|
-
this.onChangeBtn(t.data.data &&
|
|
717
|
+
this.onChangeBtn(t.data.data && D(t.data.data) ? JSON.parse(t.data.data) : []);
|
|
702
718
|
return;
|
|
703
719
|
}
|
|
704
720
|
if (t.data.eventType === "load-complete") {
|
|
@@ -720,7 +736,7 @@ const P = {
|
|
|
720
736
|
window.removeEventListener("message", this.monitorIframe);
|
|
721
737
|
}
|
|
722
738
|
};
|
|
723
|
-
var
|
|
739
|
+
var P = function() {
|
|
724
740
|
var e = this, i = e._self._c;
|
|
725
741
|
return i("div", [e.popupMode === "dialog" ? i("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "append-to-body": e.appendToBody, "modal-append-to-body": e.modalAppendToBody, top: "80px", "show-close": !1 }, on: { "update:visible": function(s) {
|
|
726
742
|
e.visible = s;
|
|
@@ -735,19 +751,19 @@ var M = function() {
|
|
|
735
751
|
}, beaseLoadComplete: function(s) {
|
|
736
752
|
return e.$emit("beaseLoadComplete");
|
|
737
753
|
} } }) : e.modeType === "details" ? i("DetailsItem", { ref: "detailsItem", attrs: { query: e.query, height: e.height } }) : e.modeType === "iframe" ? i("iframe", { style: e.istyle, attrs: { id: "gd-view-iframe", height: e.hig, src: e.iframeUri, frameBorder: "0" } }) : e._e()], 1) : e._e()], 1)], 1);
|
|
738
|
-
},
|
|
754
|
+
}, M = [], z = /* @__PURE__ */ l(
|
|
755
|
+
j,
|
|
739
756
|
P,
|
|
740
757
|
M,
|
|
741
|
-
j,
|
|
742
758
|
!1,
|
|
743
759
|
null,
|
|
744
|
-
"
|
|
760
|
+
"2620738d",
|
|
745
761
|
null,
|
|
746
762
|
null
|
|
747
763
|
);
|
|
748
|
-
const
|
|
764
|
+
const A = z.exports, G = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
749
765
|
__proto__: null,
|
|
750
|
-
default:
|
|
766
|
+
default: A
|
|
751
767
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
752
768
|
const H = {
|
|
753
769
|
props: {
|
|
@@ -780,8 +796,10 @@ const H = {
|
|
|
780
796
|
methods: {
|
|
781
797
|
init() {
|
|
782
798
|
this.modeType = this.query.mode_type ? this.query.mode_type : "form", this.visible = !0, this.$nextTick(() => {
|
|
783
|
-
|
|
784
|
-
|
|
799
|
+
setTimeout(() => {
|
|
800
|
+
const t = `${this.modeType}Item`;
|
|
801
|
+
this.$refs[t] && this.$refs[t].init();
|
|
802
|
+
}, 100);
|
|
785
803
|
});
|
|
786
804
|
},
|
|
787
805
|
doEvent(t) {
|
|
@@ -805,7 +823,7 @@ var K = function() {
|
|
|
805
823
|
J,
|
|
806
824
|
!1,
|
|
807
825
|
null,
|
|
808
|
-
"
|
|
826
|
+
"7324b770",
|
|
809
827
|
null,
|
|
810
828
|
null
|
|
811
829
|
);
|
|
@@ -958,7 +976,7 @@ const se = {
|
|
|
958
976
|
this.$refs.editForm && this.$refs.editForm.setFormRecord(this.formData).then(() => {
|
|
959
977
|
this.$refs.editForm.open({ id: this.id, title: "" });
|
|
960
978
|
});
|
|
961
|
-
},
|
|
979
|
+
}, 100);
|
|
962
980
|
});
|
|
963
981
|
});
|
|
964
982
|
},
|
|
@@ -971,7 +989,7 @@ const se = {
|
|
|
971
989
|
return y({ tableId: this.tableId }).then((t) => {
|
|
972
990
|
if (t.code === 200) {
|
|
973
991
|
const e = t.data.formlist.filter((i) => i.id === this.formId)[0];
|
|
974
|
-
|
|
992
|
+
this.formData = e;
|
|
975
993
|
}
|
|
976
994
|
return t.data;
|
|
977
995
|
});
|
|
@@ -1003,7 +1021,7 @@ var oe = function() {
|
|
|
1003
1021
|
re,
|
|
1004
1022
|
!1,
|
|
1005
1023
|
null,
|
|
1006
|
-
"
|
|
1024
|
+
"1d330542",
|
|
1007
1025
|
null,
|
|
1008
1026
|
null
|
|
1009
1027
|
);
|
|
@@ -1017,13 +1035,18 @@ const le = {
|
|
|
1017
1035
|
type: Object,
|
|
1018
1036
|
default: () => {
|
|
1019
1037
|
}
|
|
1038
|
+
},
|
|
1039
|
+
height: {
|
|
1040
|
+
type: Number,
|
|
1041
|
+
default: 100
|
|
1020
1042
|
}
|
|
1021
1043
|
},
|
|
1022
1044
|
data() {
|
|
1023
1045
|
return {
|
|
1024
1046
|
dictCode: "messagetype",
|
|
1025
1047
|
messageType: "",
|
|
1026
|
-
componentItem: ""
|
|
1048
|
+
componentItem: "",
|
|
1049
|
+
recordData: {}
|
|
1027
1050
|
};
|
|
1028
1051
|
},
|
|
1029
1052
|
computed: {
|
|
@@ -1046,10 +1069,10 @@ const le = {
|
|
|
1046
1069
|
if (!e)
|
|
1047
1070
|
return;
|
|
1048
1071
|
const i = this.query.id ? this.query.id : "";
|
|
1049
|
-
this.componentItem = e.remark, this.$nextTick(() => {
|
|
1072
|
+
this.componentItem = e.remark, console.log(this.componentItem, e, this.messageType), this.$nextTick(() => {
|
|
1050
1073
|
setTimeout(() => {
|
|
1051
1074
|
this.$refs.editForm && this.$refs.editForm.open({ id: i });
|
|
1052
|
-
},
|
|
1075
|
+
}, 100);
|
|
1053
1076
|
});
|
|
1054
1077
|
},
|
|
1055
1078
|
getDictionary(t) {
|
|
@@ -1059,14 +1082,14 @@ const le = {
|
|
|
1059
1082
|
};
|
|
1060
1083
|
var de = function() {
|
|
1061
1084
|
var e = this, i = e._self._c;
|
|
1062
|
-
return e.componentForm ? i(e.componentForm, { ref: "editForm", tag: "component", attrs: { modeType: "component" }, on: { onLoadCompleted: e.onLoadCompleted } }) : e._e();
|
|
1085
|
+
return e.componentForm ? i(e.componentForm, { ref: "editForm", tag: "component", attrs: { modeType: "component", height: e.height, develop: 2, record: e.recordData }, on: { onLoadCompleted: e.onLoadCompleted } }) : e._e();
|
|
1063
1086
|
}, he = [], ce = /* @__PURE__ */ l(
|
|
1064
1087
|
le,
|
|
1065
1088
|
de,
|
|
1066
1089
|
he,
|
|
1067
1090
|
!1,
|
|
1068
1091
|
null,
|
|
1069
|
-
"
|
|
1092
|
+
"9095b9fe",
|
|
1070
1093
|
null,
|
|
1071
1094
|
null
|
|
1072
1095
|
);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { r as p, b as m } from "./http.filedocument.8fa3fe2d.mjs";
|
|
2
2
|
import { U as c } from "./components.uploadfile.0439b870.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { d, e as u, f, i as h, j as g } from "./index.9ecf4818.mjs";
|
|
4
4
|
import { m as y, n as b } from "./components.chartbi.7356b244.mjs";
|
|
5
5
|
import "./http.filemanage.c0de21d6.mjs";
|
|
6
6
|
import "./utils.util.js.333daba2.mjs";
|
|
7
|
-
import "./router.config.
|
|
8
|
-
import "./layouts.
|
|
7
|
+
import "./router.config.b78ec9f8.mjs";
|
|
8
|
+
import "./layouts.ddf507fa.mjs";
|
|
9
9
|
import "vue";
|
|
10
|
-
import "./components.sidenavmenu.
|
|
10
|
+
import "./components.sidenavmenu.3f4d259f.mjs";
|
|
11
11
|
import "./http.loginmanage.05500c29.mjs";
|
|
12
12
|
import "./http.main.aefea27d.mjs";
|
|
13
13
|
import "./http.noticemanage.2cdb23b8.mjs";
|
|
14
|
-
import "./components.globalheader.
|
|
14
|
+
import "./components.globalheader.f0b8aab7.mjs";
|
|
15
15
|
import "./components.multitab.15b91668.mjs";
|
|
16
16
|
import "./components.sidemenu.c40eee2e.mjs";
|
|
17
17
|
import "./system.account.3d7480ba.mjs";
|
|
@@ -23,21 +23,20 @@ import "./components.settingdrawer.bdd68e73.mjs";
|
|
|
23
23
|
import "./http.appmanage.e389782d.mjs";
|
|
24
24
|
import "./http.menumanage.3060f4c7.mjs";
|
|
25
25
|
import "./system.welcome.72da74ae.mjs";
|
|
26
|
-
import "./flow.designer.
|
|
26
|
+
import "./flow.designer.e087cd9b.mjs";
|
|
27
27
|
import "./http.syscodegenerateconfigmanage.6d2e5da0.mjs";
|
|
28
28
|
import "./http.codegeneratemanage.b123bab3.mjs";
|
|
29
29
|
import "./http.useraffiliation.f2a29f92.mjs";
|
|
30
30
|
import "./components.xlsximport.d39bfeaa.mjs";
|
|
31
|
-
import "./components.table.
|
|
32
|
-
import "./utils.datepicker.js.5549a741.mjs";
|
|
31
|
+
import "./components.table.a50270a9.mjs";
|
|
33
32
|
import "./components.form.8047a9c3.mjs";
|
|
34
33
|
import "./http.tabledevelopment.3dcb3e97.mjs";
|
|
35
34
|
import "./http.promptmanagement.dad4c6a7.mjs";
|
|
36
35
|
import "./utils.plug.js.9313aead.mjs";
|
|
37
36
|
import "./components.coloreditor.20f8b336.mjs";
|
|
38
|
-
import "./page.designer.page.
|
|
39
|
-
import "./page.designer.componentstree.
|
|
40
|
-
import "./mobile.designer.componentstree.
|
|
37
|
+
import "./page.designer.page.4cf4b1bf.mjs";
|
|
38
|
+
import "./page.designer.componentstree.2d5a887a.mjs";
|
|
39
|
+
import "./mobile.designer.componentstree.5a329caa.mjs";
|
|
41
40
|
import "./page.designer.fieldfiltering.e341aa60.mjs";
|
|
42
41
|
import "./components.iconselector.d2d970ba.mjs";
|
|
43
42
|
import "./utils.echarts.js.d1bb8ac6.mjs";
|
|
@@ -46,20 +45,23 @@ import "./utils.mixins.js.be01e599.mjs";
|
|
|
46
45
|
import "./personal.echarts.118bcafb.mjs";
|
|
47
46
|
import "./components.teamsharing.b9f112cf.mjs";
|
|
48
47
|
import "./store.config.03dd7b19.mjs";
|
|
49
|
-
import "./form.build.
|
|
50
|
-
import "./components.viewformdetails.
|
|
51
|
-
import "./system.notice.
|
|
48
|
+
import "./form.build.69803596.mjs";
|
|
49
|
+
import "./components.viewformdetails.cb86a01d.mjs";
|
|
50
|
+
import "./system.notice.12fa4d1c.mjs";
|
|
52
51
|
import "./http.orgmanage.0b1df8d5.mjs";
|
|
53
52
|
import "./http.rolemanage.da5c40e9.mjs";
|
|
54
53
|
import "./http.sysapps.932ba43b.mjs";
|
|
55
54
|
import "./components.tablevirtual.9bf87b78.mjs";
|
|
56
55
|
import "./components.tableumy.750ec792.mjs";
|
|
56
|
+
import "./components.table.childheader.7e9b960f.mjs";
|
|
57
|
+
import "./utils.datepicker.js.5549a741.mjs";
|
|
57
58
|
import "./components.tooltip.065f3dee.mjs";
|
|
58
59
|
import "./components.selecttree.c615fe3e.mjs";
|
|
60
|
+
import "./components.table.queriesfield.f16322dc.mjs";
|
|
59
61
|
import "./components.imgpreview.0563c338.mjs";
|
|
60
|
-
import "./components.modaltitle.
|
|
62
|
+
import "./components.modaltitle.517bc660.mjs";
|
|
61
63
|
import "./components.dataassign.e398cc99.mjs";
|
|
62
|
-
import "./components.middleware.
|
|
64
|
+
import "./components.middleware.d7dc078d.mjs";
|
|
63
65
|
import "./components.echarts.17e42353.mjs";
|
|
64
66
|
import "./components.viewloading.5761b277.mjs";
|
|
65
67
|
import "./components.exception.8689aba2.mjs";
|
|
@@ -72,7 +74,7 @@ import "./http.posmanage.ee6a7613.mjs";
|
|
|
72
74
|
import "./system.dict.caad4d66.mjs";
|
|
73
75
|
import "./http.dictmanage.d8fe18dc.mjs";
|
|
74
76
|
import "./http.dictdatamanage.2583b5ae.mjs";
|
|
75
|
-
import "./system.user.
|
|
77
|
+
import "./system.user.78a45735.mjs";
|
|
76
78
|
import "./system.role.3b533a3e.mjs";
|
|
77
79
|
import "./system.log.3986a8ca.mjs";
|
|
78
80
|
import "./http.logmanage.8ba72635.mjs";
|
|
@@ -82,7 +84,7 @@ import "./system.onlineuser.71034956.mjs";
|
|
|
82
84
|
import "./http.onlineusermanage.c8d84337.mjs";
|
|
83
85
|
import "./system.config.6084ad21.mjs";
|
|
84
86
|
import "./http.configmanage.c23c7fa8.mjs";
|
|
85
|
-
import "./system.noticereceived.
|
|
87
|
+
import "./system.noticereceived.7cfcceb4.mjs";
|
|
86
88
|
import "./http.noticereceivedmanage.50797be1.mjs";
|
|
87
89
|
import "./system.webresource.2c6cf4a7.mjs";
|
|
88
90
|
import "./http.webresource.1a1a768f.mjs";
|
|
@@ -93,27 +95,27 @@ import "./http.timersmanage.c79afb66.mjs";
|
|
|
93
95
|
import "./http.solution.b10d9197.mjs";
|
|
94
96
|
import "./http.translationmanage.f8694b51.mjs";
|
|
95
97
|
import "./page.designer.operation.fe808988.mjs";
|
|
96
|
-
import "./page.build.
|
|
97
|
-
import "./form.designer.build.
|
|
98
|
+
import "./page.build.39202359.mjs";
|
|
99
|
+
import "./form.designer.build.12c673f0.mjs";
|
|
98
100
|
import "./http.duplicatechecking.9b79ce21.mjs";
|
|
99
|
-
import "./view.build.
|
|
101
|
+
import "./view.build.5b9241fd.mjs";
|
|
100
102
|
import "./table.definition..btnconfig.24402bf0.mjs";
|
|
101
|
-
import "./flow.list.
|
|
102
|
-
import "./solution.dict.
|
|
103
|
-
import "./solution.processflow.
|
|
104
|
-
import "./solution.workflow.
|
|
105
|
-
import "./solution.approvalflow.
|
|
106
|
-
import "./solution.webresources.
|
|
107
|
-
import "./solution.plugin.
|
|
103
|
+
import "./flow.list.3c2df716.mjs";
|
|
104
|
+
import "./solution.dict.77cb1ad2.mjs";
|
|
105
|
+
import "./solution.processflow.d336bd7b.mjs";
|
|
106
|
+
import "./solution.workflow.6d081d1f.mjs";
|
|
107
|
+
import "./solution.approvalflow.24a50af0.mjs";
|
|
108
|
+
import "./solution.webresources.1b0f8550.mjs";
|
|
109
|
+
import "./solution.plugin.76b603be.mjs";
|
|
108
110
|
import "./http.pluginmanage.54720675.mjs";
|
|
109
111
|
import "./system.plugin.8a9a6448.mjs";
|
|
110
|
-
import "./solution.role.
|
|
111
|
-
import "./solution.application.
|
|
112
|
+
import "./solution.role.05efb1b4.mjs";
|
|
113
|
+
import "./solution.application.5d02d1cd.mjs";
|
|
112
114
|
import "./solution.applicationmenu.e878c41a.mjs";
|
|
113
|
-
import "./solution.menu.
|
|
114
|
-
import "./page.designer.menutree.
|
|
115
|
+
import "./solution.menu.72498250.mjs";
|
|
116
|
+
import "./page.designer.menutree.1e642711.mjs";
|
|
115
117
|
import "./system.translation.61765713.mjs";
|
|
116
|
-
import "./system.duplicatechecking.
|
|
118
|
+
import "./system.duplicatechecking.af9318aa.mjs";
|
|
117
119
|
import "./system.promptmanagement.39607ddb.mjs";
|
|
118
120
|
import "./system.useraffiliation.b96c984a.mjs";
|
|
119
121
|
import "./system.email.c1ad6598.mjs";
|
|
@@ -123,17 +125,17 @@ import "./system.datasource.d74df021.mjs";
|
|
|
123
125
|
import "./http.datasource.aa5cd0d1.mjs";
|
|
124
126
|
import "./system.sumberrules.c2b8c5e7.mjs";
|
|
125
127
|
import "./http.sumberrules.176d3d06.mjs";
|
|
126
|
-
import "./system.team.
|
|
128
|
+
import "./system.team.3b0fcc60.mjs";
|
|
127
129
|
import "./http.team.a9c609d5.mjs";
|
|
128
|
-
import "./system.teammembers.
|
|
130
|
+
import "./system.teammembers.d0dc3f12.mjs";
|
|
129
131
|
import "./system.document.cbdf25a9.mjs";
|
|
130
|
-
import "./mobile.designer.menutree.
|
|
131
|
-
import "./messages.messagetemplate.
|
|
132
|
-
import "./http.message.
|
|
132
|
+
import "./mobile.designer.menutree.da4c05f4.mjs";
|
|
133
|
+
import "./messages.messagetemplate.ceeb3f47.mjs";
|
|
134
|
+
import "./http.message.00e72e09.mjs";
|
|
133
135
|
import "./messages.fieldconfiguration.7fd9ceb0.mjs";
|
|
134
|
-
import "./messages.sendplan.
|
|
135
|
-
import "./messages.sendrecord.
|
|
136
|
-
import "./messages.templatelibrary.
|
|
136
|
+
import "./messages.sendplan.c6821911.mjs";
|
|
137
|
+
import "./messages.sendrecord.f7630ebd.mjs";
|
|
138
|
+
import "./messages.templatelibrary.4654886e.mjs";
|
|
137
139
|
import "./translation.mains.0df71304.mjs";
|
|
138
140
|
const $ = {
|
|
139
141
|
props: {
|
|
@@ -433,7 +435,7 @@ var v = function() {
|
|
|
433
435
|
null,
|
|
434
436
|
null
|
|
435
437
|
);
|
|
436
|
-
const
|
|
438
|
+
const ti = L.exports;
|
|
437
439
|
export {
|
|
438
|
-
|
|
440
|
+
ti as default
|
|
439
441
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./http.filedocument.6fdfc693.js"),p=require("./components.uploadfile.586aca36.js"),l=require("./index.4f1635c8.js"),d=require("./components.chartbi.13a8a7b5.js");require("./http.filemanage.7e6e3e1a.js");require("./utils.util.js.c0ba699b.js");require("./router.config.d746d115.js");require("./layouts.0e66a0bc.js");require("vue");require("./components.sidenavmenu.364a8b26.js");require("./http.loginmanage.326984c3.js");require("./http.main.2f8a6936.js");require("./http.noticemanage.2507d094.js");require("./components.globalheader.c7bf862b.js");require("./components.multitab.92eb4b1e.js");require("./components.sidemenu.cd6d0301.js");require("./system.account.93ad722e.js");require("./http.usermanage.6dcbc7de.js");require("./http.languagemanage.e2c098ec.js");require("./http.currencymanage.37ab5ced.js");require("./http.timezonemanage.e0aa212f.js");require("./components.settingdrawer.4581f5b1.js");require("./http.appmanage.b998818f.js");require("./http.menumanage.6d740f2c.js");require("./system.welcome.d86a3cdb.js");require("./flow.designer.362f5f66.js");require("./http.syscodegenerateconfigmanage.840f1136.js");require("./http.codegeneratemanage.e3db2f09.js");require("./http.useraffiliation.af2013ad.js");require("./components.xlsximport.c53c50f6.js");require("./components.table.5d1336dd.js");require("./components.form.14ed3374.js");require("./http.tabledevelopment.a880bb76.js");require("./http.promptmanagement.d115c4b0.js");require("./utils.plug.js.f62510ce.js");require("./components.coloreditor.8afc4731.js");require("./page.designer.page.2dac64ca.js");require("./page.designer.componentstree.ec3dcbc1.js");require("./mobile.designer.componentstree.888d8646.js");require("./page.designer.fieldfiltering.f2d1b6e4.js");require("./components.iconselector.4b5b7901.js");require("./utils.echarts.js.461a74e7.js");require("./table.definition..echartsconfig.4310b5a2.js");require("./utils.mixins.js.750ca50e.js");require("./personal.echarts.e5915542.js");require("./components.teamsharing.efe58448.js");require("./store.config.556bd56b.js");require("./form.build.6a1bcad5.js");require("./components.viewformdetails.513f0dbe.js");require("./system.notice.9385577f.js");require("./http.orgmanage.5162fd7a.js");require("./http.rolemanage.4d1101dd.js");require("./http.sysapps.469d47f7.js");require("./components.tablevirtual.879ff28f.js");require("./components.tableumy.aa73378d.js");require("./components.table.childheader.cee3be75.js");require("./utils.datepicker.js.0a5a699e.js");require("./components.tooltip.edf8e4ca.js");require("./components.selecttree.ce4fbb44.js");require("./components.table.queriesfield.eb795212.js");require("./components.imgpreview.5fe318f7.js");require("./components.modaltitle.0d3db44e.js");require("./components.dataassign.59a87bfd.js");require("./components.middleware.216e1574.js");require("./components.echarts.5dea23f6.js");require("./components.viewloading.5b9c8fee.js");require("./components.exception.b4ddeaba.js");require("./components.uploadimg.2324089d.js");require("./components.lunccalendar.f18b2da3.js");require("./components.watermark.af8b5718.js");require("./system.org.f6d58d0f.js");require("./system.pos.71f3eba7.js");require("./http.posmanage.c0f80aec.js");require("./system.dict.ab148847.js");require("./http.dictmanage.3dc07b5d.js");require("./http.dictdatamanage.70545d8a.js");require("./system.user.75fa57c3.js");require("./system.role.321c48d3.js");require("./system.log.9d394678.js");require("./http.logmanage.1e12a9bd.js");require("./system.machine.d33b0b6e.js");require("./http.machinemanage.29d72a65.js");require("./system.onlineuser.e74f010d.js");require("./http.onlineusermanage.3893f897.js");require("./system.config.9520e7f9.js");require("./http.configmanage.6cfb8ae7.js");require("./system.noticereceived.3dec9e12.js");require("./http.noticereceivedmanage.e8ec9c9d.js");require("./system.webresource.81cfa690.js");require("./http.webresource.7c01b9cd.js");require("./system.fieldsecurity.40b4f48a.js");require("./system.file.6a6bd77c.js");require("./system.timers.51bedf97.js");require("./http.timersmanage.6e894942.js");require("./http.solution.c6b2634f.js");require("./http.translationmanage.1f9dce46.js");require("./page.designer.operation.1d435e6e.js");require("./page.build.66e190a5.js");require("./form.designer.build.89af4d24.js");require("./http.duplicatechecking.ee5c414c.js");require("./view.build.14c0d411.js");require("./table.definition..btnconfig.add3d840.js");require("./flow.list.dea8996a.js");require("./solution.dict.28214a3e.js");require("./solution.processflow.aa84ec06.js");require("./solution.workflow.91b42158.js");require("./solution.approvalflow.1f11ad8f.js");require("./solution.webresources.5b4abeb5.js");require("./solution.plugin.e7b31aff.js");require("./http.pluginmanage.6a876040.js");require("./system.plugin.a0f25733.js");require("./solution.role.d07e1813.js");require("./solution.application.15e813b4.js");require("./solution.applicationmenu.c6cd2b59.js");require("./solution.menu.12b9f56d.js");require("./page.designer.menutree.6368c636.js");require("./system.translation.c9f1b505.js");require("./system.duplicatechecking.719ddda1.js");require("./system.promptmanagement.9718aa24.js");require("./system.useraffiliation.fe1e1d39.js");require("./system.email.1db14214.js");require("./http.emailmanage.1ddaa8b5.js");require("./system.permissions.fdb64929.js");require("./system.datasource.76c0ccdb.js");require("./http.datasource.294b01e2.js");require("./system.sumberrules.6e8d208e.js");require("./http.sumberrules.0b68ce6d.js");require("./system.team.c0d623a5.js");require("./http.team.e45400d5.js");require("./system.teammembers.c99ef01b.js");require("./system.document.0e46ff8c.js");require("./mobile.designer.menutree.646ebcdd.js");require("./messages.messagetemplate.e52ab470.js");require("./http.message.73c3ed85.js");require("./messages.fieldconfiguration.092bb027.js");require("./messages.sendplan.18bda3c5.js");require("./messages.sendrecord.12028921.js");require("./messages.templatelibrary.cd20c05b.js");require("./translation.mains.6f941967.js");const m={props:{limit:{type:Number,default:12},fileAccept:{type:String,default:""},fileSize:{type:Number,default:1024}},data(){return{ruleFormRecord:{options:{fileName:"file",drag:!0}},record:null,width:"80%",confirmLoading:!1,visible:!1,fullscreen:!1,parentId:0,parentList:[],docTypeList:[],buttons:[{displayName:"\u786E\u5B9A",functionName:"handleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked"}],ruleForm:{file:"",fileList:[]},rules:{name:[{required:!0,message:this.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165"),trigger:["change","blur"]},{pattern:/^((?!\\|\/|:|\*|\?|<|>|\||'|%|\!|"|').){1,50}$/,message:this.$i18nt("gd.fileDocument.addNameTip",'\u540D\u79F0\u4E0D\u80FD\u5305\u542B\u4EE5\u4E0B\u5B57\u7B26\uFF1A<>:"/|?*%!')}],file:[{required:!0,message:this.$i18nt("gd.web.selectFileTip","\u8BF7\u9009\u62E9\u6587\u4EF6!"),trigger:["change","blur"]}]},rulesName:[{required:!0,message:this.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165"),trigger:["change","blur"]},{pattern:/^((?!\\|\/|:|\*|\?|<|>|\||'|%|\!|"|').){1,50}$/,message:this.$i18nt("gd.fileDocument.addNameTip",'\u540D\u79F0\u4E0D\u80FD\u5305\u542B\u4EE5\u4E0B\u5B57\u7B26\uFF1A<>:"/|?*%!')}],fileList:[],fileData:[]}},components:{UploadFile:p.UploadFile,LayoutItemColumn:()=>Promise.resolve().then(()=>require("./layoutItem.6f6017a5.js"))},computed:{rulesInput(){return[{required:!0,message:this.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165"),trigger:["change","blur"]}]},rulesSelect(){return[{required:!0,message:this.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),trigger:["change","blur"]}]},timeLongshort(){return this.getDictionary("time_longshort")},title(){const s=this.$i18nt("gd.btn.createfile","\u521B\u5EFA\u6587\u4EF6"),e=this.parentList.filter(r=>r.id===this.parentId)[0],t=e?` (${e.name})`:"";return`${s}${t}`},...d.mapGetters(["primaryColor"])},methods:{saveFail(s){s.forEach(e=>{e.res.success&&this.delItem(e.data)}),this.$nextTick(()=>{setTimeout(()=>{this.ruleForm.fileList=this.ruleForm.fileList.map(e=>{const t=s.filter(r=>r.data.fileId===e.fileId)[0];return Object.assign({...e},{tip:t?t.res.message:""})})},0)})},changeDocType(s,e){const t=this.docTypeList.filter(a=>a.code===s)[0];if(!t){Object.assign(e,{attributes:[]});return}this.confirmLoading=!0;let r=[],n=new Map;t.sysdoctypeattributes.forEach(a=>{if(a.ishidden!==1){const c=JSON.parse(a.reserve1);r.push({label:a.name,transKey:a.transkey?`Dynamics.${a.transkey}`:null,prop:a.attrcode,dictTypeCode:a.dicttypecode,effectType:a.datatype,rules:a.statecodes!==1?[]:a.isrequired===1?l.getRequired(a,{rulesInput:this.rulesInput,rulesSelect:this.rulesSelect}):[],pickerType:l.getPickerType(a,this.timeLongshort),fieldFormat:l.getFieldFormat(a,this.timeLongshort),fkEntityName:a.fkentity,fieldsize:a.datatype==="inputnumber"?0:a.fieldsize,isDatePicker:l.getDatePicker(a,this.timeLongshort),viewId:c.viewId?c.viewId:"",disabled:a.statecodes!==1}),n.set(a.attrcode,l.getDefaultValue(a))}});const i=this.ruleForm.fileList.map(a=>a.fileId===e.fileId?Object.assign(a,Object.assign({},a,Object.fromEntries(n),{attributes:r})):Object.assign({},a)),o=Object.assign({},this.ruleForm,{fileList:[...i]});this.ruleForm=JSON.parse(JSON.stringify(o)),setTimeout(()=>{this.confirmLoading=!1},300)},inputName(s,e){e.name=s.replace(/\s+/g,"")},save(){this.confirmLoading=!0;let s=[];this.ruleForm.fileList.forEach((e,t)=>{let r=this.add(e,t).then(n=>({data:e,res:n}));s.push(r)}),Promise.all(s).then(e=>{this.confirmLoading=!1;const t=e.filter(n=>!n.res.success);if(t.length===0){this.$message.success(this.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),this.closed(),this.$emit("ok");return}t.length<e.length&&this.$emit("ok");let r="";t.forEach(n=>{r+=`<p>${n.data.name} ${n.res.message}</p>`}),this.saveFail(e),this.$message({message:`${this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")}${r}`,type:"error",dangerouslyUseHTMLString:!0})})},add(s){let e=[];s.attributes.forEach(n=>{e.push({attrCode:n.prop,attrValue:["checkbox"].includes(n.effectType)?s[n.prop].join(","):s[n.prop]})});const t=this.docTypeList.filter(n=>n.code===s.sysdoctypeid)[0],r={name:s.name,parentid:this.ruleForm.parentid,type:2,inheritpermissions:s.inheritpermissions,filetype:s.filetype,filesize:s.filesize,file:s.fileId,version:s.version,description:s.description,sysdoctypeid:t.id,attributes:e};return u.sysDocObjectsAdd(r).then(n=>n)},handleSubmit(){if((this.ruleFormRecord.uidUploading?this.ruleFormRecord.uidUploading:[]).length>0){this.$message.error(`${this.$i18nt("gd.https.uidUploading","\u6587\u4EF6\u6B63\u5728\u4E0A\u4F20\u4E2D,\u8BF7\u7B49\u5F85..")}`);return}this.$refs.ruleForm.validate(e=>{e&&this.save()})},delItem(s){this.ruleForm.fileList=this.ruleForm.fileList.filter(e=>e.fileId!==s.fileId),this.$refs.uploadFile.removeFileManual(s.fileId)},handleChange(s){this.confirmLoading=!0;const e=JSON.parse(s.sourceData);let t=[];e.forEach(r=>{const n=r.name.substr(r.name.lastIndexOf(".")+1),i=this.fileData.filter(a=>a.uid===r.ouid)[0],o=this.ruleForm.fileList.filter(a=>a.fileId===r.fileId)[0];t.push({fileoriginname:r.fileoriginname,name:r.name,filetype:n,filesize:i?i.size:0,inheritpermissions:1,fileId:r.fileId,ouid:r.ouid,tip:"",version:"",description:"",sysdoctypeid:"",attributes:o?o.attributes:[]})}),this.ruleForm.fileList=t,setTimeout(()=>{this.confirmLoading=!1},100)},uploadFile(s){const e=this.fileData.filter(t=>t.uid!==s.file.uid);this.fileData=e.concat([s.file])},getDocTypePage(){this.confirmLoading=!0,u.sysDocTypePage({pageno:this.pageno,pagesize:this.pagesize}).then(s=>{s.code===200&&(this.docTypeList=s.data.rows.filter(e=>e.statecodes===1)),this.confirmLoading=!1})},open(s){this.parentId=s?s.id:"0",this.parentList=[{name:s.name?s.name:"root",id:s.id}],this.record=s,this.ruleForm={parentid:s.id,file:"",fileList:[]},this.visible=!0,this.getDocTypePage(),this.$nextTick(()=>{setTimeout(()=>{this.$refs.ruleForm&&this.$refs.ruleForm.clearValidate()},100)})},closed(){this.fileData=[],this.ruleForm={fileList:[]},this.fullscreen=!1,this.visible=!1},getDictionary(s){return this.$options.filters.dictData(s)},toggleFullscreen(){this.fullscreen=!this.fullscreen},doEvent(s){let e=s.item.functionName;this[e]&&this[e]()}}};var f=function(){var e=this,t=e._self._c;return t("div",[t("el-dialog",{directives:[{name:"drag",rawName:"v-drag"}],ref:"dialog",class:e.fullscreen?"gd-dialog gd-dialog-fangda":"gd-dialog",attrs:{fullscreen:e.fullscreen,visible:e.visible,width:e.width,center:!0,"close-on-click-modal":!1,"append-to-body":!0,"modal-append-to-body":!1,top:"80px","show-close":!1},on:{"update:visible":function(r){e.visible=r},closed:e.closed}},[t("gd-modal-title",{attrs:{slot:"title",title:e.title,fullscreen:e.fullscreen,buttons:e.buttons,confirmLoading:e.confirmLoading,showClose:!0},on:{changeEvent:e.doEvent,toggleFullscreen:e.toggleFullscreen},slot:"title"}),t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}]},[e.visible?t("el-form",{ref:"ruleForm",staticClass:"gd-form",staticStyle:{width:"100%",margin:"0 auto"},attrs:{model:e.ruleForm,"label-width":"160px",rules:e.rules},nativeOn:{submit:function(r){r.preventDefault()}}},[t("el-form-item",{staticStyle:{width:"90%"},attrs:{label:e.$i18nt("gd.page.uploadFile","\u4E0A\u4F20\u6587\u4EF6"),prop:"file"}},[t("UploadFile",{ref:"uploadFile",attrs:{record:e.ruleFormRecord,model:e.ruleForm,limit:e.limit,prop:"file",accept:e.fileAccept,size:e.fileSize},on:{change:e.handleChange,uploadFile:e.uploadFile}})],1),e._l(e.ruleForm.fileList,function(r,n){return[t("div",{staticClass:"list"},[t("el-alert",{staticStyle:{"margin-bottom":"12px"},attrs:{title:r.fileoriginname,type:"info",closable:!1}}),t("el-row",{attrs:{gutter:24}},[t("el-col",{attrs:{span:12}},[t("el-form-item",{key:`${r.fileId}_name`,attrs:{label:e.$i18nt("gd.translation.name","\u540D\u79F0"),prop:"fileList."+n+".name",rules:e.rulesName}},[t("el-input",{attrs:{clearable:"",placeholder:e.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165"),maxlength:50},on:{input:i=>e.inputName(i,r)},model:{value:r.name,callback:function(i){e.$set(r,"name",i)},expression:"item.name"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$i18nt("gd.fileDocument.inheritedPermissions","\u7EE7\u627F\u6743\u9650"),title:e.$i18nt("gd.fileDocument.inheritedPermissions","\u7EE7\u627F\u6743\u9650")}},[t("el-switch",{attrs:{"active-value":1,"inactive-value":0,"active-color":e.primaryColor},model:{value:r.inheritpermissions,callback:function(i){e.$set(r,"inheritpermissions",i)},expression:"item.inheritpermissions"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{key:`${r.fileId}_sysdoctypeid`,attrs:{label:e.$i18nt("gd.fileDocument.classification","\u6587\u6863\u5206\u7C7B"),rules:e.rulesSelect,prop:"fileList."+n+".sysdoctypeid",title:e.$i18nt("gd.fileDocument.classification","\u6587\u6863\u5206\u7C7B")}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),clearable:"",remote:"",filterable:""},on:{change:i=>e.changeDocType(i,r)},model:{value:r.sysdoctypeid,callback:function(i){e.$set(r,"sysdoctypeid",i)},expression:"item.sysdoctypeid"}},e._l(e.docTypeList,function(i){return t("el-option",{key:i.code,attrs:{label:e.$i18nt(`Dynamics.${i.transkey}`,i.name),value:i.code}})}),1)],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$i18nt("gd.solution.version","\u7248\u672C"),title:e.$i18nt("gd.solution.version","\u7248\u672C")}},[t("el-input",{staticStyle:{width:"100%"},attrs:{placeholder:e.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165")},model:{value:r.version,callback:function(i){e.$set(r,"version",i)},expression:"item.version"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$i18nt("gd.directory.remark","\u5907\u6CE8"),title:e.$i18nt("gd.directory.remark","\u5907\u6CE8")}},[t("el-input",{attrs:{clearable:"",placeholder:e.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165"),type:"textarea",rows:1},model:{value:r.description,callback:function(i){e.$set(r,"description",i)},expression:"item.description"}})],1)],1),e._l(r.attributes,function(i){return[t("el-col",{attrs:{span:12}},[t("el-form-item",{key:`${i.fileId}_${i.prop}`,attrs:{label:e.$i18nt(i.transKey,i.label),prop:`fileList.${n}.${i.prop}`,rules:i.rules,title:e.$i18nt(i.transKey,i.label)}},[t("LayoutItemColumn",{attrs:{record:i,ruleFormData:r}})],1)],1)]})],2),t("div",{staticClass:"item-del"},[t("i",{staticClass:"el-icon-close",on:{click:function(i){return e.delItem(r)}}})]),r.tip?t("el-tooltip",{staticClass:"item-tooltip",attrs:{effect:"dark",placement:"top-start"}},[t("i",{staticClass:"el-icon-warning",staticStyle:{color:"red"}}),t("div",{staticClass:"list-tip",attrs:{slot:"content"},slot:"content"},[e._v(e._s(r.tip))])]):e._e()],1)]})],2):e._e()],1)],1)],1)},g=[],h=d.normalizeComponent(m,f,g,!1,null,"3f9cc7b9",null,null);const b=h.exports;exports.default=b;
|
|
@@ -155,6 +155,9 @@ const D = {
|
|
|
155
155
|
getDictionaryAll() {
|
|
156
156
|
return this.$options.filters.dictDataAll();
|
|
157
157
|
},
|
|
158
|
+
getDefaultType() {
|
|
159
|
+
return this.$options.filters.dictData("DefaultType").filter((e) => e.statecodes == "1");
|
|
160
|
+
},
|
|
158
161
|
tableUserData() {
|
|
159
162
|
const l = this.tableNameData.filter((e) => e.tablename == "sys_user");
|
|
160
163
|
return l[0] ? l : this.tableNameData;
|
|
@@ -405,7 +408,7 @@ var F = function() {
|
|
|
405
408
|
e.$set(e.ruleFormData, "filedsize", t);
|
|
406
409
|
}, expression: "ruleFormData.filedsize" } }, [a("el-option", { attrs: { label: e.$i18nt("gd.field.integer", "\u6574\u578B 32"), value: 32 } }), a("el-option", { attrs: { label: e.$i18nt("gd.field.longInteger", "\u957F\u6574\u578B 64"), value: 64 } })], 1) : e._e()], 1) : e._e()], 1)], 1), a("el-row", { attrs: { gutter: 24 } }, [a("el-col", { attrs: { span: 12 } }, [["input"].includes(e.ruleFormData.effecttype) ? a("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: e.$i18nt("gd.field.defaultType", "\u9ED8\u8BA4\u503C\u7C7B\u578B"), prop: "defaulttype" } }, [a("el-select", { staticStyle: { width: "100%" }, attrs: { clearable: "", placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: e.ruleFormData.defaulttype, callback: function(t) {
|
|
407
410
|
e.$set(e.ruleFormData, "defaulttype", t);
|
|
408
|
-
}, expression: "ruleFormData.defaulttype" } }, e._l(e.
|
|
411
|
+
}, expression: "ruleFormData.defaulttype" } }, e._l(e.getDefaultType, function(t) {
|
|
409
412
|
return a("el-option", { key: t.code, attrs: { label: e.$i18nt(`Dynamics.${t.transkey}`, t.name), value: t.code } });
|
|
410
413
|
}), 1)], 1) : e._e()], 1), a("el-col", { attrs: { span: 12 } }, [e.ruleFormData.defaulttype && ["input"].includes(e.ruleFormData.effecttype) ? a("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: e.$i18nt("gd.field.numberingRules", "\u7F16\u53F7\u89C4\u5219"), prop: "sysnumberrulesid" } }, [a("el-select", { staticStyle: { width: "100%" }, attrs: { clearable: "", placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, on: { change: (t) => e.changeCode(t) }, model: { value: e.ruleFormData.sysnumberrulesid, callback: function(t) {
|
|
411
414
|
e.$set(e.ruleFormData, "sysnumberrulesid", t);
|
|
@@ -424,7 +427,7 @@ var F = function() {
|
|
|
424
427
|
k,
|
|
425
428
|
!1,
|
|
426
429
|
null,
|
|
427
|
-
"
|
|
430
|
+
"387cc52d",
|
|
428
431
|
null,
|
|
429
432
|
null
|
|
430
433
|
);
|