(function(e){function t(t){for(var r,i,s=t[0],l=t[1],c=t[2],u=0,d=[];u1,expression:"scope.row.orderNum > 1"}],attrs:{icon:"el-icon-arrow-up",plain:"",size:"small",type:"text"},on:{click:function(t){return e.upOrderNum(a.row)}}},[e._v("上移\n ")]),t("el-button",{attrs:{icon:"el-icon-arrow-down",plain:"",size:"small",type:"text"},on:{click:function(t){return e.downOrderNum(a.row)}}},[e._v("下移\n ")])]}}])})],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary",loading:e.cloneCodeRuleLoading},on:{click:e.saveCloneCodeRule}},[e._v("保 存")]),t("el-button",{on:{click:function(t){e.cloneSettingBox=!1}}},[e._v("取 消")])],1)])},i=[],n=(a("96cf"),a("1da1")),o={height:"350px",calcHeight:30,tip:!1,editBtn:!1,addBtn:!1,delBtn:!1,searchShow:!1,searchMenuSpan:5,disablePage:!1,border:!0,index:!0,viewBtn:!1,selection:!1,menu:!0,refreshBtn:!1,columnBtn:!1,dialogClickModal:!1,highlightCurrentRow:!0,rowKey:"oid",column:[{label:"码段编号",prop:"id",search:!1,searchLabelWidth:80,searchSpan:5},{label:"码段名称",prop:"name",search:!1,searchLabelWidth:80,searchSpan:5},{label:"码段描述",prop:"description",search:!1,span:24},{label:"码段类型",prop:"secTypeText",search:!1}]},s=a("19a0"),l=a("f601"),c={name:"cloneRuleDialog",props:{visible:{type:"Boolean",default:!1},ruleData:{type:"Object"}},data:function(){return{cloneSettingBox:this.visible,cloneTableLoading:!1,cloneCodeRuleLoading:!1,cloneOption:o,cloneData:[],cloneCodeRuleForm:{id:"",name:"",accordingTo:"",description:""}}},watch:{visible:function(){this.visible&&(this.loadBasic(this.ruleData),this.cloneCodeRuleForm.id=this.ruleData.id,this.cloneCodeRuleForm.name=this.ruleData.name,this.cloneCodeRuleForm.accordingTo=this.ruleData.accordingTo,this.cloneCodeRuleForm.description=this.ruleData.description),this.cloneSettingBox=this.visible}},methods:{closeCloneDialog:function(){this.$emit("update:visible",!1),this.cloneData=[]},upOrderNum:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var a=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("Editing"==this.ruleData.lcStatus){e.next=3;break}return this.$message.warning("只有编码规则的状态是 [编辑中] 的时候,才能调整码段顺序!"),e.abrupt("return");case 3:if(null!=t.oid&&""!=t.oid){e.next=6;break}return this.$message.warning("未获取到必填参数!"),e.abrupt("return");case 6:return e.next=8,Object(l["upOrderNum"])(t.oid).then((function(){a.loadBasic(a.ruleData),a.$message({type:"success",message:"操作成功!"})}));case 8:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}(),downOrderNum:function(e){var t=this,a=this.ruleData.oid;"Editing"==this.ruleData.lcStatus?null!=e.oid&&""!=e.oid?Object(l["downOrderNum"])(e.oid).then((function(){t.loadBasic({oid:a}),t.$message({type:"success",message:"操作成功!"})})):this.$message.warning("未获取到必填参数!"):this.$message.warning("只有编码规则的状态是 [编辑中] 的时候,才能调整码段顺序!")},loadBasic:function(e){var t=this;if(this.cloneTableLoading=!0,""!=e||null!=e){var a={};a["conditionMap[pkCodeRule]"]=e.oid.trim(),Object(l["gridCodeBasicSec"])(1,-1,a).then((function(e){var a=e.data.data;t.cloneData=a.records,t.cloneTableLoading=!1}))}},saveCloneCodeRule:function(){var e=this;this.cloneCodeRuleLoading=!0;var t=this.cloneCodeRuleForm;if(""!=t.id.trim())if(""!=t.name.trim()){var a=Object.assign({},t,{oid:"",createTime:(new Date).getTime(),ts:new Date(this.ruleData.ts).getTime(),lcStatus:"Editing",elements:this.cloneData});this.cloneCodeRuleLoading=!0,Object(s["clone"])(a).then((function(){e.cloneSettingBox=!1,e.$emit("refreshRuleTable",{currentPage:1,pageSize:10}),e.$message({type:"success",message:"操作成功!"})}),(function(e){window.console.log(e)}))}else this.$message.warning("码值不能为空!");else this.$message.warning("编号不能为空!")}}},u=c,d=a("2877"),p=Object(d["a"])(u,r,i,!1,null,null,null);t["default"]=p.exports},1249:function(e,t,a){"use strict";a.r(t),t["default"]={height:"auto",calcHeight:30,tip:!1,searchShow:!0,searchMenuSpan:6,border:!0,index:!0,selection:!0,viewBtn:!0,dialogClickModal:!1,column:[{label:"参数名称",prop:"paramName",search:!0,span:24,rules:[{required:!0,message:"请输入参数名称",trigger:"blur"}]},{label:"参数键名",prop:"paramKey",search:!0,span:24,rules:[{required:!0,message:"请输入参数键名",trigger:"blur"}]},{label:"参数键值",prop:"paramValue",type:"textarea",span:24,minRows:6,rules:[{required:!0,message:"请输入参数键值",trigger:"blur"}]}]}},1441:function(e,t,a){"use strict";a("d796")},"14cd":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("span",[t("i",{staticClass:"icon-suoping",on:{click:e.handleLock}}),t("el-dialog",{attrs:{title:"设置锁屏密码",visible:e.box,width:"30%","append-to-body":""},on:{"update:visible":function(t){e.box=t}}},[t("el-form",{ref:"form",attrs:{model:e.form,"label-width":"80px"}},[t("el-form-item",{attrs:{label:"锁屏密码",prop:"passwd",rules:[{required:!0,message:"锁屏密码不能为空"}]}},[t("el-input",{attrs:{placeholder:"请输入锁屏密码"},model:{value:e.form.passwd,callback:function(t){e.$set(e.form,"passwd",t)},expression:"form.passwd"}})],1)],1),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary"},on:{click:e.handleSetLock}},[e._v("确 定")])],1)],1)],1)},i=[],n=(a("8e6e"),a("ac6a"),a("456d"),a("ade3")),o=a("c54a"),s=a("5880");function l(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function c(e){for(var t=1;t1099511627776?parseInt(t/1099511627776)+"TB":t>1073741824?parseInt(t/1073741824)+"GB":t>1048576?parseInt(t/1048576)+"MB":t>1024?parseInt(t/1024)+"KB":t+"B"}},{label:"创建者",prop:"creator"},{label:"创建时间",prop:"createTime"}]},columnType:{text:"input",combox:"select",truefalse:"switch",number:"number",textarea:"textarea",datetime:"datetime",date:"date",refer:"refer"},data:[],attachForm:{},attachOption:{submitBtn:!1,emptyBtn:!1,column:[{prop:"fileDocClassify",label:"文件类型",props:{label:"value",value:"key"},change:function(){e.options.fileDocClassifyCombox&&e.changeFun("fileDocClassify")},blur:function(){!e.options.fileDocClassifyCombox&&e.changeFun("fileDocClassify")},value:this.options.fileDocClassify||"ADMIN_SHARE",type:this.options.fileDocClassifyCombox?"select":"input",dicData:this.options.fileDocClassifyCombox||[],display:!!this.options.fileDocClassifyCombox},{label:"附件上传",prop:"attachFile",type:"upload",dragFile:!0,showFileList:!1,accept:this.options.uploadAccept||"file",loadText:"文件上传中,请稍等",span:24,propsHttp:{res:"data"},data:{ownbizOid:this.options.ownbizOid||"share",ownBtmName:this.options.ownbizBtm||"share",fileDocClassify:this.options.fileDocClassify||"ADMIN_SHARE",fileDocClassifyName:this.options.fileDocClassifyName||"管理员共享文件"},action:"/api/ubcs-resource/fileController/uploadFile"}]}}},computed:d(d({},Object(s["mapGetters"])(["permission"])),{},{permissionList:function(){return{addBtn:!1,viewBtn:!1,delBtn:this.vaildData(this.permission.attach_delete,!1),editBtn:!1}},oids:function(){var e=[];return this.selectionList.forEach((function(t){e.push(t.oid)})),e.join(",")}}),created:function(){this.setFormItem(),this.setParams()},mounted:function(){},watch:{ownbizOid:function(e){this.setParams(),this.refreshChange()}},methods:{setFormItem:function(){var e=this;this.options&&this.options.formItems&&this.options.formItems.forEach((function(t){var a="请选择",r="change";"text"===t.type&&(a="请输入",r="blur"),e.attachOption.column.push(d(d({},t),{},{label:t.title,prop:t.field,display:!t.hidden,value:t.defaultValue,disabled:t.readOnly,type:e.columnType[t.type],dicData:e.getDataList(t.type,t.data),change:function(){"text"!==t.type&&"number"!==t.type&&"textarea"!==t.type&&e.changeFun(t.field)},blur:function(){"text"!=t.type&&"number"!=t.type&&"textarea"!=t.type||e.changeFun(t.field)},rules:[{required:t.required,message:"请".concat(a).concat(t.title),trigger:r},{pattern:t.verify?t.verify:/[\s\S.]*/g,message:t.tooltips,trigger:r}],props:{label:"value",value:"key"}}))}))},changeFun:function(e){this.attachOption.column[1].data[e]=this.attachForm[e]},getDataList:function(e,t){return"truefalse"===e?[{key:!1,value:"否"},{key:!0,value:"是"}]:"combox"===e?t:[]},setParams:function(){var e={currentButtonKey:"VIEW",ownbizOid:this.options.ownbizOid||"share",ownBtmName:this.options.ownbizBtm||"share",fileDocClassify:this.options.fileDocClassify||"ADMIN_SHARE",fileDocClassifyName:this.options.fileDocClassifyName||"管理员共享文件"};this.options.where&&Object.assign(e,this.options.where),this.params=e,this.options.pageObject||(this.options.pageObject={limit:10,page:1}),this.page.pageSize=this.options.pageObject.limit,this.page.currentPage=this.options.pageObject.page,this.attachOption.column[1].data.ownbizOid=this.options.ownbizOid||"share",this.attachOption.column[1].data.ownBtmName=this.options.ownbizBtm||"share",this.attachOption.column[1].data.fileDocClassify=this.options.fileDocClassify||"ADMIN_SHARE",this.attachOption.column[1].data.fileDocClassifyName=this.options.fileDocClassifyName||"管理员共享文件"},handleUpload:function(){this.attachOption.column[1].data.fileOid="",delete this.attachOption.column[1].data.oid,delete this.attachOption.column[1].data.updateFileFlag,this.attachBox=!0},handleEdit:function(){return 0==this.selectionList.length?(this.$message.warning("请选择需要修改的文件"),!1):this.selectionList.length>1?(this.$message.warning("请选择一条数据"),!1):(this.attachOption.column[1].data.fileOid=this.oids,this.attachOption.column[1].data.oid=this.oids,this.attachOption.column[1].data.updateFileFlag=!0,void(this.attachBox=!0))},uploadBefore:function(e,t,a,r){t()},uploadAfter:function(e,t,a,r){this.attachBox=!1,this.$message.success("文件上传成功"),this.refreshChange(),t()},uploadError:function(e,t){this.$message.error(e||"上传文件出现了异常")},handleDownload:function(e){var t=new FormData;if(e&&e.oid)t.append("fileOids",e.oid),this.downloadFile(t);else{if(0===this.selectionList.length)return void this.$message.warning("请选择至少一条数据");t.append("fileOids",this.oids),this.downloadFile(t)}},downloadFile:function(e){Object(o["download"])(e).then((function(e){e&&c["a"].downloadFileByBlobHandler(e)}))},rowDel:function(e){var t=this;this.$confirm("确定将选择文件删除?",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return Object(o["remove"])([e.oid])})).then((function(){t.onLoad(t.page),t.$message({type:"success",message:"操作成功!"})}))},handleDelete:function(){var e=this;0!==this.selectionList.length?this.$confirm("确定将选择数据删除?",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return Object(o["remove"])(e.oids.split(","))})).then((function(){e.onLoad(e.page),e.$message({type:"success",message:"操作成功!"}),e.$refs.crud.toggleSelection()})):this.$message.warning("请选择至少一条数据")},beforeOpen:function(e,t){var a=this;["edit","view"].includes(t)&&getDetail(this.form.id).then((function(e){a.form=e.data.data})),e()},searchReset:function(){this.query={},this.onLoad(this.page)},searchChange:function(e,t){this.query=e,this.page.currentPage=1,this.onLoad(this.page),t()},selectionChange:function(e){this.selectionList=e,this.$refs.crud.setCurrentRow(this.selectionList[e.length-1])},selectedRowClick:function(e){this.selectionList=e,this.$refs.crud.toggleSelection(),this.$refs.crud.setCurrentRow(e),this.$refs.crud.toggleRowSelection(e)},selectionClear:function(){this.selectionList=[],this.$refs.crud.toggleSelection()},currentChange:function(e){this.page.currentPage=e},sizeChange:function(e){this.page.pageSize=e},refreshChange:function(){this.onLoad(this.page)},onLoad:function(e){var t=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.loading=!0;var r={};if(this.query)for(var i in this.query)r['conditionMap["'+i+'"]']=this.query[i];Object(o["getList"])(e.currentPage,e.pageSize,Object.assign(a,this.params,r,this.query)).then((function(e){var a=e.data.data;t.page.total=a.total,t.options.fileDocClassifyCombox?t.data=a.records.map((function(e){return Object(l["b"])(e.fileDocClassifyName)&&!Object(l["b"])(e.fileDocClassify)&&(e.fileDocClassifyName=t.options.fileDocClassifyCombox[e.fileDocClassify]||""),d({},e)})):t.data=a.records,t.loading=!1,t.selectionClear()})).catch((function(e){t.$message.error(e),t.loading=!1}))}}},f=p,m=a("2877"),h=Object(m["a"])(f,r,i,!1,null,null,null);t["default"]=h.exports},"195f":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("div",{staticClass:"avue-top"},[t("div",{staticClass:"top-bar__left"},[e.showCollapse?t("div",{staticClass:"avue-breadcrumb",class:[{"avue-breadcrumb--active":e.isCollapse}]},[t("i",{staticClass:"icon-navicon",on:{click:e.setCollapse}})]):e._e()]),t("div",{staticClass:"top-bar__title"},[e.showMenu?t("div",{staticClass:"top-bar__item top-bar__item--show"},[t("top-menu",{ref:"topMenu"})],1):e._e(),e.showSearch?t("span",{staticClass:"top-bar__item"},[t("top-search")],1):e._e()]),t("div",{staticClass:"top-bar__right"},[e.showColor?t("el-tooltip",{attrs:{effect:"dark",content:e.$t("navbar.color"),placement:"bottom"}},[t("div",{staticClass:"top-bar__item"},[t("top-color")],1)]):e._e(),e.showDebug?t("el-tooltip",{attrs:{effect:"dark",content:e.logsFlag?e.$t("navbar.bug"):e.logsLen+e.$t("navbar.bugs"),placement:"bottom"}},[t("div",{staticClass:"top-bar__item"},[t("top-logs")],1)]):e._e(),e.showLock?t("el-tooltip",{attrs:{effect:"dark",content:e.$t("navbar.lock"),placement:"bottom"}},[t("div",{staticClass:"top-bar__item"},[t("top-lock")],1)]):e._e(),e.showTheme?t("el-tooltip",{attrs:{effect:"dark",content:e.$t("navbar.theme"),placement:"bottom"}},[t("div",{staticClass:"top-bar__item top-bar__item--show"},[t("top-theme")],1)]):e._e(),t("el-tooltip",{attrs:{effect:"dark",content:e.$t("navbar.notice"),placement:"bottom"}},[t("div",{staticClass:"top-bar__item top-bar__item--show"},[t("top-notice")],1)]),t("el-tooltip",{attrs:{effect:"dark",content:e.$t("navbar.language"),placement:"bottom"}},[t("div",{staticClass:"top-bar__item top-bar__item--show"},[t("top-lang")],1)]),e.showFullScren?t("el-tooltip",{attrs:{effect:"dark",content:e.isFullScren?e.$t("navbar.screenfullF"):e.$t("navbar.screenfull"),placement:"bottom"}},[t("div",{staticClass:"top-bar__item"},[t("i",{class:e.isFullScren?"icon-tuichuquanping":"icon-quanping",on:{click:e.handleScreen}})])]):e._e(),t("img",{staticClass:"top-bar__img",attrs:{src:e.userInfo.avatar}}),t("el-dropdown",[t("span",{staticClass:"el-dropdown-link"},[e._v("\n "+e._s(e.userInfo.userName)+"\n "),t("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),t("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[t("el-dropdown-item",[t("router-link",{attrs:{to:"/"}},[e._v(e._s(e.$t("navbar.dashboard")))])],1),t("el-dropdown-item",[t("router-link",{attrs:{to:"/info/index"}},[e._v(e._s(e.$t("navbar.userinfo")))])],1),this.website.switchMode?t("el-dropdown-item",{nativeOn:{click:function(t){return e.switchDept.apply(null,arguments)}}},[e._v(e._s(e.$t("navbar.switchDept"))+"\n ")]):e._e(),t("el-dropdown-item",{attrs:{divided:""},nativeOn:{click:function(t){return e.logout.apply(null,arguments)}}},[e._v(e._s(e.$t("navbar.logOut"))+"\n ")])],1)],1),t("el-dialog",{attrs:{title:"用户信息选择","append-to-body":"",visible:e.userBox,width:"350px"},on:{"update:visible":function(t){e.userBox=t}}},[t("avue-form",{ref:"form",attrs:{option:e.userOption},on:{submit:e.submitSwitch},model:{value:e.userForm,callback:function(t){e.userForm=t},expression:"userForm"}})],1)],1)])},i=[],n=(a("8e6e"),a("ac6a"),a("456d"),a("ade3")),o=a("9883"),s=a("5880"),l=a("0e0b"),c=a("14cd"),u=a("286c"),d=a("9812"),p=a("107f"),f=a("0f22"),m=a("44b2"),h=a("ad51"),b=a("c7cc");function g(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function y(e){for(var t=1;t-1?record.formatter=eval("("+record.templet+")"):"truefalse"==record.fieldType&&(record.formatter=function(e,t){return"true"==e[t.property]||"1"==e[t.property]?"是":"否"}),0==_index&&(_this2.keyWordFind=record.field)})),this.tableHeadFindDatas=newval,this.WupinFindValue=""}},total:{handler:function(e,t){this.page.total=e}},templateOid:{handler:function(e,t){this.fileOptions.ownbizOid="0"},deep:!0},tableHeadBtnData:{handler:function(e){0!==e.length&&(this.masterVrBtnList=e)},deep:!0}},methods:{cellSelectHandler:function(e){"all"===e?this.cellStatusFind():this.cellStatusFind(e)},cellStatusFind:function(e){var t=this;Object(_api_GetItem__WEBPACK_IMPORTED_MODULE_8__["TableData"])({templateOid:this.templateOid,codeClassifyOid:this.codeClassifyOid,page:this.page.currentPage,limit:this.page.pageSize,"conditionMap[lcstatus]":e}).then((function(e){t.tableData=e.data.data}))},handleCollapse:function(e){e.length>0?(this.tableHeight="calc(100vh - 630px)",this.$refs.dataTable.doLayout()):(this.tableHeight="calc(100vh - 350px)",this.$refs.dataTable.doLayout())},openVis:function(e){this[e]=!0},handelBtnClick:function(e){var t=this,a=e.uniqueFlag;this.$nextTick((function(){return"CODEADD"===a?t.addvisible=!0:"CODEEDIT"===a?t.editHandler():"CODEBATCHADD"===a?t.openBatchImport("batchImportApply"):"CODEIMPORTHISTORY"===a?t.openBatchImport("historyImport"):"batchApplyCode"===a?t.openBatchImport("batchApplyCode"):"CODESTARTPROCESS"===a?t.setHandler():"CODEUPREVISION"===a?t.DataChange():"CODEEXPORT"===a?t.openD():"CODEQUERY"===a?t.findHandler():"CODEDISABLE"===a?t.Deactivate():"CODEENABLE"===a?t.Enable():"CODERECYCLE"===a?t.Recovery():"CODEDELETE"===a?t.enumDeleteRow():"applyGroupCode"===a?t.applyGroupCode():"receiveEditApply"===a?t.receiveEditApply():void 0}))},applyGroupCode:function(){var e=this;if(this.selectRow.length<=0)this.$message.warning("请选择一条数据模板!");else{var t=this.selectRow.map((function(e){return e.oid})).join(",");Object(_api_GetItem__WEBPACK_IMPORTED_MODULE_8__["applyGroupCode"])({oids:t,btmName:this.selectRow[0].btmname}).then((function(t){200==t.data.code&&e.$message.success("申请成功"),e.onLoad()}))}},receiveEditApply:function(){var e=this;if(this.selectRow.length<=0)this.$message.warning("请选择一条数据模板!");else{var t=this.selectRow.map((function(e){return e.oid})).join(",");Object(_api_GetItem__WEBPACK_IMPORTED_MODULE_8__["receiveEditApply"])({oids:t,btmName:this.selectRow[0].btmname}).then((function(t){200==t.data.code&&(e.$message.success("更新成功"),e.onLoad())}))}},openD:function(){this.getListCodeByClassId()},getListCodeByClassId:function(){var e=Object(C_java_workspace_GIT_VCI_UBCS_ubcs_Source_UBCS_WEB_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_6__["a"])(regeneratorRuntime.mark((function e(){var t,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.dialogPush=!0,this.transferData=[],e.next=4,Object(_api_integration_integration_js__WEBPACK_IMPORTED_MODULE_10__["listCodeAttributeByClassId"])({codeClassifyId:this.codeClassifyOid});case 4:t=e.sent,200===t.status&&(a=t.data.data,this.transferData=a);case 6:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),rend:function(){this.tableData=this.tableHeadData},setHandler:function(){var e={processUse:"PUBLIC",processUseText:"申请",allowStatus:"Editing",allowStatusText:"已编辑",startStatus:"Auditing",resetStatus:"Editing",batchTitle:"批量提交编码数据到流程审批",title:"提交编码数据到流程审批"};this.checkStatusAndSubmitProcess(e,"Released")},Deactivate:function(){var e={processUse:"DISABLE",processUseText:"停用",allowStatus:"Released",allowStatusText:"已发布",resetStatus:"Released",batchTitle:"批量停用(冻结)的编码数据",title:"停用(冻结)编码数据",confirmMsg:"是否要停用这些数据"};this.checkStatusAndSubmitProcess(e,"Disabled")},Enable:function(){var e={processUse:"ENABLE",processUseText:"启用",allowStatus:"Disabled",allowStatusText:"已停用",resetStatus:"Disabled",batchTitle:"批量启用(解冻)的编码数据",title:"启用(解冻)编码数据",confirmMsg:"是否要启用(解冻)这些数据"};this.checkStatusAndSubmitProcess(e,"Released")},Recovery:function(){var e={processUse:"ROLLBACK",processUseText:"回收",allowStatus:"Released,Disabled",allowStatusText:"已发布,已停用",batchTitle:"批量回收的编码数据",title:"回收编码数据",confirmMsg:"是否要回收这些数据"};this.checkStatusAndSubmitProcess(e,"TakeBack")},checkStatusAndSubmitProcess:function(e,t){var a=this;if(this.selectRow.length<=0)this.$message.warning("请选择数据");else if(this.selectRow.length>1e3)this.$message.warning("每次提交到流程的数量请不要超过1000条");else{var r=this.selectRow[0].lcstatus,i=this.selectRow.every((function(e){return e.lcstatus==r}));if(!i)return this.$message.warning("您选择的数据的状态不相同"),!1;if(r==t)return this.$message.warning("选择的数据中状态无需再执行当前操作"),!1;"申请"!=e.processUseText||Object(_util_validate__WEBPACK_IMPORTED_MODULE_15__["b"])(this.selectRow[0].copyfromversion)||(e.processUseText="修改",e.processUse="EDIT");var n=this.selectRow.every((function(t){return-1!=e.allowStatus.indexOf(t.lcstatus)}));if(!n)return this.$message.warning("只有状态是【"+e.allowStatusText+"】的数据才可以发起流程"),!1;Object(_api_template_setPersonnel__WEBPACK_IMPORTED_MODULE_9__["processTS"])({templateId:this.templateOid,buttonTypeKey:e.processUse}).then((function(r){r.data.data.records&&0!=r.data.data.records.length?(a.parameter.ids=a.oids,a.parameter.processName=a.result+"-"+e.processUseText+"["+a.Treedata[0].name+"-"+a.selectRow[0].name+"]",a.parameter.type=e.processUse,a.parameter.code=a.templateOid,a.parameter.btmtype=a.selectRow[0].btmname||a.selectRow[0].btmtype,a.parameter.vars={codeClassifyOid:a.codeClassifyOid,templateOid:a.templateOid},a.title=a.selectRow.length>1?e.batchTitle:e.title,a.visibleDeactivate=!0):a.$confirm("当前分类没有添加流程模板,是否不用流程审批直接执行?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){Object(_api_template_setPersonnel__WEBPACK_IMPORTED_MODULE_9__["changeStatus"])({oid:a.oids.join(","),btmname:a.selectRow[0].btmname,lcStatus:t}).then((function(t){200==t.data.code&&(a.$message.success(e.processUseText+"成功"),a.onLoad())}))})).catch((function(){a.$message({type:"info",message:"已取消"})}))}))}},handleSizeChange:function(e){var t=this;this.isLoading=!0,setTimeout((function(){t.page.pageSize=e,t.$emit("pageSize",e),t.CrudRend()}),3e3)},handleCurrentChange:function(e){var t=this;this.isLoading=!0,setTimeout((function(){t.page.currentPage=e,t.$emit("currentPage",e),t.CrudRend()}),3e3)},handleCellClick:function(e,t){this.editingRow=e,this.editShow=t.property,this.rowOid=e.oid},handleRowClick:function(e,t){this.fileOptions.ownbizOid=e.oid,this.fileOptions.ownbizBtm=e.btmname,this.$refs.dataTable.toggleRowSelection(e)},enumDeleteRow:function(e){var t=this;this.$confirm("是否删除选中数据?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){var e=[];t.selectRow.forEach((function(t){e.push(t.oid)})),Object(_api_GetItem__WEBPACK_IMPORTED_MODULE_8__["deleteCode"])({codeClassifyOid:t.codeClassifyOid,oidList:e}).then((function(e){200===e.data.code&&t.$message({type:"success",message:"删除成功!"}),t.onLoad()}))})).catch((function(){t.$message({type:"info",message:"已取消删除"})}))},saveRow:function(){this.editingRow=null},doLayout:function(){var e=this;this.$nextTick((function(){e.$refs.dataTable&&e.$refs.dataTable.doLayout&&e.$refs.dataTable.doLayout()}))},CrudHeaderRend:function(){var e=this;""!=this.codeClassifyOid&&Object(_api_GetItem__WEBPACK_IMPORTED_MODULE_8__["MasterTable"])({codeClassifyOid:this.codeClassifyOid}).then((function(t){e.options=t.data.tableDefineVO.seniorQueryColumns,e.List=t.data.tableDefineVO.cols[0],e.List.forEach((function(a){var r={label:a.title,prop:a.field,type:e.columnType[a.type],sortable:a.sort,width:a.minWidth};e.option.column.push(r),e.option.column=e.tableHeadData,e.templateOid=t.data.tableDefineVO.oid,e.$emit("templateOid",e.templateOid)}))}))},CrudRend:function(){var e=this;Object(_api_GetItem__WEBPACK_IMPORTED_MODULE_8__["TableData"])({templateOid:this.templateOid,codeClassifyOid:this.codeClassifyOid,page:this.page.currentPage,limit:this.page.pageSize}).then((function(t){e.page.total=t.data.total,e.data=t.data.data,e.tableData=t.data.data}))},sortChange:function(e){var t=this;this.isLoading=!0;var a="";a="ascending"==e.order?"asc":"desc",Object(_api_GetItem__WEBPACK_IMPORTED_MODULE_8__["TableData"])({templateOid:this.templateOid,codeClassifyOid:this.codeClassifyOid,order:a,sort:e.prop,page:this.page.currentPage,limit:this.page.pageSize}).then((function(e){setTimeout((function(){t.data=e.data.data,t.isLoading=!1}),100)}))},onLoad:function(){var e=Object(C_java_workspace_GIT_VCI_UBCS_ubcs_Source_UBCS_WEB_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_6__["a"])(regeneratorRuntime.mark((function e(t){var a=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(_api_GetItem__WEBPACK_IMPORTED_MODULE_8__["TableData"])({templateOid:this.templateOid,codeClassifyOid:this.codeClassifyOid,page:this.page.currentPage,limit:this.page.pageSize}).then((function(e){a.tableData=e.data.data,a.doLayout()}));case 2:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}(),handleSelectionChange:function(e){this.selectRow=e},handleSelection:function(e,t){this.fileOptions.ownbizOid=t.oid,this.fileOptions.ownbizBtm=t.btmname},handleSelectionAll:function(){this.fileOptions.ownbizOid="0",this.fileOptions.ownbizBtm="0"},editHandler:function(){this.selectRow.length<=0?this.$message.warning("请选择一条数据"):this.selectRow.length>1?this.$message.warning("只能选择一条数据"):"Editing"!=this.selectRow[0].lcstatus?this.$message.warning("编码状态不是“编辑中”,不可编辑"):(this.editvisible=!0,this.rowOid=this.selectRow[0]["oid"])},findHandler:function(){this.findvisible=!0},echoContion:function(e){var t=this;Object(_api_GetItem__WEBPACK_IMPORTED_MODULE_8__["FindData"])(_objectSpread({templateOid:this.templateOid,codeClassifyOid:this.codeClassifyOid},e)).then((function(e){t.tableData=e.data.data,t.page.total=e.data.total}))},similarHandler:function(){this.selectRow.length<=0?this.$message.warning("请选择一条数据"):this.selectRow.length>1?this.$message.warning("只能选择一条数据"):this.similarVisible=!0},DataChange:function(){this.selectRow.length<=0?this.$message.warning("请选择一条数据"):this.selectRow.length>1?this.$message.warning("只能选择一条数据"):"Released"!=this.selectRow[0].lcstatus?this.$message.warning("只有状态为已发布的数据才能进行数据更改"):(this.DataVisible=!0,this.rowOid=this.selectRow[0]["oid"])},AddSumbit:function(e){var t=this;Object(_api_GetItem__WEBPACK_IMPORTED_MODULE_8__["addSaveCode"])(e).then((function(e){t.$nextTick((function(){t.addvisible=!1,t.$message.success("保存成功"),t.onLoad()}))}))},EditSumbit:function(e){var t=this;Object(_api_GetItem__WEBPACK_IMPORTED_MODULE_8__["editSaveCode"])(e).then((function(e){t.$nextTick((function(){t.editvisible=!1,t.$message.success("保存成功"),t.onLoad()}))}))},updataSumbit:function(e){var t=this;e.copyFromVersion=this.rowOid,e.oid="",Object(_api_GetItem__WEBPACK_IMPORTED_MODULE_8__["upSaveCode"])(e).then((function(e){t.$nextTick((function(){t.DataVisible=!1,t.$message.success("保存成功"),t.onLoad()}))}))},openBatchImport:function(e){this.batchImportData.visible=!0,this.batchImportData.type=e,this.batchImportData.codeClassifyOid=this.codeClassifyOid},tableFindInp:function(){var e=this;Object(_api_GetItem__WEBPACK_IMPORTED_MODULE_8__["TableData"])(Object(C_java_workspace_GIT_VCI_UBCS_ubcs_Source_UBCS_WEB_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_2__["a"])({templateOid:this.templateOid,codeClassifyOid:this.codeClassifyOid,page:this.page.currentPage,limit:this.page.pageSize},"conditionMap["+this.keyWordFind+"]","*"+this.WupinFindValue+"*")).then((function(t){e.tableData=t.data.data}))}}}},"1af7":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("basic-container",[t("avue-crud",{ref:"crud",attrs:{data:e.data,option:e.option},on:{"on-load":e.getList,"row-del":e.rowDel,"refresh-change":e.refreshChange,"search-change":e.searchChange,"row-click":e.handleRowClick},model:{value:e.form,callback:function(t){e.form=t},expression:"form"}},[t("template",{slot:"menuLeft"},[t("span",[e._v("当前选择生命周期:"+e._s(this.lifeList))])])],2),t("div")],1)},i=[],n=(a("7f7f"),{name:"Businpackage.vue",data:function(){return{lifeList:"",data:[{name:"测试1"},{name:"测试2"},{name:"测试3"},{name:"测试4"}],form:{},option:{height:300,headerAlign:"center",align:"center",border:!0,editBtn:!1,index:!0,searchMenuSpan:8,searchSpan:9,searchBtnText:"查找",searchLabelWidth:100,addBtn:!1,indexFixed:!1,menuFixed:!1,column:[{label:"生命周期名称",prop:"name",search:!0,searchWidth:170}]}}},methods:{handleRowClick:function(e){console.log(e),this.lifeList=e.name},searchChange:function(e,t){t&&t(),this.params=e,this.page.currentPage=1,this.getList(),this.$message.success("搜索成功")},rowDel:function(e){var t=this;this.$confirm("此操作将永久删除, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return del(e.id)})).then((function(){t.$message.success("删除成功"),t.getList()}))}}}),o=n,s=a("2877"),l=Object(s["a"])(o,r,i,!1,null,"16826a12",null);t["default"]=l.exports},"1be0":function(e,t,a){},"1ca4":function(e,t,a){"use strict";t["a"]={title:"VCI-CODE",logo:"S",key:"saber",indexTitle:"VCI-CODE",image:"../public/img/bg/img-logo.png",clientId:"saber",clientSecret:"saber_secret",tenantMode:!0,tenantId:"000000",captchaMode:!0,switchMode:!1,lockPage:"/lock",tokenTime:3e3,tokenHeader:"Blade-Auth",statusWhiteList:[],isFirstPage:!1,fistPage:{label:"首页",value:"/wel/index",params:{},query:{},meta:{i18n:"dashboard"},group:[],close:!1},menu:{iconDefault:"iconfont icon-caidan",props:{label:"name",path:"path",icon:"source",children:"children"}},authUrl:"http://localhost/ubcs-auth/oauth/render",reportUrl:"http://localhost:8108/ureport",redirectUri:"http://localhost:1888"}},"1e69":function(e,t,a){"use strict";a.r(t),a.d(t,"startList",(function(){return s})),a.d(t,"claimList",(function(){return l})),a.d(t,"todoList",(function(){return c})),a.d(t,"sendList",(function(){return u})),a.d(t,"doneList",(function(){return d})),a.d(t,"claimTask",(function(){return p})),a.d(t,"completeTask",(function(){return f}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t0?(e.column=t.data.resembleTableVO.cols,e.$refs.ResembleQuery.resembleQuery(e.detailData)):e.column=[]}))}}},l=s,c=a("2877"),u=Object(c["a"])(l,r,i,!1,null,"4c1d99af",null);t["default"]=u.exports},"276d":function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return s})),a.d(t,"getLazyList",(function(){return l})),a.d(t,"getTableDefinedUrl",(function(){return c}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t1&&t.isCollapse},screen:function(e){return e.common.screen},isLock:function(e){return e.common.isLock},isFullScren:function(e){return e.common.isFullScren},isMenu:function(e){return e.common.isMenu},lockPasswd:function(e){return e.common.lockPasswd},tagList:function(e){return e.tags.tagList},tagWel:function(e){return e.tags.tagWel},token:function(e){return e.user.token},roles:function(e){return e.user.roles},permission:function(e){return e.user.permission},menu:function(e){return e.user.menu},menuId:function(e){return e.user.menuId},menuAll:function(e){return e.user.menuAll},logsList:function(e){return e.logs.logsList},logsLen:function(e){return e.logs.logsList.length||0},logsFlag:function(e,t){return 0===t.logsLen},flowRoutes:function(e){return e.dict.flowRoutes}},A=F,B={state:{codeClassifyOid:""},actions:{},mutations:{codeClassifyOid:function(e,t){e.codeClassifyOid=t,console.log(e.codeClassifyOid)}}},I=B;i.a.use(o.a);var $=new o.a.Store({modules:{user:v,common:_,logs:P,tags:T,dict:L,master:I},getters:A});t["a"]=$},"44b2":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("el-color-picker",{staticClass:"theme-picker",staticStyle:{"padding-top":"18px"},attrs:{size:"mini","popper-class":"theme-picker-dropdown"},model:{value:e.themeVal,callback:function(t){e.themeVal=t},expression:"themeVal"}})},i=[],n=(a("8e6e"),a("456d"),a("c5f6"),a("6b54"),a("3b2b"),a("6762"),a("2fdb"),a("ac6a"),a("a481"),a("ade3")),o=a("5880");function s(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function l(e){for(var t=1;t1&&!this.isMuti)return this.$message.warning("每次只能选择一条数据"),!1;var e=[],t=[],a=this.props.value.indexOf(",")>-1,r=this.props.label.indexOf(",")>-1,i=this;this.selectionList.forEach((function(n,o){if(a){var s=i.props.value.split(",");s.forEach((function(t,a){e.push((n[t]||n["data"][t])+(i.referConfig.valueSep?i.referConfig.valueSep:" "))}))}else e.push(n[i.props.value]||n["data"][i.props.value]);if(r){var l=i.props.label.split(",");l.forEach((function(e,a){t.push((n[e]||n["data"][e])+(i.referConfig.textSep?i.referConfig.textSep:" "))}))}else t.push(n[i.props.label]||n["data"][i.props.label])})),this.value=e.join(","),this.text=t.join(","),this.$emit("setValue",{field:this.referConfig.field,showField:this.referConfig.showField,value:this.value,text:this.text,rawData:this.selectionList,fieldMap:this.referConfig.fieldMap}),this.visible=!1},searchReset:function(){this.query={},this.onLoad(this.page)},searchChange:function(e,t){this.query=e,this.page.currentPage=1,this.onLoad(this.page),t()},currentChange:function(e){this.page.currentPage=e},sizeChange:function(e){this.page.pageSize=e},rowClick:function(e){this.$refs.referDefalutCrud.toggleSelection(),this.$refs.referDefalutCrud.toggleRowSelection(e),this.selectionList=[e]},selectionChange:function(e){if(!this.isMuti&&e.length>1){var t=e.shift();this.$refs.referDefalutCrud.toggleRowSelection(t,!1)}this.selectionList=e},selectionClear:function(){this.selectionList=[],this.$refs.referDefalutCrud.toggleSelection()},refreshChange:function(){this.onLoad(this.page,this.query)},onLoad:function(e){var t=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.url){this.loading=!0;var r={};if(this.query)for(var i in this.query)r['conditionMap["'+i+'"]']=this.query[i];Object(_api_refer_table__WEBPACK_IMPORTED_MODULE_9__["getList"])(Object.assign(a,this.params,this.query,r),e.currentPage,e.pageSize,this.url,this.method).then((function(e){var a=[];e.data.records?(a=e.data.records,t.page.total=e.data.total):(a=e.data.data.records,t.page.total=e.data.data.total),t.data=a.map((function(e){return e.data=e.data||{},_objectSpread({},e)})),t.loading=!1,t.selectionClear()})).catch((function(e){t.$message.error(e),t.loading=!1}))}}}}},4678:function(e,t,a){var r={"./af":"2bfb","./af.js":"2bfb","./ar":"8e73","./ar-dz":"a356","./ar-dz.js":"a356","./ar-kw":"423e","./ar-kw.js":"423e","./ar-ly":"1cfd","./ar-ly.js":"1cfd","./ar-ma":"0a84","./ar-ma.js":"0a84","./ar-sa":"8230","./ar-sa.js":"8230","./ar-tn":"6d83","./ar-tn.js":"6d83","./ar.js":"8e73","./az":"485c","./az.js":"485c","./be":"1fc1","./be.js":"1fc1","./bg":"84aa","./bg.js":"84aa","./bm":"a7fa","./bm.js":"a7fa","./bn":"9043","./bn-bd":"9686","./bn-bd.js":"9686","./bn.js":"9043","./bo":"d26a","./bo.js":"d26a","./br":"6887","./br.js":"6887","./bs":"2554","./bs.js":"2554","./ca":"d716","./ca.js":"d716","./cs":"3c0d","./cs.js":"3c0d","./cv":"03ec","./cv.js":"03ec","./cy":"9797","./cy.js":"9797","./da":"0f14","./da.js":"0f14","./de":"b469","./de-at":"b3eb","./de-at.js":"b3eb","./de-ch":"bb71","./de-ch.js":"bb71","./de.js":"b469","./dv":"598a","./dv.js":"598a","./el":"8d47","./el.js":"8d47","./en-au":"0e6b","./en-au.js":"0e6b","./en-ca":"3886","./en-ca.js":"3886","./en-gb":"39a6","./en-gb.js":"39a6","./en-ie":"e1d3","./en-ie.js":"e1d3","./en-il":"73332","./en-il.js":"73332","./en-in":"ec2e","./en-in.js":"ec2e","./en-nz":"6f50","./en-nz.js":"6f50","./en-sg":"b7e9","./en-sg.js":"b7e9","./eo":"65db","./eo.js":"65db","./es":"898b","./es-do":"0a3c","./es-do.js":"0a3c","./es-mx":"b5b7","./es-mx.js":"b5b7","./es-us":"55c9","./es-us.js":"55c9","./es.js":"898b","./et":"ec18","./et.js":"ec18","./eu":"0ff2","./eu.js":"0ff2","./fa":"8df4","./fa.js":"8df4","./fi":"81e9","./fi.js":"81e9","./fil":"d69a","./fil.js":"d69a","./fo":"0721","./fo.js":"0721","./fr":"9f26","./fr-ca":"d9f8","./fr-ca.js":"d9f8","./fr-ch":"0e49","./fr-ch.js":"0e49","./fr.js":"9f26","./fy":"7118","./fy.js":"7118","./ga":"5120","./ga.js":"5120","./gd":"f6b4","./gd.js":"f6b4","./gl":"8840","./gl.js":"8840","./gom-deva":"aaf2","./gom-deva.js":"aaf2","./gom-latn":"0caa","./gom-latn.js":"0caa","./gu":"e0c5","./gu.js":"e0c5","./he":"c7aa","./he.js":"c7aa","./hi":"dc4d","./hi.js":"dc4d","./hr":"4ba9","./hr.js":"4ba9","./hu":"5b14","./hu.js":"5b14","./hy-am":"d6b6","./hy-am.js":"d6b6","./id":"5038","./id.js":"5038","./is":"0558","./is.js":"0558","./it":"6e98","./it-ch":"6f12","./it-ch.js":"6f12","./it.js":"6e98","./ja":"079e","./ja.js":"079e","./jv":"b540","./jv.js":"b540","./ka":"201b","./ka.js":"201b","./kk":"6d79","./kk.js":"6d79","./km":"e81d","./km.js":"e81d","./kn":"3e92","./kn.js":"3e92","./ko":"22f8","./ko.js":"22f8","./ku":"2421","./ku.js":"2421","./ky":"9609","./ky.js":"9609","./lb":"440c","./lb.js":"440c","./lo":"b29d","./lo.js":"b29d","./lt":"26f9","./lt.js":"26f9","./lv":"b97c","./lv.js":"b97c","./me":"293c","./me.js":"293c","./mi":"688b","./mi.js":"688b","./mk":"6909","./mk.js":"6909","./ml":"02fb","./ml.js":"02fb","./mn":"958b","./mn.js":"958b","./mr":"39bd","./mr.js":"39bd","./ms":"ebe4","./ms-my":"6403","./ms-my.js":"6403","./ms.js":"ebe4","./mt":"1b45","./mt.js":"1b45","./my":"8689","./my.js":"8689","./nb":"6ce3","./nb.js":"6ce3","./ne":"3a39","./ne.js":"3a39","./nl":"facd","./nl-be":"db29","./nl-be.js":"db29","./nl.js":"facd","./nn":"b84c","./nn.js":"b84c","./oc-lnc":"167b","./oc-lnc.js":"167b","./pa-in":"f3ff","./pa-in.js":"f3ff","./pl":"8d57","./pl.js":"8d57","./pt":"f260","./pt-br":"d2d4","./pt-br.js":"d2d4","./pt.js":"f260","./ro":"972c","./ro.js":"972c","./ru":"957c","./ru.js":"957c","./sd":"6784","./sd.js":"6784","./se":"ffff","./se.js":"ffff","./si":"eda5","./si.js":"eda5","./sk":"7be6","./sk.js":"7be6","./sl":"8155","./sl.js":"8155","./sq":"c8f3","./sq.js":"c8f3","./sr":"cf1e","./sr-cyrl":"13e9","./sr-cyrl.js":"13e9","./sr.js":"cf1e","./ss":"52bd","./ss.js":"52bd","./sv":"5fbd","./sv.js":"5fbd","./sw":"74dc","./sw.js":"74dc","./ta":"3de5","./ta.js":"3de5","./te":"5cbb","./te.js":"5cbb","./tet":"576c","./tet.js":"576c","./tg":"3b1b","./tg.js":"3b1b","./th":"10e8","./th.js":"10e8","./tk":"5aff","./tk.js":"5aff","./tl-ph":"0f38","./tl-ph.js":"0f38","./tlh":"cf75","./tlh.js":"cf75","./tr":"0e81","./tr.js":"0e81","./tzl":"cf51","./tzl.js":"cf51","./tzm":"c109","./tzm-latn":"b53d","./tzm-latn.js":"b53d","./tzm.js":"c109","./ug-cn":"6117","./ug-cn.js":"6117","./uk":"ada2","./uk.js":"ada2","./ur":"5294","./ur.js":"5294","./uz":"2e8c","./uz-latn":"010e","./uz-latn.js":"010e","./uz.js":"2e8c","./vi":"2921","./vi.js":"2921","./x-pseudo":"fd7e","./x-pseudo.js":"fd7e","./yo":"7f33","./yo.js":"7f33","./zh-cn":"5c3a","./zh-cn.js":"5c3a","./zh-hk":"49ab","./zh-hk.js":"49ab","./zh-mo":"3a6c","./zh-mo.js":"3a6c","./zh-tw":"90ea","./zh-tw.js":"90ea"};function i(e){var t=n(e);return a(t)}function n(e){if(!a.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=n,e.exports=i,i.id="4678"},4760:function(e,t,a){"use strict";a.r(t);var r=function(e,t){return e("div",{staticClass:"divider",style:{backgroundColor:t.props.bgkColor,color:t.props.color}},[e("span",{style:{left:t.props.left}},[t._v(t._s(t.props.text))]),t._v(t._s(t.$props)+"\n")])},i=[],n=(a("4ce4"),a("2877")),o={},s=Object(n["a"])(o,r,i,!0,null,"c59a064a",null);t["default"]=s.exports},"47d0":function(e,t,a){"use strict";a.r(t),a.d(t,"executeCode",(function(){return i}));var r=a("b5c6");function i(e){return Object(r["a"])({url:"api/ubcs-code/uiDataController/defaultReferDataGrid",method:"get",params:e})}},4805:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("basic-container",[t("avue-crud",{ref:"crud",attrs:{data:e.data,option:e.option},on:{"on-load":e.getList,"refresh-change":e.refreshChange,"search-change":e.searchChange,"current-row-change":e.handleCurrentRowChange},model:{value:e.form,callback:function(t){e.form=t},expression:"form"}})],1)},i=[],n={name:"originalLink.vue",data:function(){return{data:[{name:"链接测试1"},{name:"链接测试2"},{name:"链接测试3"},{name:"链接测试4"}],form:{},option:{highlightCurrentRow:!0,height:300,headerAlign:"center",align:"center",border:!0,menu:!1,index:!0,searchMenuSpan:6,searchSpan:10,addBtn:!1,indexFixed:!1,menuFixed:!1,searchLabelWidth:130,column:[{label:"链接类型名",prop:"name",search:!0}]}}},methods:{handleCurrentRowChange:function(e){this.$emit("rowLinkchange",e)},searchChange:function(e,t){t&&t(),this.params=e,this.page.currentPage=1,this.getList(),this.$message.success("搜索成功")}}},o=n,s=a("2877"),l=Object(s["a"])(o,r,i,!1,null,"2f262cf4",null);t["default"]=l.exports},"49c2":function(e,t,a){"use strict";a("c370")},"49ce":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("div",{staticClass:"el-transfer"},[t("transfer-panel",e._b({ref:"leftPanel",attrs:{data:e.sourceData,title:e.titles[0]||e.t("el.transfer.titles.0"),"default-checked":e.leftDefaultChecked,placeholder:e.filterPlaceholder||e.t("el.transfer.filterPlaceholder")},on:{"checked-change":e.onSourceCheckedChange}},"transfer-panel",e.$props,!1),[e._t("left-footer")],2),t("div",{staticClass:"el-transfer__buttons"},[t("el-button",{class:["el-transfer__button",e.hasButtonTexts?"is-with-texts":""],attrs:{type:"primary",disabled:0===e.rightChecked.length},nativeOn:{click:function(t){return e.addToLeft.apply(null,arguments)}}},[t("i",{staticClass:"el-icon-arrow-left"}),void 0!==e.buttonTexts[0]?t("span",[e._v(e._s(e.buttonTexts[0]))]):e._e()]),t("el-button",{class:["el-transfer__button",e.hasButtonTexts?"is-with-texts":""],attrs:{type:"primary",disabled:0===e.leftChecked.length},nativeOn:{click:function(t){return e.addToRight.apply(null,arguments)}}},[void 0!==e.buttonTexts[1]?t("span",[e._v(e._s(e.buttonTexts[1]))]):e._e(),t("i",{staticClass:"el-icon-arrow-right"})])],1),t("transfer-panel",e._b({ref:"rightPanel",attrs:{data:e.targetData,title:e.titles[1]||e.t("el.transfer.titles.1"),"default-checked":e.rightDefaultChecked,placeholder:e.filterPlaceholder||e.t("el.transfer.filterPlaceholder")},on:{"checked-change":e.onTargetCheckedChange}},"transfer-panel",e.$props,!1),[e._t("right-footer")],2)],1)},i=[],n=(a("ac6a"),a("ad53")),o=a("f6f4"),s=a("d4b4"),l=a("64c4"),c=a("6725"),u={name:"ElTransfer",mixins:[o["a"],s["a"],c["a"]],components:{TransferPanel:l["default"],ElButton:n["a"]},props:{data:{type:Array,default:function(){return[]}},titles:{type:Array,default:function(){return[]}},buttonTexts:{type:Array,default:function(){return[]}},filterPlaceholder:{type:String,default:""},filterMethod:Function,leftDefaultChecked:{type:Array,default:function(){return[]}},rightDefaultChecked:{type:Array,default:function(){return[]}},renderContent:Function,value:{type:Array,default:function(){return[]}},format:{type:Object,default:function(){return{}}},filterable:Boolean,props:{type:Object,default:function(){return{label:"label",key:"key",disabled:"disabled"}}},targetOrder:{type:String,default:"original"}},data:function(){return{leftChecked:[],rightChecked:[]}},computed:{dataObj:function(){var e=this.props.key;return this.data.reduce((function(t,a){return(t[a[e]]=a)&&t}),{})},sourceData:function(){var e=this;return this.data.filter((function(t){return-1===e.value.indexOf(t)}))},targetData:function(){var e=this;return"original"===this.targetOrder?this.data.filter((function(t){return e.value.indexOf(t)>-1})):this.value.reduce((function(t,a){var r=e.dataObj[a];return r&&t.push(r),t}),[])},hasButtonTexts:function(){return 2===this.buttonTexts.length}},watch:{value:{handler:function(e){this.dispatch("ElFormItem","el.form.change",e)},immediate:!0,deep:!0}},methods:{getMigratingConfig:function(){return{props:{"footer-format":"footer-format is renamed to format."}}},onSourceCheckedChange:function(e,t){this.leftChecked=e,void 0!==t&&this.$emit("left-check-change",e,t)},onTargetCheckedChange:function(e,t){this.rightChecked=e,void 0!==t&&this.$emit("right-check-change",e,t)},addToLeft:function(){var e=this.value.slice();this.rightChecked.forEach((function(t){var a=e.indexOf(t);a>-1&&e.splice(a,1)})),this.$emit("input",e),this.$emit("change",e,"left",this.rightChecked)},addToRight:function(){var e=this,t=this.value.slice(),a=[],r=this.props.key;this.data.forEach((function(t){var i=t[r];e.leftChecked.indexOf(i)>-1&&-1===e.value.indexOf(i)&&(a=[t])})),t=a,this.$emit("input",t),this.$emit("change",t,"right",this.leftChecked)},clearQuery:function(e){"left"===e?this.$refs.leftPanel.query="":"right"===e&&(this.$refs.rightPanel.query="")}}},d=u,p=a("2877"),f=Object(p["a"])(d,r,i,!1,null,null,null);t["default"]=f.exports},"4a22":function(e,t,a){"use strict";a("63cb")},"4a63":function(e,t,a){},"4b55":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("fileContent",{attrs:{options:e.options,ownbizOid:e.options.ownbizOid}})},i=[],n=a("1919"),o={name:"inHtml",components:{fileContent:n["default"]},props:["options"],data:function(){return{}},computed:{}},s=o,l=a("2877"),c=Object(l["a"])(s,r,i,!1,null,"b9a5ab9a",null);t["default"]=c.exports},"4b94":function(e,t,a){"use strict";a.r(t);a("6762"),a("2fdb"),a("7f7f");var r=function(){var e=this,t=e._self._c;return t("el-container",[t("el-aside",[t("basic-container",{staticStyle:{overflow:"hidden"}},[t("div",[t("div",[t("div",{staticStyle:{display:"flex","flex-direction":"column"}},[t("div",{staticStyle:{display:"flex"}},[t("el-button",{attrs:{plain:"",size:"small",type:"primary"},on:{click:e.TreeAdd}},[e._v("添加")]),t("el-button",{attrs:{plain:"",size:"small",type:"primary"},on:{click:e.TreeEdit}},[e._v("修改")]),t("el-button",{attrs:{plain:"",size:"small",type:"primary"},on:{click:e.TreeDel}},[e._v("删除")]),t("el-button",{attrs:{plain:"",size:"small",type:"primary"},on:{click:e.flushed}},[e._v("刷新")])],1),t("div",{staticStyle:{display:"flex","margin-top":"10px"}},[t("el-button",{attrs:{plain:"",size:"small",type:"primary"},on:{click:e.Enable}},[e._v("启用")]),t("el-button",{attrs:{plain:"",size:"small",type:"primary"},on:{click:e.Deactivate}},[e._v("停用")]),t("el-button",{attrs:{plain:"",size:"small",type:"primary"},nativeOn:{click:function(t){return e.ImportExcel.apply(null,arguments)}}},[e._v("导入")]),t("el-button",{attrs:{plain:"",size:"small",type:"primary"},on:{click:e.ExportExcel}},[e._v("导出")])],1)]),t("div",{staticStyle:{display:"flex","justify-content":"space-around","margin-top":"5px","margin-bottom":"5px"}})]),t("el-dialog",{directives:[{name:"loading",rawName:"v-loading",value:e.AddLoading,expression:"AddLoading"}],staticStyle:{width:"1700px",margin:"auto"},attrs:{"before-close":e.TreeEscHandler,title:this.TreeFlag?"添加分类":"添加主题库",visible:e.TreeAddFormVisible,"append-to-body":""},on:{"update:visible":function(t){e.TreeAddFormVisible=t}}},[t("el-form",{ref:"myForm",attrs:{model:e.TreeAddform,rules:e.rules}},[t("el-form-item",{staticStyle:{display:"inline-block"},attrs:{label:this.TreeFlag?"分类编号:":"主题库编号:","label-width":"150px",prop:"id"}},[t("el-input",{staticStyle:{width:"170px"},attrs:{autocomplete:"off"},model:{value:e.TreeAddform.id,callback:function(t){e.$set(e.TreeAddform,"id",t)},expression:"TreeAddform.id"}})],1),t("el-form-item",{staticStyle:{display:"inline-block"},attrs:{label:this.TreeFlag?"分类名称:":"主题库名称:","label-width":"110px",prop:"name"}},[t("el-input",{staticStyle:{width:"170px"},attrs:{autocomplete:"off"},model:{value:e.TreeAddform.name,callback:function(t){e.$set(e.TreeAddform,"name",t)},expression:"TreeAddform.name"}})],1),e.TreeFlagCode?t("el-form-item",{attrs:{label:"存储的业务类型:","label-width":"150px",prop:"btmTypeName"}},[t("el-input",{staticStyle:{width:"585px"},attrs:{autocomplete:"off"},on:{focus:e.btmFoucus},model:{value:e.TreeAddform.btmTypeName,callback:function(t){e.$set(e.TreeAddform,"btmTypeName",t)},expression:"TreeAddform.btmTypeName"}})],1):e._e(),t("el-form-item",{attrs:{label:"描述:","label-width":"150px"}},[t("el-input",{staticStyle:{width:"585px"},attrs:{autocomplete:"off"},model:{value:e.TreeAddform.description,callback:function(t){e.$set(e.TreeAddform,"description",t)},expression:"TreeAddform.description"}})],1),t("el-form-item",{attrs:{label:"编码规则:","label-width":"150px"}},[t("el-input",{staticStyle:{width:"585px"},attrs:{autocomplete:"off"},on:{focus:e.CodeFoucus},model:{value:e.TreeAddform.codeRuleOidName,callback:function(t){e.$set(e.TreeAddform,"codeRuleOidName",t)},expression:"TreeAddform.codeRuleOidName"}})],1),t("el-form-item",{attrs:{label:"关键属性查询规则:","label-width":"150px"}},[t("el-input",{staticStyle:{width:"585px"},attrs:{autocomplete:"off"},on:{focus:e.Keyfouce},model:{value:e.TreeAddform.codeKeyAttrRepeatOidName,callback:function(t){e.$set(e.TreeAddform,"codeKeyAttrRepeatOidName",t)},expression:"TreeAddform.codeKeyAttrRepeatOidName"}})],1),t("el-form-item",{attrs:{label:"相似查询规则:","label-width":"150px"}},[t("el-input",{staticStyle:{width:"585px"},attrs:{autocomplete:"off"},on:{focus:e.simFouce},model:{value:e.TreeAddform.codeResembleRuleOidName,callback:function(t){e.$set(e.TreeAddform,"codeResembleRuleOidName",t)},expression:"TreeAddform.codeResembleRuleOidName"}})],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:e.TreeEscHandler}},[e._v("取 消")]),t("el-button",{attrs:{type:"primary"},on:{click:e.TreeAddHandler}},[e._v("确 定")])],1)],1),t("el-dialog",{attrs:{visible:e.TreeEditFormVisible,"append-to-body":"",title:"修改分类"},on:{"update:visible":function(t){e.TreeEditFormVisible=t}}},[t("classifyTreeform",{ref:"childForm",attrs:{Editclose:function(){e.TreeEditFormVisible=!1},TreeFlag:e.editTreeFLagCode,flag:"edit",loneTreeNewForm:e.TreeList,nodeClickList:e.nodeClickList,nodeList:e.nodeList},on:{MasterHandler:e.MasterHandler,flushed:e.flushed,referTreeForm:e.referTreeForm}})],1),t("avue-tree",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"tree",staticClass:"classifyTree",staticStyle:{height:"calc(100vh - 230px)"},attrs:{data:e.CloneTreedata,defaultExpandAll:!1,option:e.Treeoption},on:{"node-click":e.nodeClick},model:{value:e.CloneTreeAvueform,callback:function(t){e.CloneTreeAvueform=t},expression:"CloneTreeAvueform"}})],1)])],1),t("el-main",[t("basic-container",{staticStyle:{height:"calc(100vh - 150px)"}},[t("avue-tabs",{attrs:{option:e.tabOption},on:{change:e.handleChange}}),"tab1"===e.type.prop?t("span",[t("classifyTreeform",{ref:"childForm",attrs:{flag:"renonly",loneTreeNewForm:e.TreeList,nodeList:e.nodeList}})],1):"tab2"===e.type.prop?t("span",[t("basic-container",[t("avue-crud",{directives:[{name:"loading",rawName:"v-loading",value:e.FormLoing,expression:"FormLoing"}],ref:"textCrud",attrs:{data:this.Formlist,option:this.crudTreeOption},on:{"row-save":e.CrudRowSave,"row-del":e.CrudRowDel,"row-update":e.CrudRowUpdata,"row-click":e.rowHandle},scopedSlots:e._u([{key:"radio",fn:function(a){var r=a.row;return[t("el-radio",{staticStyle:{"padding-left":"10px !important"},attrs:{label:r.$index},model:{value:e.selectRow,callback:function(t){e.selectRow=t},expression:"selectRow"}},[e._v(e._s(""))])]}},{key:"menu",fn:function(a){var r=a.size,i=a.row,n=a.index;return["Editing"==i.lcStatus?t("el-button",{attrs:{size:r,icon:"el-icon-edit-outline ",type:"text"},on:{click:function(t){return e.$refs.textCrud.rowEdit(i)}}},[e._v("编辑")]):e._e(),"Editing"==i.lcStatus?t("el-button",{attrs:{size:r,icon:"el-icon-delete",type:"text"},on:{click:function(t){return e.$refs.textCrud.rowDel(i,n)}}},[e._v("删除")]):e._e(),t("el-button",{directives:[{name:"show",rawName:"v-show",value:"Released"===i.lcStatus,expression:"row.lcStatus === 'Released'"}],attrs:{loading:i.upVersionLoad,size:r,icon:"el-icon-upload2",type:"text"},on:{click:function(t){return e.upAndStopAndStart(i,"upVersion")}}},[e._v("升版")]),t("el-button",{directives:[{name:"show",rawName:"v-show",value:"Released"===i.lcStatus,expression:"row.lcStatus === 'Released'"}],attrs:{loading:i.stopLoseLoad,size:r,icon:"el-icon-circle-close",type:"text"},on:{click:function(t){return e.upAndStopAndStart(i,"stopLose")}}},[e._v("停用/失效")]),t("el-button",{directives:[{name:"show",rawName:"v-show",value:["Disabled","Editing"].includes(i.lcStatus),expression:"['Disabled', 'Editing'].includes(row.lcStatus)"}],attrs:{loading:i.startReleaseLoad,size:r,icon:"el-icon-circle-check",type:"text"},on:{click:function(t){return e.upAndStopAndStart(i,"startRelease")}}},[e._v("启用/发布")])]}}]),model:{value:e.crudForm,callback:function(t){e.crudForm=t},expression:"crudForm"}},[t("template",{slot:"menuLeft"},[t("el-button",{attrs:{plain:"",size:"small",type:"primary"},on:{click:e.FindeHanler}},[e._v("查询")]),t("el-button",{attrs:{plain:"",size:"small",type:"primary"},on:{click:e.TemRefresh}},[e._v("刷新")]),t("el-button",{attrs:{plain:"",size:"small",type:"primary"},on:{click:e.CloneBtn}},[e._v("从其它模板克隆")]),t("el-dialog",{attrs:{visible:e.FindFormVisible,"append-to-body":"",title:"高级查询"},on:{"update:visible":function(t){e.FindFormVisible=t}}},[t("div",[t("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.AdvQueries}},[e._v("查询")]),t("el-button",{attrs:{size:"small",type:"primary"}},[e._v("重置")])],1),t("div",{staticStyle:{"padding-left":"80px","margin-top":"15px"}},[e._l(e.FindSelect,(function(a,r){return[t("div",{staticStyle:{display:"flex","justify-content":"space-around",width:"85%","margin-bottom":"15px"}},[t("el-select",{staticStyle:{width:"28%"},attrs:{placeholder:"请选择"},on:{change:function(t){return e.handleSelectChange(r)}},model:{value:e.FindSelect[r],callback:function(t){e.$set(e.FindSelect,r,t)},expression:"FindSelect[key]"}},[t("el-option",{attrs:{label:"模板编号",value:"0"}}),t("el-option",{attrs:{label:"模板名称",value:"1"}}),t("el-option",{attrs:{label:"模板描述",value:"2"}}),t("el-option",{attrs:{label:"版本号",value:"3"}}),t("el-option",{attrs:{label:"状态",value:"4"}})],1),t("el-select",{staticStyle:{width:"15%"},attrs:{placeholder:"请选择"},model:{value:e.condition[0],callback:function(t){e.$set(e.condition,0,t)},expression:"condition[0]"}},[t("el-option",{attrs:{label:"包含",value:"0"}}),t("el-option",{attrs:{label:"等于",value:"1"}})],1),t("el-input",{staticStyle:{width:"49%"},model:{value:e.QueryArray[r],callback:function(t){e.$set(e.QueryArray,r,t)},expression:"QueryArray[key]"}}),t("span",[t("i",{staticClass:"el-icon-delete",staticStyle:{"font-size":"22px","margin-top":"8px","margin-left":"10px"}})])],1)]}))],2)]),t("el-dialog",{attrs:{"before-close":e.cloneClose,visible:e.CloneVisible,"append-to-body":"",title:"克隆模板"},on:{"update:visible":function(t){e.CloneVisible=t}}},[t("el-container",[t("el-aside",{attrs:{width:"300px"}},[t("div",{staticStyle:{"margin-bottom":"5px"}},[t("el-tag",[e._v("主题库分类")])],1),t("avue-tree",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"cloneTree",staticStyle:{height:"50.5vh","margin-right":"10px",width:"300px"},attrs:{data:e.Treedata,defaultExpandAll:!1,option:e.Treeoption},on:{"node-click":e.ClonenodeClick},model:{value:e.TreeAvueform,callback:function(t){e.TreeAvueform=t},expression:"TreeAvueform"}})],1),t("el-container",[t("el-main",[t("div",{staticStyle:{"padding-left":"10px",height:"50.5vh"}},[t("div",{staticStyle:{margin:"8px 0",display:"flex"}},[t("el-select",{staticStyle:{width:"130px"},attrs:{size:"small"},model:{value:e.Clonevalue,callback:function(t){e.Clonevalue=t},expression:"Clonevalue"}},e._l(this.CloneSelectOptions,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1),t("el-input",{staticStyle:{width:"40%","margin-left":"15px"},attrs:{placeholder:"输入值后按回车进行模糊查询",size:"small"},model:{value:e.CloneFind,callback:function(t){e.CloneFind=t},expression:"CloneFind"}}),t("el-button",{staticStyle:{"margin-left":"10px"},attrs:{plain:"",size:"small",type:"primary"},on:{click:e.CloneEnterFind},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.CloneEnterFind.apply(null,arguments)}}},[e._v("查询")])],1),t("avue-crud",{directives:[{name:"loading",rawName:"v-loading",value:e.FormLoing,expression:"FormLoing"}],attrs:{data:this.CloneFormlist,option:this.ClonecrudTreeOption},on:{"selection-change":e.selectionChange},model:{value:e.ClonecrudForm,callback:function(t){e.ClonecrudForm=t},expression:"ClonecrudForm"}})],1)])],1)],1),t("div",{staticStyle:{display:"flex","justify-content":"flex-end","align-items":"center","margin-top":"10px"}},[t("el-button",{attrs:{size:"small ",type:"primary"},on:{click:e.Clonehandler}},[e._v("确定")]),t("el-button",{attrs:{size:"small"},on:{click:e.cloneClose}},[e._v("取消")])],1),t("el-dialog",{attrs:{visible:e.CloneinnerVisible,"append-to-body":"",title:"克隆模板",width:"30%"},on:{"update:visible":function(t){e.CloneinnerVisible=t}}},[t("div",[t("avue-form",{attrs:{option:e.CloneOption},on:{submit:e.Clonesubmit},model:{value:e.CloneModel,callback:function(t){e.CloneModel=t},expression:"CloneModel"}})],1)])],1)],1)],2)],1),t("templatePro",{attrs:{Formlist:this.Formlist,ProData:this.ProData,codeClassifyOid:this.codeClassifyOid,crudArray:this.crudArray,crudLCStatus:this.crudLCStatus,crudOid:this.crudOid,rowIndex:this.selectRow}})],1):e._e(),t("el-dialog",{attrs:{"before-close":e.masterEscHandler,visible:e.MasterdialogVisible,"append-to-body":"",title:"为【编码规则】选取值"},on:{"update:visible":function(t){e.MasterdialogVisible=t}}},[[t("el-select",{staticStyle:{width:"135px"},attrs:{placeholder:"请选择"},model:{value:e.SelectValue,callback:function(t){e.SelectValue=t},expression:"SelectValue"}},e._l(e.SelectOption,(function(e){return t("el-option",{key:e.value,staticStyle:{width:"150px"},attrs:{label:e.label,value:e.value}})})),1),t("el-input",{staticStyle:{width:"260px","margin-left":"15px"},attrs:{placeholder:"输入值后进行模糊查询"},model:{value:e.SelectFInd,callback:function(t){e.SelectFInd=t},expression:"SelectFInd"}}),t("el-button",{staticStyle:{"margin-left":"20px"},attrs:{plain:"",size:"small",type:"primary"},on:{click:e.SelectFindeHandler}},[e._v("查询\n ")])],t("avue-crud",{attrs:{data:e.masterData,option:e.Option},on:{"row-click":e.masterSelect},scopedSlots:e._u([{key:"radio",fn:function(a){var r=a.row;return[t("el-radio",{staticStyle:{"padding-left":"10px !important"},attrs:{label:r.$index},model:{value:e.masterRow,callback:function(t){e.masterRow=t},expression:"masterRow"}},[e._v(e._s("")+"\n ")])]}}])}),t("div",{staticStyle:{height:"30px"}},[t("div",{staticStyle:{display:"inline-block",float:"left",border:"1px solid #eeeeee",padding:"5px","margin-top":"5px","font-size":"14px"}},[e._v("\n 已设置的值为:["+e._s(""==this.TreeAddform.coderuleoidName?"未设置值":this.TreeAddform.coderuleoidName)+"]\n ")]),t("div",{staticStyle:{"padding-top":"10px",display:"flex","justify-content":"flex-end",float:"right",overflow:"hidden"}},[t("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.MasterHandlerClick}},[e._v("确定")]),t("el-button",{attrs:{size:"small"},on:{click:e.masterEscHandler}},[e._v("取消")])],1)])],2),t("el-dialog",{attrs:{"before-close":e.KeyEscHandler,visible:e.KeydialogVisible,"append-to-body":"",title:"为【关键属性查询规则】选取值"},on:{"update:visible":function(t){e.KeydialogVisible=t}}},[[t("el-select",{staticStyle:{width:"135px"},attrs:{placeholder:"请选择"},model:{value:e.SelectValue,callback:function(t){e.SelectValue=t},expression:"SelectValue"}},e._l(e.SelectOption,(function(e){return t("el-option",{key:e.value,staticStyle:{width:"150px"},attrs:{label:e.label,value:e.value}})})),1),t("el-input",{staticStyle:{width:"260px","margin-left":"15px"},attrs:{placeholder:"输入值后进行模糊查询"},model:{value:e.SelectFInd,callback:function(t){e.SelectFInd=t},expression:"SelectFInd"}}),t("el-button",{staticStyle:{"margin-left":"20px"},attrs:{plain:"",size:"small",type:"primary"},on:{click:e.KeySelectFindeHandler}},[e._v("查询\n ")])],t("avue-crud",{attrs:{data:e.KeyData,option:e.Option},on:{"row-click":e.KeySelect},scopedSlots:e._u([{key:"radio",fn:function(a){var r=a.row;return[t("el-radio",{staticStyle:{"padding-left":"10px !important"},attrs:{label:r.$index},model:{value:e.masterRow,callback:function(t){e.masterRow=t},expression:"masterRow"}},[e._v(e._s("")+"\n ")])]}}])}),t("div",{staticStyle:{height:"30px"}},[t("div",{staticStyle:{display:"inline-block",float:"left",border:"1px solid #eeeeee",padding:"5px","margin-top":"5px","font-size":"14px"}},[e._v("\n 已设置的值为:["+e._s(""==this.TreeAddform.codeKeyAttrRepeatOidName?"未设置值":this.TreeAddform.codekeyattrrepeatoidName)+"]\n ")]),t("div",{staticStyle:{"padding-top":"10px",display:"flex","justify-content":"flex-end",float:"right",overflow:"hidden"}},[t("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.KeyHandlerClick}},[e._v("确定")]),t("el-button",{attrs:{size:"small"},on:{click:e.KeyEscHandler}},[e._v("取消")])],1)])],2),t("el-dialog",{attrs:{"before-close":e.simEscHandler,visible:e.SimidialogVisible,"append-to-body":"",title:"为【相似项查询规则】选取值"},on:{"update:visible":function(t){e.SimidialogVisible=t}}},[[t("el-select",{staticStyle:{width:"135px"},attrs:{placeholder:"请选择"},model:{value:e.SelectValue,callback:function(t){e.SelectValue=t},expression:"SelectValue"}},e._l(e.SelectOption,(function(e){return t("el-option",{key:e.value,staticStyle:{width:"150px"},attrs:{label:e.label,value:e.value}})})),1),t("el-input",{staticStyle:{width:"260px","margin-left":"15px"},attrs:{placeholder:"输入值后进行模糊查询"},model:{value:e.SelectFInd,callback:function(t){e.SelectFInd=t},expression:"SelectFInd"}}),t("el-button",{staticStyle:{"margin-left":"20px"},attrs:{plain:"",size:"small",type:"primary"},on:{click:e.SimSelectFindeHandler}},[e._v("查询\n ")])],t("avue-crud",{attrs:{data:e.simData,option:e.Option},on:{"row-click":e.simSelect},scopedSlots:e._u([{key:"radio",fn:function(a){var r=a.row;return[t("el-radio",{staticStyle:{"padding-left":"10px !important"},attrs:{label:r.$index},model:{value:e.masterRow,callback:function(t){e.masterRow=t},expression:"masterRow"}},[e._v(e._s("")+"\n ")])]}}])}),t("div",{staticStyle:{height:"30px"}},[t("div",{staticStyle:{display:"inline-block",float:"left",border:"1px solid #eee",padding:"5px","margin-top":"5px","font-size":"14px"}},[e._v("\n 已设置的值为:["+e._s(""==this.TreeAddform.codeResembleRuleOidName?"未设置值":this.TreeAddform.codeResembleRuleOidName)+"]\n ")]),t("div",{staticStyle:{"padding-top":"10px",display:"flex","justify-content":"flex-end",float:"right",overflow:"hidden"}},[t("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.simHandlerClick}},[e._v("确定")]),t("el-button",{attrs:{size:"small"},on:{click:e.simEscHandler}},[e._v("取消")])],1)])],2),t("el-dialog",{attrs:{"before-close":e.BtmEscHandler,visible:e.BtmdialogVisible,"append-to-body":"",title:"为【业务类型规则】选取值"},on:{"update:visible":function(t){e.BtmdialogVisible=t}}},[[t("el-select",{staticStyle:{width:"135px !important"},attrs:{placeholder:"请选择"},model:{value:e.SelectValue,callback:function(t){e.SelectValue=t},expression:"SelectValue"}},e._l(e.masterSelectOption,(function(e){return t("el-option",{key:e.value,staticStyle:{width:"130px"},attrs:{label:e.label,value:e.value}})})),1),t("el-input",{staticStyle:{width:"260px","margin-left":"15px"},attrs:{placeholder:"输入值后进行模糊查询"},model:{value:e.SelectFInd,callback:function(t){e.SelectFInd=t},expression:"SelectFInd"}}),t("el-button",{staticStyle:{"margin-left":"20px"},attrs:{plain:"",size:"small",type:"primary"},on:{click:e.BtmSelectFindeHandler}},[e._v("查询\n ")])],t("avue-crud",{attrs:{data:e.BtmData,option:e.masterOption},on:{"row-click":e.btmSelect},scopedSlots:e._u([{key:"radio",fn:function(a){var r=a.row;return[t("el-radio",{staticStyle:{"padding-left":"10px !important"},attrs:{label:r.$index},model:{value:e.masterRow,callback:function(t){e.masterRow=t},expression:"masterRow"}},[e._v(e._s("")+"\n ")])]}}])}),t("div",{staticStyle:{height:"30px"}},[t("div",{staticStyle:{display:"inline-block",float:"left",border:"1px solid #eee",padding:"5px","margin-top":"5px","font-size":"14px"}},[e._v("\n 已设置的值为:["+e._s(this.TreeAddform.btmTypeName)+"]\n ")]),t("div",{staticStyle:{"padding-top":"10px",display:"flex","justify-content":"flex-end",float:"right",overflow:"hidden"}},[t("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.btmHandlerClick}},[e._v("确定")]),t("el-button",{attrs:{size:"small"},on:{click:e.BtmEscHandler}},[e._v("取消")])],1)])],2),t("ThemeImport",{attrs:{codeClassifyOid:this.codeClassifyOid,visible:e.ThemeImportVisible},on:{"update:visible":function(t){e.ThemeImportVisible=t}}})],1)],1)],1)},i=[],n=(a("8e6e"),a("8615"),a("5df3"),a("3835")),o=(a("456d"),a("96cf"),a("1da1")),s=a("53ca"),l=(a("ac6a"),a("ade3")),c=a("8e19"),u=a("b761"),d=a("d9a3");function p(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function f(e){for(var t=1;t1?this.$message.warning("只能选择一条数据"):this.masterSelectList.length<=0?this.$message.warning("请选择一条数据"):(this.MasterdialogVisible=!1,this.masterSelectList=[],this.$set(this.TreeAddform,"codeRuleOidName",this.masterName),this.$set(this.TreeAddform,"codeRuleOid",this.masterOid),this.$emit("MasterHandler",this.loneTreeNewForm))},MasterdefaultRend:function(e){var t=this;Object(u["defaultReferDataGrid"])(f({referType:"coderule",isMuti:"false",'conditionMap["lcstatus"]':"Released",limit:"-1"},e)).then((function(e){t.masterData=e.data.records}))},Keyfouce:function(){this.KeydialogVisible=!0,this.KeydefaultRend()},KeyHandlerClick:function(){this.KeySelectLIst.length>1?this.$message.warning("只能选择一条数据"):this.KeySelectLIst.length<=0?this.$message.warning("请选择一条数据"):(this.KeydialogVisible=!1,this.KeySelectLIst=[],this.$set(this.TreeAddform,"codeKeyAttrRepeatOidName",this.KeyName),this.$set(this.TreeAddform,"codeKeyAttrRepeatOid",this.KeyOid))},KeySelectFindeHandler:function(){var e={};e["conditionMap['".concat(this.SelectValue,"']")]=this.SelectFInd,this.KeydefaultRend(e)},KeydefaultRend:function(e){var t=this;Object(u["defaultReferDataGrid"])(f({referType:"codekeyattrrepeat",isMuti:"false",'conditionMap["lcstatus"]':"Enabled",limit:"-1"},e)).then((function(e){t.KeyData=e.data.records}))},KeySelect:function(e){this.masterRow=e.$index,this.KeySelectLIst=e,this.KeyName=e.name,this.KeyOid=e.oid},simFouce:function(){this.SimidialogVisible=!0,this.simdefaultRend()},simHandlerClick:function(){this.simSelectList.length>1?this.$message.warning("只能选择一条数据"):this.simSelectList.length<=0?this.$message.warning("请选择一条数据"):(this.SimidialogVisible=!1,this.simSelectList=[],this.$set(this.TreeAddform,"codeResembleRuleOidName",this.simName),this.$set(this.TreeAddform,"codeResembleRuleOid",this.simOid),this.$emit("MasterHandler",this.loneTreeNewForm))},SimSelectFindeHandler:function(){var e={};e["conditionMap['".concat(this.SelectValue,"']")]=this.SelectFInd,this.simdefaultRend(e)},simSelect:function(e){this.masterRow=e.$index,this.simSelectList=e,this.simName=e.name,this.simOid=e.oid},simdefaultRend:function(e){var t=this;Object(u["defaultReferDataGrid"])(f({referType:"coderesemblerule",isMuti:"false",'conditionMap["lcstatus"]':"Enabled",limit:"-1"},e)).then((function(e){t.simData=e.data.records}))},btmFoucus:function(){this.BtmdialogVisible=!0,this.btmdefaultRend()},btmHandlerClick:function(){this.btmSelectList.length>1?this.$message.warning("只能选择一条数据"):this.btmSelectList.length<=0?this.$message.warning("请选择一条数据"):(this.$refs.myForm.clearValidate(),this.BtmdialogVisible=!1,this.btmSelectList=[],this.$set(this.TreeAddform,"btmTypeName",this.btmName),this.$set(this.TreeAddform,"btmTypeId",this.btmOid),this.$emit("MasterHandler",this.loneTreeNewForm))},BtmSelectFindeHandler:function(){var e={};e["conditionMap['".concat(this.SelectValue,"']")]=this.SelectFInd,this.btmdefaultRend(e)},btmSelect:function(e){this.masterRow=e.$index,this.btmSelectList=e,this.btmName=e.name,this.btmOid=e.id},btmdefaultRend:function(e){var t=this;Object(u["referDataGrid"])(f({valueField:"id",isMuti:"false",limit:"-1"},e)).then((function(e){t.BtmData=e.data.data.records}))},MasterHandler:function(e){this.TreeList=e},rowHandle:function(e,t){this.selectRow=e.$index,this.crudOid=e.oid,this.crudLCStatus=e.lcStatus,this.crudArray.push(e),this.gridCode()},getAttr:function(){var e=this;Object(c["getAtrrList"])().then((function(t){e.Treedata=t.data,e.CloneTreedata=t.data,e.Treedata.forEach((function(){for(var t=0;t=1)){e.next=24;break}return this.crudLCStatus=this.Formlist[this.selectRow].lcStatus,this.crudArray.push(this.Formlist[this.selectRow]),this.crudOid=this.Formlist[this.selectRow].oid,e.next=22,this.gridCode();case 22:e.next=26;break;case 24:this.ProData=[],this.crudOid="";case 26:this.TreeList=s.data.data,e.next=32;break;case 29:e.prev=29,e.t0=e["catch"](5),this.$message.error(e.t0);case 32:case"end":return e.stop()}}),e,this,[[5,29]])})));function t(t){return e.apply(this,arguments)}return t}(),gridCode:function(){var e=Object(o["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(c["gridCodeClassifyTemplateAttr"])({"conditionMap[classifyTemplateOid]":this.Formlist[this.selectRow].oid,limit:-1});case 3:t=e.sent,this.ProData=t.data.data.map((function(e){return""!==e.classifyInvokeAttr&&(e.hasOwnProperty("classifyInvokeText")||(e.classifyInvokeText={"注入类型":e.classifyInvokeAttr,"注入类型名称":e.classifyInvokeAttrName,"层级设置":e.classifyInvokeLevel,"是否可修改":e.classifyInvokeEditFlag})),e})),e.next=10;break;case 7:e.prev=7,e.t0=e["catch"](0),this.$message.error(e.t0);case 10:case"end":return e.stop()}}),e,this,[[0,7]])})));function t(){return e.apply(this,arguments)}return t}(),treeClick:function(e){console.log(e)},referTreeForm:function(){var e=this;Object(c["getObjectByOid"])(this.nodeClickList.oid).then((function(t){e.TreeList=t.data.data})).catch((function(t){e.$message.error(t)}))},ClonenodeClick:function(){var e=Object(o["a"])(regeneratorRuntime.mark((function e(t){var a=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.ClonenodeClickList=t,e.next=3,Object(c["gridCodeClassifyTemplate"])({"conditionMap[codeclassifyoid]":t.oid}).then((function(e){a.CloneFormlist=e.data.data.filter((function(e){if(""!=e.codeclassifyoid)return a.codeClassifyOid=e.codeclassifyoid,e.codeclassifyoid==a.ClonenodeClickList.oid}))}));case 3:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}(),handleChange:function(e){this.type=e},AdvQueries:function(){var e=this;this.FindFormVisible=!1;var t=Object.values(this.QueryArray).every((function(e){return!e}));t?Object(c["gridCodeClassifyTemplate"])().then((function(t){e.Formlist=t.data.data})):Object(c["gridCodeClassifyFindTemplate"])({"conditionMap[id]":this.QueryArray.id},{"conditionMap[name]":this.QueryArray.name},{"conditionMap[description]":this.QueryArray.description},{"conditionMap[revisionValue]":this.QueryArray.revisionValue},{"conditionMap[lcStatus]":this.QueryArray.lcStatus}).then((function(t){e.Formlist=t.data.data}))},CrudRend:function(){var e=this;Object(c["gridCodeClassifyTemplate"])({"conditionMap[codeclassifyoid]":this.nodeClickList.oid}).then((function(t){e.Formlist=t.data.data}))},CrudRowSave:function(e,t){var a=this;this.nodeClickList.length<=0?this.$message({type:"warning",message:"请先从树上选择一条数据!"}):(this.$set(e,"codeclassifyoid",this.nodeClickList.oid),Object(c["addSave"])(e).then((function(){a.$message({type:"success",message:"添加成功!"}),t(e),a.TemRefresh()})).catch((function(e){a.$message({type:"info",message:e})})))},CrudRowUpdata:function(e,t,a){var r=this;Object(c["editSave"])(e).then((function(){r.TemRefresh(),r.$message({type:"success",message:"操作成功!"}),a()})).catch((function(e){r.$message.error(e)}))},CrudRowDel:function(e){var t=this;Object(c["deleteData"])(e).then((function(){t.TemRefresh()})).catch((function(e){t.$message({type:"info",message:e})}))},cloneClose:function(){this.$refs.cloneTree.setCurrentKey(null),this.ClonenodeClickList={},this.CloneFormlist=[],this.CloneVisible=!1},CloneEnterFind:function(){var e=this;Object(c["gridCodeClassifyTemplate"])().then((function(t){e.CloneFormlist=t.data.data.filter((function(t){return 0==e.Clonevalue?t.id.includes(e.CloneFind):1==e.Clonevalue?t.name.includes(e.CloneFind):void 0}))}))},FindeHanler:function(){""!=this.nodeClickList?this.FindFormVisible=!0:this.$message.warning("请从树上选择一条数据")},Clonehandler:function(){this.CloneSelect.length<=0?this.$message({type:"warning",message:"请选择要克隆的模板!"}):this.CloneSelect.length>1?this.$message({type:"warning",message:"只能选择一条数据!"}):this.CloneinnerVisible=!0},CloneBtn:function(){this.nodeClickList.length<=0?this.$message({type:"warning",message:"请先从[主题库分类】树上选择一条数据!"}):this.CloneVisible=!0},selectionChange:function(e){this.CloneSelect=e;var t=e[0],a=t.id,r=t.name;this.CloneModel={id:a,name:r},this.CloneSelect[0].codeclassifyoid=this.nodeClickList.oid},Clonesubmit:function(e,t){var a=this;Object.assign(this.CloneSelect[0],this.CloneModel),Object(c["copy"])(this.CloneSelect[0]).then((function(){a.CloneinnerVisible=!1,a.CloneVisible=!1,a.$message.success("复制成功"),a.TemRefresh(),t(e)})).catch((function(e){t(e)}))},TemRefresh:function(){var e=this;this.FormLoing=!0,""!=this.nodeClickList.oid?Object(c["gridCodeClassifyTemplate"])({"conditionMap[codeclassifyoid]":this.nodeClickList.oid}).then((function(t){e.Formlist=t.data.data.filter((function(t){return t.codeclassifyoid==e.nodeClickList.oid})),e.crudLCStatus=e.Formlist[e.selectRow].lcStatus,e.crudArray.push(e.Formlist[e.selectRow]),Object(c["gridCodeClassifyTemplateAttr"])({"conditionMap[classifyTemplateOid]":t.data.data[e.selectRow].oid,limit:-1}).then((function(t){e.ProData=t.data.data,e.ProData=t.data.data.map((function(e){return""!==e.classifyInvokeAttr&&(e.hasOwnProperty("classifyInvokeText")||(e=f(f({},e),{},{classifyInvokeText:{"注入类型":e.classifyInvokeAttr,"注入类型名称":e.classifyInvokeAttrName,"层级设置":e.classifyInvokeLevel,"是否可修改":e.classifyInvokeEditFlag}}))),e}))})).catch((function(t){e.$message.error(t)}))})):this.FormLoing=!0,setTimeout((function(){e.FormLoing=!1}),600)},upAndStopAndStart:function(e,t){var a=this;this.$confirm(this.upAndStopAndStartData[t]["tip"],"提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){a.$set(e,a.upAndStopAndStartData[t]["load"],!0);var r=e.ts,i=e.oid;a.upAndStopAndStartData[t]["funAPi"]({ts:r,oid:i}).then((function(r){200===r.data.code&&(a.$set(e,a.upAndStopAndStartData[t]["load"],!1),a.TemRefresh(),a.$message.success(a.upAndStopAndStartData[t]["typeText"]+"成功!"))})).catch((function(){a.$set(e,a.upAndStopAndStartData[t]["load"],!1)}))}))}}},h=m,b=(a("7416"),a("2877")),g=Object(b["a"])(h,r,i,!1,null,"7a473649",null);t["default"]=g.exports},"4ce4":function(e,t,a){"use strict";a("b2cc")},"4d0c":function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return s}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t-1},dialogPush:this.visible,radio:0,tableHeadFindData:[],tableExportData:[],option:{title:"文档标题",column:[{label:"主数据",prop:"header",children:[]}],data:[]},exportArr:{},exportArrTwo:{},ids:""}},watch:{visible:function(){this.dialogPush=this.visible},tableHeadData:{handler:function(e,t){var a=this;e&&(this.data=[],this.tableHeadFindData=e.map((function(e){return e.label})),this.tableHeadFindData.forEach((function(e,t){a.data.push({label:e,key:t})})),this.option.column[0].children=e.map((function(e){return{label:e.label,prop:e.prop}})))}},tableData:function(){this.option.data=this.tableData.map((function(e){for(var t in e)"true"===e[t]?e[t]="是":"false"===e[t]&&(e[t]="否");return e}))},codeClassifyOid:{handler:function(e,t){}},value:{handler:function(e,t){console.log("value",e)}}},computed:{},mounted:function(){},methods:{escHandler:function(){this.$emit("update:visible",!1),this.value=[],this.radio=0},recoverPage:function(){this.$emit("update:visible",!1)},handleExcel:function(){var e=this;if(this.value.map((function(t){return e.tableHeadData[t].prop})).forEach((function(t,a){e.exportArr["attrIdIndexMap[".concat(a,"]")]=t})),0===this.radio)if(this.selectRow.length<=0)this.$message.warning("请选择要导出的模板");else{var t=[];this.ids=this.selectRow.map((function(e){return e.oid})).join(","),this.selectRow.forEach((function(e){t.push(e.oid)})),this.value<=0?(this.tableHeadData.map((function(e){return e.prop})).forEach((function(t,a){e.exportArrTwo["attrIdIndexMap[".concat(a,"]")]=t})),Object(o["exportCode"])(c(c({codeClassifyOid:this.codeClassifyOid,"conditionMap[oid]":this.ids},this.exportArrTwo),{},{limit:-1})).then((function(t){t&&(s["a"].downloadFileByBlobHandler(t),e.escHandler())}))):Object(o["exportCode"])(c({codeClassifyOid:this.codeClassifyOid,"conditionMap[oid]":this.ids},this.exportArr)).then((function(t){t&&(s["a"].downloadFileByBlobHandler(t),e.escHandler())}))}else if(1===this.radio)this.value<=0?(this.tableHeadData.map((function(e){return e.prop})).forEach((function(t,a){e.exportArrTwo["attrIdIndexMap[".concat(a,"]")]=t})),Object(o["exportCode"])(c(c({codeClassifyOid:this.codeClassifyOid},this.exportArrTwo),{},{limit:-1})).then((function(t){t&&(s["a"].downloadFileByBlobHandler(t),e.escHandler())}))):Object(o["exportCode"])(c(c({codeClassifyOid:this.codeClassifyOid},this.exportArr),{},{limit:-1})).then((function(t){t&&(s["a"].downloadFileByBlobHandler(t),e.escHandler())}));else if(2===this.radio){var a,r,i=this.pageExport.trim();if(i.includes("-")){if(i.indexOf("-")!==i.lastIndexOf("-"))return void this.$message.warning("输入格式错误:只能输入一个 - 号隔开");var n=i.split("-");if(a=Number(n[0]),r=Number(n[1]),isNaN(a)||isNaN(r))return void this.$message.warning("输入格式错误")}else if(a=Number(i),r=a,isNaN(a))return void this.$message.warning("输入格式错误");this.value>=1?Object(o["exportCode"])(c(c({codeClassifyOid:this.codeClassifyOid},this.exportArr),{},{limit:this.limit,page:a,endPage:r})).then((function(t){t&&(s["a"].downloadFileByBlobHandler(t),e.escHandler())})):(this.tableHeadData.map((function(e){return e.prop})).forEach((function(t,a){e.exportArrTwo["attrIdIndexMap[".concat(a,"]")]=t})),Object(o["exportCode"])(c(c({codeClassifyOid:this.codeClassifyOid},this.exportArrTwo),{},{limit:this.limit,page:a,endPage:r})).then((function(t){t&&(s["a"].downloadFileByBlobHandler(t),e.escHandler())})))}}}},d=u,p=a("2877"),f=Object(p["a"])(d,r,i,!1,null,"da1f4a60",null);t["default"]=f.exports},"56d7":function(e,t,a){"use strict";a.r(t);var r={};a.r(r),a.d(r,"baseUrl",(function(){return O})),a.d(r,"iconfontUrl",(function(){return v})),a.d(r,"iconfontVersion",(function(){return y})),a.d(r,"codeUrl",(function(){return _})),a.d(r,"env",(function(){return w}));a("a481"),a("456d"),a("ac6a"),a("cadf"),a("551c"),a("f751"),a("097d");var i=a("8bbf"),n=a.n(i),o=a("b5c6"),s=a("a7fe"),l=a.n(s),c=a("3dfd"),u=a("9883"),d=(a("7f7f"),a("28a5"),a("4360")),p=a("c54a"),f=a("0a5a"),m=a("323e"),h=a.n(m);a("a5d8");h.a.configure({showSpinner:!1});var b=d["a"].getters.website.lockPage;u["a"].beforeEach((function(e,t,a){var r=e.meta||{},i=void 0===r.menu?e.query.menu:r.menu,n=JSON.parse(localStorage.getItem("updataid"));if(d["a"].commit("SET_IS_MENU",void 0===i),Object(f["a"])())if(d["a"].getters.isLock&&e.path!==b)a({path:b});else if("/login"===e.path&&0!=n.strategyUpdateStatus)a({path:"/"});else if(0===d["a"].getters.token.length)d["a"].dispatch("FedLogOut").then((function(){a({path:"/login"})}));else{var o=JSON.parse(JSON.stringify(e.query));for(var s in e.query)-1!=e.query[s].indexOf("@name=")&&(o[s]=e.query[s].split("@name=")[0],o["name"]=e.query[s].split("@name=")[1]);var l=o.src||e.fullPath||e.path,c=o.name||e.name,m=e.meta||u["a"].$avueRouter.meta||{},h=e.query.i18n;e.query.target?window.open(l):!1===m.isTab||Object(p["b"])(l)||Object(p["b"])(c)||d["a"].commit("ADD_TAG",{label:c,value:l,params:e.params,query:e.query,meta:function(){return h?{i18n:h}:m}(),group:u["a"].$avueRouter.group||[]}),a()}else!1===r.isAuth?a():a("/login")})),u["a"].afterEach((function(){h.a.done();var e=d["a"].getters.tag.label,t=d["a"].getters.tag.meta.i18n;e=u["a"].$avueRouter.generateTitle(e,t),"/login"===u["a"].history.current.fullPath&&(e="登录"),u["a"].$avueRouter.setTitle(e)})),n.a.config.errorHandler=function(e,t,a){n.a.nextTick((function(){d["a"].commit("ADD_LOGS",{type:"error",message:e.message,stack:e.stack,info:a})}))},n.a.mixin({beforeRouteEnter:function(e,t,a){a((function(){var t=document.getElementById("avue-view");t&&e.meta.savedPosition&&(t.scrollTop=e.meta.savedPosition)}))},beforeRouteLeave:function(e,t,a){var r=this,i=document.getElementById("avue-view");if(t&&t.meta.keepAlive){i&&(t.meta.savedPosition=i.scrollTop);var n=!0===this.$route.meta.keepAlive&&d["a"].state.tags.tagList.some((function(e){return e.value===r.$route.fullPath}));if(this.$vnode&&!n&&(t.meta.savedPosition=0,this.$vnode.parent&&this.$vnode.parent.componentInstance&&this.$vnode.parent.componentInstance.cache&&this.$vnode.componentOptions)){var o=null==this.$vnode.key?this.$vnode.componentOptions.Ctor.cid+(this.$vnode.componentOptions.tag?"::".concat(this.$vnode.componentOptions.tag):""):this.$vnode.key,s=this.$vnode.parent.componentInstance.cache,l=this.$vnode.parent.componentInstance.keys;if(s[o]){if(l.length){var c=l.indexOf(o);c>-1&&l.splice(c,1)}delete s[o]}}}a()}});var g=a("0e0b"),y=["567566_pwc3oottzol"],v="../../public/css/fontSize.css",O="",_="".concat(O,"/code"),w=Object({NODE_ENV:"production",BASE_URL:"/"});("development"===w.NODE_ENV||"production"===w.NODE_ENV||"test"===w.NODE_ENV)&&(O="");var C=a("5f72"),j=a.n(C),S=a("9923"),k=(a("1be0"),a("c0fb")),T=a("dc8a"),D=a("63e7"),x=a("010b"),P=a("78fd"),R=a("1ca4"),E=(a("8e6e"),a("6762"),a("2fdb"),a("ade3")),L=a("5880");function F(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function A(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},r={data:function(){return{selectionList:[],data:[],form:{},params:{},loading:!1,api:a("5384")("./".concat(t.name)),option:a("2666")("./".concat(t.name)).default,page:{pageSizes:[10,30,50,100,200],pageSize:10}}},computed:A(A({},Object(L["mapGetters"])(["userInfo","permission","roles"])),{},{ids:function(){var e=this,t=[];return this.selectionList.forEach((function(a){t.push(a[e.rowKey])})),t.join(",")},bindVal:function(){return{ref:"crud",option:this.option,data:this.data,tableLoading:this.loading}},onEvent:function(){return{"on-load":this.getList,"row-save":this.rowSave,"row-update":this.rowUpdate,"row-del":this.rowDel,"selection-change":this.selectionChange,"refresh-change":this.refreshChange,"date-change":this.dateChange,"search-change":this.searchChange,"search-reset":this.searchChange}},rowKey:function(){return this.option.rowKey||t.rowKey||"id"}}),methods:{getList:function(){var e=this,a=function(){e.loading=!0,e.api[t.list||"getList"](e.page.currentPage,e.page.pageSize,e.params).then((function(a){var r;r=t.res?t.res(a.data):a.data.data,e.page.total=r[t.total||"total"]||0,e.data=r[t.records||"records"],e.listAfter&&e.listAfter(r),e.loading=!1}))};this.listBefore&&this.listBefore(),a()},rowSave:function(e,a,r){var i=this,n=function(){delete i.form.params,i.api[t.add||"add"](i.form).then((function(e){i.getList(),i.addAfter?i.addAfter(e):i.$message.success("新增成功"),a()})).catch((function(){r()}))};this.addBefore&&this.addBefore(),n()},rowUpdate:function(e,a,r,i){var n=this,o=function(){delete n.form.params,n.api[t.update||"update"](n.form).then((function(e){n.getList(),n.updateAfter?n.updateAfter(e):n.$message.success("更新成功"),r()})).catch((function(){i()}))};this.updateBefore&&this.updateBefore(),o()},rowDel:function(e,a){var r=this,i=function(){r.api[t.del||"remove"](e[r.rowKey],e).then((function(t){r.getList(),r.delAfter?r.delAfter(t,e,a):r.$message.success("删除成功")}))};this.delBefore?(this.delBefore(),i()):this.$confirm("确定将选择数据删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){i()}))},handleDelete:function(){var e=this;0!==this.selectionList.length?this.$confirm("确定将选择数据删除?",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){e.api[t.del||"remove"](e.ids).then((function(t){e.getList(),e.delMultiAfter?e.delMultiAfter(t,e.ids):e.$message.success("删除成功")}))})):this.$message.warning("请选择至少一条数据")},searchChange:function(e,t){var a=this;t&&t(),this.validatenull(e)?Object.keys(this.params).forEach((function(e){["createTime_dategt","createTime_datelt"].includes(e)||delete a.params[e]})):Object.keys(e).forEach((function(t){a.validatenull(e[t])&&(delete a.params[t],delete e[t])})),this.params=Object.assign(this.params,e),this.page.currentPage=1,this.getList()},dateChange:function(e){e?(this.params.createTime_dategt=e[0],this.params.createTime_datelt=e[1]):(delete this.params.createTime_dategt,delete this.params.createTime_datelt),this.page.currentPage=1,this.getList()},selectionChange:function(e){this.selectionList=e},selectionClear:function(){this.selectionList=[],this.$refs.crud.toggleSelection()},refreshChange:function(){this.getList()}}};return e.mixins=e.mixins||[],e.mixins.push(r),e},I=a("4760"),$=a("6ab1"),M=a("0244"),V=a("bcc5"),N=a("1af7"),z=a("9053"),K=a("c7a0"),U=a("e5c3"),q=a("4805"),W=a("4b94"),H=a("a03c"),G=a("b1bb"),Q=a("800e"),X=a("ac45"),J=a("6eca"),Y=a("91c4"),Z=a("85ad"),ee=a("10dc"),te=a("c7a4"),ae=a("832b"),re=a("7f21"),ie=a("f23e"),ne=a("188d"),oe=a("bf9e"),se=a("4d0f"),le=a("512c"),ce=a("882c"),ue=a("e772"),de=a("0e37"),pe=a("53f1"),fe=a("a815"),me=a("ea0e"),he=a("d4b6"),be=a("d9a3"),ge=a("4eb5"),ye=a.n(ge),ve=a("c1df"),Oe=a.n(ve);n.a.prototype.$utilFunc=be["a"],window.$crudCommon=B,n.a.use(u["a"]),n.a.use(l.a,o["a"]),n.a.use(j.a,{i18n:function(e,t){return S["a"].t(e,t)}}),n.a.use(window.AVUE,{size:"small",tableSize:"small",calcHeight:65,i18n:function(e,t){return S["a"].t(e,t)}}),n.a.use(ye.a),n.a.prototype.$moment=Oe.a,n.a.component("basicContainer",T["default"]),n.a.component("basicBlock",k["default"]),n.a.component("thirdRegister",D["default"]),n.a.component("avueUeditor",P["a"]),n.a.component("flowDesign",x["default"]),n.a.component("tenantPackage",$["default"]),n.a.component("enupackage",M["default"]),n.a.component("Versionpackage",V["default"]),n.a.component("Businpackage",N["default"]),n.a.component("Relationpackage",z["default"]),n.a.component("Torelationpackage",K["default"]),n.a.component("originalRange",U["default"]),n.a.component("originalLink",q["default"]),n.a.component("classifyTrees",W["default"]),n.a.component("classifyTreeform",H["default"]),n.a.component("TemplatePro",G["default"]),n.a.component("formulaEditor",X["default"]),n.a.component("referConfigDialog",J["default"]),n.a.component("advancedQuery",ae["default"]),n.a.component("businessAdd",re["default"]),n.a.component("attrCrud",Q["default"]),n.a.component("VciMasterCrud",ie["default"]),n.a.component("originalAdd",ne["default"]),n.a.component("referBtmTypeCrudDialog",Y["default"]),n.a.component("referSelectBtmAttrDialog",Z["default"]),n.a.component("cloneOtherBasicSecDialog",te["default"]),n.a.component("cloneRuleDialog",ee["default"]),n.a.component("FormTemplateDialog",oe["default"]),n.a.component("LinkTypeAdd",se["default"]),n.a.component("MasterTree",le["default"]),n.a.component("FlowPath",ce["default"]),n.a.component("Stage",ue["default"]),n.a.component("Divider",I["default"]),n.a.component("businesswork",de["default"]),n.a.component("MasterTransfer",pe["default"]),n.a.component("ThemeImport",fe["default"]),n.a.component("maxSerialnumDialog",me["default"]),n.a.component("VciDockingSearch",he["default"]),Object.keys(r).forEach((function(e){n.a.prototype[e]=r[e]})),n.a.use(window.WfDesignBase),n.a.prototype.website=R["a"],y.forEach((function(e){Object(g["h"])(v.replace("$key",e))})),n.a.config.productionTip=!1,new n.a({router:u["a"],store:d["a"],i18n:S["a"],render:function(e){return e(c["default"])}}).$mount("#app")},5821:function(e,t,a){"use strict";a.r(t),a.d(t,"getFlowpathList",(function(){return i})),a.d(t,"getStartList",(function(){return n})),a.d(t,"flowpathSave",(function(){return o})),a.d(t,"flowpathDelete",(function(){return s})),a.d(t,"stagelist",(function(){return l})),a.d(t,"attributeList",(function(){return c})),a.d(t,"attributeListRight",(function(){return u})),a.d(t,"attributeSave",(function(){return d})),a.d(t,"getBtnTask",(function(){return p})),a.d(t,"ExamineTask",(function(){return f}));var r=a("b5c6"),i=function(e){return Object(r["a"])({url:"/api/ubcs-flow/processTS/tlist",method:"get",params:e})},n=function(){return Object(r["a"])({url:"/api/ubcs-flow/work/start-list",method:"get",params:{mode:"1",current:1,size:100}})},o=function(e){return Object(r["a"])({url:"/api/ubcs-flow/processTS/tsou",method:"post",data:e})},s=function(e){return Object(r["a"])({url:"/api/ubcs-flow/processTS/dt",method:"delete",params:e})},l=function(e){return Object(r["a"])({url:"/api/ubcs-flow/processTS/sslist",method:"get",params:e})},c=function(e){return Object(r["a"])({url:"/api/ubcs-code/codeTempPhaseController/gridUnUsedAttribute",method:"get",params:e})},u=function(e){return Object(r["a"])({url:"/api/ubcs-flow/processTS/ssslist",method:"get",params:e})},d=function(e){return Object(r["a"])({url:"/api/ubcs-flow/processTS/sasou",method:"post",data:e})},p=function(e){return Object(r["a"])({url:"/api/ubcs-flow/vciflow/next",method:"post",data:e})},f=function(e){return Object(r["a"])({url:"/api/ubcs-flow/work/complete-task",method:"post",data:e})}},5880:function(e,t){e.exports=Vuex},"58fc":function(e,t,a){},"5a04":function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return s})),a.d(t,"getLazyTree",(function(){return l})),a.d(t,"getDetail",(function(){return c})),a.d(t,"remove",(function(){return u})),a.d(t,"submit",(function(){return d}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t-1?a=!0:t.parentNode.className.indexOf("el-tabs__item")>-1&&(t=t.parentNode,a=!0),a&&(e.preventDefault(),e.stopPropagation(),this.contentmenuX=e.clientX,this.contentmenuY=e.clientY,this.tagName=t.getAttribute("aria-controls").slice(5),this.contextmenuFlag=!0)},setActive:function(){this.active=this.tag.value},menuTag:function(e,t){if("remove"===t){var a=this.findTag(e),r=a.tag,i=a.key;this.$store.commit("DEL_TAG",r),r.value===this.tag.value&&(r=this.tagList[0===i?i:i-1],this.openTag(r))}},openTag:function(e){var t;t=e.name?this.findTag(e.name).tag:e,this.$router.push({path:this.$router.$avueRouter.getPath({name:t.label,src:t.value},t.meta),query:t.query})},closeOthersTags:function(){this.contextmenuFlag=!1,this.$store.commit("DEL_TAG_OTHER")},findTag:function(e){var t,a;return this.tagList.map((function(r,i){r.value===e&&(t=r,a=i)})),{tag:t,key:a}},closeAllTags:function(){this.contextmenuFlag=!1,this.$store.commit("DEL_ALL_TAG"),this.$router.push({path:this.$router.$avueRouter.getPath({src:this.tagWel.value}),query:this.tagWel.query})},clearCacheTags:function(){var e=this;this.$confirm("是否需要清除缓存?",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){Object(s["clearCache"])().then((function(){e.contextmenuFlag=!1,e.$message.success("清除完毕")}))}))}}},d=u,p=a("2877"),f=Object(p["a"])(d,r,i,!1,null,null,null);t["default"]=f.exports},"5f72":function(e,t){e.exports=ELEMENT},6044:function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return s})),a.d(t,"getDetail",(function(){return l})),a.d(t,"remove",(function(){return c})),a.d(t,"add",(function(){return u})),a.d(t,"update",(function(){return d}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t0,expression:"!hasNoMatch && data.length > 0"}],staticClass:"el-transfer-panel__list",class:{"is-filterable":e.filterable},model:{value:e.checked,callback:function(t){e.checked=t},expression:"checked"}},e._l(e.filteredData,(function(a){return t("el-radio",{key:a[e.keyProp],staticClass:"el-transfer-panel__item",attrs:{label:a[e.keyProp],disabled:a[e.disabledProp]}},[t("option-content",{attrs:{option:a}})],1)})),1),t("p",{directives:[{name:"show",rawName:"v-show",value:e.hasNoMatch,expression:"hasNoMatch"}],staticClass:"el-transfer-panel__empty"},[e._v(e._s(e.t("el.transfer.noMatch")))]),t("p",{directives:[{name:"show",rawName:"v-show",value:0===e.data.length&&!e.hasNoMatch,expression:"data.length === 0 && !hasNoMatch"}],staticClass:"el-transfer-panel__empty"},[e._v(e._s(e.t("el.transfer.noData")))])],1),e.hasFooter?t("p",{staticClass:"el-transfer-panel__footer"},[e._t("default")],2):e._e()])},i=[],n=(a("a481"),a("6b54"),a("ac6a"),a("73d7")),o=a("9c1a"),s=a("ffa3"),l=a("d4b4"),c={mixins:[l["a"]],name:"ElTransferPanel",componentName:"ElTransferPanel",components:{ElCheckboxGroup:n["a"],ElCheckbox:o["a"],ElInput:s["a"],OptionContent:{props:{option:Object},render:function(e){var t=function e(t){return"ElTransferPanel"===t.$options.componentName?t:t.$parent?e(t.$parent):t},a=t(this),r=a.$parent||a;return a.renderContent?a.renderContent(e,this.option):r.$scopedSlots.default?r.$scopedSlots.default({option:this.option}):e("span",[this.option[a.labelProp]||this.option[a.keyProp]])}}},props:{data:{type:Array,default:function(){return[]}},renderContent:Function,placeholder:String,title:String,filterable:Boolean,format:Object,filterMethod:Function,defaultChecked:Array,props:Object},data:function(){return{checked:[],allChecked:!1,query:"",inputHover:!1,checkChangeByUser:!0}},watch:{checked:function(e,t){this.updateAllChecked();var a=Array.isArray(e)?e:[e],r=Array.isArray(t)?t:[t];if(this.checkChangeByUser){var i=a.concat(r).filter((function(e){return-1===a.indexOf(e)||-1===r.indexOf(e)}));this.$emit("checked-change",a,i)}else this.$emit("checked-change",a),this.checkChangeByUser=!0},data:function(){var e=this,t=[],a=this.filteredData.map((function(t){return t[e.keyProp]})),r=Array.isArray(this.checked)?this.checked:[this.checked];r.forEach((function(e){a.indexOf(e)>-1&&t.push(e)})),this.checkChangeByUser=!1,this.checked=t},checkableData:function(){this.updateAllChecked()},defaultChecked:{immediate:!0,handler:function(e,t){var a=this;if(!t||e.length!==t.length||!e.every((function(e){return t.indexOf(e)>-1}))){var r=[],i=this.checkableData.map((function(e){return e[a.keyProp]}));e.forEach((function(e){i.indexOf(e)>-1&&r.push(e)})),this.checkChangeByUser=!1,this.checked=r}}}},computed:{filteredData:function(){var e=this;return this.data.filter((function(t){if("function"===typeof e.filterMethod)return e.filterMethod(e.query,t);var a=t[e.labelProp]||t[e.keyProp].toString();return a.toLowerCase().indexOf(e.query.toLowerCase())>-1}))},checkableData:function(){var e=this;return this.filteredData.filter((function(t){return!t[e.disabledProp]}))},checkedSummary:function(){var e=this.checked.length,t=this.data.length,a=this.format,r=a.noChecked,i=a.hasChecked;return r&&i?e>0?i.replace(/\${checked}/g,e).replace(/\${total}/g,t):r.replace(/\${total}/g,t):"".concat(e,"/").concat(t)},isIndeterminate:function(){var e=this.checked.length;return e>0&&e0&&0===this.filteredData.length},inputIcon:function(){return this.query.length>0&&this.inputHover?"circle-close":"search"},labelProp:function(){return this.props.label||"label"},keyProp:function(){return this.props.key||"key"},disabledProp:function(){return this.props.disabled||"disabled"},hasFooter:function(){return!!this.$slots.default}},methods:{updateAllChecked:function(){var e=this,t=this.checkableData.map((function(t){return t[e.keyProp]}));this.allChecked=t.length>0&&t.every((function(t){return e.checked===t}))},handleAllCheckedChange:function(e){var t=this;this.checked=e?this.checkableData.map((function(e){return e[t.keyProp]})):[]},clearQuery:function(){"circle-close"===this.inputIcon&&(this.query="")}}},u=c,d=a("2877"),p=Object(d["a"])(u,r,i,!1,null,null,null);t["default"]=p.exports},"65ea":function(e,t,a){"use strict";a("e50c")},6612:function(e,t,a){},6657:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("div",[t("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{data:e.tableData,height:"250",border:!0,size:"small"}},[e.column.length>0?t("el-table-column",{attrs:{type:"index",width:"60",label:"序号",align:"center"}}):e._e(),e._l(e.column[0],(function(a){return t("el-table-column",{key:a.field,attrs:{prop:a.field,label:a.title,"min-width":a.width,align:"center"},scopedSlots:e._u(["id"===a.field?{key:"default",fn:function(a){var r=a.row;return[t("el-button",{attrs:{type:"text"},on:{click:function(t){return e.openFormTemlpate(r)}}},[e._v(e._s(r.id))])]}}:{key:"default",fn:function(r){var i=r.row;return[t("span",[e._v(e._s(i[a.field]))])]}}],null,!0)})}))],2),t("FormTemplateDialog",{ref:"FormTemplateDialog",attrs:{type:"detail",visible:e.formTemplateVisible,templateOid:e.resembleTemplateOid,rowOid:e.rowOid,title:"查看详细信息",codeClassifyOid:this.resembleCodeClassifyOid},on:{"update:visible":function(t){e.formTemplateVisible=t}}})],1)},i=[],n=(a("6762"),a("2fdb"),a("96cf"),a("1da1")),o=a("902d"),s={name:"ResembleQuery",components:{FormTemplateDialog:function(){return Promise.resolve().then(a.bind(null,"bf9e"))}},props:{column:{type:Array,default:function(){return[]}},codeClassifyOid:{type:String,default:""},templateOid:{type:String,default:""},codeRuleOid:{type:String,default:""},type:{type:String,default:"add"}},data:function(){return{formTemplateVisible:!1,activeName:"findlike",tableData:[],loading:!1,resembleTemplateOid:"",resembleCodeClassifyOid:"",rowOid:"",defaultValue:{},secVOList:[],defaultKeys:["oid","id","name","description","revisionoid","nameoid","btmname","lastr","firstr","lastv","firstv","creator","createtime","lastModifier","lastmodifytime","revisionrule","revisionseq","revisionvalue","versionrule","versionseq","versionvalue","lcstatus","ts","owner","checkinby","checkintime","checkoutby","checkouttime","copyfromversion","secretgrade"],formItems:[]}},methods:{resembleQuery:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var a,r,i,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.loading=!0,this.activeName="findlike",a=this.getDefaultValueAndFormValues(t),r=a.defaultValue,i=a.formValue,n={codeClassifyOid:this.codeClassifyOid,codeRuleOid:this.codeRuleOid,templateOid:this.templateOid,data:i},n=Object.assign(n,r),e.next=7,Object(o["findLike"])(n);case 7:if(e.t0=e.sent.data.data,e.t0){e.next=10;break}e.t0=[];case 10:return this.tableData=e.t0,this.loading=!1,e.abrupt("return",this.tableData);case 13:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}(),openFormTemlpate:function(e){this.resembleTemplateOid=e.codetemplateoid,this.resembleCodeClassifyOid=e.codeClassifyOid,this.rowOid=e.oid,this.formTemplateVisible=!0},getDefaultValueAndFormValues:function(e){var t={},a={};for(var r in e)if(Object.hasOwnProperty.call(e,r)){var i=e[r];this.defaultKeys.includes(r)?t[r]=i:a[r]=i}return{defaultValue:t,formValue:a}}}},l=s,c=a("2877"),u=Object(c["a"])(l,r,i,!1,null,null,null);t["default"]=u.exports},"67ee":function(e,t,a){"use strict";a("f443")},6868:function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return i})),a.d(t,"add",(function(){return n})),a.d(t,"edit",(function(){return o})),a.d(t,"detail",(function(){return s})),a.d(t,"del",(function(){return l})),a.d(t,"getEventList",(function(){return c}));var r=a("b5c6"),i=function(e){return Object(r["a"])({url:"/api/ubcs-omd/lifeCycle/page",method:"get",params:e})},n=function(e){return Object(r["a"])({url:"/api/ubcs-omd/lifeCycle/submit",method:"post",data:e})},o=function(e){return Object(r["a"])({url:"/api/ubcs-omd/lifeCycle/edit-save",method:"put",data:e})},s=function(e){return Object(r["a"])({url:"/api/ubcs-omd/lifeCycle/detail",method:"get",params:e})},l=function(e,t){var a="/api/ubcs-omd/lifeCycle/remove";return t&&(a="/api/ubcs-omd/lifeCycle/batch-remove"),Object(r["a"])({url:a,method:"post",data:e})},c=function(e){return Object(r["a"])({url:"/api/ubcs-omd/lifeCycle/page-event",method:"get",params:e})};t["default"]={getList:i,add:n,detail:s,del:l,edit:o,getEventList:c}},6872:function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return s})),a.d(t,"getPage",(function(){return l})),a.d(t,"remove",(function(){return c})),a.d(t,"add",(function(){return u})),a.d(t,"update",(function(){return d})),a.d(t,"queryPage",(function(){return p})),a.d(t,"getApplyRange",(function(){return f}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};this.loading=!0,Object(o["getList"])(e.currentPage,e.pageSize,Object.assign(a,this.query)).then((function(e){var a=e.data.data;t.page.total=a.total,t.data=a.records,t.loading=!1,t.selectionClear()}))}}},p=d,f=a("2877"),m=Object(f["a"])(p,r,i,!1,null,null,null);t["default"]=m.exports},"6afa":function(e,t,a){"use strict";a("2581")},"6d28":function(e,t,a){},"6e8c":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return e.display?t("div",["tree"==e.refertype?t("vciWebReferTree",{ref:"vciWebReferTree",attrs:{value:e.value,text:e.text,title:e.title,disabled:e.disabled,referConfig:e.referConfig},on:{setValue:e.setValue}}):"table"==e.refertype?t("vciWebReferTable",{attrs:{value:e.value,text:e.text,title:e.title,disabled:e.disabled,referConfig:e.referConfig},on:{setValue:e.setValue}}):t("vciWebReferDefalut",{attrs:{value:e.value,text:e.text,title:e.title,disabled:e.disabled,referConfig:e.referConfig},on:{setValue:e.setValue}})],1):e._e()},i=[],n=(a("a481"),a("bd80")),o=a("b12a"),s=a("89bb"),l={name:"vciWebRefer",props:["referConfig","value","text","disabled","display"],components:{vciWebReferTree:n["default"],vciWebReferTable:o["default"],vciWebReferDefalut:s["default"]},data:function(){return{reterTypeLeavl:"213",refertype:this.referConfig.options.type,emitData:{},title:"",display:this.display||!0,disabled:this.disabled||!1}},created:function(){console.log("referer"),this.referConfig.options||(this.referConfig.options={isMuti:!1})},mounted:function(){var e=this.referConfig.title||"";e=e.replace(":",""),e=e?"为【"+e+"】选取值":"为【"+this.referConfig.showField+"】选取值",this.title=e},methods:{setValue:function(e){this.emitData=e}},watch:{emitData:{deep:!0,immediate:!0,handler:function(e){this.text=e.text,this.value=e.value,this.$emit("setReferValue",e)}}}},c=l,u=a("2877"),d=Object(u["a"])(c,r,i,!1,null,"7a180202",null);t["default"]=d.exports},"6ea1":function(e,t,a){},"6eca":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return e.display?t("div",[t("refer-config-form-dialog",{ref:"referConfigFormDialog",on:{echoReferConfig:e.echoReferConfig}}),t("refer-config-crud-dialog",{ref:"referConfigCrudDialog",on:{openReconfigInterFace:e.openReconfigInterFace,echoReferConfig:e.echoReferConfig}})],1):e._e()},i=[],n=a("ade3"),o=a("baf2"),s=a("c5e0"),l=a("d9a3"),c={name:"referConfigDialog",props:["referConfigOption","display"],components:{referConfigFormDialog:o["default"],referConfigCrudDialog:s["default"]},data:function(){return{}},watch:{referConfigOption:function(){l["a"].notEmpty(this.referConfigOption.referConfig)||l["a"].notEmpty(this.referConfigOption.referBtmId)?this.openReconfigInterFace(this.referConfigOption):this.openTipsChooseOrCust()}},methods:Object(n["a"])({echoReferConfig:function(e){this.emitData=e},openReconfigInterFace:function(e){var t=this,a=e,r={referTypeName:a.referBtmName||"",referType:a.referBtmId||""};if(this.referConfigOption.referConfig){var i=JSON.parse(a.referConfig);i.referType!=a.referBtmId&&r.referType&&(i.referType=a.referBtmId||"",i.referTypeName=a.referBtmName||a.referBtmId,this.referConfigOption.referConfig=JSON.stringify(i)),this.$set(r,"referConfig",this.referConfigOption.referConfig)}this.$nextTick((function(){t.$refs.referConfigFormDialog.isShowReferConfigForm=!0,t.$refs.referConfigFormDialog.initPageData(r)}))},openTipsChooseOrCust:function(){var e=this;this.$confirm("请选择参照配置的定义方式?","参照配置的方式",{distinguishCancelAndClose:!0,closeOnClickModal:!1,confirmButtonText:"自定义参照配置",cancelButtonText:"直接选择参照配置"}).then((function(){e.$refs.referConfigFormDialog.isShowReferConfigForm=!0})).catch((function(t){"cancel"===t&&(e.$refs.referConfigCrudDialog.isShowReferConfigCrud=!0)}))}},"echoReferConfig",(function(e){this.$emit("setReferConfigValue",e)}))},u=c,d=a("2877"),p=Object(d["a"])(u,r,i,!1,null,null,null);t["default"]=p.exports},"6f18":function(e,t,a){"use strict";a("7d47")},"736a":function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return s})),a.d(t,"build",(function(){return l})),a.d(t,"remove",(function(){return c})),a.d(t,"add",(function(){return u})),a.d(t,"update",(function(){return d})),a.d(t,"copy",(function(){return p})),a.d(t,"getCode",(function(){return f}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t0?(e.showCodeApply=!0,e.$nextTick((function(){e.batchApplyCodeTableData&&(e.batchApplyCodeTableData[e.codeRuleOid]["localSecVOList"]=e.localSecVOList),e.$refs.CodeApply.templateRender(e.localSecVOList)}))):e.showCodeApply=!1}}))},getCodeApplyFormData:function(e){this.codeApplyForm=e,this.batchApplyCodeTableData&&(this.batchApplyCodeTableData[this.codeRuleOid]["codeApply"]=e)},getType:function(e){return console.log(e.secType,"item.secType"),this.selfColumnType[e.secType]},getReferConfig:function(e){var t={};return"codeclassifysec"==e.secType?t={isMuti:!1,type:"grid",tableConfig:{limit:-1,cols:[{field:"id",title:"英文名称",sort:!0,width:150},{field:"name",title:"中文名称",sort:!0,width:150},{field:"description",title:"描述",width:250}],queryColumns:[{field:"id",title:"英文名称"},{field:"name",title:"中文名称"}]},url:"api/ubcs-code/ubcs-code/mdmEngineController/listCodeClassifyValueBySecOid",extraParams:{classifySecOid:e.oid,parentClassifyValueOid:e.parentClassifySecOid?this.codeApplyForm[e.parentClassifySecOid]:""}}:"coderefersec"==e.secType&&(t=JSON.parse(e.referValueInfo)),t},getDisabled:function(e){if("codeclassifysec"===e.secType&&e.parentClassifySecOid)return!this.codeApplyForm[e.parentClassifySecOid]},isRequired:function(e){return"true"!=e.nullableFlag},getOptionList:function(e){if(Array.isArray(e.fixedValueVOList)&&e.fixedValueVOList.length>0){var t={key:"id",value:"id"},a=e.fixedValueVOList.map((function(e){for(var a in t)if(Object.hasOwnProperty.call(t,a)){var r=t[a];e[a]=e[r]}return e}));return a}return[]},referConfigDataUpdate:function(e){var t=this,a=e.field;this.localSecVOList=this.localSecVOList.map((function(e){return e.parentClassifySecOid===a&&(t.$refs.CodeApply.form[e.oid]=void 0,t.$refs.CodeApply.form[e.name]=void 0),e})),this.$refs.CodeApply.templateRender(this.localSecVOList)}}}},"74b1":function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return s})),a.d(t,"getPostList",(function(){return l})),a.d(t,"getDetail",(function(){return c})),a.d(t,"remove",(function(){return u})),a.d(t,"add",(function(){return d})),a.d(t,"update",(function(){return p}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t-1||t.renPing.indexOf(this.inputVal)>-1},handelClose:function(){this.transferValue=[],this.inputVal="",this.visible=!1},handelTransferSave:function(){var e=this,t=e.newdata,a=t.findIndex((function(t){return t.oid===e.transferValue[0].oid}));t[a].disabled=!0;var r={value:this.transferValue,data:t};e.$emit("save",r),e.transferValue=[],e.inputVal=""}}},p=d,f=(a("9d2d"),a("2877")),m=Object(f["a"])(p,r,i,!1,null,"1c728115",null);t["default"]=m.exports},7754:function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return s})),a.d(t,"getParentList",(function(){return l})),a.d(t,"getChildList",(function(){return c})),a.d(t,"remove",(function(){return u})),a.d(t,"add",(function(){return d})),a.d(t,"update",(function(){return p})),a.d(t,"getDict",(function(){return f})),a.d(t,"getDictTree",(function(){return m})),a.d(t,"getDictionary",(function(){return h}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t0&&(this.attrRef.queryNotIn="",this.btmType.attributes.forEach((function(t){e.attrRef.queryNotIn+=t.id+","}))),this.attrRef.loading=!0,Object(s["queryPage"])(this.attrRef.key,this.attrRef.queryNotIn,this.attrRef.page.currentPage,this.attrRef.page.pageSize).then((function(t){var a=t.data.data;e.attrRef.page.total=a.total,e.attrRef.data=a.records})),setTimeout((function(){e.attrRef.loading=!1}),600),this.$nextTick((function(){e.$refs.attrRef.refreshTable()}))},attrRefSearch:function(e,t){this.attrRef.key=e.id,this.attrRefOnLoad(),t(),this.attrRef.key=null},removeFormAttrTable:function(e,t){var a=this;this.btmType.attributes.splice(t,1),this.attrRef.queryNotIn="",this.btmType.attributes.forEach((function(e){a.attrRef.queryNotIn+=e.id+","}))},selectionChange:function(e){this.attrRef.selectData=e},confirmSelectAttr:function(){var e=this;this.btmType.attributes||(this.btmType.attributes=[]),this.attrRef.selectData.forEach((function(t){e.btmType.attributes.push({id:t.id,name:t.name,attrDataType:t.typeKey,attrDataTypeText:t.typeValue,defaultValue:t.defaultValue,description:t.description,attributeLength:t.maxLength,referBtmTypeId:t.referTypeCode,referBtmTypeName:t.referToName,enumId:t.dictCode}),e.attrRef.queryNotIn+=t.id+","})),this.attrRef.data=[],this.closeAttrDialog()},cancleSelectAttr:function(){this.attrRef.selectData=[],this.closeAttrDialog()},submitBtmType:function(){var e=this;if(console.log(this.btmType),this.btmType.attributes){var t=!1;this.btmType.attributes.forEach((function(a){if(!a.name)return e.$message.warning("第"+(a.$index+1)+"行的中文名称不能为空"),void(t=!0)})),t||Object(o["add"])(this.btmType,!0).then((function(t){e.$message.success("保存成功"),e.cancleSubmitBtmType(),e.$emit("refreshTable")}))}else this.$message.warning("还没有为业务类型选择属性")},cancleSubmitBtmType:function(){this.btmType={},this.btmType.attributes=[],this.showSubmitDialog=!1},refreshAttrTable:function(){var e=this;this.$nextTick((function(){e.$refs.attrTable.refreshTable()}))},viewChange:function(){},cellEditClick:function(e){e.$cellEdit=!0},cellEditSave:function(e,t){this.btmType.attributes[t].name=e.name,this.btmType.attributes[t].defaultValue=e.defaultValue,this.btmType.attributes[t].description=e.description,e.$cellEdit=!1,this.$refs.attrTable.refreshTable()},openRevision:function(){this.revisionRef.visible=!0,this.revisionRuleOnLoad()},revisionRuleOnLoad:function(){var e=this;this.revisionRef.loading=!0,Object(l["getPage"])().then((function(t){e.revisionRef.data=t.data.data.records})),setTimeout((function(){e.revisionRef.loading=!1}),600),this.$nextTick((function(){e.$refs.revisionRef.refreshTable()}))},openLifeCycle:function(){this.lifeCycleRef.visible=!0,this.lifeCycleOnLoad()},lifeCycleOnLoad:function(){var e=this;this.lifeCycleRef.loading=!0,Object(c["getList"])().then((function(t){e.lifeCycleRef.data=t.data.data.records})),setTimeout((function(){e.lifeCycleRef.loading=!1}),600),this.$nextTick((function(){e.$refs.lifeCycleRef.refreshTable()}))},closeRevisionDialog:function(){this.revisionRef.visible=!1},closeLifeCycleDialog:function(){this.lifeCycleRef.visible=!1},confirmRevision:function(){this.btmType.revisionFlag=!0,this.btmType.revisionRuleId=this.revisionRef.selectData.id,this.btmType.revisionRuleName=this.revisionRef.selectData.name,this.btmType.inputRevisionFlag=!1,this.cancelRevision()},confirmLifeCycle:function(){this.btmType.lifeCycleFlag=!0,this.btmType.lifeCycleId=this.lifeCycleRef.selectData.id,this.btmType.lifeCycleName=this.lifeCycleRef.selectData.name,this.cancelLifeCycle()},cancelRevision:function(){this.revisionRef.selectRow="",this.revisionRef.selectData={},this.closeRevisionDialog()},cancelLifeCycle:function(){this.lifeCycleRef.selectRow="",this.lifeCycleRef.selectData={},this.closeLifeCycleDialog()},revisionClick:function(e){this.revisionRef.selectRow=e.$index,this.revisionRef.selectData={id:e.id,name:e.name}},lifeCycleClick:function(e){this.lifeCycleRef.selectRow=e.$index,this.lifeCycleRef.selectData={id:e.id,name:e.name}},clearRevision:function(){this.$delete(this.btmType,"revisionFlag"),this.$delete(this.btmType,"revisionRuleId"),this.$delete(this.btmType,"revisionRuleName"),this.$delete(this.btmType,"inputRevisionFlag")},clearLifeCycle:function(){this.$delete(this.btmType,"lifeCycleFlag"),this.$delete(this.btmType,"lifeCycleId"),this.$delete(this.btmType,"lifeCycleName")},resetForm:function(){this.btmType={},this.$refs.form.resetFields()},searchRevisionRule:function(e,t){var a=this,r={};e.id&&(r["id_like"]=e.id),e.name&&(r["name_like"]=e.name),this.revisionRef.loading=!0,Object(l["getPage"])(this.revisionRef.page.currentPage,this.revisionRef.page.pageSize,r).then((function(e){a.revisionRef.data=e.data.data.records})),setTimeout((function(){t(),a.revisionRef.loading=!1}),600),this.$nextTick((function(){a.$refs.revisionRef.refreshTable()}))},searchLifeCycle:function(e,t){var a=this,r={};e.id&&(r["id_like"]=e.id),e.name&&(r["name_like"]=e.name),this.lifeCycleRef.loading=!0,Object(c["getList"])(this.lifeCycleRef.page.currentPage,this.lifeCycleRef.page.pageSize,r).then((function(e){a.lifeCycleRef.data=e.data.data.records})),setTimeout((function(){t(),a.lifeCycleRef.loading=!1}),600),this.$nextTick((function(){a.$refs.lifeCycleRef.refreshTable()}))},clearSearchRevisionRule:function(e){this.revisionRuleOnLoad()},clearSearchLifeCycle:function(e){this.lifeCycleOnLoad(),console.log(e)}}},d=u,p=(a("8776"),a("2877")),f=Object(p["a"])(d,r,i,!1,null,null,null);t["default"]=f.exports},"800e":function(e,t,a){"use strict";a.r(t);a("d263");var r=function(){var e=this,t=e._self._c;return t("div",[this.crudArrayFlag?t("div",{staticClass:"app",staticStyle:{display:"inline-block","flex-wrap":"wrap"}},[t("el-button-group",[0!=e.attrEditVisible||0!=e.attrFlagChiledren||!e.editOpenFlag||e.checkStatus&&"Editing"!=e.crudLCStatus?e._e():t("el-button",{attrs:{icon:"el-icon-plus",plain:"",size:"small",type:"primary"},on:{click:e.busineHandle}},[e._v("添加 "+e._s(e.msg)+"\n ")]),0!=e.attrEditVisible||0!=e.attrFlagChiledren||!e.editOpenFlag||e.checkStatus&&"Editing"!=e.crudLCStatus?e._e():t("el-button",{attrs:{icon:"el-icon-full-screen",size:"small"},on:{click:e.fullscreenHandle}},[e._v("全屏编辑\n ")]),e.checkStatus&&"Editing"!=e.crudLCStatus||!e.editOpenFlag?e._e():t("el-button",{attrs:{icon:"el-icon-info",size:"small"},on:{click:e.ruleAddHandler}},[e._v("验证规则\n ")]),e.checkStatus&&"Editing"!=e.crudLCStatus||!e.editOpenFlag?e._e():t("el-button",{attrs:{icon:"el-icon-menu",size:"small"},on:{click:e.attrVisibleHandle}},[e._v("属性分组\n ")])],1),t("el-button-group",[e.checkStatus&&"Editing"!=e.crudLCStatus||!e.editOpenFlag?e._e():t("el-button",{attrs:{icon:"el-icon-check",plain:"",size:"small",type:"success"},on:{click:function(t){return t.preventDefault(),e.addsHandler.apply(null,arguments)}}},[e._v("保存\n ")]),t("el-button",{attrs:{icon:"el-icon-arrow-down",size:"small"},on:{click:e.orderHandle}},[e._v("预览排序")]),e.checkStatus&&"Editing"!=e.crudLCStatus||!e.editOpenFlag?e._e():t("el-button",{attrs:{icon:"el-icon-delete",size:"small"},on:{click:e.CrudRemove}},[e._v("删除\n ")]),t("el-button",{attrs:{icon:"el-icon-refresh-right",size:"small"},on:{click:e.reset}},[e._v("重置")])],1),t("el-button-group",[e.checkStatus&&"Editing"!=e.crudLCStatus||!e.editOpenFlag?e._e():t("el-button",{attrs:{icon:"el-icon-magic-stick",size:"small"},on:{click:e.injectBtn}},[e._v("分类注入\n ")]),e.checkStatus&&"Editing"!=e.crudLCStatus||!e.editOpenFlag?e._e():t("el-button",{attrs:{icon:"el-icon-film",size:"small"},on:{click:e.isShowHandler}},[e._v("组合规则\n ")]),e.checkStatus&&"Editing"!=e.crudLCStatus||!e.editOpenFlag?e._e():t("el-button",{attrs:{icon:"el-icon-c-scale-to-original",size:"small"},on:{click:e.enmuVisHandle}},[e._v("枚举注入\n ")]),e.checkStatus&&"Editing"!=e.crudLCStatus||!e.editOpenFlag?e._e():t("el-button",{attrs:{icon:"el-icon-coin",size:"small"},on:{click:e.CascadeHandle}},[e._v("级联属性\n ")])],1),t("el-button-group",[t("el-button",{attrs:{icon:"el-icon-share",size:"small"},on:{click:e.syncHandle}},[e._v("同步到其他模板")])],1),t("el-button-group",[t("el-button",{attrs:{icon:"el-icon-view",size:"small"},on:{click:e.applicationHandle}},[e._v("编码申请预览")])],1),t("el-button-group",[e.checkStatus&&"Editing"!=e.crudLCStatus||e.editOpenFlag||0!=e.attrEditVisible||0!=e.attrFlagChiledren?e._e():t("el-button",{attrs:{icon:"el-icon-view",plain:"",size:"small"},on:{click:e.editOpen}},[e._v("开启编辑\n ")]),e.checkStatus&&"Editing"!=e.crudLCStatus||!e.editOpenFlag?e._e():t("el-select",{attrs:{placeholder:"请选择",size:"small"},model:{value:e.selectvalue,callback:function(t){e.selectvalue=t},expression:"selectvalue"}},e._l(e.selectoptions,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1),e.checkStatus&&"Editing"!=e.crudLCStatus||!e.editOpenFlag?e._e():t("el-switch",{staticStyle:{margin:"6px 0 0 10px"},attrs:{"active-value":"true"},on:{change:e.batchSetFlag},model:{value:e.switchvalue,callback:function(t){e.switchvalue=t},expression:"switchvalue"}})],1)],1):e._e(),t("div",[t("FormTemplateDialog",{attrs:{codeClassifyOid:this.codeClassifyOid,templateOid:this.crudOid,type:e.add,visible:e.addvisible},on:{"update:visible":function(t){e.addvisible=t}}}),t("el-dialog",{attrs:{visible:e.CascadeVisible,"append-to-body":"",title:"请选择级联属性"},on:{"update:visible":function(t){e.CascadeVisible=t}}},[t("avue-crud",{ref:"crud",attrs:{data:e.CascadeData,option:e.CascadeOption},on:{"row-click":e.CascaderowClick},scopedSlots:e._u([{key:"radio",fn:function(a){var r=a.row;return[t("el-radio",{attrs:{label:r.$index},model:{value:e.selectRow,callback:function(t){e.selectRow=t},expression:"selectRow"}})]}}])}),t("div",{staticStyle:{display:"flex","padding-top":"18px","justify-content":"right"}},[t("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.CascadeAddHandle}},[e._v("确定")]),t("el-button",{staticStyle:{"margin-left":"10px"},attrs:{size:"small"},on:{click:e.casRemove}},[e._v("清除内容")]),t("el-button",{staticStyle:{"margin-left":"10px"},attrs:{size:"small"},on:{click:function(t){e.CascadeVisible=!1}}},[e._v("取消")])],1)],1),t("el-dialog",{attrs:{"before-close":this.enumBeforeClose,visible:e.enumVisible,"append-to-body":"",title:"枚举注入"},on:{"update:visible":function(t){e.enumVisible=t}}},[t("el-alert",{staticStyle:{"margin-bottom":"10px",display:"inline-block"},attrs:{closable:!1,title:"请新增后点击单元格输入枚举数据",type:"success"}}),t("div",[t("el-button",{attrs:{icon:"el-icon-plus",type:"primary"},on:{click:e.addRow}},[e._v("新增")]),t("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData},on:{"cell-click":e.handleCellClick,"selection-change":e.handleSelectionChange}},[t("el-table-column",{attrs:{label:"选项值",prop:"key"},scopedSlots:e._u([{key:"default",fn:function(a){var r=a.row;return[e.editingRow===r&&"key"==e.editShow?t("el-input",{on:{blur:e.saveRow},model:{value:r.key,callback:function(t){e.$set(r,"key",t)},expression:"row.key"}}):t("span",[e._v(e._s(r.key))])]}}])}),t("el-table-column",{attrs:{label:"选项中文标签",prop:"value"},scopedSlots:e._u([{key:"default",fn:function(a){var r=a.row;return[e.editingRow===r&&"value"==e.editShow?t("el-input",{on:{blur:e.saveRow},model:{value:r.value,callback:function(t){e.$set(r,"value",t)},expression:"row.value"}}):t("span",[e._v(e._s(r.value))])]}}])}),t("el-table-column",{attrs:{fixed:"right",label:"操作",width:"120"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-button",{attrs:{plain:"",size:"small",type:"text"},on:{click:e.enumDeleteRow}},[e._v("\n 移除\n ")])]}}])})],1),[t("div",{staticStyle:{display:"flex","justify-content":"right","margin-top":"15px"}},[t("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.enumAddHandle}},[e._v("保存")]),t("el-button",{attrs:{size:"small"},on:{click:e.enumCancell}},[e._v("取消")])],1)]],2)],1),t("el-dialog",{staticClass:"mydialog",staticStyle:{width:"1400px",left:"14vw",top:"10vh"},attrs:{visible:e.injectVisible,"append-to-body":"",title:"分类注入"},on:{"update:visible":function(t){e.injectVisible=t}}},[t("div",{staticClass:"injectBox"},[t("div",{staticStyle:{color:"#FF5722",margin:"1px 0 5px 20px"}},[e._v("分类层级关联说明:")]),t("div",{staticStyle:{color:"#01aaed",margin:"0 10px 0 45px","line-height":"20px"}},[e._v("1:主要是设置模板属性和分类的关系"),t("br"),e._v("2:如分类层级设置为2 "),t("br"),e._v("3:录入资源数据时,该属性对应的值根据层级关系去对应的分类里取\n "),t("br"),e._v("4:层级必须是大于0的整数值\n ")]),t("div",{staticStyle:{"padding-top":"15px","padding-left":"35px"}},[t("el-form",{ref:"injectForm",attrs:{"label-width":"80px"}},[t("el-form-item",{attrs:{label:"注入类型"}},[t("el-radio-group",{model:{value:e.injectOption.classifyInvokeAttr,callback:function(t){e.$set(e.injectOption,"classifyInvokeAttr",t)},expression:"injectOption.classifyInvokeAttr"}},[t("el-radio",{attrs:{label:"name"}},[e._v("分类名称")]),t("el-radio",{attrs:{label:"id"}},[e._v("分类代号")])],1)],1),t("el-form-item",{attrs:{label:"层级设置"}},[t("el-radio-group",{model:{value:e.injectOption.classifyInvokeLevel,callback:function(t){e.$set(e.injectOption,"classifyInvokeLevel",t)},expression:"injectOption.classifyInvokeLevel"}},[t("el-radio",{attrs:{label:"min"}},[e._v("最小层")]),t("el-radio",{attrs:{label:"max"}},[e._v("指定层")]),"max"==this.injectOption.classifyInvokeLevel?t("el-input-number",{attrs:{max:10,min:0,"controls-position":"right"},model:{value:e.injectOption.classifyNumber,callback:function(t){e.$set(e.injectOption,"classifyNumber",t)},expression:"injectOption.classifyNumber"}}):e._e()],1)],1),t("el-form-item",{attrs:{label:"可修改"}},[t("el-radio-group",{model:{value:e.injectOption.classifyInvokeEditFlag,callback:function(t){e.$set(e.injectOption,"classifyInvokeEditFlag",t)},expression:"injectOption.classifyInvokeEditFlag"}},[t("el-radio",{attrs:{label:"true"}},[e._v("是")]),t("el-radio",{attrs:{label:"false"}},[e._v("否")])],1)],1)],1)],1)]),t("div",{staticStyle:{display:"flex","justify-content":"flex-end"}},[t("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.injectAddHandle}},[e._v("确定")]),t("el-button",{attrs:{size:"small"},on:{click:e.injectHandleReset}},[e._v("清除内容")]),t("el-button",{attrs:{size:"small"},on:{click:e.injectRemove}},[e._v("取消")])],1)]),t("el-dialog",{staticStyle:{width:"800px",left:"30vw",top:"10vh"},attrs:{"before-close":e.attrClose,visible:e.attrVisible,"append-to-body":"",title:"输入分组的名称"},on:{"update:visible":function(t){e.attrVisible=t}}},[t("el-form",{ref:"form",attrs:{"label-width":"70px"}},[t("el-form-item",{attrs:{label:"属性分组"}},[t("el-input",{attrs:{autofocus:""},model:{value:e.attrModel,callback:function(t){e.attrModel=t},expression:"attrModel"}})],1),t("div",{staticStyle:{display:"flex","justify-content":"flex-end"}},[t("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.attrHandle}},[e._v("提交")]),t("el-button",{attrs:{size:"small"},on:{click:e.attrRemove}},[e._v("清空")])],1)],1)],1),t("el-dialog",{attrs:{visible:e.rulesVisible,"append-to-body":"",title:"属性验证规则"},on:{"update:visible":function(t){e.rulesVisible=t}}},[t("el-container",{staticStyle:{border:"1px solid #9e3333",padding:"10px"}},[t("el-aside",{staticStyle:{width:"330px"}},[t("div",{staticStyle:{display:"flex"}},[t("p",{staticStyle:{display:"inline-block",width:"160px"}},[e._v(" 正则表达式:")]),t("el-input",{staticStyle:{display:"inline-block"},attrs:{rows:6,placeholder:"请输入内容",type:"textarea"},model:{value:e.RulesForm.expressionText,callback:function(t){e.$set(e.RulesForm,"expressionText",t)},expression:"RulesForm.expressionText"}})],1),t("div",{staticStyle:{display:"flex","margin-top":"15px"}},[t("p",{staticStyle:{display:"inline-block",width:"160px"}},[e._v(" 测试内容:")]),t("el-input",{staticStyle:{display:"inline-block"},attrs:{rows:6,placeholder:"请输入内容",type:"textarea"},model:{value:e.RulesForm.TestContent,callback:function(t){e.$set(e.RulesForm,"TestContent",t)},expression:"RulesForm.TestContent"}})],1),t("div",{staticStyle:{display:"flex","margin-left":"113px","margin-top":"15px"}},[t("el-button",{attrs:{type:"mini"},on:{click:e.rulesExamine}},[e._v("检查")]),t("el-button",{attrs:{type:"mini"},on:{click:e.rulesremove}},[e._v("清除内容")]),t("el-button",{attrs:{type:"mini"},on:{click:e.rulesHandle}},[e._v("确定")])],1)]),t("el-main",{staticStyle:{padding:"10px","margin-left":"10px"}},[t("avue-crud",{ref:"rulsecrud",staticStyle:{height:"450px"},attrs:{data:e.rulesData,option:e.rulesOption},on:{"row-dblclick":e.handleRulesRowDBLClick}})],1)],1)],1),t("el-dialog",{attrs:{"before-close":e.escEdit,visible:e.attrEditVisible,"append-to-body":"",fullscreen:"true"},on:{"update:visible":function(t){e.attrEditVisible=t}}},[t("attrCrud",{attrs:{ProData:this.ProData,attrFlagChiledren:this.attrFlag,crudArrayFlag:this.crudArrayFlag,editOpenFlag:e.editOpenFlag,editStyleFlag:e.editStyleFlag},on:{editCloseChildren:e.editClose}})],1),t("formula-editor",{attrs:{componentRuleText:e.componentRuleText,systemVariableTableData:e.systemVariableTableData,thisSceneTableData:e.thisSceneTableData,visible:e.isShowformulaEdit},on:{"update:visible":function(t){e.isShowformulaEdit=t},updateFormulaContent:e.updataFormlaContent}}),t("el-dialog",{attrs:{visible:e.addVisible,"append-to-body":"",title:"从业务类型中选择属性"},on:{"update:visible":function(t){e.addVisible=t}}},[t("avue-crud",{ref:"AddOriginPlace",attrs:{data:e.businessData,option:e.businessOption},on:{"selection-change":e.businessSelect}},[t("template",{slot:"menuLeft"},[t("div",{staticStyle:{display:"flex"}},[t("el-select",{staticStyle:{width:"150px !important"},attrs:{placeholder:"请选择"},model:{value:e.SelectValue,callback:function(t){e.SelectValue=t},expression:"SelectValue"}},e._l(e.SelectOption,(function(e){return t("el-option",{key:e.value,staticStyle:{width:"150px"},attrs:{label:e.label,value:e.value}})})),1),t("el-input",{staticStyle:{width:"400px","margin-left":"20px"},model:{value:e.SelectFInd,callback:function(t){e.SelectFInd=t},expression:"SelectFInd"}}),t("el-button",{staticStyle:{"margin-left":"10px"},attrs:{size:"small"},on:{click:e.AddFindHandler}},[e._v("查询")])],1)])],2),t("div",{staticStyle:{display:"flex","justify-content":"flex-end","margin-top":"15px"}},[t("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.busineAddHandle}},[e._v("保存")]),t("el-button",{attrs:{size:"small",type:"primary"},on:{click:function(t){e.addVisible=!1}}},[e._v("取消")])],1)],1),t("refer-config-dialog",{attrs:{display:e.referConfigVisble,referConfigOption:e.referConfigOption},on:{setReferConfigValue:e.setReferConfigValue}})],1),this.crudArrayFlag?t("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"referAttrCrud",staticStyle:{width:"100%"},attrs:{data:e.ProData,height:this.editStyleFlag?800:343},on:{select:e.selectHandle,"cell-click":e.handleCellClicks,"selection-change":e.selectionChange,"row-click":e.rowClick}},[t("el-table-column",{attrs:{fixed:"",type:"selection",width:"55"}}),e._l(this.option.column,(function(a,r){return"referName"!=a.edit?t("el-table-column",{key:a.id,attrs:{fixed:a.fixed,formatter:e.formAttr,label:a.label,prop:a.prop,"show-overflow-tooltip":!0,sortable:a.sortable,width:a.width||(a.label.length>=4?"160":3==a.label.length?"130":"100"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(i){var n=i.row;return[e.editingRows!==n||e.editShows!=a.prop||"codeDateFormat"==a.prop||"text"!=a.edit&&"refer"!=a.edit?e._e():t("el-input",{directives:[{name:"show",rawName:"v-show",value:!e.AddCellFlag,expression:"!AddCellFlag"}],ref:"input"+n.oid,refInFor:!0,on:{blur:function(t){return e.saveRows(n)}},model:{value:n[a.prop],callback:function(t){e.$set(n,a.prop,t)},expression:"row[item.prop]"}}),e.editingRows===n&&e.editShows==a.prop&&"number"==a.edit?t("el-input-number",{style:{width:a.width-10+"px"},attrs:{"controls-position":"right",size:"small"},on:{blur:e.saveRows},model:{value:n[a.prop],callback:function(t){e.$set(n,a.prop,t)},expression:"row[item.prop]"}}):e._e(),e.editingRows===n&&e.editShows==a.prop&&"select"==a.edit?t("el-select",{attrs:{slot:"prepend","allow-create":"","default-first-option":"",filterable:""},on:{blur:function(t){return e.selectChangeHandler(a.editConfig,r)}},slot:"prepend",model:{value:n[a.prop],callback:function(t){e.$set(n,a.prop,t)},expression:"row[item.prop]"}},e._l(a.data,(function(e){return t("el-option",{key:e.dictValue,attrs:{label:e.dictValue,value:e.dictValue}})})),1):e._e(),"switch"===a.edit?t("el-switch",{attrs:{disabled:!e.editOpenFlag,"active-value":"true","inactive-value":"false"},model:{value:n[a.prop],callback:function(t){e.$set(n,a.prop,t)},expression:"row[item.prop]"}}):t("span",[e._v(e._s(n[a.prop]))])]}}],null,!0)}):e._e()})),t("el-table-column",{attrs:{fixed:"right",label:"操作",width:"70"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-button",{attrs:{size:"small",type:"text"},nativeOn:{click:function(t){return t.preventDefault(),e.CrudRowDel(a.$index)}}},[e._v("\n 移除\n ")])]}}],null,!1,455070573)})],2):e._e()],1)},i=[],n=(a("8e6e"),a("456d"),a("a481"),a("3b2b"),a("6b54"),a("55dd"),a("7f7f"),a("ade3")),o=(a("ac6a"),a("8e19"));a("276d"),a("d9a3"),a("8bbf");function s(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function l(e){for(var t=1;t=1?this.crudArrayFlag=!0:this.crudArrayFlag=!1)},deep:!0,immediate:!0},Formlist:{handler:function(e,t){0!==e.length||(this.crudArrayFlag=!1)}},ProData:{handler:function(e,t){var a=this;e&&(this.loading=!0,setTimeout((function(){a.loading=!1}),1e3))}},"injectOption.classifyInvokeAttr":function(e){return"name"===e?this.injectOption.classifyInvokeAttrName="分类名称":"id"===e&&(this.injectOption.classifyInvokeAttrName="分类代号"),""},editOpenFlag:{handler:function(e,t){console.log("editOpenFlag",e)},deep:!0,immediate:!0}},data:function(){return{AddCellFlag:!1,editStyleFlag:!1,loading:!1,referConfigText:"",referConfigVisble:!1,referConfigOption:{referConfig:""},screenWidth:document.documentElement.clientWidth,CurrentCell:"",SelectValue:"",SelectFInd:"",SelectOption:[{value:"name",label:"属性中文名称"},{value:"id",label:"属性英文名称"}],referVisible:!1,crudArrayFlag:!1,editingRows:null,editShows:"",attrFlag:!1,referObject:{},applicationoption:{column:[]},applicationData:[],busineSelectList:[],busineAddList:{},attrSelectList:[],attrOid:"",thisSceneTableData:[{formula:"lcstatus",desc:"状态"},{formula:"name",desc:"集团码"},{formula:"materialname",desc:"部门名称"},{formula:"parentcode",desc:"上级部门编号"},{formula:"parentname",desc:"上级部门名称"},{formula:"description",desc:"描述"}],systemVariableTableData:[{formula:"#CURRENTUSER.OID#",desc:"当前用户的主键"},{formula:"#CURRENTUSER.ID",desc:"当前用户的账户"},{formula:"#CURRENTTIME#",desc:"当前时间"},{formula:"#CURRENTDATE#",desc:"当前日期"},{formula:"#CURRENTDATETIME#",desc:"当前日期时间"},{formula:"#CURRENTUSER_NAME#",desc:"当前用户的姓名"},{formula:"#CURRENTUSER.SECRETARIAT#",desc:"当前用户密级"},{formula:"#CURRENTUSER.IPSECRET#",desc:"当前用户的IP密级"},{formula:"#CURRENTUSER.BUSINESSUNIT#",desc:"当前用户所属业务单元"},{formula:"#CURRENTUSER.BUSINESSUNITNAME#",desc:"当前用户所属业务单元名称"},{formula:"#CURRENTUSER.GROUPOID#",desc:"当前用户的部门主键"},{formula:"#CURRENTUSER.GROUPNAME#",desc:"当前用户所属部门名称"},{formula:"#CURRENTUSER.EMAIL#",desc:"当前用户邮件地址"},{formula:"#CURRENTUSER.ROLENAME#",desc:"当前用户所属角色名称 "}],CascadeVisible:!1,attrEditVisible:!1,isShowformulaEdit:!1,selectRow:"",selectRowArr:[],CascadeData:[],CascadeOption:{menu:!1,addBtn:!1,header:!1,align:"center",menuAlign:"center",column:[{label:"",prop:"radio",width:60,hide:!1},{label:"属性英文编号",prop:"id"},{label:"属性中文名称",prop:"name"},{label:"属性分组",prop:"attributeGroup"},{label:"类型",prop:"attributeDataTypeText"},{label:"列表宽度",prop:"attrTableWidth"},{label:"关键属性",prop:"keyAttrFlag",type:"text",dicData:[{label:"是",value:"true"},{label:"否",value:"false"}]},{label:"查询属性",prop:"queryAttrFlag",type:"text",dicData:[{label:"是",value:"true"},{label:"否",value:"false"}]},{label:"高级查询属性",prop:"seniorQueryAttrFlag",type:"text",dicData:[{label:"是",value:"true"},{label:"否",value:"false"}]},{label:"相似查重属性",prop:"sameRepeatAttrFlag",type:"text",dicData:[{label:"是",value:"true"},{label:"否",value:"false"}]},{label:"一维码",prop:"OneDimensional"},{label:"二维码",prop:"TwoDimensional"},{label:"必输",prop:"requireFlag",type:"text",dicData:[{label:"是",value:"true"},{label:"否",value:"false"}]},{label:"表单显示",prop:"formDisplayFlag",type:"text",dicData:[{label:"是",value:"true"},{label:"否",value:"false"}]},{label:"列表显示",prop:"tableDisplayFlag",type:"text",dicData:[{label:"是",value:"true"},{label:"否",value:"false"}]},{label:"只读",prop:"readonlyFlag"},{label:"列表排序",prop:"sortAttrFlag",type:"text",dicData:[{label:"是",value:"true"},{label:"否",value:"false"}]},{label:"多行文本",prop:"textAreaFlag",type:"text",dicData:[{label:"是",value:"true"},{label:"否",value:"false"}]},{label:"默认值",prop:"defaultValue"},{label:"前缀",prop:"prefixValue"},{label:"后缀",prop:"suffixValue"},{label:"组合规则",prop:"componentRule"},{label:"验证规则",prop:"verifyRule"},{label:"时间格式",prop:"codeDateFormat"},{label:"分类注入",prop:"classifyInvokeLevel"},{label:"枚举注入",prop:"enumString"},{label:"级联属性",prop:"parentCode"},{label:"参照配置",prop:"referConfig"},{label:"级联查询属性",prop:"parentQueryAttr"},{label:"选择库标识",prop:"libraryIdentification"},{label:"填写提示",prop:"explain"},{label:"表单显示样式",prop:"formDisplayStyle"},{label:"表格显示样式",prop:"tableDisplayStyle"},{label:"表单超链接",prop:"formHref"},{label:"表格超链接",prop:"tableHref"},{label:"表格显示js",prop:"tableDisplayJs"},{label:"长度",prop:"controlLength"},{label:"小数精度",prop:"precisionLength"},{label:"取值范围",prop:"valueArea"}]},tableData:[],editingRow:null,editShow:"",enumVisible:!1,enumRow:[],injectVisible:!1,addVisible:!1,rulesVisible:!1,attrVisible:!1,attrModel:"",attrRow:{},addvisible:!1,injectOption:{classifyInvokeAttrName:"分类名称",classifyInvokeAttr:"name",classifyInvokeEditFlag:"true",classifyInvokeLevel:"min",classifyNumber:0},RulesForm:{expressionText:"",TestContent:"",ruleRowBds:""},rulesOption:{border:!0,menu:!1,addBtn:!1,refreshBtn:!1,columnBtn:!1,header:!1,toolBtn:[],column:[{label:"表达式",prop:"bds"},{label:"使用说明",prop:"description"}]},rulesData:[{bds:"[ !-⦅]+",description:"全角符号"},{bds:"[^ !-⦅]+",description:"半角符号"},{bds:"(([-|+]{1}[\\d]+℃~[-|+]{1}[\\d]+℃)|无)",description:"温度范围,示例 -55℃~+125℃"},{bds:"[\\d]{15}|[\\d]{18}|[\\d]{17}X",description:"身份证号码(15或18位数字、17位数字X) "},{bds:"男|女|男性|女性",description:"中文性别"},{bds:"[\\d]+",description:"数字"},{bds:"[a-zA-Z]+",description:"字母"},{bds:"[A-Z]+",description:"大写字母"},{bds:"[a-z]+",description:"小写字母"},{bds:"[0-9a-zA-Z]+",description:"字母、数字组合"},{bds:"((0[\\d]{3}-[\\d]{7})|(0[\\d]{2}-[\\d]{8})|([\\d]{7,8}))",description:"电话号码"},{bds:"-?[1-9]\\d*",description:"整数"},{bds:"[1-9]\\d*",description:"正整数"},{bds:"-[1-9]\\d*",description:"负整数"},{bds:"-[1-9]\\d*|0",description:"非正整数(负整数+0)"},{bds:"[1-9]\\d*|0",description:"非负整数(正整数+0)"},{bds:"-?([1-9]\\d*\\.\\d*|0\\.\\d*[1-9]\\d*|0?\\.0+|0)",description:"浮点数"},{bds:"[1-9]\\d*\\.\\d*|0\\.\\d*[1-9]\\d*",description:"正浮点数"},{bds:"-[1-9]\\d*\\.\\d*|0\\.\\d*[1-9]\\d*",description:"负浮点数"},{bds:"[(-([1-9]\\d*\\.\\d*|0\\.\\d*[1-9]\\d*))|0?\\.0+|0",description:"非正浮点数(负浮点数 + 0)"},{bds:"[1-9]\\d*\\.\\d*|0\\.\\d*[1-9]\\d*|0?\\.0+|0",description:"非负浮点数(正浮点数 + 0)"},{bds:"x",description:"字符 x"},{bds:"\\\\",description:"反斜线字符"},{bds:"\\0n",description:"带有八进制值 0 的字符 n (0 <= n <= 7)"},{bds:"\\0nn",description:"带有八进制值 0 的字符 nn (0 <= n <= 7)"},{bds:"\\0mnn",description:"带有八进制值 0 的字符 mnn(0 <= m <= 3、0 <= n <= 7)"},{bds:"\\xhh",description:"带有十六进制值 0x 的字符 hh"},{bds:"\\uhhhh",description:"带有十六进制值 0x 的字符 hhhh"},{bds:"\\t",description:"制表符 ('\t')"},{bds:"\\n",description:"新行(换行)符 ('\n')"},{bds:"\\r",description:"回车符 ('\r')"},{bds:"\\f",description:"换页符 ('\f')"},{bds:"\\a",description:"报警 (bell) 符 ('')"},{bds:"\\e",description:"转义符 ('')"},{bds:"\\cx",description:"对应于 x 的控制符"},{bds:"[abc]",description:"a、b 或 c(简单类)"},{bds:"[^abc]",description:"任何字符,除了 a、b 或 c(否定)"},{bds:"[a-zA-Z]",description:"a 到 z 或 A 到 Z,两头的字母包括在内(范围)"},{bds:"[a-d[m-p]]",description:"a 到 d 或 m 到 p:[a-dm-p](并集)"},{bds:"[a-z&&[def]]",description:"\td、e 或 f(交集)"},{bds:"[a-z&&[^bc]]",description:"a 到 z,除了 b 和 c:[ad-z](减去)"},{bds:"[a-z&&[^m-p]]",description:"a 到 z,而非 m 到 p:[a-lq-z](减去)"},{bds:".",description:"任何字符(与行结束符可能匹配也可能不匹配)"},{bds:"\\d",description:"数字:[0-9]"},{bds:"\\D",description:"非数字: [^0-9]"},{bds:"\\s",description:"空白字符:[ \\t\\n\v\\f\\r]"},{bds:"\\S",description:"非空白字符:[^\\s]"},{bds:"\\w",description:"单词字符:[a-zA-Z_0-9]"},{bds:"\\W",description:"非单词字符:[^\\w]"},{bds:"\\p{Lower}",description:"小写字母字符:[a-z]"},{bds:"\\p{Upper}",description:"大写字母字符:[A-Z]"},{bds:"\\p{ASCII}",description:"所有 ASCII:[\0-]"},{bds:"\\p{Alpha}",description:"字母字符:[\\p{Lower}\\p{Upper}]"},{bds:"\\p{Digit}",description:"十进制数字:[0-9]"},{bds:"\\p{Alnum}",description:"字母数字字符:[\\p{Alpha}\\p{Digit}]"},{bds:"\\p{Punct}",description:"标点符号:!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~"},{bds:"\\p{Graph}",description:"可见字符:[\\p{Alnum}\\p{Punct}]"},{bds:"\\p{Print}",description:"可打印字符:[\\p{Graph} ]"},{bds:"\\p{Blank}",description:"空格或制表符:[ \\t]"},{bds:"\\p{Cntrl}",description:"控制字符:[\0-]"},{bds:"\\p{XDigit}",description:"十六进制数字:[0-9a-fA-F]"},{bds:"\\p{Space}",description:"空白字符:[ \\t\\n\v\\f\\r]"},{bds:"\\p{javaLowerCase}",description:"等效于 java.lang.Character.isLowerCase()"},{bds:"\\p{javaUpperCase}",description:"等效于 java.lang.Character.isUpperCase()"},{bds:"\\p{javaWhitespace}",description:"等效于 java.lang.Character.isWhitespace()"},{bds:"\\p{javaMirrored}",description:"等效于 java.lang.Character.isMirrored()"},{bds:"\\p{InGreek}",description:"Greek 块(简单块)中的字符"},{bds:"\\p{Lu}",description:"大写字母(简单类别)"},{bds:"\\p{Sc}",description:"货币符号"},{bds:"\\P{InGreek}",description:"所有字符,Greek 块中的除外(否定)"},{bds:"[\\p{L}&&[^\\p{Lu}]]",description:"所有字母,大写字母除外(减去)"},{bds:"^",description:"行的开头"},{bds:"$",description:"行的结尾"},{bds:"\\b",description:"单词边界"},{bds:"\\B",description:"非单词边界"},{bds:"\\A",description:"输入的开头"},{bds:"\\G",description:"上一个匹配的结尾"},{bds:"\\Z",description:"输入的结尾,仅用于最后的结束符(如果有的话)"},{bds:"\\z",description:"输入的结尾"},{bds:"X ?",description:"X,一次或一次也没有"},{bds:"X *",description:"X,零次或多次"},{bds:"X +",description:"X,一次或多次"},{bds:"X {n }",description:"X,恰好 n 次"},{bds:"X {n ,}",description:"X,至少 n 次"},{bds:"X {n ,m }",description:"X,至少 n 次,但是不超过 m 次"},{bds:"X ??",description:"X,一次或一次也没有"},{bds:"X *?",description:"X,零次或多次"},{bds:"X +?",description:"X,一次或多次"},{bds:"X {n }?",description:"X,恰好 n 次"},{bds:"X {n ,}?",description:"X,至少 n 次"},{bds:"X {n ,m }?",description:"X,至少 n 次,但是不超过 m 次"},{bds:"X ?+",description:"X,一次或一次也没有"},{bds:"X *+",description:"X,零次或多次"},{bds:"X ++",description:"X,一次或多次"},{bds:"X {n }+",description:"X,恰好 n 次"},{bds:"X {n ,}+",description:"X,至少 n 次"},{bds:"X {n ,m }+",description:"X,至少 n 次,但是不超过 m 次"},{bds:"XY",description:"X 后跟 Y"},{bds:"X |Y",description:"X 或 Y"},{bds:"(X )",description:"X,作为捕获组"},{bds:"\\n",description:"任何匹配的 nth 捕获组"},{bds:"\\",description:"Nothing,但是引用以下字符"},{bds:"\\Q",description:"Nothing,但是引用所有字符,直到 \\E"},{bds:"\\E",description:"Nothing,但是结束从 \\Q 开始的引用"},{bds:"(?:X )",description:"X,作为非捕获组"},{bds:"(?idmsux-idmsux)",description:"Nothing,但是将匹配标志由 on 转为 off"},{bds:"(?idmsux-idmsux:X )",description:"X,作为带有给定标志 on - off 的非捕获组"},{bds:"(?=X )",description:"X,通过零宽度的正 lookahead"},{bds:"(?!X )",description:"X,通过零宽度的负 lookahead"},{bds:"(?<=X )",description:"X,通过零宽度的正 lookbehind"},{bds:"(?X )",description:"X,作为独立的非捕获组"}],businessData:[],businessOption:{indexClassName:"序号",indexLabelClassName:"序号",index:!0,border:!0,addBtn:!1,menu:!1,selection:!0,height:500,column:[{label:"属性英文名称",prop:"id",width:100},{label:"属性中文名称",prop:"name",width:100},{label:"长度",prop:"attributeLength"},{label:"数据类型",prop:"attrDataType",formatter:function(e,t){var a={VTBoolean:"布尔型",VTClob:"长文本",VTDate:"日期",VTDateTime:"日期时间",VTTime:"时间",VTLong:"长整型",VTDouble:"金额/双精度",VTInteger:"整形",VTFilePath:"文件",VTString:"字符串"};return a[e.attrDataType]}},{label:"可空",prop:"nullableFlag",formatter:function(e,t){return"true"==e.nullableFlag||"1"==e.nullableFlag?"是":"否"}},{label:"默认值",prop:"defaultValue"},{label:"小数精度",prop:"precisionLength"},{label:"小数刻度",prop:"scaleLength"},{label:"取值范围",prop:"range"},{label:"参照",prop:"referFlag",formatter:function(e){return e.referFlag?e.referBtmTypeId:""}},{label:"枚举",prop:"enumFlag",formatter:function(e){return e.enumFlag?e.enumId:""}}]},data:[],rowList:[],rowCellList:[],List:[],option:{index:!1,border:!0,editBtn:!1,selection:!0,labelWidth:110,cellBtn:!0,cancelBtn:!1,addBtn:!1,width:300,defaultSort:{prop:"name",order:"descending"},column:[{prop:"orderNum",label:"排序号",sortable:!0,edit:"number",width:90,fixed:!0},{label:"属性英文编号",prop:"id",fixed:!0,cell:!1,labelWidth:110,width:125,sortable:!1},{label:"属性中文名称",prop:"name",fixed:!0,cell:!1,width:145,edit:"text",sortable:!0},{label:"属性分组",prop:"attributeGroup",cell:!1,sortable:!0,edit:"text",width:125},{label:"类型",prop:"attributeDataTypeText",cell:!1,sortable:!0},{label:"列表宽度",prop:"attrTableWidth",cell:!1,sortable:!0,width:105,edit:"number"},{label:"关键属性",prop:"keyAttrFlag",cell:!1,edit:"switch"},{label:"查询属性",prop:"queryAttrFlag",cell:!1,edit:"switch"},{label:"高级查询属性",prop:"seniorQueryAttrFlag",width:110,cell:!1,edit:"switch"},{label:"相似查重属性",prop:"sameRepeatAttrFlag",width:110,cell:!1,edit:"switch"},{label:"必输",prop:"requireFlag",cell:!1,edit:"switch"},{label:"表单显示",prop:"formDisplayFlag",cell:!1,edit:"switch"},{label:"列表显示",prop:"tableDisplayFlag",cell:!1,edit:"switch"},{label:"只读",prop:"readonlyFlag",cell:!1,edit:"switch"},{label:"列表排序",prop:"sortAttrFlag",cell:!1,edit:"switch"},{label:"多行文本",prop:"textareaFlag",cell:!1,edit:"switch"},{label:"默认值",prop:"defaultValue",sortable:!0,cell:!1,edit:"text",width:95},{label:"前缀",prop:"prefixValue",sortable:!0,edit:"select",width:110,editConfig:{extraParams:{code:"codeclstempattr",dictKey:"prefix"}},cell:!1},{label:"后缀",prop:"suffixValue",sortable:!0,edit:"select",width:110,editConfig:{extraParams:{code:"codeclstempattr",dictKey:"suffix"}},cell:!1},{label:"组合规则",prop:"componentRule",sortable:!0,cell:!1,edit:"refer",width:105},{label:"验证规则",prop:"verifyRule",sortable:!0,cell:!1,edit:"refer",width:105},{label:"时间格式",prop:"codeDateFormat",sortable:!0,width:135,edit:"select",editConfig:{extraParams:{code:"codeclstempattr",dictKey:"dateFormates"}},cell:!1},{label:"分类注入",prop:"classifyInvokeText",cell:!1,edit:"refer"},{label:"枚举注入",prop:"enumString",cell:!1,edit:"refer"},{label:"级联属性",prop:"parentCode",cell:!1,edit:"refer"},{label:"参照配置",prop:"referConfig",cell:!1,edit:"refer"},{label:"级联查询属性",prop:"parentQueryAttr",width:105,cell:!1,edit:"text"},{label:"选择库标识",prop:"libraryIdentification",width:105,cell:!1,edit:"text"},{label:"填写提示",prop:"explain",cell:!1,edit:"text"},{label:"表单显示样式",prop:"formDisplayStyle",width:105,cell:!1,edit:"text"},{label:"表格显示样式",prop:"tableDisplayStyle",width:105,cell:!1,edit:"text"},{label:"表单超链接",prop:"formHref",width:95,cell:!1,edit:"text"},{label:"表格超链接",prop:"tableHref",width:95,cell:!1,edit:"text"},{label:"表格显示js",prop:"tableDisplayJs",width:95,cell:!1,edit:"text"},{label:"长度",prop:"controlLength",cell:!1},{label:"小数精度",prop:"precisionLength",cell:!1},{label:"取值范围",prop:"valueArea",sortable:!0,cell:!1,width:105,edit:"text"}],List:[]},vciFieldTypeMap:{VTBoolean:"布尔型",VTClob:"长文本",VTDate:"日期",VTDateTime:"日期时间",VTTime:"时间",VTLong:"长整型",VTDouble:"金额/双精度",VTInteger:"整形",VTFilePath:"文件",VTString:"字符串"},codeDataFlag:!1,componentRuleText:"",selectoptions:[{value:"keyAttrFlag",label:"关键属性"},{value:"queryAttrFlag",label:"查询属性"},{value:"seniorQueryAttrFlag",label:"高级查询属性"},{value:"sameRepeatAttrFlag",label:"相似查重属性"},{value:"barcodeFlag",label:"一维码"},{value:"qrcodeFlag",label:"二维码"},{value:"requireFlag",label:"必输"},{value:"formDisplayFlag",label:"表单显示"},{value:"tableDisplayFlag",label:"列表显示"},{value:"readonlyFlag",label:"只读"},{value:"sortAttrFlag",label:"列表排序"},{value:"textareaFlag",label:"多行文本"},{value:"imageFlag",label:"预览图"}],selectvalue:"keyAttrFlag",switchvalue:"false"}},computed:{attrOids:function(){var e=[];return this.attrSelectList.forEach((function(t){e.push(t.oid)})),e.join(",")},busineOids:function(){var e=[];return this.busineSelectList.forEach((function(t){e.push(t.oid)})),e.join(",")}},mounted:function(){},created:function(){var e=this;this.option.column.forEach((function(t,a){"select"==t.edit&&e.selectChangeHandler(t.editConfig,a)}))},methods:{AddFindHandler:function(){if("id"==this.SelectValue){var e={"conditionMap[id]":this.SelectFInd};this.BuineAttrByBtm(e),this.SelectValue="",this.SelectFInd=""}else if("name"==this.SelectValue){var t={"conditionMap[name]":this.SelectFInd};this.BuineAttrByBtm(t),this.SelectValue="",this.SelectFInd=""}},echoReferConfig:function(e){this.referObject=e,this.$set(this.CurrentCell,"referConfig",JSON.stringify(e))},selectChangeHandler:function(e,t){var a=this;Object(o["listByFlag"])(e.extraParams).then((function(e){a.option.column[t].data=e.data.data}))},attrVisibleHandle:function(){this.attrSelectList<1?this.$message.warning("请选择模板属性"):this.attrVisible=!0},attrHandle:function(){var e=this;this.attrSelectList.forEach((function(t){t.attributeGroup=e.attrModel})),this.CurrentCell?this.$set(this.CurrentCell,"attributeGroup",this.attrModel):this.$set(this.attrSelectList[0],"attributeGroup",this.attrModel),this.attrClose()},attrRemove:function(){this.attrModel=""},attrClose:function(){this.attrModel="",this.attrVisible=!1},CrudRend:function(){var e=this;""!=this.crudOid&&Object(o["gridCodeClassifyTemplateAttr"])({"conditionMap[classifyTemplateOid]":this.crudOid,limit:-1}).then((function(t){e.loading=!0,setTimeout((function(){e.ProData=t.data.data,e.loading=!1}),1e3)})).catch((function(t){e.$message.error(t)}))},busineAddHandle:function(){var e=this;if(0==this.busineSelectList.length)return this.$message.warning("请选择属性集"),!1;var t=this.ProData.length;this.busineSelectList.forEach((function(a){var r=!1;e.ProData.forEach((function(e){if(a.id==e.id)return r=!0,!1})),r||(a.oid="",e.busineAddList=Object.assign(a,{orderNum:++t,attributeDataType:a.attrDataType,attributeDataTypeText:e.vciFieldTypeMap[a.attrDataType],controlLength:a.attributeLength,valueArea:a.range,referbtmid:a.referBtmTypeId,referbtmname:a.referBtmTypeName,referConfig:"",enumid:a.enumId,precisionLength:(a.precisionLength?a.precisionLength:"")+(a.scaleLength?"("+a.scaleLength+")":""),classifyTemplateOid:e.crudOid,classifytemplateoid:e.crudOid,formDisplayFlag:"true",tableDisplayFlag:"true",sortAttrFlag:"false",queryAttrFlag:"true",seniorQueryAttrFlag:"true",attrTableWidth:120,ts:""}),e.ProData.push(JSON.parse(JSON.stringify(e.busineAddList))))})),this.addVisible=!1},businessSelect:function(e,t){this.busineSelectList=e},busineHandle:function(){var e=this;this.addVisible=!0,this.busineSelectList=[],this.busineAddList=[],this.BuineAttrByBtm(),this.$nextTick((function(){e.$refs.AddOriginPlace.doLayout()}))},BuineAttrByBtm:function(e){var t=this;Object(o["AttrByBtm"])(l({"conditionMap[oid]":this.crudOid},e)).then((function(e){t.businessData=e.data.data}))},CascadeHandle:function(){var e=this;this.attrSelectList.length>1?this.$message.warning("只能选择一条模板属性"):this.attrSelectList.length<1?this.$message.warning("请选择一条模板属性"):1===this.attrSelectList.length&&(this.CascadeVisible=!0,Object(o["gridCodeClassifyTemplateAttr"])({"conditionMap[classifyTemplateOid]":this.Formlist[0].oid,"conditionMap[oid_notequal]":this.attrOid}).then((function(t){e.CascadeData=t.data.data})))},CascadeAddHandle:function(){var e="";e=this.selectRowArr.id+this.selectRowArr.name,this.CurrentCell?this.$set(this.CurrentCell,"parentCode",e):this.$set(this.attrSelectList[0],"parentCode",e),this.CascadeVisible=!1},casRemove:function(){this.selectRow="",this.$set(this.CurrentCell,"parentCode",this.selectRow),this.CascadeVisible=!1},CascaderowClick:function(e){this.selectRow=e.$index,this.selectRowArr=e},orderHandle:function(){this.$refs.referAttrCrud.sort("orderNum")},selectHandle:function(e,t){this.attrOid=t.oid,this.attrRow=t},selectionChange:function(e){this.attrSelectList=e},rowClick:function(e){this.$refs.referAttrCrud.clearSelection(),this.attrSelectList=[e],this.$refs.referAttrCrud.setCurrentRow(e),this.$refs.referAttrCrud.toggleRowSelection(e),this.attrOid=e.oid,this.attrRow=e},addsHandler:function(e){var t=this;this.$refs.referAttrCrud.sort("orderNum");var a=!0;if(this.ProData.forEach((function(e,r){if(e.requireFlag&&"true"==e.requireFlag.toString()&&e.readOnlyFlag&&"true"==e.readOnlyFlag.toString())return t.$message.warning(e.name+"("+e.id+")必输的属性不能是只读"),void(a=!1);var i=0;return e.componentRule&&i++,(e.enumString||e.enumId)&&i++,(e.referConfig||e.referBtmId)&&i++,e.codeDateFormat&&i++,e.classifyInvokeLevel&&"none"!=e.classifyInvokeLevel&&i++,i>1&&a?(t.$message({showClose:!0,message:e.name+"("+e.id+") 属性只能是组合规则,枚举,参照,时间格式,分类注入中的一种",type:"warning"}),void(a=!1)):void 0})),a){var r=function(){Object(o["batchAddSave"])(JSON.parse(JSON.stringify(t.ProData))).then((function(e){t.$message.success("保存成功"),t.editOpenFlag=!1,t.$emit("editCloseChildren"),t.AddCellFlag=!0})).catch((function(){t.$message.warning("保存失败,请查看控制台输出!")}))};r()}},handleCellClicks:function(e,t){var a=this;if(this.editOpenFlag)if(this.editingRows=e,this.editShows=t.property,this.rowOid=e.oid,this.CurrentCell=e,this.$nextTick((function(){var t=a.$refs["input"+e.oid],r=t&&t.length>0?t[0].$el:null;r&&r.focus()})),"referConfig"==t.property)this.referConfigVisble=!0,this.referConfigOption={referConfig:this.CurrentCell.referConfig||""},""==this.CurrentCell.referConfig&&(this.referConfigOption={referConfig:""});else if("classifyInvokeText"==t.property)this.injectVisible=!0,""!=this.CurrentCell.classifyInvokeAttr&&(this.injectOption={classifyInvokeAttr:this.CurrentCell.classifyInvokeAttr,classifyInvokeAttrName:this.CurrentCell.classifyInvokeAttrName,classifyInvokeEditFlag:this.CurrentCell.classifyInvokeEditFlag,classifyInvokeLevel:"min"==this.CurrentCell.classifyInvokeLevel?"min":"max",classifyNumber:"min"==this.CurrentCell.classifyInvokeLevel?"":this.CurrentCell.classifyInvokeLevel});else if("componentRule"==t.property)this.CurrentCell,this.isShowformulaEdit=!0;else if("enumString"==t.property){if(this.enumVisible=!0,this.tableData=[],""!=this.CurrentCell.enumString)return void(this.tableData=JSON.parse(this.CurrentCell.enumString))}else"parentCode"==t.property?(Object(o["gridCodeClassifyTemplateAttr"])({"conditionMap[classifyTemplateOid]":this.Formlist[0].oid,"conditionMap[oid_notequal]":this.CurrentCell.oid,limit:-1}).then((function(e){a.CascadeData=e.data.data})),this.CascadeVisible=!0):"verifyRule"==t.property?(this.RulesForm.expressionTextt=this.CurrentCell.verifyRule,this.rulesVisible=!0):"attributeGroup"==t.property&&(this.attrVisible=!0,""!==this.CurrentCell.attributeGroup&&(this.attrModel=this.CurrentCell.attributeGroup))},saveRows:function(){this.editingRows=null,this.editShows=null},addRow:function(){this.tableData.push(JSON.parse(JSON.stringify({key:"",value:""})))},handleCellClick:function(e,t){this.editingRow=e,this.editShow=t.property},enumDeleteRow:function(e){this.tableData.splice(e.$index,1)},enmuVisHandle:function(){if(this.attrSelectList.length>1)this.$message.warning("只能选择一条模板属性");else if(this.attrSelectList<1)this.$message.warning("请选择一条模板属性");else if(1===this.attrSelectList.length&&(this.enumVisible=!0,""!=this.attrSelectList[0].enumString))return void(this.tableData=JSON.parse(this.attrSelectList[0].enumString))},enumBeforeClose:function(e){this.tableData=[],e()},enumCancell:function(){this.tableData=[],this.enumVisible=!1},handleSelectionChange:function(e){this.enumRow=JSON.parse(JSON.stringify(e))},enumAddHandle:function(){var e=this;if(this.tableData.length>=1){var t=!1;this.tableData.forEach((function(a,r){return""===a.key?(e.$message.warning("第".concat(r+1,"行的选项值不能为空")),void(t=!0)):""===a.value?(e.$message.warning("第".concat(r+1,"行的选项中文标签不能为空")),void(t=!0)):void 0})),t||(this.CurrentCell?(this.$set(this.CurrentCell,"enumString",JSON.stringify(this.tableData)),this.enumVisible=!1):(this.$set(this.attrSelectList[0],"enumString",JSON.stringify(this.tableData)),this.tableData=[],this.enumVisible=!1))}else this.$message.warning("请添加枚举注入数据!")},saveRow:function(){this.editingRow=null},ruleAddHandler:function(){this.attrSelectList<1?this.$message.warning("请选择模板属性"):this.rulesVisible=!0},handleRulesRowDBLClick:function(e){this.ruleRowBds=e.bds,this.RulesForm.expressionText=e.bds},rulesremove:function(){this.RulesForm.expressionText="",this.RulesForm.TestContent="",this.$set(this.CurrentCell,"verifyRule",""),this.rulesVisible=!1},rulesHandle:function(){var e=this;this.CurrentCell?(this.$set(this.CurrentCell,"verifyRule",this.RulesForm.expressionText),this.AddCellFlag=!this.AddCellFlag):(this.attrSelectList.forEach((function(t){e.$set(t,"verifyRule",e.RulesForm.expressionText)})),this.rulesremove()),this.rulesVisible=!1},rulesExamine:function(){var e=new RegExp(this.rulesData.ruleRowBds);e.test(this.RulesForm.TestContent)&&this.$message.success("校验成功")},injectBtn:function(){this.attrSelectList.length>1?this.$message.warning("只能选择一条模板数据"):this.attrSelectList.length<1?this.$message.warning("请选择一条模板数据"):1===this.attrSelectList.length&&(this.injectVisible=!0)},injectAddHandle:function(){var e={"注入类型":this.injectOption.classifyInvokeAttr,"注入类型名称":this.injectOption.classifyInvokeAttrName,"层级设置":"max"==this.injectOption.classifyInvokeLevel?this.injectOption.classifyNumber:"min","是否可修改":this.injectOption.classifyInvokeEditFlag};for(var t in this.injectOption)this.attrSelectList[0][t]=this.injectOption[t],"min"!==this.injectOption.classifyInvokeLevel?this.attrSelectList[0].classifyInvokeLevel=this.injectOption.classifyNumber:this.attrSelectList[0].classifyInvokeLevel="min",this.$set(this.attrSelectList[0],"classifyInvokeText",e);"min"!==this.injectOption.classifyInvokeLevel?this.injectOption.classifyInvokeLevel=this.injectOption.classifyNumber:this.injectOption.classifyNumber=0,this.injectVisible=!1},injectHandleReset:function(){this.$set(this.CurrentCell,"classifyInvokeText",""),this.$set(this.CurrentCell,"classifyInvokeAttr:",""),this.$set(this.CurrentCell,"classitwInvokeAttrName",""),this.$set(this.CurrentCell,"classifyInvokeEditFlag","false"),this.$set(this.CurrentCell,"classifyInvokeLevel","none"),this.injectVisible=!1},injectRemove:function(){this.injectVisible=!1,this.injectHandleReset()},CrudRowDel:function(e){this.ProData.splice(e,1)},CrudRemove:function(){var e=this;this.attrSelectList.forEach((function(t){var a=e.ProData.indexOf(t);e.ProData.splice(a,1)}))},reset:function(){this.CrudRend()},syncHandle:function(){var e=this;this.attrSelectList.length>1?this.$message.warning("只能选择一条模板属性数据"):this.attrSelectList.length<1?this.$message.warning("请选择一条模板属性数据"):1===this.attrSelectList.length&&Object(o["copyto"])({oid:this.attrRow.oid}).then((function(t){e.$message.success("同步成功")}))},applicationHandle:function(){this.addvisible=!0},isShowHandler:function(){this.attrSelectList.length>1?this.$message.warning("只能选择一条模板属性数据"):this.attrSelectList.length<1?this.$message.warning("请选择一条模板属性数据"):1===this.attrSelectList.length&&(this.isShowformulaEdit=!0)},fullscreenHandle:function(){this.crudArray.length<1?this.$message.warning("请选择一个模板"):(this.editStyleFlag=!0,this.attrEditVisible=!0,this.attrFlag=!0,this.AddCellFlag=!0)},escEdit:function(){this.attrFlagChiledren=!1,this.attrEditVisible=!1,this.editStyleFlag=!1},updataFormlaContent:function(e){this.CurrentCell?(this.$set(this.CurrentCell,"componentRule",e.replace(/"/g,"")),this.componentRuleText=this.CurrentCell.componentRule):this.$set(this.attrRow,"componentRule",e.replace(/"/g,""))},setReferConfigValue:function(e){var t=JSON.stringify(e);this.referConfigText=t,this.CurrentCell?this.$set(this.CurrentCell,"referConfig",JSON.stringify(e)):this.$set(this.attrRow,"referConfig",JSON.stringify(e))},sortChange:function(e){console.log(e)},editOpen:function(){this.editOpenFlag=!0,this.AddCellFlag=!1},editClose:function(){this.editOpenFlag=!1},batchSetFlag:function(e){var t=this;this.attrSelectList.forEach((function(a){a[t.selectvalue]=e}))}}},u=c,d=(a("b2ad"),a("2877")),p=Object(d["a"])(u,r,i,!1,null,"1ff9da38",null);t["default"]=p.exports},"81b9":function(e,t,a){"use strict";a.r(t),a.d(t,"businese",(function(){return s}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t1?t("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.tab1Loading,expression:"tab1Loading"}],staticStyle:{width:"100%"},attrs:{border:"",data:e.tab1Table,height:"40vh","highlight-current-row":""},on:{"current-change":e.resembleRowChange,"selection-change":e.tab1TableSelectChange}},["batchApplyCode"!==e.type?t("el-table-column",{attrs:{type:"selection",width:"100px",align:"center"}}):t("el-table-column",{attrs:{type:"operate",width:"100px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(a){var r=a.row;return[t("el-button",{attrs:{type:"text"},on:{click:function(t){return e.reEdit(r)}}},[e._v("重新编辑")])]}}],null,!1,176171522)}),t("el-table-column",{attrs:{type:"index",label:"序号",width:"100px",align:"center"}}),e._l(e.cloNamesList,(function(e){return t("el-table-column",{key:e.field,attrs:{prop:e.field,label:e.title,width:e.width,align:"center"}})}))],2):t("div",{staticStyle:{height:"400px"}}),t("div",[t("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.tab1BottomTableLoading,expression:"tab1BottomTableLoading"}],staticStyle:{width:"100%"},attrs:{border:"",data:e.currentSelectedResemble,height:"20vh"}},[e._l(e.resembleColumList,(function(a){return t("el-table-column",{key:a.field,attrs:{prop:a.field,label:a.title,minWidth:a.minWidth,align:"center"},scopedSlots:e._u([{key:"default",fn:function(r){var i=r.row;return["id"===a.field?t("span",[t("el-link",{attrs:{type:"primary"},on:{click:function(t){return e.openFormTemlpate(i)}}},[e._v(e._s(i[a.field]))])],1):t("span",[e._v("\n "+e._s(i[a.field])+"\n ")])]}}],null,!0)})})),t("el-table-column",{directives:[{name:"show",rawName:"v-show",value:e.resembleColumList.length>0,expression:"resembleColumList.length > 0"}],attrs:{prop:"rowIndex",label:"excel行数",align:"center"}})],2)],1)],1),t("el-tab-pane",{attrs:{label:e.tab2Name,name:"tab2"}},[t("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.tab2Loading,expression:"tab2Loading"}],attrs:{border:"",data:e.tab2Table,height:"60vh"}},e._l(e.successTableColumns,(function(e){return t("el-table-column",{key:e.field,attrs:{prop:e.field,label:e.title,width:e.width,align:"center"}})})),1),"batchApplyCode"===e.type&&e.tab2Table.length>0?t("el-card",{staticStyle:{"min-height":"200px",margintop:"10px"}},[t("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[t("h4",[e._v("编码申请")])]),"batchApplyCode"===e.type?t("FormTemplate",{ref:"CodeApply",attrs:{type:"add",selfColumnType:e.selfColumnType,selfColumnConfig:e.selfColumnConfig},on:{getFormData:e.getCodeApplyFormData,referConfigDataUpdate:e.referConfigDataUpdate}}):e._e()],1):e._e()],1)],1)],1)])]),t("FormTemplateDialog",e._b({ref:"FormTemplateDialog",attrs:{visible:e.currentSelectedResembleRow.formTemplateVisible},on:{"update:visible":function(t){return e.$set(e.currentSelectedResembleRow,"formTemplateVisible",t)},submit:e.FormTemplateSubmit}},"FormTemplateDialog",e.currentSelectedResembleRow,!1))],1)},i=[],n=(a("7514"),a("ac6a"),a("456d"),a("6762"),a("2fdb"),a("96cf"),a("1da1")),o=(a("7f7f"),a("78e2")),s=a("6657"),l=a("8cf2"),c=a("741a"),u={name:"ShowImportData",components:{ResembleQuery:s["default"],FormTemplate:l["default"]},mixins:[c["a"]],props:{title:{type:String,default:"历史数据导入"},visible:!1,leftTree:{type:Array,default:function(){return[]}},redisOid:{type:String,default:""},classifyAttr:{type:String,default:"id"},codeClassifyOid:{type:String,default:""},type:String,secDTOList:{type:Array,default:function(){return{}}},resetTable:Function},computed:{dialogVisible:{get:function(){return this.visible},set:function(e){this.$emit("update:visible",e)}},successTableColumns:function(){return"batchApplyCode"===this.type?this.cloNamesList.slice(1):this.cloNamesList}},data:function(){return{isExpand:!0,filterText:"",leftWidth:200,templateOid:null,tab1Name:"相似项",tab2Name:"正确数据",tab1Table:[],selectedTab1Table:[],tab2Table:[],activeTab:"tab1",cloNamesList:[],localCodeClassifyOid:"",codeRuleOid:"",resembleColumList:[],currentSelectedResemble:[],currentSelectedResembleRow:{templateOid:"",codeClassifyOid:"",rowOid:"",formTemplateVisible:!1,type:"detail",title:"查看详细信息",setForm:{}},batchSelectTableData:{},savedList:[],tab1Loading:!1,tab2Loading:!1,tab1BottomTableLoading:!1,submitLoading:!1}},methods:{filterNode:function(e,t){return!e||-1!==t.name.indexOf(e)},hideTree:function(){this.isExpand?this.leftWidth=50:this.leftWidth=200,this.isExpand=!this.isExpand},treeNodeClick:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t,a){var r=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("batchApplyCode"!==this.type){e.next=19;break}if(!0!==a){e.next=6;break}this.codeRuleOid=t.codeRuleOid,this.batchSelectTableData[t.codeRuleOid]={name:t.name,templateOid:t.oid,cloNamesList:t.cloNamesList,codeClassifyOid:t.codeClassifyOid,codeRuleOid:t.codeRuleOid},e.next=18;break;case 6:if(this.localCodeClassifyOid!==t.codeClassifyOid){e.next=10;break}console.log("重复点击"),e.next=18;break;case 10:if(!this.$refs.CodeApply){e.next=18;break}return e.next=13,this.$refs.CodeApply.validate();case 13:if(e.sent){e.next=18;break}return this.$message.warning("请填写便编码申请!"),this.activeTab="tab2",this.$refs.tree.setCurrentKey(this.localCodeClassifyOid),e.abrupt("return",!1);case 18:this.batchSelectTableData[t.codeRuleOid]||(this.batchSelectTableData[t.codeRuleOid]={name:t.name,templateOid:t.oid,cloNamesList:t.cloNamesList,codeClassifyOid:t.codeClassifyOid,codeRuleOid:t.codeRuleOid});case 19:"historyImport"===this.type&&(!0===a?this.batchSelectTableData[t.codeClassifyOid]={name:t.name,templateOid:t.oid,cloNamesList:t.cloNamesList,codeClassifyOid:t.codeClassifyOid,codeRuleOid:t.codeRuleOid}:this.localCodeClassifyOid===t.codeClassifyOid&&console.log("重复点击"),this.batchSelectTableData[t.codeClassifyOid]||(this.batchSelectTableData[t.codeClassifyOid]={name:t.name,templateOid:t.oid,cloNamesList:t.cloNamesList,codeClassifyOid:t.codeClassifyOid,tab1Selected:[]}),this.selection=this.batchSelectTableData[this.localCodeClassifyOid]["tab1Selected"]),this.localCodeClassifyOid=t.codeClassifyOid,this.cloNamesList=t.cloNamesList,this.templateOid=t.oid,this.tab1Loading=!0,Object(o["getResembleTable"])({codeClassifyOid:"batchApplyCode"===this.type?t.codeRuleOid:this.templateOid,redisOid:this.redisOid+"-resemble"}).then((function(e){r.tab1Loading=!1,r.tab1Table=e.data.data.filter((function(e){return!r.savedList.includes(e.oid)})),"batchApplyCode"===r.type&&(r.batchSelectTableData[t.codeRuleOid]["tab1"]=r.tab1Table),"historyImport"===r.type&&(r.batchSelectTableData[t.codeClassifyOid]["tab1"]=r.tab1Table)})),this.tab2Loading=!0,Object(o["getSuccessTable"])({codeClassifyOid:"batchApplyCode"===this.type?t.codeRuleOid:this.templateOid,redisOid:this.redisOid+"-ok"}).then((function(e){r.tab2Loading=!1,r.tab2Table=e.data.data,r.tab2Table.length>0&&"batchApplyCode"===r.type&&(r.batchSelectTableData[t.codeRuleOid]["codeApply"]={},r.batchSelectTableData[t.codeRuleOid]["tab2"]=r.tab2Table,r.$refs.CodeApply&&(r.$refs.CodeApply.loading=!0),r.getCodeRule()),"historyImport"===r.type&&(r.batchSelectTableData[t.codeClassifyOid]["tab2"]=r.tab2Table)})),Object(o["getFormTemplate"])({templateOid:t.oid,codeClassifyOid:this.localCodeClassifyOid}).then((function(e){r.resembleColumList=e.data.resembleTableVO.cols[0]}));case 28:case"end":return e.stop()}}),e,this)})));function t(t,a){return e.apply(this,arguments)}return t}(),tab1TableSelectChange:function(e){this.selectedTab1Table=e,this.batchSelectTableData[this.localCodeClassifyOid]&&(this.batchSelectTableData[this.localCodeClassifyOid]["tab1Selected"]=e)},resembleRowChange:function(e){var t=this;e&&e.oid&&(this.tab1BottomTableLoading=!0,Object(o["getCurretnSelectedRowResemble"])({redisOid:this.redisOid+"-resemble-data",dataOid:e.oid}).then((function(e){t.tab1BottomTableLoading=!1,t.currentSelectedResemble=e.data.data})))},openFormTemlpate:function(e){this.currentSelectedResembleRow={formTemplateVisible:!0,templateOid:e.codetemplateoid,codeClassifyOid:this.localCodeClassifyOid,rowOid:e.rowOid,type:"detail",title:"查看详细信息",setForm:{}}},submit:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,a,r,i,n,s,l,c,u,d,p,f=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t={classifyAttr:"historyImport"===this.type||"batchApplyCode"===this.type?this.classifyAttr:void 0,improt:"historyImport"===this.type},"batchApplyCode"!==this.type){e.next=27;break}if(!this.$refs.CodeApply){e.next=9;break}return e.next=5,this.$refs.CodeApply.validate();case 5:if(e.sent){e.next=9;break}return this.$message.warning("请填写便编码申请!"),this.activeTab="tab2",e.abrupt("return",!1);case 9:if(a=Object.keys(this.batchSelectTableData),r=this.leftTree.filter((function(e){return!a.includes(e.codeRuleOid)})),i=r.map((function(e){return e.name})),!(i.length>0)){e.next=15;break}return this.$message.warning("数据".concat(i,"还未曾查看,请先查看!")),e.abrupt("return",!1);case 15:for(l in n=[],s=[],this.batchSelectTableData)Object.hasOwnProperty.call(this.batchSelectTableData,l)&&(c=this.batchSelectTableData[l],c.tab1.length>0&&n.push(c),c.tab2.length>0&&s.push(c));if(0!==s.length){e.next=21;break}return this.$message.warning("导入的数据中没有正确的数据!"),e.abrupt("return");case 21:if(!(n.length>0)){e.next=24;break}return e.next=24,this.$confirm(n.map((function(e){return e.name})).join("、")+",这几个编码规则下的有错误数据和相似项数据没有处理,您如果继续保存的话,这些数据将会被自动舍弃,是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"});case 24:t.codeImprotSaveDatVOList=s.map((function(e){return{Clos:e.cloNamesList,dataList:e.tab2,orderDTO:{codeClassifyOid:e.codeClassifyOid,templateOid:e.templateOid,secDTOList:e.localSecVOList.map((function(t){return{secOid:t.oid,secValue:e.codeApply[t.oid]}}))}}})),e.next=38;break;case 27:if("historyImport"!==this.type){e.next=37;break}if(u=Object.keys(this.batchSelectTableData),d=this.leftTree.filter((function(e){return!u.includes(e.codeClassifyOid)})),p=d.map((function(e){return e.name})),!(p.length>0)){e.next=34;break}return this.$message.warning("数据".concat(p,"还未曾查看,请先查看!")),e.abrupt("return",!1);case 34:t.codeImprotSaveDatVOList=this.batchSelectTableData.map((function(e){return{Clos:e.cloNamesList,dataList:e.tab2.concat(e.tab1Selected),orderDTO:{codeClassifyOid:e.codeClassifyOid,templateOid:e.templateOid,secDTOList:f.secDTOList}}})),e.next=38;break;case 37:t.codeImprotSaveDatVOList=[{Clos:this.cloNamesList.map((function(e){return e.title})),dataList:this.tab2Table.concat(this.selectedTab1Table),orderDTO:{codeClassifyOid:this.codeClassifyOid,templateOid:this.templateOid,secDTOList:this.secDTOList}}];case 38:this.submitLoading=!0,Object(o["submitHistoryimport"])(t).then((function(e){f.submitLoading=!1,200===e.data.code&&(f.$message.success(e.data.msg),f.$parent.dialogVisible=!1,f.resetTable())}));case 40:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),reEdit:function(e){this.currentSelectedResembleRow={templateOid:e.codetemplateoid,codeClassifyOid:e.codeclassifyid,rowOid:e.oid,formTemplateVisible:!0,type:"add",title:"编辑数据后重新入库",setForm:e}},FormTemplateSubmit:function(e){var t=this;Object(o["addSaveCode"])(e).then((function(a){200===a.data.code&&(t.savedList.push(e.oid),t.$message.success("新增成功!"),t.treeNodeClick(t.leftTree.find((function(e){return e.codeRuleOid===t.codeRuleOid}))),t.currentSelectedResembleRow={templateOid:"",codeClassifyOid:"",rowOid:"",formTemplateVisible:!1,type:"detail",title:"查看详细信息",setForm:{}})}))}},watch:{filterText:function(e){this.$refs.tree.filter(e)},leftTree:{immediate:!0,deep:!0,handler:function(e){var t=this;e.length>0&&(this.treeNodeClick(e[0],!0),this.$nextTick((function(){t.$refs.tree.setCurrentKey(e[0]["codeClassifyOid"])})),"batchImportApply"===this.type?this.leftWidth=0:"batchApplyCode"===this.type&&(this.tab1Name="有相似项或错误数据",this.tab2Name="正确数据",this.leftWidth=200))}}}},d=u,p=(a("5a04d"),a("2877")),f=Object(p["a"])(d,r,i,!1,null,"8c9c1e18",null);t["default"]=f.exports},"832b":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"avue-dialog avue-dialog--top",staticStyle:{height:"100vh",overflow:"hidden"},attrs:{title:"高级查询","append-to-body":"",width:"46vw",visible:e.isShowDialog,"lock-scroll":"",top:"-3%","destroy-on-close":""},on:{"update:visible":function(t){e.isShowDialog=t},close:e.recoverPage}},[t("div",{staticClass:"search-total"},[t("div",{staticClass:"dialog-search-button",attrs:{slot:"title"},slot:"title"},[t("el-button",{attrs:{type:"primary",size:"small",icon:"el-icon-search"},on:{click:e.searchSubmit}},[e._v("\n 查询\n ")]),t("el-button",{attrs:{type:"warning",size:"small",icon:"el-icon-refresh"},on:{click:e.resetInput}},[e._v("\n 重置\n ")])],1),t("div",{staticClass:"search-content"},e._l(e.initOptions,(function(a,r){return t("el-row",{key:a.queryField,attrs:{span:24}},[t("el-col",{attrs:{span:6}},[t("div",{staticClass:"grid-content"},[t("el-select",{attrs:{disabled:"",placeholder:"请选择"},model:{value:e.searchFormArrays[r].queryField,callback:function(t){e.$set(e.searchFormArrays[r],"queryField",t)},expression:"searchFormArrays[index].queryField"}},e._l(e.options,(function(e){return t("el-option",{key:e.queryField,attrs:{label:e.title,value:e.queryField}})})),1)],1)]),t("el-col",{attrs:{span:4}},[t("div",{staticClass:"grid-content"},[t("el-select",{attrs:{placeholder:"请选择"},model:{value:e.searchFormArrays[r].condition,callback:function(t){e.$set(e.searchFormArrays[r],"condition",t)},expression:"searchFormArrays[index].condition"}},e._l(a.conditions,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)]),t("el-col",{attrs:{span:12}},[t("div",{staticClass:"grid-content"},["text"===a.fieldType||""===a.fieldType?t("el-input",{attrs:{type:"text",placeholder:"请输入"},model:{value:e.searchFormArrays[r].fieldValue,callback:function(t){e.$set(e.searchFormArrays[r],"fieldValue",t)},expression:"searchFormArrays[index].fieldValue"}}):"combox"===a.fieldType?t("el-select",{attrs:{placeholder:"请选择"},model:{value:e.searchFormArrays[r].fieldValue,callback:function(t){e.$set(e.searchFormArrays[r],"fieldValue",t)},expression:"searchFormArrays[index].fieldValue"}},e._l(a.data,(function(e){return t("el-option",{key:e.itemValue||e.value,attrs:{label:e.itemName||e.label,value:e.itemValue||e.value}})})),1):"truefalse"===a.fieldType?t("el-switch",{model:{value:e.searchFormArrays[r].fieldValue,callback:function(t){e.$set(e.searchFormArrays[r],"fieldValue",t)},expression:"searchFormArrays[index].fieldValue"}}):"datetime"===a.fieldType?t("el-date-picker",{attrs:{type:"date",placeholder:"选择日期"},model:{value:e.searchFormArrays[r].fieldValue,callback:function(t){e.$set(e.searchFormArrays[r],"fieldValue",t)},expression:"searchFormArrays[index].fieldValue"}}):"refer"===a.fieldType?t("vci-web-refer",{attrs:{referConfig:a.referConfigData||{},value:e.searchFormArrays[r].fieldValue,text:a.showField,display:!a.hidden},on:{setReferValue:function(t){return e.setReferValue(t,r)}}}):e._e()],1)]),t("el-col",{attrs:{span:1}},[t("div",{staticClass:"grid-content"},[t("i",{staticClass:"el-icon-close",on:{click:function(t){return e.removeInput(r)}}})])])],1)})),1)])])},i=[],n=(a("ac6a"),a("35a0")),o=a("6e8c"),s={components:{vciWebRefer:o["default"]},name:"advancedQuery",props:{visible:{type:"Boolean",default:!1},options:{type:"Object",default:{}}},data:function(){return{isShowDialog:this.visible,initOptions:[],searchConditions:[{value:"_equal",label:"等于"},{value:"_notequal",label:"不等于"},{value:"_like",label:"包含"},{value:"_notlike",label:"不包含"}],switchSearchConditions:[{value:"_equal",label:"等于"},{value:"_notequal",label:"不等于"}],referSearchConditions:[{value:"_equal",label:"等于"},{value:"_notequal",label:"不等于"},{value:"_like",label:"包含"},{value:"_notlike",label:"不包含"}],dateConditions:[{value:"_equal",label:"等于"},{value:"_notequal",label:"不等于"},{value:"_ge",label:"大于"},{value:"_le",label:"小于"}],searchFormArrays:[],fieldValue:""}},watch:{visible:function(){this.isShowDialog=this.visible},options:function(){this.initData()}},methods:{initData:function(){var e=this,t=JSON.stringify(this.options);if(this.initOptions=JSON.parse(t),this.initOptions.length>0){var a=[];this.initOptions.forEach((function(t,r){if("combox"===t.fieldType){var i=t.data||JSON.parse(localStorage.getItem(t.comboxKey));null!=i&&i.length>0?t.data=i:Object(n["getDictionary"])({code:t.comboxKey}).then((function(e){t.data=e.data.data,localStorage.setItem(t.comboxKey,JSON.stringify(e.data.data))}))}else"refer"===t.fieldType&&e.$set(t,"referConfigData",{title:t.title,showField:t.showField||t.field,field:t.field,placeholder:t.inputTip||"",options:Object.assign(t.referConfig,{width:"80%"})});var o=[];o="text"===t.fieldType?e.searchConditions:"combox"===t.fieldType||"truefalse"===t.fieldType?e.switchSearchConditions:"datetime"===t.fieldType?e.dateConditions:e.referSearchConditions,e.$set(t,"conditions",o);var s={queryField:String(t.queryField),condition:"text"===t.fieldType?String("_like"):String("_equal"),fieldValue:"truefalse"===t.fieldType?Boolean(!1):String("")};a.push(s)})),this.searchFormArrays=a}},setReferValue:function(e,t){e.field&&(this.searchFormArrays[t][e.fieldValue]=e.value||"",this.initOptions[t][e.showField]=e.text||"")},removeInput:function(e){this.$delete(this.initOptions,e),this.$delete(this.searchFormArrays,e)},resetInput:function(){this.initData()},recoverPage:function(){this.resetInput(),this.$emit("update:visible",!1)},searchSubmit:function(){for(var e={},t=this.searchFormArrays,a=0;a0?t("avue-crud",{ref:"crud",attrs:{data:e.data,option:e.option,page:e.page,search:e.search,"table-loading":e.loading},on:{"update:page":function(t){e.page=t},"update:search":function(t){e.search=t},"on-load":e.getDataList,"row-save":e.handleSave,"row-del":e.handleDelete,"row-update":e.handleEdit,"refresh-change":e.handleRefresh,"size-change":e.handleSizePage,"current-change":e.handleCurrentPage},model:{value:e.form,callback:function(t){e.form=t},expression:"form"}}):e._e()},i=[],n=(a("8e6e"),a("ac6a"),a("456d"),a("ade3")),o=(a("96cf"),a("1da1")),s=(a("7f7f"),a("5821"));function l(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function c(e){for(var t=1;t0}},created:function(){},mounted:function(){},methods:{HandlerSave:function(){var e=this;if(!Object(_util_validate__WEBPACK_IMPORTED_MODULE_7__["b"])(this.editingRow)){this.editingRow=null;var t=this.tableData.map((function(t){var a={codeClassifyOid:t.codeclsfid,templateOid:e.templateId,editInProcess:!0,data:t,oid:t.oid,ts:t.ts};return a}));Object(_api_GetItem__WEBPACK_IMPORTED_MODULE_6__["batchUpdateCode"])(t).then((function(t){t.data.success&&(e.$message.success("修改成功"),e.BuinseseRend())}))}},CrudHeaderRend:function CrudHeaderRend(){var _this2=this;if(""!=this.codeClassifyOid){var data=new FormData;data.append("templateId",this.templateId),data.append("taskId",this.taskId),data.append("modelKey",this.modelKey),data.append("codeClassifyOid",this.codeClassifyOid),Object(_api_GetItem__WEBPACK_IMPORTED_MODULE_6__["FlowTable"])({templateId:this.templateId,taskId:this.taskId,modelKey:this.modelKey,codeClassifyOid:this.codeClassifyOid}).then((function(res){_this2.options=res.data.tableDefineVO.seniorQueryColumns,_this2.List=res.data.tableDefineVO.cols[0],_this2.tableHeadData=[],_this2.List.forEach((function(item){var editAttr=_this2.stageAttrs.filter((function(e){return e.attrId==item.field||"combox"==item.fieldType&&e.attrId+"Text"==item.field||"refer"==item.fieldType&&e.attrId+"name"==item.field})),columnItem={label:item.title,prop:item.field,type:_this2.columnType[item.type],sortable:item.sort,width:item.minWidth};"id"==item.field&&Object(_util_validate__WEBPACK_IMPORTED_MODULE_7__["b"])(item.templet)?columnItem.formatter="":item.templet&&"string"==typeof item.templet&&!Object(_util_validate__WEBPACK_IMPORTED_MODULE_7__["b"])(item.templet)&&item.templet.indexOf("function(row,column)")>-1?columnItem.formatter=eval("("+item.templet+")"):"truefalse"==item.fieldType&&(columnItem.formatter=function(e,t){return"true"==e[t.property]||"1"==e[t.property]?"是":"否"}),editAttr.length>0&&(columnItem.edit=_this2.columnType[item.fieldType],"select"==columnItem.edit&&(columnItem.dicData=item.data||_this2.geDictData(item.comboxKey),columnItem.formatter=function(e,t){var a=t.dicData.find((function(a,r,i){return a.key==e[t.prop.replace("Text","")]}));return e[t.prop]=a&&a.value||e[t.prop]}),"refer"==columnItem.edit&&(columnItem.referConfig={title:item.title,showField:item.showField||item.field,field:item.sortField||item.field,options:item.referConfig},columnItem.display=!item.hidden,columnItem.disabled=item.readOnly)),_this2.tableHeadData.push(Object.assign(item,columnItem))}))}))}},BuinseseRend:function(){var e=this;Object(_api_work_businese__WEBPACK_IMPORTED_MODULE_5__["businese"])({btmType:"wupin","conditionMap[oid]":this.BuinessOids.toString()}).then((function(t){e.tableData=t.data.data}))},geDictData:function(e){Object(_api_system_dict__WEBPACK_IMPORTED_MODULE_8__["getDictionary"])({code:e}).then((function(e){if(e.data&&200===e.data.code)return(e.data.data||[]).map((function(e){return e.value=e.dictValue,e.key=e.dictKey,e}))}))},handleCellClick:function(e,t,a,r){this.editingRow=e,this.editShow=t.property},formatter:function(e,t){return t.formatter?t.formatter(e,t):e[t.prop]},setReferValue:function(e){e.field&&(this.editingRow[e.field]=e.value||"",this.editingRow[e.showField]=e.text||"")},changeSelect:function(e){this.editingRow[this.editShow.replace("Text","")]=e}}}},"8cf2":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("div",[t("avue-form",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],key:e.updateIndex,ref:"form",style:{minHeight:e.loading?"300px":""},attrs:{option:e.option},model:{value:e.form,callback:function(t){e.form=t},expression:"form"}},[e._l(e.slotColumnList,(function(a){return t("template",{slot:a.prop+"Label"},[t("span",[t("span",[e._v(e._s(a.label)+" ")]),a.keyAttr?t("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"该属性为关键属性",placement:"top-start"}},[t("i",{staticClass:"el-icon-star-on key_attr_icon"})]):e._e()],1)])})),e._l(e.slotColumnList,(function(a){return t("template",{slot:a.prop+""},["refer"==a.type?t("vciWebRefer",{attrs:{referConfig:a.referConfig||{},value:e.form[a.referConfig.field]||a.value,text:e.form[a.referConfig.showField],disabled:a.disabled,display:a.display},on:{setReferValue:e.setReferValue}}):e._e()],1)}))],2)],1)},i=[],n=(a("28a5"),a("6762"),a("2fdb"),a("ac6a"),a("c5f6"),a("902d")),o=a("7754"),s=a("6e8c"),l={name:"FormTemplate",components:{vciWebRefer:s["default"]},props:{disabledProp:{type:Array,default:function(){return["id","lcstatus"]}},templateOid:{type:String,default:""},codeClassifyOid:{type:String,default:""},rowOid:{type:String,default:""},type:{type:String,default:"add"},selfColumnType:{type:Object,default:function(){return{}}},selfColumnConfig:{type:Object,default:function(){return{}}},trendsSpan:{type:Number,default:8},TreeValue:{type:String,default:""}},data:function(){return{TreeValueForm:"",updateIndex:0,form:{},option:{emptyBtn:!1,submitBtn:!1,labelWidth:"140",column:[],group:[]},loading:!0,columnType:{text:"input",combox:"select",truefalse:"switch",number:"number",textarea:"textarea",datetime:"datetime",date:"date",refer:"refer"},defaultValue:{},attributes:[],slotColumnList:[]}},mounted:function(){this.handleResize()},computed:{localTrendsSpan:function(){if(this.trendsSpan)return this.trendsSpan;var e=document.body.clientWidth;return 24/Math.floor(e/500)}},watch:{form:{deep:!0,immediate:!0,handler:function(e){this.$emit("getFormData",e)}},TreeValue:{handler:function(e,t){e&&(this.TreeValueForm=e)},deep:!0,immediate:!0}},methods:{templateRender:function(e,t){var a=this,r=[],i=[],n=[],o=[];e.forEach((function(e){if(e=a.resetFormConfig(e),"line"!==e.type){"combox"!==e.type||!e.comboxKey||Array.isArray(e.dicData)&&0!==e.dicData.length||Array.isArray(e.data)&&0!==e.data.length||n.push({dictKey:e.comboxKey,field:e.field}),a.disabledProp.includes(e.field)&&(e.readOnly=!0),"lcstatus"==e.field&&(e.field=e.field+"_text",e.readOnly=!0);var s="请选择",l="change";"text"===e.type&&(s="请输入",l="blur");"refer"==e.type&&(e.fieldMap||e.field+"Id");var c={label:e.text,labelslot:!0,prop:a.$utilFunc.isValuableObj(e.referConfig)&&e.showField||e.field,field:e.field,type:a.columnType[e.type],dicData:a.getDataList(e.type,e.data),disabled:"detail"===a.type||(e.readOnly||!(!e.codeValueApplyStatus||2!=e.codeValueApplyStatus)),prepend:a.preOrSufFixShow("text",e.prefix),append:a.preOrSufFixShow("text",e.suffix),prefixIcon:a.preOrSufFixShow("icon",e.prefix),suffixIcon:a.preOrSufFixShow("icon",e.suffix),valueFormat:e.dateFormate,format:e.dateFormate,keyAttr:e.keyAttr,value:(e.dicData&&e.dicData.length>0&&"codefixedsec"==e.secType?e.dicData[0].id:null)||("codedatesec"==e.secType?e.codeDateValue:null)||(t&&"codelevelsec"==e.secType?t:null),placeholder:e.inputTip,comboxKey:e.comboxKey,tip:e.tooltips,display:!e.hidden,maxlength:e.maxlength,filterable:!0,referConfig:"refer"==e.type?{title:e.text,showField:e.showField||e.field,field:e.field,fieldMap:e.fieldMap||{fieldMapKey:"id"},placeholder:e.inputTip,options:e.referConfig}:{},span:e.span?e.span:"textarea"===e.type?24:a.localTrendsSpan,rules:[{required:e.required,message:"".concat(s).concat(e.text),trigger:l},{pattern:e.verify?e.verify:/[\s\S.]*/g,message:e.tooltips,trigger:l}],props:{label:"value",value:"key"}};o.push(c),0===i.length?r.push(c):i[i.length-1]["column"].push(c)}else i.push({label:e.text,prop:e.text,collapse:!0,column:[]})})),this.slotColumnList=o,this.$set(this.option,"column",r),this.$set(this.option,"group",i),this.updateIndex++,"add"===this.type&&(this.loading=!1),this.geDictData(n),this.getFormDetail()},resetFormConfig:function(e){for(var t in this.selfColumnConfig)if(Object.hasOwnProperty.call(this.selfColumnConfig,t)){var a=this.selfColumnConfig[t];if("function"===t){for(var r in a)if(Object.hasOwnProperty.call(a,r)){var i=a[r];e[r]=i(e)}}else if("exchange"===t){for(var n in a)if(Object.hasOwnProperty.call(a,n)){var o=a[n];e[n]=e[o]}}else if("directVoluation"===t)for(var s in a)if(Object.hasOwnProperty.call(a,s)){var l=a[s];e[s]=l}}return e},handleResize:function(){},preOrSufFixShow:function(e,t){if(!this.$utilFunc.isEmpty(t)||"string"===typeof t){var a="el-icon-"===t.slice(0,8);return"text"===e&&!a||"icon"===e&&a?t:void 0}},getDataList:function(e,t){return"truefalse"===e?[{key:!1,value:"否"},{key:!0,value:"是"}]:"combox"===e?t:[]},geDictData:function(e){var t=this;e.forEach((function(e){Object(o["getDictionary"])({code:e.dictKey}).then((function(a){a.data&&200===a.data.code&&(t.option.column=t.option.column.map((function(t){if(t.field===e.field){var r=(a.data.data||[]).map((function(e){return e.value=e.dictValue,e.key=e.dictKey,e}));t.dicData=r}return t})))}))}))},validate:function(){var e=this;return new Promise((function(t){e.$refs.form.validate((function(e,a){e?(a(),t(!0)):t(!1)}))}))},getFormDetail:function(){var e=this;"add"!==this.type&&Object(n["getFormDetail"])({templateOid:this.templateOid,oid:this.rowOid}).then((function(t){e.form=Object.assign(e.form,t.data.data[0]),e.loading=!1}))},setReferValue:function(e){var t=this;if(e.field){if(this.form[e.field]=e.value||"",this.form[e.showField]=e.text||"",e.fieldMap){var a=function(){var a=e.fieldMap[r].split(","),i=[];e.rawData.forEach((function(e){var t;if(e.attributes||(e.attributes=e),1==a.length){var r=a[0];t=r.indexOf("attribute.")>-1?e["attributes"][r.subString("attribute.".length)]:e["attributes"][r]||e[r]}else{var n=[];layui.each(a,(function(t,a){a.indexOf("attribute.")>-1?n.push(e["attributes"][a.subString("attribute.".length)]):n.push(e["attributes"][a]||e[a])})),t=n.join(" ")}null!=t&&""!=t&&i.push(t)})),t.form[r]=i.join(",")};for(var r in e.fieldMap)a()}this.$emit("getFormData",this.form),this.$emit("referConfigDataUpdate",e)}}}},c=l,u=(a("7e5c"),a("2877")),d=Object(u["a"])(c,r,i,!1,null,"d3681688",null);t["default"]=d.exports},"8ddc":function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return s})),a.d(t,"getParentList",(function(){return l})),a.d(t,"getChildList",(function(){return c})),a.d(t,"remove",(function(){return u})),a.d(t,"add",(function(){return d})),a.d(t,"update",(function(){return p})),a.d(t,"getDict",(function(){return f})),a.d(t,"getDictTree",(function(){return m})),a.d(t,"getDictionary",(function(){return h}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};function i(e){return!!e.includes("html")||/^http[s]?:\/\/.*/.test(e)}function n(e){var t=[];return Object.keys(e).forEach((function(a){t.push("".concat(a,"=").concat(e[a]))})),t.join("&")}this.$router=r.router,this.$store=r.store,this.$vue=new e({i18n:r.i18n}),this.$router.$avueRouter={$website:this.$store.getters.website,group:"",meta:{},safe:this,setTitle:function(e){var a=t.$vue.$t("title");e=e?"".concat(e,"-").concat(a):a,document.title=e},closeTag:function(e){var a=e||t.$store.getters.tag;"string"===typeof e&&(a=t.$store.getters.tagList.filter((function(t){return t.value===e}))[0]),t.$store.commit("DEL_TAG",a)},generateTitle:function(e,a){if(!a)return e;var r=t.$vue.$te("route."+a);if(r){var i=t.$vue.$t("route."+a);return i}return e},getPath:function(e){var t=e.src,a=t||"/";return i(t)&&(a="/myiframe/urlPath?".concat(n(e))),a},vaildPath:function(e,t){var a=!1;return e.forEach((function(e){new RegExp("^"+e+".*","g").test(t)&&(a=!0)})),a},getValue:function(e){var t="";return t=e.query.src?e.query.src:e.path,t},formatRoutes:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,o=[],s=this.$website.menu.props,l={label:s.label||"name",path:s.path||"path",fullPath:s.fullPath||"fullPath",query:s.query||"query",icon:s.icon||"icon",children:s.children||"children",meta:s.meta||"meta"};if(0!==t.length){for(var c=function(){var s=t[u],c=function(){return n?s[l.path].replace("/index",""):s[l.path]}(),d=c,p=s[l.query]||{};if(-1!=c.indexOf("?")){var f=c.split("?")[1].split("@");c=c.split("?")[0],f.forEach((function(e){try{p[e.split("=")[0]]=e.split("=")[1]}catch(t){p[e.split("=")[0]]=null}}))}var m="views"+c,h=s[l.label],b=s[l.icon],g=s[l.children],y=s[l.meta]||{};y=Object.assign(y,function(){if(!0===r.keepAlive)return{keepAlive:!0}}());var v=0!==g.length,O={path:c,fullPath:d,query:p,params:p,component:function(e){n?Promise.resolve().then(function(){var t=[a("9cc4")];e.apply(null,t)}.bind(this)).catch(a.oe):!v||n?Promise.all([a.e("views"),a.e("page"),a.e("chunk-c323767e")]).then(function(){var t=[a("692e")("./".concat(m,".vue"))];e.apply(null,t)}.bind(this)).catch(a.oe):a.e("chunk-2d0e4caf").then(function(){var t=[a("9277")];e.apply(null,t)}.bind(this)).catch(a.oe)},name:h,icon:b,meta:y,redirect:function(){return v||!n||i(c)?"":"".concat(c,"/index")}(),children:v?function(){return e.formatRoutes(g,!1)}():function(){return n?(i(c)||(s[l.path]="".concat(c,"/index")),[{component:function(e){Promise.all([a.e("views"),a.e("page"),a.e("chunk-c323767e")]).then(function(){var t=[a("692e")("./".concat(m,".vue"))];e.apply(null,t)}.bind(this)).catch(a.oe)},icon:b,name:h,meta:y,path:"index"}]):[]}()};o.push(O)},u=0;u=1200?3:e>=992?2:e>=768?1:0}},d=a("c54a"),p=a("84df"),f=a("e3c4"),m={components:{top:l["default"],tags:o["default"],search:s["default"],sidebar:c["default"]},name:"index",provide:function(){return{index:this}},data:function(){return{isSearch:!1,refreshLock:!1,refreshTime:"",loading:!0}},created:function(){this.refreshToken()},mounted:function(){var e=this;this.init(),setTimeout((function(){e.loading=!1}),600)},computed:Object(n["mapGetters"])(["isMenu","isLock","isCollapse","website","menu"]),props:[],methods:{showCollapse:function(){this.$store.commit("SET_COLLAPSE")},init:function(){var e=this;this.$store.commit("SET_SCREEN",u.getScreen()),window.onresize=function(){setTimeout((function(){e.$store.commit("SET_SCREEN",u.getScreen())}),0)},this.$store.dispatch("FlowRoutes").then((function(){}))},openMenu:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.$store.dispatch("GetMenu",t.id).then((function(t){0!==t.length&&e.$router.$avueRouter.formatRoutes(t,!0)}))},refreshToken:function(){var e=this;this.refreshTime=setInterval((function(){var t=Object(f["c"])({name:"token",debug:!0})||{},a=Object(p["a"])(t.datetime,(new Date).getTime());Object(d["b"])(a)||a.seconds>=e.website.tokenTime&&!e.refreshLock&&(e.refreshLock=!0,e.$store.dispatch("refreshToken").then((function(){e.refreshLock=!1})).catch((function(){e.refreshLock=!1})))}),1e4)}}},h=m,b=a("2877"),g=Object(b["a"])(h,r,i,!1,null,null,null);t["default"]=g.exports},"9d2d":function(e,t,a){"use strict";a("3b40")},a03c:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("div",["renonly"==e.flag?t("avue-form",{attrs:{option:e.option},model:{value:e.loneTreeNewForm,callback:function(t){e.loneTreeNewForm=t},expression:"loneTreeNewForm"}}):"edit"==e.flag?t("avue-form",{attrs:{option:this.options},on:{submit:e.submits},model:{value:e.loneTreeNewForm,callback:function(t){e.loneTreeNewForm=t},expression:"loneTreeNewForm"}}):e._e(),t("div",[t("el-dialog",{attrs:{visible:e.MasterdialogVisible,title:"为【编码规则】选取值","append-to-body":"","before-close":e.masterEscHandler},on:{"update:visible":function(t){e.MasterdialogVisible=t}}},[[t("el-select",{staticStyle:{width:"135px"},attrs:{placeholder:"请选择"},model:{value:e.SelectValue,callback:function(t){e.SelectValue=t},expression:"SelectValue"}},e._l(e.SelectOption,(function(e){return t("el-option",{key:e.value,staticStyle:{width:"150px"},attrs:{label:e.label,value:e.value}})})),1),t("el-input",{staticStyle:{width:"260px","margin-left":"15px"},attrs:{placeholder:"输入值后进行模糊查询"},model:{value:e.SelectFInd,callback:function(t){e.SelectFInd=t},expression:"SelectFInd"}}),t("el-button",{staticStyle:{"margin-left":"20px"},attrs:{size:"small",type:"primary",plain:""},on:{click:e.SelectFindeHandler}},[e._v("查询")])],t("avue-crud",{attrs:{data:e.masterData,option:e.Option},on:{"row-click":e.masterSelect},scopedSlots:e._u([{key:"radio",fn:function(a){var r=a.row;return[t("el-radio",{staticStyle:{"padding-left":"10px !important"},attrs:{label:r.$index},model:{value:e.masterRow,callback:function(t){e.masterRow=t},expression:"masterRow"}},[e._v(e._s("")+"\n ")])]}}])}),t("div",{staticStyle:{height:"30px"}},[t("div",{staticStyle:{display:"inline-block",float:"left",border:"1px solid #eee",padding:"5px","margin-top":"5px","font-size":"14px"}},[e._v("已设置的值为:["+e._s(this.loneTreeNewForm.coderuleoidName)+"]")]),t("div",{staticStyle:{"padding-top":"10px",display:"flex","justify-content":"flex-end",float:"right",overflow:"hidden"}},[t("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.MasterHandlerClick}},[e._v("确定")]),t("el-button",{attrs:{size:"small"},on:{click:e.masterEscHandler}},[e._v("取消")])],1)])],2),t("el-dialog",{attrs:{visible:e.KeydialogVisible,title:"为【关键属性查询规则】选取值","append-to-body":"","before-close":e.KeyEscHandler},on:{"update:visible":function(t){e.KeydialogVisible=t}}},[[t("el-select",{staticStyle:{width:"135px"},attrs:{placeholder:"请选择"},model:{value:e.SelectValue,callback:function(t){e.SelectValue=t},expression:"SelectValue"}},e._l(e.SelectOption,(function(e){return t("el-option",{key:e.value,staticStyle:{width:"150px"},attrs:{label:e.label,value:e.value}})})),1),t("el-input",{staticStyle:{width:"260px","margin-left":"15px"},attrs:{placeholder:"输入值后进行模糊查询"},model:{value:e.SelectFInd,callback:function(t){e.SelectFInd=t},expression:"SelectFInd"}}),t("el-button",{staticStyle:{"margin-left":"20px"},attrs:{size:"small",type:"primary",plain:""},on:{click:e.KeySelectFindeHandler}},[e._v("查询")])],t("avue-crud",{attrs:{data:e.KeyData,option:e.Option},on:{"row-click":e.KeySelect},scopedSlots:e._u([{key:"radio",fn:function(a){var r=a.row;return[t("el-radio",{staticStyle:{"padding-left":"10px !important"},attrs:{label:r.$index},model:{value:e.masterRow,callback:function(t){e.masterRow=t},expression:"masterRow"}},[e._v(e._s("")+"\n ")])]}}])}),t("div",{staticStyle:{height:"30px"}},[t("div",{staticStyle:{display:"inline-block",float:"left",border:"1px solid #eee",padding:"5px","margin-top":"5px","font-size":"14px"}},[e._v("已设置的值为:["+e._s(this.loneTreeNewForm.codekeyattrrepeatoidName)+"]")]),t("div",{staticStyle:{"padding-top":"10px",display:"flex","justify-content":"flex-end",float:"right",overflow:"hidden"}},[t("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.KeyHandlerClick}},[e._v("确定")]),t("el-button",{attrs:{size:"small"},on:{click:e.KeyEscHandler}},[e._v("取消")])],1)])],2),t("el-dialog",{attrs:{visible:e.SimidialogVisible,title:"为【相似项查询规则】选取值","append-to-body":"","before-close":e.simEscHandler},on:{"update:visible":function(t){e.SimidialogVisible=t}}},[[t("el-select",{staticStyle:{width:"135px"},attrs:{placeholder:"请选择"},model:{value:e.SelectValue,callback:function(t){e.SelectValue=t},expression:"SelectValue"}},e._l(e.SelectOption,(function(e){return t("el-option",{key:e.value,staticStyle:{width:"150px"},attrs:{label:e.label,value:e.value}})})),1),t("el-input",{staticStyle:{width:"260px","margin-left":"15px"},attrs:{placeholder:"输入值后进行模糊查询"},model:{value:e.SelectFInd,callback:function(t){e.SelectFInd=t},expression:"SelectFInd"}}),t("el-button",{staticStyle:{"margin-left":"20px"},attrs:{size:"small",type:"primary",plain:""},on:{click:e.SimSelectFindeHandler}},[e._v("查询")])],t("avue-crud",{attrs:{data:e.simData,option:e.Option},on:{"row-click":e.simSelect},scopedSlots:e._u([{key:"radio",fn:function(a){var r=a.row;return[t("el-radio",{staticStyle:{"padding-left":"10px !important"},attrs:{label:r.$index},model:{value:e.masterRow,callback:function(t){e.masterRow=t},expression:"masterRow"}},[e._v(e._s("")+"\n ")])]}}])}),t("div",{staticStyle:{height:"30px"}},[t("div",{staticStyle:{display:"inline-block",float:"left",border:"1px solid #eee",padding:"5px","margin-top":"5px","font-size":"14px"}},[e._v("已设置的值为:["+e._s(this.loneTreeNewForm.codeResembleRuleOidName)+"]")]),t("div",{staticStyle:{"padding-top":"10px",display:"flex","justify-content":"flex-end",float:"right",overflow:"hidden"}},[t("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.simHandlerClick}},[e._v("确定")]),t("el-button",{attrs:{size:"small"},on:{click:e.simEscHandler}},[e._v("取消")])],1)])],2),t("el-dialog",{attrs:{visible:e.BtmdialogVisible,title:"为【业务类型】选取值","append-to-body":"","before-close":e.BtmEscHandler},on:{"update:visible":function(t){e.BtmdialogVisible=t}}},[[t("el-select",{staticStyle:{width:"135px !important"},attrs:{placeholder:"请选择"},model:{value:e.SelectValue,callback:function(t){e.SelectValue=t},expression:"SelectValue"}},e._l(e.masterSelectOption,(function(e){return t("el-option",{key:e.value,staticStyle:{width:"130px"},attrs:{label:e.label,value:e.value}})})),1),t("el-input",{staticStyle:{width:"260px","margin-left":"15px"},attrs:{placeholder:"输入值后进行模糊查询"},model:{value:e.SelectFInd,callback:function(t){e.SelectFInd=t},expression:"SelectFInd"}}),t("el-button",{staticStyle:{"margin-left":"20px"},attrs:{size:"small",type:"primary",plain:""},on:{click:e.BtmSelectFindeHandler}},[e._v("查询")])],t("avue-crud",{attrs:{data:e.BtmData,option:e.masterOption},on:{"row-click":e.btmSelect},scopedSlots:e._u([{key:"radio",fn:function(a){var r=a.row;return[t("el-radio",{staticStyle:{"padding-left":"10px !important"},attrs:{label:r.$index},model:{value:e.masterRow,callback:function(t){e.masterRow=t},expression:"masterRow"}},[e._v(e._s("")+"\n ")])]}}])}),t("div",{staticStyle:{height:"30px"}},[t("div",{staticStyle:{display:"inline-block",float:"left",border:"1px solid #eee",padding:"5px","margin-top":"5px","font-size":"14px"}},[e._v("已设置的值为:["+e._s(this.loneTreeNewForm.btmTypeName)+"]")]),t("div",{staticStyle:{"padding-top":"10px",display:"flex","justify-content":"flex-end",float:"right",overflow:"hidden"}},[t("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.btmHandlerClick}},[e._v("确定")]),t("el-button",{attrs:{size:"small"},on:{click:e.BtmEscHandler}},[e._v("取消")])],1)])],2)],1)],1)},i=[],n=(a("8e6e"),a("ac6a"),a("456d"),a("ade3")),o=(a("7f7f"),a("b761")),s=a("8e19");function l(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function c(e){for(var t=1;t1?this.$message.warning("只能选择一条数据"):this.masterSelectList.length<=0?this.$message.warning("请选择一条数据"):(this.MasterdialogVisible=!1,this.masterSelectList=[],this.$set(this.loneTreeNewForm,"codeRuleOidName",this.masterName),this.$set(this.loneTreeNewForm,"codeRuleOid",this.masterOid),this.$emit("MasterHandler",this.loneTreeNewForm))},masterSelect:function(e){this.masterRow=e.$index,this.masterSelectList=e,this.masterName=e.name,this.masterOid=e.oid},MasterdefaultRend:function(e){var t=this;Object(o["defaultReferDataGrid"])(c({referType:"coderule",isMuti:"false",'conditionMap["lcstatus"]':"Released",limit:"-1"},e)).then((function(e){t.masterData=e.data.records}))},Keyfouce:function(){this.KeydialogVisible=!0,this.KeydefaultRend()},KeyHandlerClick:function(){this.KeySelectLIst.length>1?this.$message.warning("只能选择一条数据"):this.KeySelectLIst.length<=0?this.$message.warning("请选择一条数据"):(this.KeydialogVisible=!1,this.KeySelectLIst=[],this.$set(this.loneTreeNewForm,"codekeyattrrepeatoidName",this.KeyName),this.$set(this.loneTreeNewForm,"codekeyattrrepeatoid",this.KeyOid),this.$emit("MasterHandler",this.loneTreeNewForm))},KeySelectFindeHandler:function(){var e={};e["conditionMap['".concat(this.SelectValue,"']")]=this.SelectFInd,this.KeydefaultRend(e)},KeydefaultRend:function(e){var t=this;Object(o["defaultReferDataGrid"])(c({referType:"codekeyattrrepeat",isMuti:"false",'conditionMap["lcstatus"]':"Enabled",limit:"-1"},e)).then((function(e){t.KeyData=e.data.records}))},KeySelect:function(e){this.masterRow=e.$index,this.KeySelectLIst=e,this.KeyName=e.name,this.KeyOid=e.oid},simFouce:function(){this.SimidialogVisible=!0,this.simdefaultRend()},simHandlerClick:function(){this.simSelectList.length>1?this.$message.warning("只能选择一条数据"):this.simSelectList.length<=0?this.$message.warning("请选择一条数据"):(this.SimidialogVisible=!1,this.simSelectList=[],this.$set(this.loneTreeNewForm,"codeResembleRuleOidName",this.simName),this.$set(this.loneTreeNewForm,"codeResembleRuleOid",this.simOid),this.$emit("MasterHandler",this.loneTreeNewForm))},SimSelectFindeHandler:function(){var e={};e["conditionMap['".concat(this.SelectValue,"']")]=this.SelectFInd,this.simdefaultRend(e)},simSelect:function(e){this.masterRow=e.$index,this.simSelectList=e,this.simName=e.name,this.simOid=e.oid},simdefaultRend:function(e){var t=this;Object(o["defaultReferDataGrid"])(c({referType:"coderesemblerule",isMuti:"false",'conditionMap["lcstatus"]':"Enabled",limit:"-1"},e)).then((function(e){t.simData=e.data.records}))},btmFoucus:function(){this.BtmdialogVisible=!0,this.btmdefaultRend()},btmHandlerClick:function(){this.btmSelectList.length>1?this.$message.warning("只能选择一条数据"):this.btmSelectList.length<=0?this.$message.warning("请选择一条数据"):(this.BtmdialogVisible=!1,this.btmSelectList=[],this.$set(this.loneTreeNewForm,"btmTypeName",this.btmName||this.btmId),this.$set(this.loneTreeNewForm,"btmTypeId",this.btmId),this.$emit("MasterHandler",this.loneTreeNewForm))},BtmSelectFindeHandler:function(){var e={};e["conditionMap['".concat(this.SelectValue,"']")]=this.SelectFInd,this.btmdefaultRend(e)},btmSelect:function(e){this.btmSelectList=e,this.btmName=e.name,this.btmOid=e.oid,this.btmId=e.id},btmdefaultRend:function(e){var t=this;Object(o["referDataGrid"])(c({valueField:"id",isMuti:"false",limit:"-1"},e)).then((function(e){t.BtmData=e.data.data.records}))}}},d=u,p=a("2877"),f=Object(p["a"])(d,r,i,!1,null,"758f36d2",null);t["default"]=f.exports},a0d7:function(e,t,a){},a473:function(e,t,a){},a6dc:function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return s})),a.d(t,"getLazyList",(function(){return l})),a.d(t,"getLazyMenuList",(function(){return c})),a.d(t,"getMenuList",(function(){return u})),a.d(t,"getMenuTree",(function(){return d})),a.d(t,"remove",(function(){return p})),a.d(t,"add",(function(){return f})),a.d(t,"update",(function(){return m})),a.d(t,"getMenu",(function(){return h})),a.d(t,"getTopMenu",(function(){return b})),a.d(t,"getRoutes",(function(){return g})),a.d(t,"cloneMenuButton",(function(){return y}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t"})}}},[e._v("\n -")]),t("br")],1),t("div",{staticClass:"one"},[t("el-button",{staticClass:"formula-editor-btn-sm",attrs:{type:"primary"},on:{click:function(t){return e.dbClickAddContent({formula:"0"})}}},[e._v("\n 0\n ")]),t("el-button",{staticClass:"formula-editor-btn-sm",attrs:{type:"primary"},on:{click:function(t){return e.dbClickAddContent({formula:"00"})}}},[e._v("\n 00\n ")]),t("el-button",{staticClass:"formula-editor-btn-sm",attrs:{type:"primary"},on:{click:function(t){return e.dbClickAddContent({formula:"."})}}},[e._v("\n .\n ")]),t("el-button",{staticClass:"formula-editor-btn-sm",attrs:{type:"primary"},on:{click:function(t){return e.dbClickAddContent({formula:"+"})}}},[e._v("\n +")]),t("br")],1),t("div",{staticClass:"one"},[t("el-button",{staticClass:"formula-editor-btn-sm",attrs:{type:"primary"},on:{click:function(t){return e.dbClickAddContent({formula:"->"})}}},[e._v("\n ->\n ")]),t("el-button",{staticClass:"formula-editor-btn-sm",attrs:{type:"primary"},on:{click:function(t){return e.dbClickAddContent({formula:"=="})}}},[e._v("\n ==\n ")]),t("el-button",{staticClass:"formula-editor-btn-sm",attrs:{type:"primary"},on:{click:function(t){return e.dbClickAddContent({formula:"("})}}},[e._v("\n (\n ")]),t("el-button",{staticClass:"formula-editor-btn-sm",attrs:{type:"primary"},on:{click:function(t){e.dbClickAddContent({formula:")"})}}},[e._v("\n )")]),t("br")],1),t("div",{staticClass:"one"},[t("el-button",{staticClass:"formula-editor-btn-sm",attrs:{type:"primary"},on:{click:function(t){return e.dbClickAddContent({formula:"<"})}}},[e._v("\n <\n ")]),t("el-button",{staticClass:"formula-editor-btn-sm",attrs:{type:"primary"},on:{click:function(t){return e.dbClickAddContent({formula:">"})}}},[e._v("\n >\n ")]),t("el-button",{staticClass:"formula-editor-btn-sm",attrs:{type:"primary"},on:{click:function(t){return e.dbClickAddContent({formula:"<="})}}},[e._v("\n <=\n ")]),t("el-button",{staticClass:"formula-editor-btn-sm",attrs:{type:"primary"},on:{click:function(t){return e.dbClickAddContent({formula:">="})}}},[e._v("\n >=\n ")])],1)])])])],1)],1),t("el-row",[t("el-col",{staticStyle:{overflow:"hidden"},attrs:{span:14}},[t("el-card",{staticClass:"box-card",staticStyle:{height:"35vh","overflow-y":"auto","overflow-x":"auto","margin-right":"10px"}},[t("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[t("span",{staticStyle:{"font-size":"medium"}},[e._v("公式选择")])]),t("div",{staticClass:"text item"},[t("el-tabs",{model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[t("el-tab-pane",{attrs:{label:"常用",name:"first"}},[t("el-table",{staticStyle:{width:"100%"},attrs:{data:e.commonFormulaTableData,"show-header":!1},on:{"row-dblclick":e.dbClickAddContent}},[t("el-table-column",{attrs:{prop:"formula",width:"300"}}),t("el-table-column",{attrs:{prop:"desc"}})],1)],1),t("el-tab-pane",{attrs:{label:"财务",name:"second"}},[t("el-table",{staticStyle:{width:"100%"},attrs:{data:e.financialFormulaTableData,"show-header":!1},on:{"row-dblclick":e.dbClickAddContent}},[t("el-table-column",{attrs:{prop:"formula",width:"300"}}),t("el-table-column",{attrs:{prop:"desc"}})],1)],1),t("el-tab-pane",{attrs:{label:"日期",name:"third"}},[t("el-table",{staticStyle:{width:"100%"},attrs:{data:e.dateFormulaTableData,"show-header":!1},on:{"row-dblclick":e.dbClickAddContent}},[t("el-table-column",{attrs:{prop:"formula",width:"300"}}),t("el-table-column",{attrs:{prop:"desc"}})],1)],1),t("el-tab-pane",{attrs:{label:"数学",name:"fourth"}},[t("el-table",{staticStyle:{width:"100%"},attrs:{data:e.mathFormulaTableData,"show-header":!1},on:{"row-dblclick":e.dbClickAddContent}},[t("el-table-column",{attrs:{prop:"formula",width:"300"}}),t("el-table-column",{attrs:{prop:"desc"}})],1)],1),t("el-tab-pane",{attrs:{label:"其他",name:"five"}},[t("el-table",{staticStyle:{width:"100%"},attrs:{data:e.otherFormulaTableData,"show-header":!1},on:{"row-dblclick":e.dbClickAddContent}},[t("el-table-column",{attrs:{prop:"formula",width:"300"}}),t("el-table-column",{attrs:{prop:"desc"}})],1)],1)],1)],1)])],1),t("el-col",{staticStyle:{overflow:"hidden"},attrs:{span:10}},[t("el-card",{staticClass:"box-card",staticStyle:{height:"35vh","overflow-y":"auto","overflow-x":"auto"}},[t("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[t("span",{staticStyle:{"font-size":"medium"}},[e._v("变量")])]),t("div",{staticClass:"text item"},[t("el-tabs",{model:{value:e.activeNameAttr,callback:function(t){e.activeNameAttr=t},expression:"activeNameAttr"}},[t("el-tab-pane",{attrs:{label:"本场景变量",name:"first"}},[t("el-table",{staticStyle:{width:"100%"},attrs:{data:e.thisSceneTableData,"show-header":!1},on:{"row-dblclick":e.dbClickAddContent}},[t("el-table-column",{attrs:{prop:"formula",width:"300"}}),t("el-table-column",{attrs:{prop:"desc"}})],1)],1),t("el-tab-pane",{attrs:{label:"系统变量",name:"second"}},[t("el-table",{staticStyle:{width:"100%"},attrs:{data:e.systemVariableTableData,"show-header":!1},on:{"row-dblclick":e.dbClickAddContent}},[t("el-table-column",{attrs:{prop:"formula",width:"300"}}),t("el-table-column",{attrs:{prop:"desc"}})],1)],1)],1)],1)])],1)],1)],1)])},i=[],n={name:"formulaEditor",props:{visible:{type:"Boolean",default:!1},componentRuleText:{type:String,default:""},thisSceneTableData:{type:Array},systemVariableTableData:{type:Array}},data:function(){return{isShowformulaEdit:this.visible,formulaContent:"",activeName:"first",activeNameAttr:"first",commonFormulaTableData:[{formula:"if(compare,trueResult,falseResult)",desc:"如果compare的表达式为true,则执行trueResult的表达式,否则执行flaseResult.例如if(3>2,2*(3+2),3/(2-4)),值等于10"},{formula:"sum(douber1,douber2)",desc:"两个格式为douber的参数求和"},{formula:"sub(douber1,douber2)",desc:"格式为douber的参数douber1减去格式为douber的参数douber2"},{formula:"mul(douber1,douber2)",desc:"两个格式为douber的参数相乘"},{formula:"div(douber1,douber2)",desc:"格式为douber的参数douber1除以格式为douber的参数douber2.当douber2等于0的时候,返回0;如果除不尽的时候保留10位小数"},{formula:"mod(int,int)",desc:"求余数"},{formula:"toInt(string)",desc:"转换为int格式"},{formula:"doubleRound(string,count)",desc:"处理douber的小数位数,count表示小数位数"},{formula:"zeroIfNull(value)",desc:'如果参数的值为null或者"",将返回0'},{formula:"endsWith(string,str1)",desc:"字符串string是不是以str1结尾"},{formula:"startsWith(string,str1)",desc:"字符串string是否以str1开头"},{formula:"charAt(string,index)",desc:"获取字符串string中第index位置的字符,如果长度小于index,则返回"},{formula:"equalsIgnoreCase(str1,str2)",desc:"字符串str1和字符串str2是否相等"},{formula:"indexOf(str1,str2)",desc:"字符串str2在字符串str1中首次出现的位置"},{formula:"isEmpty(str1)",desc:"参数str1是否为空,其中null这个字符串也表示为空"},{formula:"lastIndexOf(str1,str2)",desc:"字符串str2在字符串str1中最后出现的位置"},{formula:"leftStr(str1,index)",desc:"获取index位置左侧的所有字符"},{formula:"rightStr(str1,str2)",desc:"获取index位置右侧的所有字符"},{formula:"length(str1)",desc:"参数str1的长度"},{formula:"mid(str1,start,end)",desc:"获取str1的从start到end直接的字符串,出现异常时返回"},{formula:"tolowercase(str1)",desc:"将字符串str1转为小写"},{formula:"touppercase(str1)",desc:"将字符串str1转为大写"},{formula:"trimzero(str1)",desc:"去除字符串str1中的0"},{formula:"MD5(str1)",desc:"将字符串进行MD5加密"}],financialFormulaTableData:[{formula:"toChinese(value)",desc:"将阿拉伯数字转为为汉字大写方式"},{formula:"getChineseCurrency(value)",desc:"将阿拉伯数字转为为汉字金额大写方式,与tochiness的区别是这个会显示元、角、分"},{formula:"setThmark(value)",desc:"为参数value设置千分位"}],dateFormulaTableData:[{formula:"compareDate(d1,d2)",desc:"对比参数d1,d2的大小。d1,d2为yyyy-MM-dd格式的日期字符串"},{formula:"nowDate()",desc:"获取当前日期"},{formula:"chinaDate(d1)",desc:"将时间转换为农历,d1是yyyy-MM-dd格式的日期字符串"},{formula:"dateAdd(d1,count)",desc:"在d1的基础上添加count天,d1为yyyy-MM-dd HH:mm:ss格式的时间字符串"},{formula:"dateBalanceYear(sourceDate,targetDate,false)",desc:'计算相差的年份,比如计算年龄,targetDate为""表示当前时间,第三个参数为true表示有多余的月份或者天数时,就加1;'},{formula:"dateBalanceDay(sourceDate,targetDate)",desc:'计算相差的天数,targetDate为""表示当前时间'},{formula:"dateformat(d1,format)<",desc:"将当前的日期(时间)字符串转为指定的字符串,如果format的内容有空格,请使用&代替"},{formula:"nowDatetime()",desc:"获取当前日期和时间。格式为yyyy-MM-dd HH:mm:ss"},{formula:"dayOf(d1)",desc:"获取格式为yyyy-MM-dd的日期的天数"},{formula:"nowMon()",desc:"获取当前的月份,格式为MM"},{formula:"monOf(d1)",desc:"获取日期d1的月份数"},{formula:"nowTime()",desc:"获取当前时间,格式为HH:mm:ss"},{formula:"nowYear()",desc:"获取年份,格式为yyyy"},{formula:"yearOf()",desc:"获取时间d1的年份"}],mathFormulaTableData:[{formula:"abs(value)",desc:"求参数value的绝对值,value必须为数字格式"},{formula:"acos(value)",desc:"求参数value的反余弦,value必须为数字格式"},{formula:"asin(value)",desc:"求参数value的反正弦,value必须为数字格式"},{formula:"atan(value)",desc:"求参数value的反正切,value必须为数字格式"},{formula:"cbrt(value)",desc:"求参数value的立方根,value必须为数字格式"},{formula:"ceil(value)",desc:"返回不大于参数value的最小整数,例如ceil(1.7)就等于2,value必须为数字格式"},{formula:"cos(value)",desc:"求参数value的余弦值,value必须为数字格式"},{formula:"cosh(value)",desc:"求参数value的双曲余弦值,value必须为数字格式"},{formula:"exp(n)",desc:"欧拉数 e 的n次幂,n必须为数字格式"},{formula:"floor(n)",desc:"欧拉数 e 的n次幂减1,n必须为数字格式"},{formula:"log(value)",desc:"返回不小于参数value的最大整数,例如floor(1.7)等于1,n必须为数字格式"},{formula:"log10(value)",desc:"自然对数,value必须为数字格式"},{formula:"log1p(value)",desc:"计算底数为 10 的对数,value必须为数字格式"},{formula:"random()",desc:"返回参数与 1 之和的自然对数,value必须为数字格式"},{formula:"rint(value)",desc:"返回一个伪随机数,该值大于等于 0.0 且小于 1.0"},{formula:"round(value)",desc:"返回其值最接近参数并且是整数的 double 值。如果两个整数的 double 值都同样接近,那么结果取偶数。特殊情况是:如果参数值是整数,那么结果就是该参数。如果参数是 NaN 或无穷大或正零或负零,那么结果与参数相同"},{formula:"signum(value)",desc:"符号函数;如果参数为 0,则返回 0;如果参数大于 0, 则返回 1.0;如果参数小于 0,则返回 -1.0"},{formula:"sin(value)",desc:"求参数value的正弦值,value必须为数字格式"},{formula:"sinh(value)",desc:"求参数value的双曲正弦值,value必须为数字格式"},{formula:"tan(value)",desc:"求参数value的正切值,value必须为数字格式"},{formula:"tanh(value)",desc:"求参数value的双曲正切值,value必须为数字格式"},{formula:"max(v1,v2)",desc:"求两个数中的较大的值,v1,v2都必须为数字格式,例如max(3.2,3)就等于3.2"},{formula:"min(v1,v2)",desc:"求两个数中的较小的值,v1,v2都必须为数字格式,例如max(3.2,3)就等于3"},{formula:"sqrt(value)",desc:"求平方根"}],otherFormulaTableData:[{formula:"getcolvalue(servername,tablename,fieldname,pkField,pkValue)",desc:"查询servername中tablename数据库表中fieldname字段的值,pkfield表示主键的字段名称,pkValue表示主键的值,serverName现在默认为localServer"}]}},watch:{visible:function(){this.isShowformulaEdit=this.visible,this.formulaContent=this.componentRuleText||""}},mounted:function(){},methods:{dbClickAddContent:function(e){this.formulaContent=this.formulaContent+e.formula},resetFormulaContent:function(){this.formulaContent=""},closeFormulaEdit:function(){this.resetFormulaContent(),this.$emit("update:visible",!1)},saveFormulaContent:function(){null!=this.formulaContent.trim&&""!=this.formulaContent.trim?(this.$emit("updateFormulaContent",this.formulaContent),this.isShowformulaEdit=!1):this.$message.warning("公式内容不能为空!")}}},o=n,s=(a("8b61"),a("2877")),l=Object(s["a"])(o,r,i,!1,null,"627799e5",null);t["default"]=l.exports},ad51:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("el-popover",{attrs:{placement:"bottom",width:"350",trigger:"click"}},[t("el-tabs",{model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[t("el-tab-pane",{attrs:{label:"消息("+e.noticeData.length+")",name:"second"}})],1),t("el-scrollbar",{staticStyle:{height:"300px"}},[t("avue-notice",{attrs:{data:e.noticeData,option:e.option},on:{"page-change":e.pageChange}})],1),t("div",{attrs:{slot:"reference"},slot:"reference"},[t("el-badge",{attrs:{"is-dot":""}},[t("i",{staticClass:"el-icon-bell"})])],1)],1)},i=[],n={name:"top-notice",data:function(){return{activeName:"second",option:{props:{img:"img",title:"title",subtitle:"subtitle",tag:"tag",status:"status"}},emailData:[],noticeData:[{img:"/img/bg/vip1.png",title:"史蒂夫·乔布斯 关注了你",subtitle:"05-08 15:08",tag:"已经开始",status:0},{img:"/img/bg/vip2.png",title:"斯蒂夫·沃兹尼亚克 关注了你",subtitle:"05-08 15:08",tag:"未开始",status:1},{img:"/img/bg/vip3.png",title:"蒂姆·库克 关注了你",subtitle:"05-08 15:08",status:3,tag:"有错误"},{img:"/img/bg/vip4.png",title:"比尔·费尔南德斯 关注了你",subtitle:"05-08 15:08",status:4,tag:"已完成"}]}},created:function(){},methods:{pageChange:function(e,t){var a=this;setTimeout((function(){a.$message.success("页码"+e),a.noticeData=a.noticeData.concat(list),t()}),1e3)}}},o=n,s=a("2877"),l=Object(s["a"])(o,r,i,!1,null,"406a62ce",null);t["default"]=l.exports},b0c50:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAGUklEQVRYw+1XaWxU1xX+zn1v5o3t8RjGNo5d7LLZpCwVtkOLChGeSWJVbSA0MdN0IUhNMaK4UiUkQhojRSKLiNQmVRJh1DSqktDGVEiYQNJg/qQ02EiUqIugxlCP7Q5eMFNnlrfNe/f0x4zXJi1h6Z/2SFfn3vvjfd/57jnvngv8rxvdjo8omh9zl6yFL1AON2Pg48E/Qh/563+HwOcbWlCz6dkHVV+gmYClLmPctPjEyF9OvXS5fWvCSQ7dOQLVG/fRkq+1/gzgFiIiZmbbITJMZsOiK4mhS/dHfxnud1Ox20+gpG4v1W59+lWPT+yY2HMlYFqAMTFMRFMjvaHRt0NRmY7dPgJFX2ylvKpdbZomti1d7yfFSwwQ2Q6zYRIZFrNhTfqoPtobTh0NRaHHbp1AoH4vaYt3tbHOzWQzCvwKahr8II+Yit6cpkJ29JljvSH+bagfRuzTCQRKFmPBqm/h7z2nEB/s/hfw/NqnKG/l7oPS4u8LG0Q2M9lMBX6FF6zzk800PfKJXCDDYnYciiJxKYTOcP90JSYJLFu/h1Z/dc/d8ZGLA6ff3p4eH/7TDHCt/inS6na3kYNmsgFhM8hmkA2QzcgrUFC62g9LitnRw7IABgBGH5KXQjg5RYIAoKr+B1j7jRd29p4/8tofjj5usXRmgq9pJe+XdrfBxTbKgEQucrLBZDOJnPcFPV35ywruMUyo05VwXGaACMwMoigSvSGcDPVDj4FAKtbvvLJJCKXggwNfOCQzyRng3nWtpK57oo0kNVMuapGLekIBYTMowx1OvDNSdG/jBpvm/Nqw4DFMwLJz0c+0PiR6wzi6NKp6AwshlbmRsaGP2maDe+59gsQDe9pY0jbYDEgwOFvvYBCYGMwEoOOuBcnIhZ8/bqf6q4945ocCjgvFcQGWn5rPNgCopGhIZ7g4f96KFWr+Xb9z9GEAgKiohXhw75NSiGZhM8CELCiDJREkAMlEEh3O0LHIosb7VO07zzjnXv+RzIx+ZN5oVamOcQ0uU4+EZ/v8ta0Ho50tLgCIL28pdAuUJynDYEkMyTRbAWJ02FfaN6dP78iccyL2mh++XnXhvQMD+lDPDZe16hojSMcv/koW3t1SUfvYj1PDZ/eN/flNcPmi1fCSnwAwM00oQDkFSHJHpqc9op/ekQFLxLoOw3rsuYrKrzQN9Bx59sYJAMDI+Z90Vzzw2m+Gk3i6ZsMro6ovcHDUQxpUMEsQpinATKT9w+HCmPXh+OVz9uQhs8T14Wh+Xnl1JYDBz0Qg2XsYySUPbdcWblh+NUEHFn99/zJfgfPygJoFxDQFvNcdBPpMEoT9Jcv3OYD7YqLvF/DMq4aoume1OToYu6l+gJQ8VGxsL/NUNhw3XdSXFYu/jc1X8oc1KkeuztWU5HmnUyQkmAQRCTARdo0PvvRiRdOjNZ6y6hNX33952fDh3Zmba0iEFyWhF3yBVd97PuVQi+qBWlQsYBQJJBQAPRYCFy2QAEgQSBBUH3H+cu0NvVTd6EI+M3Dg0Z86vmKQC5DDgJP12XVuz83CWdeOf/Jl5KtqQPF9z61Qyla2GhIPSyI1Pw/k18AiwyQkmAVI+ohNTZAuwXlx94P0YHdobEH5EqVw0TuKzkFhMISeGwZD6BKKziCTLXbT375+ds3v6d+J41sYhr92S1leTeMmM1C0k21eSQBYJRAYSgbQ0hLaqAMymY0SZX9sle+7QpfzZ4MrU3OLUsmm8fPfPJ75uOsGr2NFg6f5cNBXEe4sPWvUkZjIAWIiZL3I+ms1XhovVVjoTEJnVgxJQufs2mCLkqmmxIebjzvxrs/YD6gafFvag2X6ulOqybWTeUA0LSeyPl6pIl6sQJhTCnh0tpRUavP4yaZ3nGtnbrIhUTUUh94KFgVCnQojqwTlqmFCkZwSjpdI9wtmBnkzsFQzFek/8cgxc/jMLbZkioaS8FvBOXPDnYJRRzRVETOUoMk9OyPTm/vefeSYMXTmNjWlioZ59x8KFgXDnYrEtJyYlRsKWTanI9ETnwx+a225oqGs8VBwTjDcKZjqpv8bcnPLRirS/27TMePqmTv0MFE0lDa8EghWNj2vSNoqCPkkCKxSt5UZ2jV4cmuXebX7zj/NvGX1KKhq9Apf4edIyoQdv3A9ebkDnEnj//af7J+cLV0HDoDz9gAAAABJRU5ErkJggg=="},b12a:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("div",[t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"avue-dialog avue-dialog--top",attrs:{title:e.title,"append-to-body":"true",visible:e.visible,top:"0",width:e.options.width||"80%",height:e.options.height||"auto"},on:{"update:visible":function(t){e.visible=t}}},[t("avue-crud",{ref:"referCrud",attrs:{option:e.option,"table-loading":e.loading,data:e.data,page:e.page},on:{"update:page":function(t){e.page=t},"search-change":e.searchChange,"search-reset":e.searchReset,"selection-change":e.selectionChange,"row-click":e.rowClick,"current-change":e.currentChange,"size-change":e.sizeChange,"refresh-change":e.refreshChange,"on-load":e.onLoad},scopedSlots:e._u([{key:"icon",fn:function(e){return[t("i",{class:e.row.icon,staticStyle:{"font-size":"24px"}})]}}]),model:{value:e.value,callback:function(t){e.value=t},expression:"value"}}),t("div",{staticClass:"avue-dialog__footer"},[t("div",{staticClass:"avue-dialog__footer--left valueInfo"},[e._v(e._s(e.valueInfo)+" ")]),t("el-button",{on:{click:function(t){e.visible=!1}}},[e._v("取 消")]),t("el-button",{attrs:{type:"primary"},on:{click:e.setValue}},[e._v("确 定")])],1)],1),t("avue-input",{attrs:{disabled:e.disabled,placeholder:e.title},on:{click:function(t){!e.disabled&&(e.visible=!0)}},model:{value:e.text,callback:function(t){e.text=t},expression:"text"}})],1)},i=[],n=a("bef3"),o=n["a"],s=(a("6afa"),a("2877")),l=Object(s["a"])(o,r,i,!1,null,"9269524a",null);t["default"]=l.exports},b1bb:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("basic-container",[t("avue-tabs",{attrs:{option:e.Taboption},on:{change:e.handleChange}}),"tab1"===e.type.prop?t("span",[t("attrCrud",{attrs:{ProData:e.ProData,crudOid:e.crudOid,checkStatus:e.checkStatus,crudLCStatus:e.crudLCStatus,crudArray:e.crudArray,Formlist:e.Formlist,codeClassifyOid:e.codeClassifyOid}})],1):"tab2"===e.type.prop?t("span",[t("FlowPath",{ref:"FlowPath",attrs:{code:this.crudOid,checkStatus:e.checkStatus,crudLCStatus:e.crudLCStatus,Formlist:e.Formlist}})],1):"tab3"===e.type.prop?t("span",[t("stage",{ref:"stage",attrs:{code:this.crudOid,Formlist:e.Formlist}})],1):e._e()],1)},i=[],n={name:"TemplatePro.vue",props:["ProData","crudOid","crudLCStatus","crudArray","Formlist","codeClassifyOid","rowIndex","crudArrayFlag"],data:function(){return{type:{},Taboption:{column:[{label:"模板属性",prop:"tab1"},{label:"模板流程",prop:"tab2"},{label:"模板阶段",prop:"tab3"}]},checkStatus:!1}},created:function(){this.type=this.Taboption.column[0],this.type.prop="tab1"},watch:{},methods:{handleChange:function(e){this.type=e}}},o=n,s=(a("6f18"),a("2877")),l=Object(s["a"])(o,r,i,!1,null,null,null);t["default"]=l.exports},b1ca:function(e,t,a){"use strict";a.r(t),a.d(t,"getPage",(function(){return c})),a.d(t,"getDetail",(function(){return u})),a.d(t,"add",(function(){return d})),a.d(t,"batchAdd",(function(){return p})),a.d(t,"update",(function(){return f})),a.d(t,"batchUpdate",(function(){return m})),a.d(t,"remove",(function(){return h})),a.d(t,"refList",(function(){return b})),a.d(t,"getAppayRange",(function(){return g}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t=200&&e<=500},i.a.defaults.withCredentials=!0,f.a.configure({showSpinner:!1}),i.a.interceptors.request.use((function(e){f.a.start();var t=!1===e.authorization;t||(e.headers["Authorization"]="Basic ".concat(d["Base64"].encode("".concat(u["a"].clientId,":").concat(u["a"].clientSecret))));var a=e.meta||{},r=!1===a.isToken;return Object(l["a"])()&&!r&&(e.headers[u["a"].tokenHeader]="bearer "+Object(l["a"])()),!0===e.text&&(e.headers["Content-Type"]="text/plain"),"post"===e.method&&!0===a.isSerialize&&(e.data=Object(s["i"])(e.data)),"get"===e.method&&(e.paramsSerializer=function(e){return h.a.stringify(e,{encode:!0})}),e}),(function(e){return Promise.reject(e)})),i.a.interceptors.response.use((function(e){f.a.done();var t=e.data.code||e.status,a=u["a"].statusWhiteList||[],r=e.data.msg||e.data.error_description||"未知错误";return a.includes(t)?Promise.reject(e):(401===t&&n["a"].dispatch("FedLogOut").then((function(){return o["a"].push({path:"/login"})})),200!==t?(Object(c["Message"])({message:r,type:"error"}),Promise.reject(new Error(r))):e)}),(function(e){return f.a.done(),Promise.reject(new Error(e))})),t["a"]=i.a},b761:function(e,t,a){"use strict";a.r(t),a.d(t,"getTreeList",(function(){return s})),a.d(t,"defaultReferDataGrid",(function(){return l})),a.d(t,"referDataGrid",(function(){return c}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t",tipPlacement:"right",span:7},{label:"服务的地址",prop:"backPath",tip:"通常为空,在支持微服务或者分布式部署的时候才配置",tipPlacement:"right",span:7},{label:"请求后台的协议方式",prop:"method",tip:"HTTP的协议方式,支持POST,PUT,GET,一般都是GET",tipPlacement:"right",span:7,value:"GET",type:"select",dicData:[{label:"GET",value:"GET"},{label:"PUT",value:"PUT"},{label:"POST",value:"POST"}]}]}]}},formOtherOption:function(){return{submitBtn:!1,emptyBtn:!1,labelWidth:"145",group:[{display:"default"==this.form.type||"grid"==this.form.type,icon:"el-icon-info",label:"default"==this.form.type?"默认参照的配置(下方列表)":"列表参照的配置(下方列表)",collapse:!0,prop:"groupDdefaultOrGrid",column:[{label:"每页显示条数",prop:"limit",span:8,tip:"分页时每页显示的数量,不分页填-1",value:15,tipPlacement:"right"},{label:"排序字段",prop:"sortField",span:8,tip:"查询数据时的排序字段",tipPlacement:"right"},{label:"排序类型",prop:"sortType",span:8,dicData:[{label:"升序",value:"asc"},{label:"降序",value:"desc"}],type:"select",tip:"查询数据时的排序类型",tipPlacement:"right"}]},{display:"stand"==this.form.type,icon:"el-icon-info",label:"stand(平台配置)参照",collapse:!0,prop:"groupStand",column:[{label:"参考的UI上下文",prop:"referContent",span:8,tip:"只有参照窗口类型是stand时才必须设置,且在stand类型下才能生效",tipPlacement:"right"},{label:"平台的表格编号",prop:"displayTable",span:8,tip:"与参照的UI上下文互斥,只有参照窗口类型是stand时才必须设置,且在stand类型下才能生效",tipPlacement:"right"}]},{display:"tree"==this.form.type,icon:"el-icon-info",label:"树形参照信息",collapse:!0,prop:"groupTree",labelWidth:"158",column:[{label:"树形的上级属性",prop:"parentFieldName",span:7,tip:"树形展示的时候,上下级关系查找的属性。",tipPlacement:"right",rules:[{required:!0,message:"(树形的上级属性)必填项不能为空",trigger:"blur"}]},{label:"上级属性值对应属性",prop:"parentUsedField",span:7,tip:"上级属性存储的值,是上级数据的什么属性。一般都是oid。",value:"oid",tipPlacement:"right"},{label:"根节点的值",prop:"parentValue",span:7,tip:"树形展示的时候,上级的值。",tipPlacement:"right"},{label:"树加载方式",prop:"loadType",span:7,value:"all",dicData:[{label:"全部",value:"all"},{label:"逐级加载",value:"node"}],type:"select"},{label:"排序字段",prop:"sortField",span:7,tip:"查询数据时的排序字段",tipPlacement:"right"},{label:"排序类型",prop:"sortType",span:7,type:"select",value:"asc",dicData:[{label:"升序",value:"asc"},{label:"降序",value:"desc"}]},{label:"是否只能选择叶子节点",prop:"onlyLeaf",span:7,value:!1,type:"switch"}]}]}}},mounted:function(){var e=this;this.element=document.getElementById("refer-config-form"),this.element.addEventListener("click",(function(t){e.$refs.crudAttr.$el.contains(t.target)||""==e.preClickAttrRow||(e.preClickAttrRow.$cellEdit=!1),e.$refs.crudAddCondition.$el.contains(t.target)||""==e.preClickAddSearchConditionRow||(e.preClickAddSearchConditionRow.$cellEdit=!1)}))},watch:{"form.type":function(e){this.onloadAttrData()},isShowReferConfigForm:function(){this.isShowReferConfigForm&&this.codeShowFieldConfigVOS.length<=0&&this.onloadAttrData()}},methods:{selectedListReferConfig:function(){var e=Object(o["a"])(regeneratorRuntime.mark((function e(){var t,a,r=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=!0,e.next=3,this.formRefs.forEach((function(e){r.$refs[e].validate((function(e,a,i){if(!e){for(var n in i){r.$message.warning(i[n][0].message);break}t=!1}a()}))}));case 3:t&&(a=this.filterForm(),this.$emit("echoReferConfig",a),this.isShowReferConfigForm=!1);case 4:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),clickAttrEdit:function(e,t,a){this.preClickAttrRow&&this.preClickAttrRow!=e&&(this.codeShowFieldConfigVOS[this.preClickAttrRow.$index].$cellEdit=!1),e.$cellEdit=!0,this.preClickAttrRow=e},clickAddSearchCondtionEdit:function(e,t,a){this.preClickAddSearchConditionRow&&this.preClickAddSearchConditionRow!=e&&(this.form.codeSrchCondConfigVOS[this.preClickAddSearchConditionRow.$index].$cellEdit=!1),e.$cellEdit=!0,this.preClickAddSearchConditionRow=e},initPageData:function(e){return s["a"].notEmpty(e.referConfig)?(this.form=JSON.parse(e.referConfig),this.form.isPersistence=!("true"!=this.form.isPersistence&&!this.form.isPersistence),void(("default"==this.form.type||"grid"==this.form.type)&&void 0!=this.form.codeShowFieldConfigVOS&&this.form.codeShowFieldConfigVOS.length>0&&(this.codeShowFieldConfigVOS=this.form.codeShowFieldConfigVOS))):(this.onloadAttrData(),s["a"].notEmpty(e.referType)?(this.form.referTypeName=e.referTypeName,this.form.referType=e.referType,void(this.referTypeIsReadOnly=!0)):void 0)},onloadAttrData:function(){this.codeShowFieldConfigVOS=[{field:"id",title:"编号",fieldType:"text",fieldTypeText:"文本框",sort:!0,attrSortField:"id",width:"150",isquery:!0,$cellEdit:!1},{field:"name",title:"名称",fieldType:"text",fieldTypeText:"文本框",sort:!0,attrSortField:"name",width:"180",isquery:!0,$cellEdit:!1}]},removeCurrentRow:function(e,t){"removeAttr"!=t?this.$delete(this.form.codeSrchCondConfigVOS,e.$index):this.$delete(this.codeShowFieldConfigVOS,e.$index)},recoveryDataAndForm:function(e){if("initForm"==e){this.referTypeIsReadOnly=!1;var t=this.form.type;return this.form=this.$options.data().form,void(this.form.type=t)}if(Object.assign(this.$data,this.$options.data()),""!=this.element)window.removeEventListener("click",this.element)},filterForm:function(){var e=this,t=this.form,a=["referTypeName","referType","textField","valueField","type","url","backPath","method","height","useFormKey","paramForFormKey","isMuti","mapFields","codeSrchCondConfigVOS","isOpenGlobal","isPersistence"],r=[],i={};return"stand"==t.type?r=["referContent","displayTable"]:"default"==t.type||"grid"==t.type?r=["limit","sortField","sortType"]:"tree"==t.type&&(r=["parentFieldName","parentUsedField","parentValue","loadType","onlyLeaf","sortField","sortType"]),("true"==t.isPersistence||t.isPersistence)&&(a=a.concat(["id","name"])),a=a.concat(r),this.checkArrayIsUndefined(this.form.codeSrchCondConfigVOS)||(i={codeSrchCondConfigVOS:this.form.codeSrchCondConfigVOS}),("default"==t.type||"grid"==t.type)&&this.codeShowFieldConfigVOS.length>=0&&!this.checkArrayIsUndefined(this.codeShowFieldConfigVOS)&&(i=Object.assign(i,{codeShowFieldConfigVOS:this.codeShowFieldConfigVOS})),a.forEach((function(a){"isMuti"!=a&&"onlyLeaf"!=a&&e.checkStringIsEmpty(t[a])&&e.checkArrayIsUndefined(t[a])||(i=Object.assign(i,Object(n["a"])({},a,t[a])))})),i},checkStringIsEmpty:function(e){return null===e||"undefined"===typeof e||"string"===typeof e&&""===e&&"undefined"!==e},checkArrayIsUndefined:function(e){return"array"===typeof e&&(0===e.length||null===e||"undefined"===typeof e)},clearSelectionTable:function(e){"referType"==e?(this.form.referType="",this.form.referTypeName=""):this.form.sortField=""},openSelectionTable:function(e){if("referType"==e)return this.referBtmDialogParams.selectReferBtmSettingBox=!0,void this.$refs[this.referBtmDialogParams.ref].referBtmOnLoad();if(""!=this.form.referType&&null!=this.form.referType){var t=this.seletedBtmTypeAttrOptions;t.btmTypeId=this.form.referType,"sortField"==e?(t.title="为【排序字段】选取值对话框",t.condition="sortField"):"addSearchCondition"==e?(t.title="选择查询条件",t.condition="addSearchCondition"):(t.title="选择显示字段",t.condition="selectAttr"),this.$refs[this.selectedBtmTypeAttrParams.ref].selectedBtmTypeAttrOnLoad(t),this.selectedBtmTypeAttrParams.selectedBtmTypeAttrSettingBox=!0}else this.$message.warning("请输入参照的业务类型")},echoReferBtmType:function(e){this.form.referTypeName=e.name||e.id,this.form.referType=e.id||""},echoSelectedAttr:function(e){var t=this;"sortField"===e.condition?this.form.sortField=e.selectedArrary[0].id:"addSearchCondition"===e.condition?e.selectedArrary.forEach((function(e){t.form.codeSrchCondConfigVOS.push({filterField:e.id,filterType:"_equal",filterTypeText:e.name,filterValue:"",$cellEdit:!1})})):e.selectedArrary.forEach((function(e){t.codeShowFieldConfigVOS.push({field:e.id,title:e.name,fieldType:"text",fieldTypeText:"文本框",sort:!1,attrSortField:e.id,width:e.attributeLength,isquery:!1,$cellEdit:!1})}))}}},c=l,u=(a("419d"),a("2877")),d=Object(u["a"])(c,r,i,!1,null,null,null);t["default"]=d.exports},bcc5:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("el-dialog",{staticStyle:{height:"115vh"},attrs:{title:"查看应用范围",visible:e.showDialog,"append-to-body":"",width:"65%"},on:{"update:visible":function(t){e.showDialog=t},close:e.closeDialog}},[t("basic-container",[t("avue-crud",{ref:"crud",attrs:{data:e.rangeData,option:e.option}})],1)],1)},i=[],n={name:"Versionpackage.vue",props:{rangeData:{type:Array}},data:function(){return{showDialog:!1,option:{height:300,headerAlign:"center",align:"center",border:!0,menu:!1,index:!0,addBtn:!1,indexFixed:!1,menuFixed:!1,header:!1,highlightCurrentRow:!0,column:[{label:"英文名称",prop:"id"},{label:"中文名称",prop:"name"},{label:"所属领域",prop:"domainText"},{label:"数据表名",prop:"tableName",width:200},{label:"说明",prop:"descirption"}]}}},methods:{closeDialog:function(){this.rangeData=[],this.showDialog=!1}}},o=n,s=a("2877"),l=Object(s["a"])(o,r,i,!1,null,"431df4ac",null);t["default"]=l.exports},bd80:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("avue-input-tree",{ref:"referTree",attrs:{props:e.props,disabled:e.disabled,lazy:e.lazy,"tree-load":e.treeLoad,"node-click":e.nodeClick,checked:e.checked,"leaf-only":e.referConfig.onlyLeaf,multiple:e.isMuti,placeholder:e.title,dic:e.treeData},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}})},i=[],n=(a("8e6e"),a("ac6a"),a("456d"),a("a481"),a("28a5"),a("ade3")),o=a("ee95"),s=a("c54a");function l(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function c(e){for(var t=1;t-1?a.split("@vcitreesep@")[1]:a,this.params.parentValue=this.params.parentOid,this.params.parentBtmName=e.data.attributes.btmName||e.data.attributes.btmname,this.params.parentBtmType=this.params.parentBtmName,this.options.rootParams&&0!==e.level)for(var r in this.options.rootParams)delete this.params[r];Object(o["getLazyTree"])(this.params,this.treeUrl).then((function(e){t(e.data.data.map((function(e){return e.attribute?e.attribute.data=e.attribute.data||{}:e.attribute={data:{}},c(c({},e),{},{leaf:!e.hasChildren})})))}))},nodeClick:function(e,t,a){this.isMuti||this.setValue({checkedNodes:[e]})},checked:function(e,t){this.setValue(t)},setValue:function(e){for(var t=[],a=[],r=this.config.textSep,i=0;i=0?n.attributes[this.config.valueField.replace("attribute.","")]||n.attributes.data[this.config.valueField.replace("attribute.","")]:n.attributes[this.config.valueField]||n[this.config.valueField]||n.attributes.data[this.config.valueField];t.push(o);for(var l=[],c=this.config.textField.split(","),u=0;u=0?n.attributes[c[u].replace("attribute.","")]||n.attributes.data[c[u].replace("attribute.","")]:n.attributes[c[u]]||n[c[u]]||n.attributes.data[c[u]];l.push(d)}a.push(l.join(r))}this.value=t.join(","),this.text=a.join(","),this.$emit("setValue",{field:this.referConfig.field,showField:this.referConfig.showField,value:this.value,text:this.text||"",isTreeMuti:this.isMuti,rawData:e.checkedNodes,fieldMap:this.referConfig.fieldMap})}},watch:{}},d=u,p=a("2877"),f=Object(p["a"])(d,r,i,!1,null,"68b9a8a6",null);t["default"]=f.exports},bef3:function(module,__webpack_exports__,__webpack_require__){"use strict";var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("8e6e"),core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__),core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("456d"),core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_1__),core_js_modules_es6_regexp_split__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("28a5"),core_js_modules_es6_regexp_split__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(core_js_modules_es6_regexp_split__WEBPACK_IMPORTED_MODULE_2__),core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("ac6a"),core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_3__),core_js_modules_es6_array_sort__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("55dd"),core_js_modules_es6_array_sort__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(core_js_modules_es6_array_sort__WEBPACK_IMPORTED_MODULE_4__),C_java_workspace_GIT_VCI_UBCS_ubcs_Source_UBCS_WEB_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("ade3"),core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("a481"),core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_6__),_util_validate__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("c54a"),_api_refer_table__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("276d");function ownKeys(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function _objectSpread(e){for(var t=1;t-1&&(a+=e.field+",",e.field=e.field.replace(".","_")),Object(_util_validate__WEBPACK_IMPORTED_MODULE_7__["b"])(e.enumCode)||(e.type="select",e.dicUrl="/api/ubcs-omd/enum/dictionary?code="+e.enumCode,e.dicData=e.enumMap,e.dataType="String",e.search=!0,e.props={label:"itemName",value:"itemValue"},e.rules=[{required:!0,message:"请输入"+e.field,trigger:"blur"}]),e.formatter=function(t){return void 0!=t[e.field]?t[e.field]:void 0!=t.data[e.field]?t.data[e.field]:""},_objectSpread(_objectSpread({},e),{},{label:e.title,prop:e.field,search:!0})}))),paramsData["referColumn"]=a,e.limit>0&&(_this2.page.pageSize=e.limit,_this2.page.currentPage=1),_this2.options.isTreeGrid,_this2.params=paramsData}else _this2.$message.error(e.msg)}));else{var tableConfig=this.options.tableConfig;tableConfig||this.$message.error("没有定义参照的表格配置"),this.page.pageSize=tableConfig.page.limit||10,paramsData?(paramsData["currentUserReferModelKey"]=this.options.currentUserReferModelKey,paramsData["currentUserReferMethodKey"]=this.options.currentUserReferMethodKey):paramsData={currentUserReferModelKey:this.options.currentUserReferModelKey,currentUserReferMethodKey:this.options.currentUserReferMethodKey},this.options.tableConfig&&this.options.tableConfig.cols&&this.options.tableConfig.cols.length>0&&(this.option.column=this.options.tableConfig.cols.map((function(item){if("LAY_TABLE_INDEX"!=item.field&&"LAY_CHECKED"!=item.field){var formatter=item.template||item.templet;return formatter="string"==typeof formatter&&""!=formatter?eval("("+formatter+")"):function(e){return void 0!=e[item.field]?e[item.field]:void 0!=e.data[item.field]?e.data[item.field]:""},_objectSpread(_objectSpread({},item),{},{label:item.title,prop:item.field,formatter:formatter,sortable:item.sort,hide:item.hidden,search:_this2.options.tableConfig.queryColumns.some((function(e){return e.field==item.field}))})}}))),this.options.isTreeGrid}this.params=paramsData},setValue:function(){if(0==this.selectionList.length)return this.$message.warning("没有选择数据"),!1;if(this.selectionList.length>1&&!this.isMuti)return this.$message.warning("每次只能选择一条数据"),!1;var e=[],t=[],a=this.props.value.indexOf(",")>-1,r=this.props.label.indexOf(",")>-1,i=this;this.selectionList.forEach((function(n,o){if(a){var s=i.props.value.split(",");s.forEach((function(t,a){e.push((n[t]||n["data"][t])+(i.referConfig.valueSep?i.referConfig.valueSep:" "))}))}else e.push(n[i.props.value]||n["data"][i.props.value]);if(r){var l=i.props.label.split(",");l.forEach((function(e,a){t.push((n[e]||n["data"][e])+(i.referConfig.textSep?i.referConfig.textSep:" "))}))}else t.push(n[i.props.label]||n["data"][i.props.label])})),this.value=e.join(","),this.text=t.join(","),this.$emit("setValue",{field:this.referConfig.field,showField:this.referConfig.showField,value:this.value,text:this.text,rawData:this.selectionList,fieldMap:this.referConfig.fieldMap}),this.visible=!1},searchReset:function(){this.query={},this.onLoad(this.page)},searchChange:function(e,t){this.query=e,this.page.currentPage=1,this.onLoad(this.page),t()},currentChange:function(e){this.page.currentPage=e},sizeChange:function(e){this.page.pageSize=e},rowClick:function(e){this.$refs.referCrud.toggleSelection(),this.$refs.referCrud.toggleRowSelection(e),this.selectionList=[e]},selectionChange:function(e){if(!this.isMuti&&e.length>1){var t=e.shift();this.$refs.referCrud.toggleRowSelection(t,!1)}this.selectionList=e},selectionClear:function(){this.selectionList=[],this.$refs.referCrud.toggleSelection()},refreshChange:function(){this.onLoad(this.page,this.query)},onLoad:function(e){var t=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.url){this.loading=!0;var r={};if(this.query)for(var i in this.query)r['conditionMap["'+i+'"]']=this.query[i];Object(_api_refer_table__WEBPACK_IMPORTED_MODULE_8__["getList"])(Object.assign(a,this.params,this.query,r),e.currentPage,e.pageSize,this.url).then((function(e){var a=[];e.data.records?(a=e.data.records,t.page.total=e.data.total):(a=e.data.data.records,t.page.total=e.data.data.total),t.data=a.map((function(e){return e.data=e.data||{},_objectSpread({},e)})),t.loading=!1,t.selectionClear()})).catch((function(e){t.$message.error(e),t.loading=!1}))}}}}},bf9e:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return e.dialogVisible?t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"avue-dialog avue-dialog--top",attrs:{visible:e.dialogVisible,top:"-5vh",title:e.title,width:e.width,"append-to-body":""},on:{"update:visible":function(t){e.dialogVisible=t},opened:e.openDialog},scopedSlots:e._u([{key:"footer",fn:function(){return["detail"!==e.type?t("div",{},[t("el-button",{attrs:{size:"small"},on:{click:function(t){return e.close()}}},[e._v("取 消")]),t("el-button",{attrs:{type:"primary",loading:e.submitBtnLoading,size:"small"},on:{click:function(t){return e.submit()}}},[e._v(e._s(e.submitText))]),e.showResembleQuery?t("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.resembleQuerySubmit}},[e._v("相似像查询")]):e._e()],1):e._e()]},proxy:!0}],null,!1,912261284)},[e.dialogVisible?t("FormTemplate",e._b({ref:"FormTemplate",attrs:{type:e.type,TreeValue:e.TreeValue,rowOid:e.rowOid,templateOid:e.templateOid},on:{getFormData:e.getFormData}},"FormTemplate",e.$attrs,!1)):e._e(),"detail"!==e.type&&e.dialogVisible&&(e.showCodeApply||e.showResembleQuery)&&"preview"!==e.type?t("div",{staticClass:"tab_box"},[t("el-tabs",{attrs:{type:"border-card"},on:{"tab-click":e.handleClick},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[e.showCodeApply?t("el-tab-pane",{attrs:{label:"码值申请",name:"codeApply"}},[t("FormTemplate",e._b({ref:"CodeApply",attrs:{type:e.type,selfColumnType:e.selfColumnType,selfColumnConfig:e.selfColumnConfig},on:{getFormData:e.getCodeApplyFormData,referConfigDataUpdate:e.referConfigDataUpdate}},"FormTemplate",e.$attrs,!1))],1):e._e(),e.showResembleQuery?t("el-tab-pane",{attrs:{label:"相似项查询",name:"resembleQuery"}},[t("ResembleQuery",e._b({ref:"resembleQueryRef",attrs:{hasResemble:this.hasResemble,column:this.resembleTableColumn,codeClassifyOid:e.codeClassifyOid,form:this.form,templateOid:e.templateOid}},"ResembleQuery",e.$attrs,!1))],1):e._e()],1)],1):e._e()],1):e._e()},i=[],n=(a("2fdb"),a("96cf"),a("1da1")),o=(a("7f7f"),a("6762"),a("ac6a"),a("456d"),a("902d")),s=a("8cf2"),l=a("6657"),c={name:"FormTemplateDialog",components:{ResembleQuery:l["default"],FormTemplate:s["default"]},props:{visible:{type:Boolean,default:!1},TreeValue:{type:String,default:""},type:{type:String,default:"add"},title:{type:String,default:"编码申请"},width:{type:String,default:"80%"},rowOid:"",codeClassifyOid:{type:String,default:""},templateOid:{type:String,default:""},submitText:{type:String,default:"确 定"},setForm:{type:Object,default:function(){return{}}}},data:function(){return{codeValueApplyStatus:"",loading:!1,submitBtnLoading:!1,hasResemble:!1,resembleTableColumn:[],secVOList:[],form:{},codeApplyForm:{},activeName:"codeApply",showCodeApply:!1,showResembleQuery:!1,selfColumnType:{codefixedsec:"combox",codeclassifysec:"refer",codevariablesec:"text",coderefersec:"refer",codeattrsec:"text",codelevelsec:"text",codedatesec:"date"},selfColumnConfig:{function:{required:this.isRequired,dicData:this.getOptionList,type:this.getType,referConfig:this.getReferConfig,readOnly:this.getDisabled},exchange:{text:"name",field:"oid",prop:"oid",showField:"name",parentClassifySecOid:"parentClassifySecOid",label:"name",maxlength:"codeSecLength",data:"fixedValueVOList",dateFormate:"codeDateFormatStr"},directVoluation:{search:!0,props:{label:"id",value:"id"}}},defaultKeys:["oid","id","name","description","revisionoid","nameoid","btmname","lastr","firstr","lastv","firstv","creator","createtime","lastModifier","lastmodifytime","revisionrule","revisionseq","revisionvalue","versionrule","versionseq","versionvalue","lcstatus","ts","owner","checkinby","checkintime","checkoutby","checkouttime","copyfromversion","secretgrade"],codeRuleOid:""}},created:function(){},computed:{dialogVisible:{get:function(){return this.visible},set:function(e){this.$emit("update:visible",e)}}},methods:{openDialog:function(){this.getFormTemplate(),"add"===this.type&&this.getCodeRule()},close:function(){this.dialogVisible=!1},getFormTemplate:function(){var e=this;Object(o["getFormTemplate"])({templateOid:this.templateOid,codeClassifyOid:this.codeClassifyOid}).then((function(t){200===t.status&&(e.hasResemble=t.data.resembleTableVO&&t.data.resembleTableVO.cols&&t.data.resembleTableVO.cols.length>0,e.resembleTableColumn=t.data.resembleTableVO.cols||[],e.hasResemble?(e.activeName="resembleQuery",e.showResembleQuery=!0):e.showResembleQuery=!1,e.$nextTick((function(){e.$refs.FormTemplate.templateRender(t.data.formDefineVO.items),Object.keys(e.setForm).length>0&&(e.$refs.FormTemplate.form=e.setForm)})))})).catch((function(){e.loading=!1}))},getCodeRule:function(){var e=this,t=this;Object(o["getCodeRule"])({codeClassifyOid:t.codeClassifyOid}).then((function(a){if(a.data&&200===a.data.code){t.codeRuleOid=a.data.data.oid;var r=["codeattrsec","codevariablesec","codefixedsec","codeclassifysec","codedatesec","coderefersec","codelevelsec"];t.secVOList=(a.data.data.secVOList||[]).filter((function(e){return r.includes(e.secType)})),t.secVOList.length>0&&"add"===t.type?(t.showCodeApply=!0,t.activeName="codeApply",t.$nextTick((function(){t.$refs.CodeApply.templateRender(t.secVOList,e.TreeValue)}))):t.showCodeApply=!1}}))},getFormData:function(e){this.form=e},getCodeApplyFormData:function(e){this.codeApplyForm=e},referConfigDataUpdate:function(e){var t=this,a=e.field;this.secVOList=this.secVOList.map((function(r){return r.parentClassifySecOid===a&&(t.$refs.CodeApply.form[r.oid]=void 0,t.$refs.CodeApply.form[r.name]=void 0,r.readOnly=!1,r.referConfig.extraParams.parentClassifyValueOid=e.value),r})),this.$refs.CodeApply.templateRender(this.secVOList,this.TreeValue)},resembleQuerySubmit:function(){this.activeName="resembleQuery",this.$refs.resembleQueryRef.resembleQuery(this.form)},handleClick:function(){"resembleQuery"===this.activeName&&this.resembleQuerySubmit()},submit:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,a,r,i,n,o,s,l,c=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.$refs.FormTemplate.validate();case 2:if(t=e.sent,t){e.next=5;break}return e.abrupt("return");case 5:if(!0,a=[],!this.$refs.resembleQueryRef){e.next=11;break}return e.next=10,this.$refs.resembleQueryRef.resembleQuery(this.form);case 10:a=e.sent;case 11:if(!(a.length>0)){e.next=14;break}return e.next=14,this.$confirm("该物料已有".concat(a.length,"条相似数据,是否继续保存?"),"需要您确认",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"});case 14:r=["jiliangdwname","materialtypeText","morengongysname","$caigouwl","$xiaoshouwl","$shifoupihaoguanli","lcstatus_text","hesuanfenleiname","$kucunwl","oldcode","lastmodifier"],i={},n=this.getDefaultValueAndFormValues(this.form),o=n.defaultValue,s=n.formValue,r.forEach((function(e){c.$delete(s,e)})),l=Object.keys(s),l.forEach((function(e,t){l.forEach((function(a,r){e==="$"+a&&r!==t&&c.$delete(s,l[t])}))})),i.data=s,i=Object.assign({},i,o),i.secDTOList=this.secVOList.map((function(e){return{secOid:e.oid,secValue:c.codeApplyForm[e.oid]}})),i.codeClassifyOid=this.codeClassifyOid,i.codeRuleOid=this.codeRuleOid,i.templateOid=this.templateOid,this.$emit("submit",i);case 27:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),getDefaultValueAndFormValues:function(e){var t={},a={};for(var r in e)if(Object.hasOwnProperty.call(e,r)){var i=e[r];this.defaultKeys.includes(r)?t[r]=i:a[r]=i}return{defaultValue:t,formValue:a}},getType:function(e){return this.selfColumnType[e.secType]},getReferConfig:function(e){var t={};return"codeclassifysec"==e.secType?t={isMuti:!1,type:"grid",tableConfig:{limit:-1,cols:[{field:"id",title:"英文名称",sort:!0,width:150},{field:"name",title:"中文名称",sort:!0,width:150},{field:"description",title:"描述",width:250}],queryColumns:[{field:"id",title:"英文名称"},{field:"name",title:"中文名称"}]},url:"api/ubcs-code/ubcs-code/mdmEngineController/listCodeClassifyValueBySecOid",extraParams:{classifySecOid:e.oid,parentClassifyValueOid:e.parentClassifySecOid?this.codeApplyForm[e.parentClassifySecOid]:""}}:"coderefersec"==e.secType&&(t=JSON.parse(e.referValueInfo),console.log("params",t)),t},getDisabled:function(e){if("codeclassifysec"===e.secType&&e.parentClassifySecOid)return!this.codeApplyForm[e.parentClassifySecOid]},isRequired:function(e){return"true"!=e.nullableFlag},getOptionList:function(e){if(Array.isArray(e.fixedValueVOList)&&e.fixedValueVOList.length>0){var t={key:"id",value:"id"},a=e.fixedValueVOList.map((function(e){for(var a in t)if(Object.hasOwnProperty.call(t,a)){var r=t[a];e[a]=e[r]}return e}));return a}return[]}}},u=c,d=(a("67ee"),a("2877")),p=Object(d["a"])(u,r,i,!1,null,"9b0b2656",null);t["default"]=p.exports},c0c7:function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return s})),a.d(t,"remove",(function(){return l})),a.d(t,"add",(function(){return c})),a.d(t,"update",(function(){return u})),a.d(t,"updatePlatform",(function(){return d})),a.d(t,"getUser",(function(){return p})),a.d(t,"getUserPlatform",(function(){return f})),a.d(t,"getUserInfo",(function(){return m})),a.d(t,"resetPassword",(function(){return h})),a.d(t,"updatePassword",(function(){return b})),a.d(t,"updateInfo",(function(){return g})),a.d(t,"grant",(function(){return y})),a.d(t,"unlock",(function(){return v})),a.d(t,"insert",(function(){return O})),a.d(t,"check",(function(){return _})),a.d(t,"getByRoleUserList",(function(){return w}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t0&&(i={codeSrchCondConfigVOS:e.codeSrchCondConfigVOS}),("default"==e.type||"grid"==e.type)&&e.codeShowFieldConfigVOS.length>=0&&(i=Object.assign(i,{codeShowFieldConfigVOS:e.codeShowFieldConfigVOS})),a.forEach((function(a){"isMuti"!=a&&"onlyLeaf"!=a&&t.checkStringIsEmpty(e[a])&&t.checkArrayIsUndefined(e[a])||(i=Object.assign(i,Object(n["a"])({},a,e[a])))})),i},checkStringIsEmpty:function(e){return null===e||"undefined"===typeof e||"string"===typeof e&&""===e&&"undefined"!==e},checkArrayIsUndefined:function(e){return"array"===typeof e&&(0===e.length||null===e||"undefined"===typeof e||e===[])},referConfigOnload:function(){var e=this,t=this.referConfigParams;t.referConfigLoading=!0;var a={};t.referConfigQuery&&Object.keys(t.referConfigQuery).forEach((function(e){a["conditionMap["+e+"]"]=t.referConfigQuery[e]})),Object(o["getReferConfigPage"])(t.referConfigPage.currentPage,t.referConfigPage.pageSize,a).then((function(t){var a=t.data.data;e.referConfigParams.referConfigPage.total=a.total,e.referConfigParams.referConfigData=a.records,e.referConfigParams.referConfigLoading=!1,e.referConfigParams.referConfigData.length>0&&e.$nextTick((function(){e.$refs[e.referConfigParams.ref].doLayout(),e.referConfigParams.referConfigSelectedRow=0,e.$refs[e.referConfigParams.ref].setCurrentRow(e.referConfigParams.referConfigData[0]),e.referConfigParams.referConfigSelectedRowData=e.referConfigParams.referConfigData[0],e.attrAndSrchCondOnload(e.referConfigParams.referConfigData[0]),e.loadDefaultOrGridOrStandOrTreeForm(e.referConfigParams.referConfigData[0])}))}))},referBtmTypeSizeChange:function(e){this.referConfigParams.referConfigPage.pageSize=e},referBtmTypeCurrentChange:function(e){this.referConfigParams.referConfigPage.currentPage=e},referConfigRowClick:function(e){this.referConfigParams.referConfigSelectedRowData=e,this.referConfigParams.referConfigSelectedRow=e.$index,this.attrAndSrchCondOnload(e),this.loadDefaultOrGridOrStandOrTreeForm(e)},referConfigSearchChange:function(e,t){this.referConfigParams.referConfigQuery=e,this.referConfigParams.referConfigPage.currentPage=1,this.referConfigOnload(),t()},referConfigSearchReset:function(){this.referConfigParams.referConfigQuery={},this.referConfigOnload(this.referConfigParams.referConfigPage)},referConfigCurrentChange:function(e){this.referConfigParams.referConfigPage.currentPage=e},referConfigSizeChange:function(e){this.referConfigParams.referConfigPage.pageSize=e},loadDefaultOrGridOrStandOrTreeForm:function(e){"tree"!=e.type&"stand"!=e.type&"default"!=e.type&"grid"!=e.type?(this.isShowForm=!1,this.toggleBasicCrudWidth.width="100%"):(this.isShowForm=!0,this.toggleBasicCrudWidth.width="70%",this.toggleFormOption(e)),this.toggleCurdWidth(e)},toggleFormOption:function(e){var t=this,a="";"default"==e.type||"grid"==e.type?(this.formOption.column=this.sortColumn,a="defaultOrGridForm"):"stand"==e.type?(this.formOption.column=this.standColumn,a="standForm"):"tree"==e.type&&(this.formOption.column=this.treeColumn,a="treeForm"),this.referConfigForm={},this[a].forEach((function(a){Vue.set(t.referConfigForm,a,e[a])}))},toggleCurdWidth:function(e){"default"==e.type||"grid"==e.type?(this.showAttrParams.isShow=!0,this.toggleSrchCrudWidth.width="40%"):(this.showAttrParams.isShow=!1,this.toggleSrchCrudWidth.width="100%")},attrAndSrchCondOnload:function(e){var t=this;this.srchCondParams.srchCondLoading=!0,this.showAttrParams.showAttrLoading=!0,this.$nextTick((function(){t.$refs[t.srchCondParams.ref].doLayout(),t.$refs[t.showAttrParams.ref].doLayout()})),this.srchCondParams.srchCondData=e.codeSrchCondConfigVOS,this.showAttrParams.showAttrData=e.codeShowFieldConfigVOS,this.srchCondParams.srchCondLoading=!1,this.showAttrParams.showAttrLoading=!1}}},l=s,c=(a("de2e"),a("2877")),u=Object(c["a"])(l,r,i,!1,null,null,null);t["default"]=u.exports},c7a0:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("basic-container",[t("avue-crud",{ref:"crud",attrs:{data:e.data,option:e.option},on:{"on-load":e.getList,"row-del":e.rowDel,"refresh-change":e.refreshChange,"row-save":e.rowSave},model:{value:e.form,callback:function(t){e.form=t},expression:"form"}})],1)},i=[],n=(a("7f7f"),{name:"Torelationpackage.vue",data:function(){return{lifeList:"",data:[{name:"测试1"},{name:"测试2"},{name:"测试3"},{name:"测试4"}],form:{},option:{height:300,headerAlign:"center",align:"center",border:!0,editBtn:!1,index:!0,indexFixed:!1,menuFixed:!1,column:[{label:"To端类型",prop:"name"}]}}},methods:{rowSave:function(e,t,a){var r=this;add(Object.assign({createUser:this.userInfo.name},e)).then((function(){r.$message.success("新增成功"),t(),r.getList()})).catch((function(){a()}))},rowDel:function(e){var t=this;this.$confirm("此操作将永久删除, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return del(e.id)})).then((function(){t.$message.success("删除成功"),t.getList()}))}}}),o=n,s=a("2877"),l=Object(s["a"])(o,r,i,!1,null,"1f686f42",null);t["default"]=l.exports},c7a4:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("el-dialog",{staticClass:"avue-dialog avue-dialog--top",staticStyle:{height:"100vh"},attrs:{"close-on-click-modal":!1,visible:e.cloneOtherCodeRuleSettingBox,"append-to-body":"",title:"克隆编码规则的基础信息",top:"-3%",width:"800px"},on:{"update:visible":function(t){e.cloneOtherCodeRuleSettingBox=t},close:e.closeCloneOtherBasicSecDialog}},[t("div",[t("el-row",[t("p",{staticStyle:{"margin-top":"-20px","margin-bottom":"4px","font-weight":"570","font-size":"19px",color:"#0e2d5f"}},[e._v("\n 编码规则\n ")]),t("avue-crud",{ref:"crudCloneCodeRuleOther",staticClass:"other-clone-coderule-crud",attrs:{data:e.codeRuleData,option:e.cloneCodeRuleOption,page:e.codeRulePage,"table-loading":e.codeRuleloading},on:{"update:page":function(t){e.codeRulePage=t},"row-click":e.codeOtherCloneRuleRowClick,"selection-change":e.selectionOtherCloneCodeRuleChange,"search-change":e.searchOtherCloneChange,"search-reset":e.searchOtherCloneReset,"on-load":e.onLoad},scopedSlots:e._u([{key:"radio",fn:function(a){var r=a.row;return[t("el-radio",{attrs:{label:r.$index},model:{value:e.selectOtherCodeRuleRowIndex,callback:function(t){e.selectOtherCodeRuleRowIndex=t},expression:"selectOtherCodeRuleRowIndex"}},[e._v(" ")])]}}])})],1),t("el-row",{staticStyle:{"margin-top":"10px","border-top":"1px solid #ebeef5"}},[t("p",{staticStyle:{"margin-top":"10px","margin-bottom":"4px","font-weight":"570","font-size":"19px",color:"#0e2d5f"}},[e._v("\n 码段信息\n ")]),t("avue-crud",{ref:"crudCloneCodeBasicOther",staticClass:"other-clone-codebasic-crud",attrs:{data:e.cloneBasicData,option:e.cloneBasicOption,"table-loading":e.codeBasicloading},on:{"row-click":e.codeOtherCloneBasicRowClick,"selection-change":e.selectionOtherCloneCodeBasicChange}})],1)],1),t("div",{staticClass:"dialog-footer",staticStyle:{height:"50px"},attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary",loading:e.cloneSaveLoding},on:{click:e.saveOtherCodeBasic}},[e._v("保 存")]),t("el-button",{on:{click:function(t){e.cloneOtherCodeRuleSettingBox=!1}}},[e._v("取 消")])],1)])},i=[],n=(a("96cf"),a("1da1")),o=(a("456d"),a("ac6a"),{height:"190px",calcHeight:30,tip:!1,editBtn:!1,addBtn:!1,delBtn:!1,searchShow:!1,searchBtn:!1,searchMenuSpan:5,disablePage:!1,border:!0,index:!0,viewBtn:!1,selection:!0,menu:!1,refreshBtn:!1,columnBtn:!1,dialogClickModal:!1,highlightCurrentRow:!0,rowKey:"oid",column:[{label:"码段编号",prop:"id",search:!1,searchLabelWidth:80,searchSpan:5},{label:"码段名称",prop:"name",search:!1,searchLabelWidth:80,searchSpan:5},{label:"码段描述",prop:"description",search:!1,span:24},{label:"码段类型",prop:"secTypeText"}]}),s={height:"260px",calcHeight:30,tip:!1,editBtn:!1,addBtn:!1,delBtn:!1,searchMenuSpan:10,disablePage:!0,border:!0,index:!0,viewBtn:!1,selection:!1,menu:!1,refreshBtn:!1,columnBtn:!1,dialogClickModal:!1,highlightCurrentRow:!0,rowKey:"oid",align:"center",menuAlign:"center",column:[{label:"",prop:"radio",width:60,hide:!1},{label:"编号",prop:"id",search:!0,searchSpan:7},{label:"名称",prop:"name",search:!0,searchSpan:7},{label:"描述",prop:"description",search:!1,type:"textarea",span:24},{label:"状态",prop:"lcStatusText",search:!1}]},l=a("19a0"),c=a("f601"),u={name:"cloneRuleDialog",props:{visible:{type:"Boolean",default:!1},quiltCloneCodeRule:{type:"Object"}},data:function(){return{cloneOtherCodeRuleSettingBox:this.visible,cloneBasicOption:o,cloneCodeRuleOption:s,selectionOtherCloneCodeBasicList:[],selectionOtherCloneCodeRuleList:{},selectOtherCodeRuleRowIndex:"",cloneOtherQuery:{},codeRulePage:{pageSize:10,currentPage:1,total:0},codeRuleloading:!1,codeRuleData:[],codeBasicloading:!1,cloneBasicData:[],cloneSaveLoding:!1}},watch:{visible:function(){if(this.visible){var e={};e["conditionMap[oid_notequal]"]=this.quiltCloneCodeRule.oid.trim(),this.cloneOtherQuery=e,this.onLoad(this.codeRulePage)}else this.codeRuleData=[],this.cloneBasicData=[];this.cloneOtherCodeRuleSettingBox=this.visible},selectionOtherCloneCodeRuleList:function(){this.loadBasic(this.selectionOtherCloneCodeRuleList)}},methods:{closeCloneOtherBasicSecDialog:function(){this.$emit("update:visible",!1)},codeOtherCloneRuleRowClick:function(e){this.selectOtherCodeRuleRowIndex=e.$index,this.selectionOtherCloneCodeRuleList=e,this.loadBasic(e)},codeOtherCloneBasicRowClick:function(e){this.$refs.crudCloneCodeBasicOther.toggleSelection(),this.selectionOtherCloneCodeBasicList=e,this.$refs.crudCloneCodeBasicOther.setCurrentRow(e),this.$refs.crudCloneCodeBasicOther.toggleRowSelection(e)},selectionOtherCloneCodeBasicChange:function(e){this.selectionOtherCloneCodeBasicList=e,this.$refs.crudCloneCodeBasicOther.setCurrentRow(this.selectionOtherCloneCodeBasicList.slice(-1)[0])},searchOtherCloneReset:function(){var e={};e["conditionMap[oid_notequal]"]=this.quiltCloneCodeRule.oid.trim(),this.cloneOtherQuery=e,this.onLoad(this.codeRulePage)},searchOtherCloneChange:function(e,t){var a=this;this.codeRulePage.currentPage=1,e&&Object.keys(e).forEach((function(t){a.cloneOtherQuery["conditionMap["+t+"_like]"]=e[t].trim()})),this.onLoad(this.codeRulePage,this.cloneOtherQuery),t()},saveOtherCodeBasic:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,a,r,i,n=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(this.cloneSaveLoding=!0,t=this.quiltCloneCodeRule.oid,a=this.selectionOtherCloneCodeBasicList,!(a.length<=0)){e.next=6;break}return this.$message.warning("请选择码段数据!"),e.abrupt("return");case 6:return r=[],a.forEach((function(e){r.push(e.oid)})),i={pkCodeRule:t,oidArr:r.join(",")},e.next=11,Object(c["cloneCodeBasic"])(i).then((function(){n.cloneOtherCodeRuleSettingBox=!1,n.$message({type:"success",message:"操作成功!"}),n.$emit("refreshRuleTable",{currentPage:1,pageSize:10})}),(function(e){window.console.log(e)}));case 11:this.cloneSaveLoding=!1;case 12:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),loadBasic:function(e){var t=this;if(this.codeBasicloading=!0,""!=e&&null!=e&&"undefined"!=e){var a={};a["conditionMap[pkCodeRule]"]=e.oid.trim(),Object(c["gridCodeBasicSec"])(1,-1,a).then((function(e){var a=e.data.data;t.cloneBasicData=a.records,t.codeBasicloading=!1}))}else this.cloneBasicData=[],this.codeBasicloading=!1},onLoad:function(e){var t=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.codeRuleloading=!0,Object(l["gridCodeRule"])(e.currentPage,e.pageSize,Object.assign({},this.cloneOtherQuery,a)).then((function(e){var a=e.data.data;t.codeRulePage.total=a.total,t.codeRuleData=a.records,t.codeRuleloading=!1,t.codeRuleData.length>0?t.$nextTick((function(){t.selectOtherCodeRuleRowIndex=t.codeRuleData[0].$index,t.selectionOtherCloneCodeRuleList=t.codeRuleData[0]})):t.cloneBasicData=[]}))}}},d=u,p=a("2877"),f=Object(p["a"])(d,r,i,!1,null,null,null);t["default"]=f.exports},c7cc:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("el-dropdown",{attrs:{trigger:"click"},on:{command:e.handleSetLanguage}},[t("i",{staticClass:"icon-zhongyingwen"}),t("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[t("el-dropdown-item",{attrs:{disabled:"zh"===e.language,command:"zh"}},[e._v("中文\n ")]),t("el-dropdown-item",{attrs:{disabled:"en"===e.language,command:"en"}},[e._v("English\n ")])],1)],1)},i=[],n=(a("8e6e"),a("ac6a"),a("456d"),a("ade3")),o=a("5880");function s(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function l(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"YYYY-MM-DD HH:mm:ss";return e?e.format(t):null}},{key:"join",value:function(e){return e?e.join(","):""}},{key:"split",value:function(e){return e?String(e).split(","):""}},{key:"toStr",value:function(e){return"undefined"===typeof e||null===e?"":e}},{key:"isValuableObj",value:function(e){return"object"===Object(r["a"])(e)&&null!==e&&Object.keys(e).length>0}},{key:"downloadFileByBlobHandler",value:function(e){var t=e.headers["content-disposition"].split(";"),a=t[2].split("filename*=")[1],r=decodeURI(t[1].split("filename=")[1],a),i=new Blob([e.data],{type:e.data.type+";charset=utf-8"}),n=URL.createObjectURL(i),o=document.createElement("a");o.href=n,o.download=r,document.body.appendChild(o),o.click(),document.body.removeChild(o),window.URL.revokeObjectURL(n)}},{key:"downloadFileByBlob",value:function(e,t){var a=URL.createObjectURL(e),r=document.createElement("a");r.href=a,r.download=t,document.body.appendChild(r),r.click(),document.body.removeChild(r)}}]),e}()},daf0:function(e,t,a){},db03:function(e,t,a){},dc8a:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("div",{staticClass:"basic-container",class:{"basic-container--block":e.block},style:e.styleName},[t("el-card",{staticClass:"basic-container__card"},[e.title?t("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[t("span",[e._v(e._s(e.title))])]):e._e(),e._t("default")],2)],1)},i=[],n=(a("c5f6"),{name:"basicContainer",props:{radius:{type:[String,Number],default:10},background:{type:String},block:{type:Boolean,default:!1},title:{type:String}},computed:{styleName:function(){return{borderRadius:this.setPx(this.radius),background:this.background}}}}),o=n,s=(a("2c6a"),a("2877")),l=Object(s["a"])(o,r,i,!1,null,null,null);t["default"]=l.exports},dd3a:function(e,t,a){"use strict";a.r(t),a.d(t,"MasterTable",(function(){return s})),a.d(t,"TableData",(function(){return l})),a.d(t,"FindData",(function(){return c})),a.d(t,"addSaveCode",(function(){return u})),a.d(t,"editSaveCode",(function(){return d})),a.d(t,"upSaveCode",(function(){return p})),a.d(t,"FlowTable",(function(){return f})),a.d(t,"exportCode",(function(){return m})),a.d(t,"batchUpdateCode",(function(){return h})),a.d(t,"deleteCode",(function(){return b})),a.d(t,"applyGroupCode",(function(){return g})),a.d(t,"receiveEditApply",(function(){return y}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,a=e.content,r=e.type;t=keyName+t;var i={dataType:Object(C_java_workspace_GIT_VCI_UBCS_ubcs_Source_UBCS_WEB_node_modules_babel_runtime_helpers_esm_typeof_js__WEBPACK_IMPORTED_MODULE_1__["a"])(a),content:a,type:r,datetime:(new Date).getTime()};r?window.sessionStorage.setItem(t,JSON.stringify(i)):window.localStorage.setItem(t,JSON.stringify(i))},getStore=function getStore(){var params=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},name=params.name,debug=params.debug;name=keyName+name;var obj={},content;if(obj=window.sessionStorage.getItem(name),Object(_util_validate__WEBPACK_IMPORTED_MODULE_3__["b"])(obj)&&(obj=window.localStorage.getItem(name)),!Object(_util_validate__WEBPACK_IMPORTED_MODULE_3__["b"])(obj)){try{obj=JSON.parse(obj)}catch(_unused){return obj}return debug?obj:("string"==obj.dataType?content=obj.content:"number"==obj.dataType?content=Number(obj.content):"boolean"==obj.dataType?content=eval(obj.content):"object"==obj.dataType&&(content=obj.content),content)}},removeStore=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,a=e.type;t=keyName+t,a?window.sessionStorage.removeItem(t):window.localStorage.removeItem(t)},getAllStore=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=[],a=e.type;if(a)for(var r=0;r<=window.sessionStorage.length;r++)t.push({name:window.sessionStorage.key(r),content:getStore({name:window.sessionStorage.key(r),type:"session"})});else for(var i=0;i<=window.localStorage.length;i++)t.push({name:window.localStorage.key(i),content:getStore({name:window.localStorage.key(i)})});return t},clearStore=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.type;t?window.sessionStorage.clear():window.localStorage.clear()}},e50c:function(e,t,a){},e5c3:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("basic-container",[t("avue-crud",{ref:"crud",attrs:{data:e.data,option:e.option},on:{"on-load":e.getList,"refresh-change":e.refreshChange,"search-change":e.searchChange,"current-row-change":e.handleCurrentRowChange},model:{value:e.form,callback:function(t){e.form=t},expression:"form"}})],1)},i=[],n={name:"Versionpackage.vue",data:function(){return{data:[{name:"测试1",source:"测试1",shows:"测试1"},{name:"测试2",source:"测试2",shows:"测试2"},{name:"测试3",source:"测试3",shows:"测试3"},{name:"测试4",source:"测试4",shows:"测试4"}],form:{},option:{highlightCurrentRow:!0,height:300,headerAlign:"center",align:"center",border:!0,menu:!1,index:!0,searchMenuSpan:6,searchSpan:10,addBtn:!1,indexFixed:!1,menuFixed:!1,searchLabelWidth:130,column:[{label:"业务类型名",prop:"name",search:!0},{label:"标签",prop:"tag"},{label:"父类",prop:"father"},{label:"版本规则",prop:"versionRules"},{label:"生命周期",prop:"life"}]}}},methods:{handleCurrentRowChange:function(e){this.$emit("rowchange",e)},searchChange:function(e,t){t&&t(),this.$message.success("搜索成功"),console.log(e,t)}}},o=n,s=a("2877"),l=Object(s["a"])(o,r,i,!1,null,"5632a16b",null);t["default"]=l.exports},e75a:function(e,t,a){"use strict";a("6612")},e772:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return e.Formlist.length>0?t("div",[t("avue-crud",{ref:"crud",attrs:{data:e.data,option:e.option,page:e.page,"table-loading":e.loading},on:{"update:page":function(t){e.page=t},"on-load":e.getDataList,"size-change":e.handleSizePage,"current-change":e.handleCurrentPage,"row-click":e.handleRowClick},scopedSlots:e._u([{key:"menu",fn:function(a){var r=a.type,i=a.size,n=a.row,o=a.index;return[t("el-button",{attrs:{size:i,type:r,icon:"el-icon-check"},on:{click:function(t){return e.handleMaintenance(n,o)}}},[e._v("维护\n ")])]}}],null,!1,3868880361)}),t("el-dialog",{attrs:{visible:e.dialogNode,"append-to-body":"true",title:"模板阶段",width:"50%"},on:{"update:visible":function(t){e.dialogNode=t}}},[t("avue-crud",{ref:"crud",attrs:{data:e.stageData,option:e.stageOption,"table-loading":e.loading},on:{"on-load":e.getStagelist,"row-click":e.handleRowStageClick},scopedSlots:e._u([{key:"menu",fn:function(a){var r=a.type,i=a.size,n=a.row,o=a.index;return[t("el-button",{attrs:{size:i,type:r,icon:"el-icon-check"},on:{click:function(t){return e.handleMaintenanceTransfer(n,o)}}},[e._v("维护\n ")])]}}],null,!1,1542408034)})],1),e.flag?t("table-transfer",{attrs:{columns:e.columns,dataList:e.attributeData,visible:e.dialogTransfer,keyName:"oid"},on:{"update:visible":function(t){e.dialogTransfer=t},close:e.handelClose,save:e.handleSave},model:{value:e.attributeValue,callback:function(t){e.attributeValue=t},expression:"attributeValue"}}):e._e()],1):e._e()},i=[],n=(a("8e6e"),a("456d"),a("7f7f"),a("96cf"),a("1da1")),o=(a("ac6a"),a("ade3")),s=a("5821"),l=a("7eff");function c(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function u(e){for(var t=1;t0?this.$nextTick((function(){i.$refs.CodeApply.templateRender(i.secVOList)})):this.$refs.CodeApply.loading=!1);case 6:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),handleClick:function(e,t){},getCodeApplyFormData:function(e){this.codeApplyForm=e},cancel:function(){this.dialogVisible=!1,this.formModel["secDTOList"]=[],this.formModel["codeRuleOid"]="",this.formModel["maxSecNum"]="",this.$refs.ruleForm.clearValidate("maxSecNum")},comfirm:function(){var e=Object(o["a"])(regeneratorRuntime.mark((function e(){var t,a,r,i,o=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=Object.keys(this.codeApplyForm),a=t.reduce((function(e,t){var a=/[\u4e00-\u9fa5]/,r=/\$/;return a.test(t)||r.test(t)||(e[t]=o.codeApplyForm[t]),e}),{}),r=Object.entries(a).map((function(e){var t=Object(n["a"])(e,2),a=t[0],r=t[1];return{secOid:a,secValue:r}})),this.formModel["secDTOList"]=r,this.formModel["codeRuleOid"]=this.ruleOid,this.confirmLoadding=!0,e.next=8,this.$refs.CodeApply.validate();case 8:i=e.sent,this.$refs.ruleForm.validate((function(e){i&&e?Object(l["saveMaxSerialNum"])(o.formModel).then((function(e){e.data.success&&(o.$message.success("操作成功!"),o.confirmLoadding=!1,o.cancel())})).catch((function(e){o.confirmLoadding=!1})):o.confirmLoadding=!1}));case 10:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),referConfigDataUpdate:function(e){var t=this,a=e.field;this.secVOList=this.secVOList.map((function(e){return e.parentClassifySecOid===a&&(t.$refs.CodeApply.form[e.oid]=void 0,t.$refs.CodeApply.form[e.name]=void 0),e})),this.$refs.CodeApply.templateRender(this.secVOList)},isRequired:function(e){return"true"!=e.nullableFlag},getType:function(e){return this.selfColumnType[e.secType]},getDisabled:function(e){if("codeclassifysec"===e.secType&&e.parentClassifySecOid)return!this.codeApplyForm[e.parentClassifySecOid]},getReferConfig:function(e){var t={};return"codeclassifysec"==e.secType?t={isMuti:!1,valueField:"id",type:"grid",tableConfig:{limit:-1,cols:[{field:"id",title:"英文名称",sort:!0,width:150},{field:"name",title:"中文名称",sort:!0,width:150},{field:"description",title:"描述",width:250}],queryColumns:[{field:"id",title:"英文名称"},{field:"name",title:"中文名称"}]},url:"api/ubcs-code/ubcs-code/mdmEngineController/listCodeClassifyValueBySecOid",extraParams:{classifySecOid:e.oid,parentClassifyValueOid:e.parentClassifySecOid?this.codeApplyForm[e.parentClassifySecOid]:""}}:"coderefersec"==e.secType&&(t=JSON.parse(e.referValueInfo)),t},getOptionList:function(e){if(Array.isArray(e.fixedValueVOList)&&e.fixedValueVOList.length>0){var t={key:"id",value:"id"},a=e.fixedValueVOList.map((function(e){for(var a in t)if(Object.hasOwnProperty.call(t,a)){var r=t[a];e[a]=e[r]}return e}));return a}return[]}}},u=c,d=a("2877"),p=Object(d["a"])(u,r,i,!1,null,null,null);t["default"]=p.exports},ee95:function(e,t,a){"use strict";a.r(t),a.d(t,"getTree",(function(){return s})),a.d(t,"getLazyTree",(function(){return l}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t0?t("span",[t("el-select",{attrs:{slot:"prepend",placeholder:"请选择",size:"small"},slot:"prepend",model:{value:e.keyWordFind,callback:function(t){e.keyWordFind=t},expression:"keyWordFind"}},e._l(e.tableHeadFindData,(function(e){return t("el-option",{attrs:{label:e.label,value:e.prop}})})),1),t("el-input",{staticStyle:{width:"180px","margin-left":"5px","margin-top":"10px"},attrs:{placeholder:"请输入关键字按回车查询",size:"small"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.tableFindInp.apply(null,arguments)}},model:{value:e.WupinFindValue,callback:function(t){e.WupinFindValue=t},expression:"WupinFindValue"}})],1):e._e(),e.tableHeadFindData.length>0?t("span",{staticStyle:{"margin-left":"10px"}},[t("p",{staticStyle:{"font-size":"13px",display:"inline-block"}},[e._v(" 状态:")]),t("el-select",{attrs:{slot:"prepend",placeholder:"请选择",size:"small"},on:{change:e.cellSelectHandler},slot:"prepend",model:{value:e.statusSelect,callback:function(t){e.statusSelect=t},expression:"statusSelect"}},[t("el-option",{attrs:{label:"全部",value:"all"}}),t("el-option",{attrs:{label:"已发布",value:"Released"}}),t("el-option",{attrs:{label:"编辑中",value:"Editing"}}),t("el-option",{attrs:{label:"已停用",value:"Disabled"}}),t("el-option",{attrs:{label:"审核中",value:"Auditing"}})],1)],1):e._e()],2),t("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.isLoading,expression:"isLoading"}],ref:"dataTable",attrs:{data:e.tableData,height:e.tableHeight},on:{select:e.handleSelection,"cell-click":e.handleCellClick,"row-click":e.handleRowClick,"select-all":e.handleSelectionAll,"selection-change":e.handleSelectionChange,"sort-change":e.sortChange}},[0!=e.tableData.length?t("el-table-column",{attrs:{fixed:"",type:"selection",width:"55"}}):e._e(),0!=e.tableData.length?t("el-table-column",{attrs:{fixed:"",label:"序号",type:"index",width:"55"}}):e._e(),e._l(this.tableHeadFindData,(function(a){return a.hidden?e._e():t("el-table-column",{key:a.id,attrs:{formatter:a.formatter,label:a.label,prop:a.prop,"show-overflow-tooltip":!0,sortable:a.sortable,width:a.width,align:"center"}})}))],2)],1),t("FormTemplateDialog",{attrs:{codeClassifyOid:this.codeClassifyOid,codeRuleOid:this.codeRuleOid,disabledProp:e.disabledProp,templateOid:e.templateOid,visible:e.addvisible,TreeValue:e.TreeValue,type:"add"},on:{"update:visible":function(t){e.addvisible=t},submit:e.AddSumbit}}),t("FormTemplateDialog",{attrs:{codeClassifyOid:this.codeClassifyOid,codeRuleOid:this.codeRuleOid,disabledProp:e.disabledProp,rowOid:e.rowOid,templateOid:e.templateOid,title:"修改编码信息",visible:e.editvisible,type:"edit"},on:{"update:visible":function(t){e.editvisible=t},submit:e.EditSumbit}}),t("FormTemplateDialog",{attrs:{codeClassifyOid:this.codeClassifyOid,codeRuleOid:this.codeRuleOid,disabledProp:e.disabledProp,rowOid:e.rowOid,templateOid:e.templateOid,title:"已发布数据更改",visible:e.DataVisible,type:"edit"},on:{"update:visible":function(t){e.DataVisible=t},submit:e.updataSumbit}}),t("set-personnel",{attrs:{parameter:this.parameter,title:e.title,visible:e.visibleFlow},on:{"update:visible":function(t){e.visibleFlow=t},onLoad:e.onLoad}}),t("set-personnel",{attrs:{parameter:this.parameter,title:e.title,visible:e.visibleDeactivate},on:{"update:visible":function(t){e.visibleDeactivate=t},onLoad:e.onLoad}}),t("set-personnel",{attrs:{parameter:this.parameter,title:e.title,visible:e.visibleEnable},on:{"update:visible":function(t){e.visibleEnable=t},onLoad:e.onLoad}}),t("set-personnel",{attrs:{parameter:this.parameter,title:e.title,visible:e.visibleRecovery},on:{"update:visible":function(t){e.visibleRecovery=t},onLoad:e.onLoad}}),t("advanced-query",{attrs:{options:this.options,visible:e.findvisible},on:{"update:visible":function(t){e.findvisible=t},echoContion:e.echoContion}}),t("MasterTransfer",{attrs:{codeClassifyOid:e.codeClassifyOid,limit:e.page.pageSize,selectRow:e.selectRow,tableData:e.tableData,tableHeadData:e.tableHeadFindData,templateOid:e.templateOid,visible:e.dialogPush},on:{"update:visible":function(t){e.dialogPush=t}}}),t("ResembleQueryDialog",{attrs:{codeClassifyOid:e.codeClassifyOid,codeRuleOid:this.codeRuleOid,rowOid:e.rowOid,templateOid:e.templateOid,visible:e.similarVisible},on:{"update:visible":function(t){e.similarVisible=t}}}),t("div",{staticClass:"block",staticStyle:{display:"flex","justify-content":"flex-end"}},[t("el-pagination",{attrs:{"current-page":e.page.currentPage,"page-size":e.page.pageSize,"page-sizes":e.page.pageSizes,total:e.page.total,layout:"total, sizes, prev, pager, next, jumper"},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)],1)]),t("div",[e.batchImportData.visible?t("BatchImport",e._b({attrs:{resetTable:e.CrudRend,visible:e.batchImportData.visible},on:{"update:visible":function(t){return e.$set(e.batchImportData,"visible",t)}}},"BatchImport",e.batchImportData,!1)):e._e()],1),t("div",{staticClass:"bottom"},[t("el-collapse",{on:{change:e.handleCollapse},model:{value:e.visibleNames,callback:function(t){e.visibleNames=t},expression:"visibleNames"}},[t("el-collapse-item",{attrs:{name:"1",title:"附件列表"}},[t("fileInHtml",{attrs:{options:e.fileOptions}})],1)],1)],1)])])},i=[],n=a("1a5b"),o=n["a"],s=(a("d476"),a("2877")),l=Object(s["a"])(o,r,i,!1,null,"05a973ba",null);t["default"]=l.exports},f443:function(e,t,a){},f601:function(e,t,a){"use strict";a.r(t),a.d(t,"gridCodeBasicSec",(function(){return s})),a.d(t,"addSave",(function(){return l})),a.d(t,"editSave",(function(){return c})),a.d(t,"deleteData",(function(){return u})),a.d(t,"getObjectByOid",(function(){return d})),a.d(t,"listDataByOids",(function(){return p})),a.d(t,"refDataGrid",(function(){return f})),a.d(t,"refDataGridClassifySec",(function(){return m})),a.d(t,"cloneCodeBasic",(function(){return h})),a.d(t,"upOrderNum",(function(){return b})),a.d(t,"downOrderNum",(function(){return g}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t