(function(e){function t(t){for(var a,n,s=t[0],l=t[1],c=t[2],u=0,d=[];u<s.length;u++)n=s[u],Object.prototype.hasOwnProperty.call(i,n)&&i[n]&&d.push(i[n][0]),i[n]=0;for(a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a]);p&&p(t);while(d.length)d.shift()();return o.push.apply(o,c||[]),r()}function r(){for(var e,t=0;t<o.length;t++){for(var r=o[t],a=!0,n=1;n<r.length;n++){var s=r[n];0!==i[s]&&(a=!1)}a&&(o.splice(t--,1),e=l(l.s=r[0]))}return e}var a={},n={app:0},i={app:0},o=[];function s(e){return l.p+"js/"+({page:"page",views:"views"}[e]||e)+"."+{"chunk-2d0e4caf":"b6bfee64",page:"42588a76",views:"b0d10dbb","chunk-a9694598":"b9e922c8"}[e]+".js"}function l(t){if(a[t])return a[t].exports;var r=a[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,l),r.l=!0,r.exports}l.e=function(e){var t=[],r={page:1,views:1,"chunk-a9694598":1};n[e]?t.push(n[e]):0!==n[e]&&r[e]&&t.push(n[e]=new Promise((function(t,r){for(var a="css/"+({page:"page",views:"views"}[e]||e)+"."+{"chunk-2d0e4caf":"31d6cfe0",page:"aeb772ca",views:"49e3af85","chunk-a9694598":"22d4b026"}[e]+".css",i=l.p+a,o=document.getElementsByTagName("link"),s=0;s<o.length;s++){var c=o[s],u=c.getAttribute("data-href")||c.getAttribute("href");if("stylesheet"===c.rel&&(u===a||u===i))return t()}var d=document.getElementsByTagName("style");for(s=0;s<d.length;s++){c=d[s],u=c.getAttribute("data-href");if(u===a||u===i)return t()}var p=document.createElement("link");p.rel="stylesheet",p.type="text/css",p.onload=t,p.onerror=function(t){var a=t&&t.target&&t.target.src||i,o=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");o.code="CSS_CHUNK_LOAD_FAILED",o.request=a,delete n[e],p.parentNode.removeChild(p),r(o)},p.href=i;var f=document.getElementsByTagName("head")[0];f.appendChild(p)})).then((function(){n[e]=0})));var a=i[e];if(0!==a)if(a)t.push(a[2]);else{var o=new Promise((function(t,r){a=i[e]=[t,r]}));t.push(a[2]=o);var c,u=document.createElement("script");u.charset="utf-8",u.timeout=120,l.nc&&u.setAttribute("nonce",l.nc),u.src=s(e);var d=new Error;c=function(t){u.onerror=u.onload=null,clearTimeout(p);var r=i[e];if(0!==r){if(r){var a=t&&("load"===t.type?"missing":t.type),n=t&&t.target&&t.target.src;d.message="Loading chunk "+e+" failed.\n("+a+": "+n+")",d.name="ChunkLoadError",d.type=a,d.request=n,r[1](d)}i[e]=void 0}};var p=setTimeout((function(){c({type:"timeout",target:u})}),12e4);u.onerror=u.onload=c,document.head.appendChild(u)}return Promise.all(t)},l.m=e,l.c=a,l.d=function(e,t,r){l.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},l.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,t){if(1&t&&(e=l(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(l.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)l.d(r,a,function(t){return e[t]}.bind(null,a));return r},l.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return l.d(t,"a",t),t},l.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},l.p="/",l.oe=function(e){throw console.error(e),e};var c=window["webpackJsonp"]=window["webpackJsonp"]||[],u=c.push.bind(c);c.push=t,c=c.slice();for(var d=0;d<c.length;d++)t(c[d]);var p=u;o.push([0,"chunk-vendors"]),r()})({0:function(e,t,r){r("56d7"),r("db4d"),r("ecad"),e.exports=r("245a")},"010b":function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e._self._c;return t("div",[e.isDialog?t("el-dialog",{attrs:{visible:e.visible,"append-to-body":"","destroy-on-close":"",title:"流程图展示",width:"70%","custom-class":"flow-design-dialog"},on:{"update:visible":function(t){e.visible=t}}},[t("wf-design-base",{ref:"bpmn",staticStyle:{height:"60vh"},attrs:{options:e.option}})],1):t("div",[e.visible?t("wf-design-base",{ref:"bpmn",staticStyle:{height:"60vh"},attrs:{options:e.option}}):e._e()],1)],1)},n=[],i=(r("20d6"),r("ac6a"),r("371f")),o={name:"flowDesign",props:{isDialog:{type:Boolean,default:!1},isDisplay:{type:Boolean,default:!1},processInstanceId:String,processDefinitionId:String},data:function(){return{visible:!1,option:{mode:"view"}}},watch:{isDisplay:{handler:function(e){this.visible=e},immediate:!0},visible:{handler:function(e){this.$emit("update:is-display",e)}},processInstanceId:{handler:function(e){e&&this.getDetail({processInstanceId:this.processInstanceId})},immediate:!0},processDefinitionId:{handler:function(e){e&&this.getDetail({processDefinitionId:this.processDefinitionId})},immediate:!0}},methods:{getDetail:function(e){var t=this;Object(i["modelView"])(e).then((function(e){var r=e.data.data,a=r.xml,n=r.flow;if(t.$set(t.option,"xml",a),n){var i=[];n.forEach((function(e){var t=e.endTime,r={id:e.historyActivityId,class:t||"candidate"===e.historyActivityType?"":"nodePrimary"};"sequenceFlow"===e.historyActivityType?r.class="lineWarn":r.class||"candidate"===e.historyActivityType||(r.class="nodeSuccess");var a=i.findIndex((function(t){return t.id===e.historyActivityId}));-1!==a?i.splice(a,1,r):i.push(r)})),t.$set(t.option,"flows",i)}}))}}},s=o,l=(r("4f2a"),r("2877")),c=Object(l["a"])(s,a,n,!1,null,null,null);t["default"]=c.exports},"0244":function(e,t,r){"use strict";r.r(t);var a=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-update":e.rowUpdate,"row-save":e.rowSave,"row-del":e.rowDel},model:{value:e.form,callback:function(t){e.form=t},expression:"form"}})],1)},n=[],i=(r("7f7f"),{name:"enupackage.vue",data:function(){return{data:[{enuName:"测试1",desc:"测试1",enuItem:"测试1"},{enuName:"测试2",desc:"测试2",enuItem:"测试2"},{enuName:"测试3",desc:"测试3",enuItem:"测试3"},{enuName:"测试4",desc:"测试4",enuItem:"测试4"}],form:{},option:{height:300,headerAlign:"center",align:"center",border:!0,index:!0,indexFixed:!1,menuFixed:!1,column:[{label:"枚举项名称",prop:"enuName"},{label:"枚举项值",prop:"enuItem"},{label:"描述",prop:"desc",type:"textarea"}]}}},methods:{rowSave:function(e,t,r){var a=this;add(Object.assign({createUser:this.userInfo.name},e)).then((function(){a.$message.success("新增成功"),t(),a.getList()})).catch((function(){r()}))},rowUpdate:function(e,t,r,a){var n=this;update(Object.assign({updateUser:this.userInfo.name},e)).then((function(){n.$message.success("修改成功"),r(),n.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=i,s=r("2877"),l=Object(s["a"])(o,a,n,!1,null,"7fcdce2c",null);t["default"]=l.exports},"02d2":function(e,t,r){"use strict";r("dc23")},"03f8":function(e,t,r){},"0405":function(e,t,r){"use strict";r.r(t),r.d(t,"getSysInfoList",(function(){return n})),r.d(t,"sysInfoAdd",(function(){return i})),r.d(t,"sysInfoEdit",(function(){return o})),r.d(t,"sysInfoDel",(function(){return s}));var a=r("b5c6"),n=function(e){return Object(a["a"])({url:"/api/ubcs-code/dockingManagement/gridSysIntBase",method:"get",params:e})},i=function(e){return Object(a["a"])({url:"/api/ubcs-code/dockingManagement/addSave",method:"post",data:e})},o=function(e){return Object(a["a"])({url:"/api/ubcs-code/dockingManagement/editSave",method:"put",data:e})},s=function(e){return Object(a["a"])({url:"/api/ubcs-code/dockingManagement/deleteDataById",method:"delete",params:e})}},"0499":function(e,t,r){"use strict";r.r(t),r.d(t,"initTree",(function(){return s})),r.d(t,"refOnLoad",(function(){return l})),r.d(t,"getDomain",(function(){return c})),r.d(t,"saveFromTable",(function(){return u})),r.d(t,"getDetail",(function(){return d})),r.d(t,"add",(function(){return p})),r.d(t,"update",(function(){return f})),r.d(t,"linkPage",(function(){return m}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(){return Object(n["a"])({url:"/api/ubcs-omd/link-type/tree-domain",method:"get"})},l=function(e){return Object(n["a"])({url:"/api/ubcs-omd/link-type/get-from-table",method:"get",params:{domain:e}})},c=function(){return Object(n["a"])({url:"/api/ubcs-omd/link-type/domain",method:"get"})},u=function(e,t){return Object(n["a"])({url:"/api/ubcs-omd/link-type/save-from-table/"+t,method:"post",data:e})},d=function(e){return Object(n["a"])({url:"/api/ubcs-omd/link-type/detail",method:"get",params:{oid:e}})},p=function(e,t){return Object(n["a"])({url:"/api/ubcs-omd/link-type/submit/"+t,method:"post",data:e})},f=function(e){return Object(n["a"])({url:"/api/ubcs-omd/link-type/submit/"+auto,method:"post",data:e})},m=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-omd/link-type/page",method:"get",params:o({current:e,size:t},r)})}},"05d8":function(e,t,r){"use strict";r("c808")},"08ae":function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e._self._c;return t("avue-crud",{attrs:{data:e.logsList,option:e.option},scopedSlots:e._u([{key:"type",fn:function(r){return[t("el-tag",{attrs:{type:"danger",size:"small"}},[e._v(e._s(r.label))])]}},{key:"expand",fn:function(r){return[t("pre",{staticClass:"code"},[e._v(" "+e._s(r.row.stack)+"\n ")])]}}])},[t("template",{slot:"menuLeft"},[t("el-button",{attrs:{type:"primary",size:"small",icon:"el-icon-upload"},on:{click:e.send}},[e._v("上传服务器")]),t("el-button",{attrs:{type:"danger",size:"small",icon:"el-icon-delete"},on:{click:e.clear}},[e._v("清空本地日志")])],1)],2)},n=[],i=(r("8e6e"),r("ac6a"),r("456d"),r("ade3")),o=r("5880");function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){Object(i["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var c={name:"errLogs",data:function(){return{option:{menu:!1,addBtn:!1,page:!1,border:!0,expand:!0,refreshBtn:!1,headerAlign:"center",column:[{label:"类型",prop:"type",width:80,align:"center",slot:!0,dicData:[{label:"bug",value:"error"}]},{label:"地址",width:200,prop:"url",overHidden:!0},{label:"内容",prop:"message",overHidden:!0},{label:"错误堆栈",prop:"stack",hide:!0},{label:"时间",align:"center",prop:"time",width:200}]}}},created:function(){},mounted:function(){},computed:l({},Object(o["mapGetters"])(["logsList"])),props:[],methods:{send:function(){var e=this;this.$confirm("确定上传本地日志到服务器?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){e.$store.dispatch("SendLogs").then((function(){e.$parent.$parent.box=!1,e.$message({type:"success",message:"发送成功!"})}))})).catch((function(){}))},clear:function(){var e=this;this.$confirm("确定清空本地日志记录?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){e.$store.commit("CLEAR_LOGS"),window.console.log(e),e.$parent.$parent.box=!1,e.$message({type:"success",message:"清空成功!"})})).catch((function(){}))}}},u=c,d=(r("65ea"),r("2877")),p=Object(d["a"])(u,a,n,!1,null,"6e8bef7c",null);t["default"]=p.exports},"0a5a":function(e,t,r){"use strict";r.d(t,"a",(function(){return s})),r.d(t,"e",(function(){return l})),r.d(t,"d",(function(){return c})),r.d(t,"c",(function(){return u})),r.d(t,"b",(function(){return d}));var a=r("a78e"),n=r.n(a),i="saber-access-token",o="saber-refresh-token";function s(){return n.a.get(i)}function l(e){return n.a.set(i,e)}function c(e){return n.a.set(o,e)}function u(){return n.a.remove(i)}function d(){return n.a.remove(o)}},"0b5c":function(e,t,r){"use strict";r("03f8")},"0e0b":function(e,t,r){"use strict";r.d(t,"i",(function(){return a})),r.d(t,"a",(function(){return i})),r.d(t,"j",(function(){return o})),r.d(t,"d",(function(){return s})),r.d(t,"g",(function(){return l})),r.d(t,"h",(function(){return p})),r.d(t,"b",(function(){return f})),r.d(t,"f",(function(){return m})),r.d(t,"e",(function(){return h})),r.d(t,"c",(function(){return b}));r("386d"),r("4917"),r("3b2b"),r("28a5"),r("a481"),r("6b54"),r("456d"),r("ac6a"),r("c54a");var a=function(e){var t=[];return Object.keys(e).forEach((function(r){t.push("".concat(r,"=").concat(e[r]))})),t.join("&")},n=function(e){var t=Object.prototype.toString,r={"[object Boolean]":"boolean","[object Number]":"number","[object String]":"string","[object Function]":"function","[object Array]":"array","[object Date]":"date","[object RegExp]":"regExp","[object Undefined]":"undefined","[object Null]":"null","[object Object]":"object"};return e instanceof Element?"element":r[t.call(e)]},i=function e(t){var r,a=n(t);if("array"===a)r=[];else{if("object"!==a)return t;r={}}if("array"===a)for(var i=0,o=t.length;i<o;i++)r.push(e(t[i]));else if("object"===a)for(var s in t)r[s]=e(t[s]);return r},o=function(e){document.body.className=e},s=function(){c()?d():u()},l=function(e){function t(){e()}document.addEventListener("fullscreenchange",(function(){t()})),document.addEventListener("mozfullscreenchange",(function(){t()})),document.addEventListener("webkitfullscreenchange",(function(){t()})),document.addEventListener("msfullscreenchange",(function(){t()}))},c=function(){var e=document.isFullScreen||document.mozIsFullScreen||document.webkitIsFullScreen;return e},u=function(){document.documentElement.requestFullScreen?document.documentElement.requestFullScreen():document.documentElement.webkitRequestFullScreen?document.documentElement.webkitRequestFullScreen():document.documentElement.mozRequestFullScreen&&document.documentElement.mozRequestFullScreen()},d=function(){document.documentElement.requestFullScreen?document.exitFullScreen():document.documentElement.webkitRequestFullScreen?document.webkitCancelFullScreen():document.documentElement.mozRequestFullScreen&&document.mozCancelFullScreen()},p=function(e){var t=document.createElement("link");t.type="text/css",t.rel="stylesheet",t.href=e;var r=document.getElementsByTagName("head")[0];r.appendChild(t)},f=function e(t,r){delete t.close;var a=t instanceof Object,n=r instanceof Object;if(!a||!n)return t===r;if(Object.keys(t).length!==Object.keys(r).length)return!1;for(var i in t){var o=t[i]instanceof Object,s=r[i]instanceof Object;if(o&&s)return e(t[i],r[i]);if(t[i]!==r[i])return!1}return!0},m=function(){return window.location.href.split("/#/")[0]},h=function(e){var t=new RegExp("(^|&)"+e+"=([^&]*)(&|$)","i"),r=window.location.search.substr(1).match(t);return null!=r?unescape(decodeURI(r[2])):null},b=function(e,t){var r=new Blob([e],{type:"application/vnd.ms-excel,charset=utf-8"});if("undefined"!==typeof window.chrome){var a=document.createElement("a");a.href=window.URL.createObjectURL(r),a.download=t,a.click()}else if("undefined"!==typeof window.navigator.msSaveBlob){var n=new Blob([r],{type:"application/force-download"});window.navigator.msSaveBlob(n,t)}else{var i=new File([r],t,{type:"application/force-download"});window.open(URL.createObjectURL(i))}}},"0e37":function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e._self._c;return t("div",[t("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.HandlerRend}},[e._v("保存")]),t("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.isLoading,expression:"isLoading"}],attrs:{data:e.tableData,"max-height":"700"},on:{"cell-click":e.handleCellClick}},[t("el-table-column",{attrs:{fixed:"",type:"selection",width:"55"}}),t("el-table-column",{attrs:{fixed:"",label:"序号",type:"index",width:"55"}}),e._l(this.tableHeadData,(function(e){return t("el-table-column",{key:e.id,attrs:{label:e.label,prop:e.prop,sortable:e.sortable,formatter:e.formatter,width:e.label.length>=4?"150":3==e.label.length?"120":"90","show-overflow-tooltip":!0,align:"center"}})}))],2)],1)},n=[],i=r("8ccd"),o=i["a"],s=r("2877"),l=Object(s["a"])(o,a,n,!1,null,"54ee80ac",null);t["default"]=l.exports},"0e3d":function(e,t,r){"use strict";r.r(t),r.d(t,"getList",(function(){return s})),r.d(t,"getDetail",(function(){return l})),r.d(t,"remove",(function(){return c})),r.d(t,"add",(function(){return u})),r.d(t,"update",(function(){return d}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-system/tenant-package/list",method:"get",params:o(o({},r),{},{current:e,size:t})})},l=function(e){return Object(n["a"])({url:"/api/ubcs-system/tenant-package/detail",method:"get",params:{id:e}})},c=function(e){return Object(n["a"])({url:"/api/ubcs-system/tenant-package/remove",method:"post",params:{ids:e}})},u=function(e){return Object(n["a"])({url:"/api/ubcs-system/tenant-package/submit",method:"post",data:e})},d=function(e){return Object(n["a"])({url:"/api/ubcs-system/tenant-package/submit",method:"post",data:e})}},"0eb9":function(e,t,r){"use strict";r.r(t),r.d(t,"getReferConfigPage",(function(){return s})),r.d(t,"getReferConfigList",(function(){return l})),r.d(t,"editCodeReferConfig",(function(){return c})),r.d(t,"addSaveCodeReferConfig",(function(){return u})),r.d(t,"deleteCodeReferConfig",(function(){return d}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-code/codeReferConfig/getReferConfigPage",method:"get",params:o(o({},r),{},{page:e,limit:t})})},l=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeReferConfig/getReferConfigList",method:"get",params:o({},e)})},c=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeReferConfig/edit",method:"put",data:e})},u=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeReferConfig/addSave",method:"post",data:e})},d=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeReferConfig/del",method:"delete",data:e})}},"0f22":function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e._self._c;return t("span",{on:{click:function(t){!e.logsFlag&&e.handleOpen()}}},[t("el-badge",{attrs:{value:e.logsFlag?"":e.logsLen,max:99}},[t("i",{staticClass:"icon-rizhi1"})]),t("el-dialog",{attrs:{title:"日志",fullscreen:"",visible:e.box,width:"100%","append-to-body":""},on:{"update:visible":function(t){e.box=t}}},[t("logs")],1)],1)},n=[],i=(r("8e6e"),r("ac6a"),r("456d"),r("ade3")),o=r("5880"),s=r("08ae");function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){Object(i["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var u={name:"top-logs",components:{logs:s["default"]},data:function(){return{box:!1}},created:function(){},mounted:function(){},computed:c({},Object(o["mapGetters"])(["logsFlag","logsLen"])),props:[],methods:{handleOpen:function(){this.box=!0}}},d=u,p=r("2877"),f=Object(p["a"])(d,a,n,!1,null,"4021a100",null);t["default"]=f.exports},"0f7d":function(e,t,r){"use strict";r.r(t),r.d(t,"delCodeClassifyProcessTemp",(function(){return n}));var a=r("b5c6"),n=function(e){return Object(a["a"])({url:"/api/ubcs-code/codeClsProcessTempController/deleteData",method:"delete",data:e})}},"107f":function(e,t,r){"use strict";r.r(t);r("7f7f");var a=function(){var e=this,t=e._self._c;return t("div",[t("el-dialog",{attrs:{title:"选择","append-to-body":"",visible:e.box,width:"50%"},on:{"update:visible":function(t){e.box=t}}},[t("el-radio-group",{staticClass:"list",model:{value:e.text,callback:function(t){e.text=t},expression:"text"}},[t("el-row",{attrs:{span:24}},e._l(e.list,(function(r,a){return t("el-col",{key:a,attrs:{md:4,xs:12,sm:4}},[t("el-radio",{attrs:{label:r.value}},[e._v(e._s(r.name))])],1)})),1)],1)],1),t("span",[t("i",{staticClass:"icon-zhuti",on:{click:e.open}})])],1)},n=[],i=(r("8e6e"),r("ac6a"),r("456d"),r("ade3")),o=r("0e0b"),s=r("5880");function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){Object(i["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var u={data:function(){return{box:!1,text:"",list:[{name:"默认主题",value:"default"},{name:"白色主题",value:"theme-white"},{name:"黑色主题",value:"theme-dark"},{name:"炫彩主题",value:"theme-star"},{name:"智能主题",value:"theme-bule"},{name:"iview主题",value:"theme-iview"},{name:"vip主题",value:"theme-vip"},{name:"cool主题",value:"theme-cool"},{name:"d2主题",value:"theme-d2"},{name:"hey主题",value:"theme-hey"},{name:"lte主题",value:"theme-lte"}]}},watch:{text:function(e){this.$store.commit("SET_THEME_NAME",e),Object(o["j"])(e)}},computed:c({},Object(s["mapGetters"])(["themeName"])),mounted:function(){this.text=this.themeName,this.text||(this.text="")},methods:{open:function(){this.box=!0}}},d=u,p=(r("14e5"),r("2877")),f=Object(p["a"])(d,a,n,!1,null,"34518f89",null);t["default"]=f.exports},1143:function(e,t,r){},1249:function(e,t,r){"use strict";r.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"}]}]}},"14cd":function(e,t,r){"use strict";r.r(t);var a=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)},n=[],i=(r("8e6e"),r("ac6a"),r("456d"),r("ade3")),o=r("c54a"),s=r("5880");function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){Object(i["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var u={name:"top-lock",data:function(){return{box:!1,form:{passwd:""}}},created:function(){},mounted:function(){},computed:c({},Object(s["mapGetters"])(["lockPasswd"])),props:[],methods:{handleSetLock:function(){var e=this;this.$refs["form"].validate((function(t){t&&(e.$store.commit("SET_LOCK_PASSWD",e.form.passwd),e.handleLock())}))},handleLock:function(){var e=this;Object(o["b"])(this.lockPasswd)?this.box=!0:(this.$store.commit("SET_LOCK"),setTimeout((function(){e.$router.push({path:"/lock"})}),100))}},components:{}},d=u,p=r("2877"),f=Object(p["a"])(d,a,n,!1,null,"457dd992",null);t["default"]=f.exports},"14e5":function(e,t,r){"use strict";r("8572")},1557:function(e,t,r){"use strict";r("6ea1")},1656:function(e,t,r){"use strict";r("6841")},1679:function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{title:"执行".concat(e.title),width:"90%","append-to-body":"true",visible:e.visible},on:{"update:visible":function(t){e.visible=t}}},[t("div",{staticClass:"dialogwarp"},[t("div",{staticClass:"dialogwarp_tab"},[t("el-card",{staticClass:"dialogwarp_tab_card"},[t("el-tabs",{on:{"tab-click":e.handleClick},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[t("el-tab-pane",{attrs:{label:"业务数据信息",name:"first"}}),t("el-tab-pane",{attrs:{label:"流程跟踪",name:"second"}},[t("avue-crud",{ref:"crud",attrs:{data:e.data,option:e.option}}),t("div",{staticStyle:{padding:"10px 0",width:"100%",height:"100%"}},[t("el-image",{attrs:{src:e.url,flt:"fill"}})],1)],1)],1)],1)],1),t("div",{staticClass:"dialogwarp_card"},[t("el-card",{staticClass:"box-card"},[t("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[t("span",[e._v("当前任务:")]),t("span",[e._v(e._s(e.title))])]),t("div",{staticStyle:{width:"100%"}},[t("p",[e._v("请在下方输入您的审批意见:")]),t("el-input",{attrs:{type:"textarea",rows:4,placeholder:"请输入内容","show-word-limit":""},model:{value:e.opinionVal,callback:function(t){e.opinionVal=t},expression:"opinionVal"}})],1),t("div",{staticStyle:{width:"100%"}},[t("p",[e._v("审批意见附件:")]),t("el-upload",{staticStyle:{width:"100%"},attrs:{drag:"",action:"https://jsonplaceholder.typicode.com/posts/",multiple:""}},[t("i",{staticClass:"el-icon-upload"}),t("div",{staticClass:"el-upload__text"},[e._v("将文件拖到此处,或"),t("em",[e._v("点击上传")])])])],1),t("div",{staticStyle:{width:"100%"}},[t("p",[e._v("已上传审批文件:")]),t("el-card",{staticClass:"box-card"},[t("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData,stripe:""}},[t("el-table-column",{attrs:{prop:"date",label:"文件名"}}),t("el-table-column",{attrs:{prop:"name",label:"上传人 "}}),t("el-table-column",{attrs:{prop:"address",label:"操作"}})],1)],1)],1),t("div",{staticStyle:{"margin-top":"20px"}},[e.isRefuse?e._e():t("el-button",{attrs:{type:"primary",size:"mini"},on:{click:e.handelAgree}},[e._v("同意")]),e.isAgree?e._e():t("el-button",{attrs:{type:"primary",size:"mini"},on:{click:e.handelRefuse}},[e._v("不同意")]),e._l(e.btnList,(function(r){return e.isAgree&&!e.isRefuse?t("el-button",{key:r,attrs:{type:"primary",size:"mini"},on:{click:e.handelRevert}},[e._v(e._s(r))]):e._e()})),e.isRefuse?t("el-button",{attrs:{type:"primary",size:"mini"},on:{click:e.handelExecute}},[e._v("执行")]):e._e()],2)])],1)])])},n=[],i={name:"FlowBusiness",props:{visible:{typeof:Boolean,default:!1}},watch:{visible:function(e){this.dialogVisible=e},dialogVisible:function(e){this.$emit("update:visible",e)}},data:function(){return{dialogVisible:this.visible,destroyClose:!0,activeName:"first",fits:["fill","contain","cover","none","scale-down"],url:"https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg",title:"业务测试-申请-物品-审核",data:[{name:"张三",sex:"男"},{name:"李四",sex:"女"},{name:"李四",sex:"女"},{name:"李四",sex:"女"}],btnList:["返回1","返回1","返回1"],isAgree:!1,isRefuse:!1,opinionVal:"",option:{menu:!1,addBtn:!1,refreshBtn:!1,columnBtn:!1,index:!0,header:!1,stripe:!0,indexLabelClassName:"序号",column:[{label:"任务名称",prop:"name",minWidth:120},{label:"执行操作",prop:"sex",minWidth:80},{label:"任务开始时间",prop:"sex",minWidth:140},{label:"审批意见",prop:"sex",minWidth:220,overHidden:!0},{label:"执行人",prop:"sex",minWidth:80},{label:"任务完成时间",prop:"sex",minWidth:140},{label:"已上传审批文件",prop:"sex",minWidth:220,overHidden:!0}]}}},methods:{closeDialog:function(){this.destroyClose=!0,this.outerVisible=!1},handleClick:function(e,t){console.log(t)},handelAgree:function(){this.isAgree=!this.isAgree,this.outerVisible=!1,console.log(this.isAgree)},handelRefuse:function(){this.opinionVal?(this.isRefuse=!0,this.isAgree=!0,this.outerVisible=!1,this.opinionVal=""):this.$alert("当处理方式为不同意时,需要填写审批意见","提示信息",{confirmButtonText:"确定"}).then((function(){}))},handelExecute:function(){this.outerVisible=!1,this.isAgree=!1,this.isRefuse=!1},handelRevert:function(){this.outerVisible=!1,this.isAgree=!1}}},o=i,s=(r("ff4e"),r("2877")),l=Object(s["a"])(o,a,n,!1,null,"250db5d8",null);t["default"]=l.exports},"188d":function(e,t,r){"use strict";r.r(t);r("7f7f");var a=function(){var e=this,t=e._self._c;return t("el-container",[t("el-dialog",{staticStyle:{height:"115vh"},attrs:{title:"元数据",visible:e.showSubmitDialog,"append-to-body":"",width:"700px"},on:{"update:visible":function(t){e.showSubmitDialog=t},close:e.closeSubmitDialog}},[t("el-form",{ref:"form",staticClass:"attributeForm",attrs:{model:e.attribute,"show-message":"true",inline:"",size:"medium","label-suffix":":",rules:e.rules,"status-icon":"true"},on:{resetFields:e.resetAttributeForm}},[t("el-form-item",{attrs:{label:"属性编号","label-width":"100px",prop:"id"}},[t("el-input",{attrs:{maxlength:"15","show-word-limit":"",type:"text"},model:{value:e.attribute.id,callback:function(t){e.$set(e.attribute,"id",t)},expression:"attribute.id"}})],1),t("el-form-item",{attrs:{label:"属性名称","label-width":"100px",prop:"name"}},[t("el-input",{model:{value:e.attribute.name,callback:function(t){e.$set(e.attribute,"name",t)},expression:"attribute.name"}})],1),t("el-form-item",{attrs:{label:"属性类型","label-width":"100px",prop:"typeValue"}},[t("el-select",{attrs:{placeholder:"请选择属性类型"},on:{change:e.typeSelectChange},model:{value:e.attribute.typeValue,callback:function(t){e.$set(e.attribute,"typeValue",t)},expression:"attribute.typeValue"}},e._l(e.typeList,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),t("el-form-item",{attrs:{label:"默认值","label-width":"100px"}},[t("el-input",{model:{value:e.attribute.defaultValue,callback:function(t){e.$set(e.attribute,"defaultValue",t)},expression:"attribute.defaultValue"}})],1),t("el-form-item",{attrs:{label:"允许为空","label-width":"100px"}},[t("el-switch",{attrs:{"active-text":"允许","inactive-text":"不允许"},model:{value:e.attribute.nullable,callback:function(t){e.$set(e.attribute,"nullable",t)},expression:"attribute.nullable"}})],1),t("el-form-item",{attrs:{label:"长度","label-width":"100px",prop:"maxLength"}},[t("el-input-number",{attrs:{min:1,max:4e3,step:1,"controls-position":"right"},model:{value:e.attribute.maxLength,callback:function(t){e.$set(e.attribute,"maxLength",t)},expression:"attribute.maxLength"}})],1),"VTDouble"==e.attribute.typeKey?t("el-form-item",{attrs:{label:"精度","label-width":"100px"}},[t("el-input-number",{attrs:{min:1,max:20,step:1,"controls-position":"right"},on:{change:e.changeNumber},model:{value:e.attribute.precision,callback:function(t){e.$set(e.attribute,"precision",t)},expression:"attribute.precision"}})],1):e._e(),t("el-form-item",{attrs:{label:"描述","label-width":"100px"}},[t("el-input",{attrs:{type:"text"},model:{value:e.attribute.description,callback:function(t){e.$set(e.attribute,"description",t)},expression:"attribute.description"}})],1),t("el-tabs",{attrs:{stretch:"true"},on:{"tab-click":e.handleClick},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[t("el-tab-pane",{attrs:{label:"参照",name:"referTab"}},[t("el-form-item",{attrs:{label:"参照类型","label-width":"100px"}},[t("el-select",{on:{change:e.referTypeSelectChange},model:{value:e.attribute.referTypeKey,callback:function(t){e.$set(e.attribute,"referTypeKey",t)},expression:"attribute.referTypeKey"}},e._l(e.btmRefer.referTypeList,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),t("el-form-item",{attrs:{label:"参照名称","label-width":"100px"}},[t("el-input",{attrs:{clearable:"true",disabled:e.referToFlag},on:{focus:e.openReferConfig,clear:e.clearReferTo},model:{value:e.attribute.referToName,callback:function(t){e.$set(e.attribute,"referToName",t)},expression:"attribute.referToName"}},[t("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"suffix"},slot:"suffix"})])],1)],1),t("el-tab-pane",{attrs:{label:"枚举",name:"enumTab"}},[t("el-form-item",{attrs:{label:"枚举","label-width":"100px"}},[t("el-input",{attrs:{clearable:"true"},on:{focus:e.openEnumConfig},model:{value:e.attribute.dictValue,callback:function(t){e.$set(e.attribute,"dictValue",t)},expression:"attribute.dictValue"}},[t("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"suffix"},slot:"suffix"})])],1),t("el-form-item",{attrs:{label:"枚举项","label-width":"100px"}},e._l(e.dictEnums,(function(r){return t("el-tag",{key:r.itemName,attrs:{type:"info"}},[e._v("\n "+e._s(r.itemName)+"\n ")])})),1)],1)],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary"},on:{click:e.submitAttribute}},[e._v("确定")]),t("el-button",{on:{click:e.cancelSubmit}},[e._v("取消")])],1),t("el-dialog",{staticStyle:{height:"115vh"},attrs:{title:"参照列表",visible:e.btmRefer.show,"append-to-body":"",width:"80%"},on:{"update:visible":function(t){return e.$set(e.btmRefer,"show",t)},close:e.closeReferDialog}},[t("el-container",[t("el-aside",[t("basic-container",[t("span",{staticClass:"el-dialog__title"},[e._v(" "+e._s(e.domain.treeOption.title)+" ")]),t("div",{staticStyle:{height:"20px"}}),t("avue-tree",{staticClass:"businessTree",staticStyle:{height:"418px"},attrs:{id:"domain",data:e.domain.data,option:e.domain.treeOption},on:{"node-click":e.nodeClick},scopedSlots:e._u([{key:"default",fn:function(r){var a=r.node;r.data;return t("span",{staticClass:"el-tree-node__label"},[t("span",[t("i",{staticClass:"el-icon-star-on"}),e._v("\n "+e._s((a||{}).label)+"\n ")])])}}])})],1)],1),t("el-main",[t("basic-container",[t("avue-crud",{ref:"btmTable",staticClass:"btmTable",attrs:{option:e.btmRefer.option,data:e.btmRefer.data},on:{"row-click":e.btmReferClick},scopedSlots:e._u([{key:"radio",fn:function(r){var a=r.row;return[t("el-radio",{attrs:{label:a.$index},model:{value:e.btmRefer.selectRow,callback:function(t){e.$set(e.btmRefer,"selectRow",t)},expression:"btmRefer.selectRow"}},[e._v(" \n ")])]}}])})],1)],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.confirmBtm}},[e._v("确定")]),t("el-button",{attrs:{size:"small"},on:{click:e.cancelBtm}},[e._v("取消")])],1)],1),t("el-dialog",{staticStyle:{height:"115vh"},attrs:{title:"枚举列表",visible:e.enumRefer.show,"append-to-body":"",width:"70%"},on:{"update:visible":function(t){return e.$set(e.enumRefer,"show",t)},close:e.closeEnumDialog}},[t("avue-crud",{ref:"eunmTable",staticClass:"enumTable",attrs:{option:e.enumRefer.option,data:e.enumRefer.data,page:e.enumRefer.enumPage},on:{"row-click":e.enumReferClick,"update:page":function(t){return e.$set(e.enumRefer,"enumPage",t)}},scopedSlots:e._u([{key:"radio",fn:function(r){var a=r.row;return[t("el-radio",{attrs:{label:a.$index},model:{value:e.enumRefer.selectRow,callback:function(t){e.$set(e.enumRefer,"selectRow",t)},expression:"enumRefer.selectRow"}},[e._v(" \n ")])]}}])}),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.confirmEnum}},[e._v("确定")]),t("el-button",{attrs:{size:"small"},on:{click:e.cancelEnum}},[e._v("取消")])],1)],1)],1)],1)},n=[],i=(r("ac6a"),r("35a0")),o=r("d772"),s=r("6872"),l={name:"originalAdd",props:{attribute:{type:Object}},data:function(){return{showSubmitDialog:!1,activeName:"referTab",typeList:[],referToFlag:!0,rules:{id:[{required:!0,message:"请输入属性编号",trigger:"blur"},{pattern:/^[A-Za-z]+$/,message:"属性编号只能为英文",trigger:"blur"},{min:2,max:15,message:"长度在2到15个字符",trigger:"blur"}],name:[{required:!0,message:"请输入属性名称",trigger:"blur"}],typeValue:[{required:!0,message:"请选择属性类型",trigger:"change"}],maxLength:[{required:!0,message:"需要指定长度",trigger:"blur"}]},btmRefer:{show:!1,btmPage:{pageSize:10,currentPage:1,total:100},option:{height:405,addBtn:!1,refreshBtn:!1,columnBtn:!1,menu:!1,border:!0,reserveSelection:!0,searchMenuSpan:32,searchShowBtn:!1,highlightCurrentRow:!0,column:[{label:"",prop:"radio",width:60,hide:!1},{label:"英文名称",prop:"id",align:"center",searchSpan:8,search:!0},{label:"中文名称",prop:"name",align:"center",searchSpan:8,search:!0}]},data:[],selectRow:"",selectItem:{},referTypeList:[]},enumRefer:{show:!1,enumPage:{pageSize:10,currentPage:1,total:100},option:{height:360,addBtn:!1,refreshBtn:!1,columnBtn:!1,menu:!1,border:!0,reserveSelection:!0,searchMenuSpan:32,searchShowBtn:!1,highlightCurrentRow:!0,column:[{label:"",prop:"radio",width:60,hide:!1},{label:"枚举代号",prop:"name",align:"center",searchSpan:8,search:!0},{label:"枚举名称",prop:"label",align:"center",searchSpan:8,search:!0}]},data:[],enumDictionary:[],selectRow:"",selectItem:{}},domain:{data:[],treeOption:{defaultExpandAll:!0,title:"领域服务树",props:{labelText:"",label:"name",value:"oid"}}},dictEnums:[],enumEditFlag:!1,enumInitFlag:!1,referInitFlag:!1,referEditFlag:!1}},created:function(){this.initAttributeTypeList(),this.initAttributeReferTypeList()},methods:{closeSubmitDialog:function(){this.resetAttributeForm(),this.showSubmitDialog=!1},resetAttributeForm:function(){this.attribute={nullable:!0,referTypeKey:""},this.referToFlag=!0,this.$refs.form.resetFields(),this.dictEnums=[]},submitAttribute:function(){var e=this;e.referInitFlag&&e.referEditFlag&&(this.$set(this.attribute,"dictCode",""),this.$set(this.attribute,"dictKey",""),this.$set(this.attribute,"dictValue",""),this.$set(this.attribute,"usingDict","")),e.enumInitFlag&&e.enumEditFlag&&(this.$set(this.attribute,"referTypeCode",""),this.$set(this.attribute,"referTypeKey",""),this.$set(this.attribute,"referTypeValue",""),this.$set(this.attribute,"referToId",""),this.$set(this.attribute,"referToName","")),this.$refs.form.validate((function(t,r){t?Object(s["add"])(e.attribute).then((function(t){e.$message.success("保存成功"),e.showSubmitDialog=!1,e.attribute={},e.$emit("refreshTable")})):e.$message.error("必填")}))},cancelSubmit:function(){this.closeSubmitDialog()},closeEnumDialog:function(){this.cancelEnum()},closeReferDialog:function(){this.cancelBtm()},confirmBtm:function(){this.attribute.referToId=this.btmRefer.selectItem.oid,this.attribute.referToName=this.btmRefer.selectItem.name,this.btmRefer.show=!1,this.referEditFlag=!0,this.enumEditFlag=!1},cancelBtm:function(){this.btmRefer.selectItem={},this.btmRefer.show=!1,this.btmRefer.selectRow=""},confirmEnum:function(){var e=this;this.attribute.usingDict=!0,this.attribute.dictCode=this.enumRefer.selectItem.name,this.attribute.dictValue=this.enumRefer.selectItem.label,this.enumRefer.show=!1,Object(i["getDictionary"])({code:this.enumRefer.selectItem.name}).then((function(t){e.dictEnums=t.data.data})),this.referEditFlag=!1,this.enumEditFlag=!0},cancelEnum:function(){this.enumRefer.selectItem={},this.enumRefer.show=!1,this.enumRefer.selectRow=""},openReferConfig:function(){var e=this;if(!this.attribute.referTypeKey)return this.$message.warning("请先选择参照的类型"),void(this.referToFlag=!0);this.domain.data=[],this.btmRefer.data=[],Object(o["initTree"])().then((function(t){e.domain.data=t.data.data})),this.btmRefer.show=!0},nodeClick:function(e){var t=this;"btmType"==this.attribute.referTypeKey&&Object(o["btmPage"])(this.btmRefer.btmPage.currentPage,this.btmRefer.btmPage.pageSize,{bizDomain:e.id}).then((function(e){t.btmRefer.data=e.data.data.records,t.btmRefer.btmPage.total=e.data.data.total})),this.attribute.referTypeKey},openEnumConfig:function(){var e=this;Object(i["getParentList"])(this.enumRefer.enumPage.currentPage,this.enumRefer.enumPage.pageSize).then((function(t){e.enumRefer.enumPage.total=t.data.data.total,e.enumRefer.data=t.data.data.records})),this.enumRefer.show=!0},typeSelectChange:function(e){"VTString"==e?this.$set(this.attribute,"maxLength",150):"VTInteger"==e?this.$set(this.attribute,"maxLength",50):"VTBoolean"==e?this.$set(this.attribute,"maxLength",5):"VTDouble"==e?(this.$set(this.attribute,"maxLength",26),this.$set(this.attribute,"precision",8)):"VTLong"==e?this.$set(this.attribute,"maxLength",150):"VTDate"==e||"VTTime"==e||"VTDateTime"==e?this.$set(this.attribute,"maxLength",6):this.$set(this.attribute,"maxLength",50),this.attribute.typeCode="attributeType",this.attribute.typeKey=e},referTypeSelectChange:function(e){this.attribute.referTypeCode="attributeReferType",this.attribute.referTypeKey=e,this.referToFlag=!1},initAttributeTypeList:function(){var e=this;Object(i["getDictionary"])({code:"attributeType"}).then((function(t){t.data.data.forEach((function(t){e.typeList.push({value:t.itemValue,label:t.itemName})}))})).catch((function(){e.$message.error("属性类型没找到或者未定义")}))},initAttributeReferTypeList:function(){var e=this;Object(i["getDictionary"])({code:"attributeReferType"}).then((function(t){t.data.data.forEach((function(t){e.btmRefer.referTypeList.push({value:t.itemValue,label:t.itemName})}))})).catch((function(){e.$message.error("参照类型没找到或者未定义")}))},btmReferClick:function(e){this.btmRefer.selectItem=e,this.btmRefer.selectRow=e.$index},enumReferClick:function(e){this.enumRefer.selectItem=e,this.enumRefer.selectRow=e.$index},clearReferTo:function(){this.$delete(this.attribute,"referToId"),this.$delete(this.attribute,"referToName"),this.btmRefer.selectItem={},this.btmRefer.selectRow=""},handleClick:function(e){"enumTab"===e.name?(this.enumInitFlag=!0,this.referInitFlag=!1):(this.enumInitFlag=!1,this.referInitFlag=!0)}}},c=l,u=(r("41b5"),r("2877")),d=Object(u["a"])(c,a,n,!1,null,null,null);t["default"]=d.exports},"18ec":function(e,t,r){"use strict";r.r(t);r("7f7f");var a=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{title:e.title,visible:e.dialogVisible,"append-to-body":"true",width:"30%"},on:{"update:visible":function(t){e.dialogVisible=t}}},[e._l(e.tags,(function(r){return t("el-tag",{key:r,attrs:{closable:"","disable-transitions":"",effect:"Plain",size:"medium"},on:{click:function(t){return e.handleClickTag(r)},close:function(t){return e.handleCloseTag(r)}}},[t("span",[e._v(" "+e._s(r.name))])])})),0!==e.tags.length?t("el-divider"):e._e(),t("el-form",{staticClass:"demo-form-inline",attrs:{model:e.saveParam,"label-position":"left","label-width":"auto",rules:e.rules}},[t("el-form-item",{attrs:{label:"流程模板"}},[t("el-input",{attrs:{placeholder:"流程模板",disabled:""},model:{value:e.saveParam.modelName,callback:function(t){e.$set(e.saveParam,"modelName",t)},expression:"saveParam.modelName"}})],1),t("el-form-item",{attrs:{label:"流程名称",prop:"processName"}},[t("el-input",{attrs:{placeholder:"流程名称"},model:{value:e.saveParam.processName,callback:function(t){e.$set(e.saveParam,"processName",t)},expression:"saveParam.processName"}})],1),t("el-form-item",{attrs:{label:"流程描述"}},[t("el-input",{attrs:{placeholder:"流程描述",type:"textarea",rows:4},model:{value:e.saveParam.processDesc,callback:function(t){e.$set(e.saveParam,"processDesc",t)},expression:"saveParam.processDesc"}})],1)],1),t("el-divider"),t("div",{staticClass:"btns-icon"},[t("el-button",{attrs:{icon:"el-icon-star-off",circle:""},on:{click:e.handleCollect}})],1),t("el-form",{staticClass:"demo-form-inline",attrs:{model:e.collectParam,"label-position":"left","label-width":"auto"}},e._l(e.initFrom,(function(r,a){return t("el-form-item",{key:a,attrs:{label:r.taskName}},[t("el-select",{staticStyle:{width:"80%"},attrs:{filterable:"",placeholder:r.taskName},on:{change:function(t){return e.handleSelect(t,a)}},model:{value:e.collectParam.flowTaskUsers[a]["userId"],callback:function(t){e.$set(e.collectParam.flowTaskUsers[a],"userId",t)},expression:"collectParam.flowTaskUsers[index]['userId']"}},e._l(e.typeName,(function(e,r){return t("el-option",{key:r,attrs:{label:e.userNames,value:e.userId}})})),1)],1)})),1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:e.handleCancel}},[e._v("取 消")]),t("el-button",{attrs:{type:"primary"},on:{click:e.handleConfirm}},[e._v("确 定")])],1)],2)},n=[],i=(r("8e6e"),r("ac6a"),r("456d"),r("7514"),r("ade3")),o=(r("96cf"),r("1da1")),s=(r("20d6"),r("f10a"));function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){Object(i["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var u={name:"SetPersonnel",props:{visible:{typeof:Boolean,default:!1},title:{typeof:String,default:"流程审批"},parameter:{typeof:Object,default:function(){}},parameterKeys:{typeof:Object,default:function(){return{ids:"ids",flowTemplate:"flowTemplate",code:"code",type:"type"}}}},watch:{visible:function(e){this.dialogVisible=e,e&&(this.apiInit(),this.apiDict())},dialogVisible:function(e){this.$emit("update:visible",e)},users:{handler:function(e){console.log("监听users",e),this.collectParam.flowTaskUsers=e},deep:!0,immediate:!0},parameter:{handler:function(e,t){console.log("子",e)}}},data:function(){return{dialogVisible:this.visible,isCollent:!1,initFrom:[],tags:[],typeName:[],collectParam:{},saveParam:this.setSaveParam(),users:[],rules:{processName:[{required:!0,message:"模板名称不能为空",trigger:"blur"},{min:1,max:20,message:"长度在 3 到 20 个字符",trigger:"blur"}]}}},mounted:function(){console.log("---",this.parameter)},created:function(){console.log("parameter",this.parameter)},methods:{setSaveParam:function(){return{processName:this.parameter[this.parameterKeys.flowTemplate],topName:this.title,ids:this.parameter[this.parameterKeys.ids],vars:this.parameter["vars"]}},userIndex:function(e){return this.initFrom.findIndex((function(t){return t.taskId===e}))},apiInit:function(){var e=Object(o["a"])(regeneratorRuntime.mark((function e(){var t,r,a,n,i,o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(s["personnelInit"])({type:this.parameter[this.parameterKeys.type],templateId:this.parameter[this.parameterKeys.code]});case 2:t=e.sent,200===t.status&&(console.log(t),this.initFrom=t.data.data.user,this.tags=t.data.data.collect,r=t.data.data.flow,a=r.modelKey,n=r.templateId,i=r.modelName,o=t.data.data.user,this.collectParam={modelKey:a,templateId:n,flowTaskUsers:o},this.users=t.data.data.user,console.log(this.collectParam),this.saveParam=c(c({},this.saveParam),{},{modelKey:a,templateId:n,modelName:i}),0!==this.tags.length&&this.handleClickTag(this.tags[0]));case 4:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),apiDict:function(){var e=Object(o["a"])(regeneratorRuntime.mark((function e(){var t,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(s["personnelDict"])();case 2:t=e.sent,console.log(t),200===t.status&&(console.log(t),r=t.data.data,this.typeName=r.map((function(e){var t=e.account,r=e.deptName,a=e.id,n=e.realName,i="".concat(r," - ").concat(n," - ").concat(t);return{userId:a,userName:n,userNames:i}})));case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),handleCollect:function(){var e=this;this.$prompt("请输入一个名字","操作",{confirmButtonText:"确定",cancelButtonText:"取消"}).then(function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(r){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=r.value,console.log(e.users),e.collectParam.flowTaskUsers=e.users,e.collectParam=c(c({},e.collectParam),{},{name:a}),console.log(e.collectParam),t.next=7,Object(s["personnelCollect"])(e.collectParam);case 7:n=t.sent,console.log(n),200===n.status&&e.$nextTick((function(){e.apiInit()}));case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(){}))},canCollect:function(){var e=Object(o["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(s["cancelCollect"])({name:t});case 2:r=e.sent,200===r.status&&(console.log(r),this.apiInit(),this.isCollent=!0,this.$message({type:"success",message:r.data.msg}));case 4:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}(),apiSave:function(){var e=Object(o["a"])(regeneratorRuntime.mark((function e(){var t,r,a,n,i,o,l,u,d,p,f,m;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(e.prev=0,t=this.collectParam.flowTaskUsers.length,console.log(this.collectParam.flowTaskUsers),console.log(0==t),console.log(t!=this.initFrom.length),0!=t||t==this.initFrom.length){e.next=9;break}this.$message({type:"error",message:"请选择节点!"}),e.next=15;break;case 9:return r=this.saveParam,a=r.modelKey,n=r.modelName,i=r.processDesc,o=r.processName,l=r.templateId,u=r.topName,d=r.vars,p=r.ids,f=c({modelKey:a,modelName:n,processDesc:i,processName:o,templateId:l,topName:u,ids:p},d),e.next=13,Object(s["personnelSave"])({variables:f,flowTaskUsers:this.collectParam.flowTaskUsers});case 13:m=e.sent,200===m.status&&(console.log(m),this.$message({type:"success",message:m.data.msg}),this.done());case 15:e.next=20;break;case 17:e.prev=17,e.t0=e["catch"](0),console.error("接口调用失败");case 20:case"end":return e.stop()}}),e,this,[[0,17]])})));function t(){return e.apply(this,arguments)}return t}(),handleClickTag:function(e){console.log(e.flowTaskUsers),console.log(this.collectParam.flowTaskUsers);var t=this.collectParam.flowTaskUsers;this.collectParam.flowTaskUsers=t.map((function(t,r){for(var a=0;a<e.flowTaskUsers.length;a++)t.taskId==e.flowTaskUsers[a].taskId&&(t["userName"]=e.flowTaskUsers[a]["userName"],t["userId"]=e.flowTaskUsers[a]["userId"]);return t})),this.users=this.collectParam.flowTaskUsers},handleCloseTag:function(e){console.log(e),this.canCollect(e.name)},handleSelect:function(e,t){var r=this.typeName.find((function(t){return t.userId===e})),a=r.userName;console.log(this.users),this.$set(this.users,t,c(c({},this.collectParam.flowTaskUsers[t]),{},{userName:a})),console.log(this.users)},done:function(){this.dialogVisible=!1},handleCancel:function(){this.done()},handleConfirm:function(){console.log(this.saveParam),this.apiSave()}}},d=u,p=(r("1656"),r("2877")),f=Object(p["a"])(d,a,n,!1,null,null,null);t["default"]=f.exports},"195f":function(e,t,r){"use strict";r.r(t);var a=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)])},n=[],i=(r("8e6e"),r("ac6a"),r("456d"),r("ade3")),o=r("9883"),s=r("5880"),l=r("0e0b"),c=r("14cd"),u=r("286c"),d=r("9812"),p=r("107f"),f=r("0f22"),m=r("44b2"),h=r("ad51"),b=r("c7cc");function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){Object(i["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var v={components:{topLock:c["default"],topMenu:u["default"],topSearch:d["default"],topTheme:p["default"],topLogs:f["default"],topColor:m["default"],topNotice:h["default"],topLang:b["default"]},name:"top",data:function(){return{userBox:!1,userForm:{deptId:"",roleId:""},userOption:{labelWidth:70,submitBtn:!0,emptyBtn:!1,submitText:"切换",column:[{label:"部门",prop:"deptId",type:"select",props:{label:"deptName",value:"id"},dicUrl:"/api/ubcs-system/dept/select",span:24,display:!1,rules:[{required:!0,message:"请选择部门",trigger:"blur"}]},{label:"角色",prop:"roleId",type:"select",props:{label:"roleName",value:"id"},dicUrl:"/api/ubcs-system/role/select",span:24,display:!1,rules:[{required:!0,message:"请选择角色",trigger:"blur"}]}]}}},filters:{},created:function(){},mounted:function(){Object(l["g"])(this.setScreen)},computed:y(y({},Object(s["mapState"])({showDebug:function(e){return e.common.showDebug},showTheme:function(e){return e.common.showTheme},showLock:function(e){return e.common.showLock},showFullScren:function(e){return e.common.showFullScren},showCollapse:function(e){return e.common.showCollapse},showSearch:function(e){return e.common.showSearch},showMenu:function(e){return e.common.showMenu},showColor:function(e){return e.common.showColor}})),Object(s["mapGetters"])(["userInfo","isFullScren","tagWel","tagList","isCollapse","tag","logsLen","logsFlag"])),methods:{handleScreen:function(){Object(l["d"])()},setCollapse:function(){this.$store.commit("SET_COLLAPSE")},setScreen:function(){this.$store.commit("SET_FULLSCREN")},switchDept:function(){var e=this.userInfo.user_id,t=this.findObject(this.userOption.column,"deptId");t.dicUrl="/api/ubcs-system/dept/select?userId=".concat(e),t.display=!0;var r=this.findObject(this.userOption.column,"roleId");r.dicUrl="/api/ubcs-system/role/select?userId=".concat(e),r.display=!0,this.userBox=!0},submitSwitch:function(e,t){var r=this;this.$store.dispatch("refreshToken",e).then((function(){r.userBox=!1,r.$router.push({path:"/"})})),t()},logout:function(){var e=this;this.$confirm(this.$t("logoutTip"),this.$t("tip"),{confirmButtonText:this.$t("submitText"),cancelButtonText:this.$t("cancelText"),type:"warning"}).then((function(){e.$store.dispatch("LogOut").then((function(){Object(o["b"])(),e.$router.push({path:"/login"})}))}))}}},O=v,w=r("2877"),C=Object(w["a"])(O,a,n,!1,null,"a7c44fa2",null);t["default"]=C.exports},"19a0":function(e,t,r){"use strict";r.r(t),r.d(t,"gridCodeRule",(function(){return s})),r.d(t,"getDetail",(function(){return l})),r.d(t,"remove",(function(){return c})),r.d(t,"add",(function(){return u})),r.d(t,"update",(function(){return d})),r.d(t,"listUseRange",(function(){return p})),r.d(t,"clearAllCode",(function(){return f})),r.d(t,"updateStatus",(function(){return m})),r.d(t,"clone",(function(){return h})),r.d(t,"getObjectByOid",(function(){return b})),r.d(t,"listDataByOids",(function(){return g}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-code/mdmRule/gridCodeRule",method:"get",params:o({page:e,limit:t},r)})},l=function(e){return Object(n["a"])({url:"/api/ubcs-code/mdmRule/detail",method:"get",params:{oid:e}})},c=function(e){return Object(n["a"])({url:"/api/ubcs-code/mdmRule/deleteData",method:"delete",data:e})},u=function(e){return Object(n["a"])({url:"/api/ubcs-code/mdmRule/addCode",method:"post",data:e})},d=function(e){return Object(n["a"])({url:"/api/ubcs-code/mdmRule/update",method:"post",data:e})},p=function(e){return Object(n["a"])({url:"/api/ubcs-code/mdmRule/listUseRange",method:"get",params:{oid:e}})},f=function(e){return Object(n["a"])({url:"/api/ubcs-code/mdmRule/clearAllCode",method:"delete",params:{oid:e}})},m=function(e){return Object(n["a"])({url:"/api/ubcs-code/mdmRule/updateStatus",method:"post",data:e})},h=function(e){return Object(n["a"])({url:"/api/ubcs-code/mdmRule/clone",method:"post",data:e})},b=function(e){return Object(n["a"])({url:"/api/ubcs-code/mdmRule/getObjectByOid",method:"get",params:{oid:e}})},g=function(e){return Object(n["a"])({url:"/api/ubcs-code/mdmRule/listDataByOids",method:"get",params:{oids:e}})}},"1af7":function(e,t,r){"use strict";r.r(t);var a=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)},n=[],i=(r("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=i,s=r("2877"),l=Object(s["a"])(o,a,n,!1,null,"16826a12",null);t["default"]=l.exports},"1be0":function(e,t,r){},"1ca4":function(e,t,r){"use strict";t["a"]={title:"VCI-UBCS",logo:"S",key:"saber",indexTitle:"VCI-UBCS",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,r){"use strict";r.r(t),r.d(t,"startList",(function(){return s})),r.d(t,"claimList",(function(){return l})),r.d(t,"todoList",(function(){return c})),r.d(t,"sendList",(function(){return u})),r.d(t,"doneList",(function(){return d})),r.d(t,"claimTask",(function(){return p})),r.d(t,"completeTask",(function(){return f}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-flow/work/start-list",method:"get",params:o(o({},r),{},{current:e,size:t})})},l=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-flow/work/claim-list",method:"get",params:o(o({},r),{},{current:e,size:t})})},c=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-flow/work/todo-list",method:"get",params:o(o({},r),{},{current:e,size:t})})},u=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-flow/work/send-list",method:"get",params:o(o({},r),{},{current:e,size:t})})},d=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-flow/work/done-list",method:"get",params:o(o({},r),{},{current:e,size:t})})},p=function(e){return Object(n["a"])({url:"/api/ubcs-flow/work/claim-task",method:"post",params:{taskId:e}})},f=function(e){return Object(n["a"])({url:"/api/ubcs-flow/work/complete-task",method:"post",data:e})}},"1ef8":function(e,t,r){"use strict";r.r(t),r.d(t,"gridCodeFixedValue",(function(){return s})),r.d(t,"addSaveCodeFixedValue",(function(){return l})),r.d(t,"editCodeFixedValue",(function(){return c})),r.d(t,"deleteCodeFixedValue",(function(){return u})),r.d(t,"saveOrder",(function(){return d}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-code/codeFixedValueController/gridCodeFixedValue",method:"get",params:o(o({},r),{},{current:e,size:t})})},l=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeFixedValueController/addSave",method:"post",data:e})},c=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeFixedValueController/editSave",method:"put",data:e})},u=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeFixedValueController/deleteData",method:"delete",data:e})},d=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeFixedValueController/saveOrder",method:"post",data:e})}},"20bf":function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"avue-sidebar"},[t("logo"),t("el-scrollbar",{staticStyle:{height:"100%"}},[e.validatenull(e.menu)?t("div",{staticClass:"avue-sidebar--tip"},[e._v(e._s(e.$t("menuTip"))+"\n ")]):e._e(),t("el-menu",{attrs:{"unique-opened":"","default-active":e.nowTagValue,mode:"vertical","show-timeout":200,collapse:e.keyCollapse}},[t("sidebar-item",{attrs:{menu:e.menu,screen:e.screen,first:"",props:e.website.menu.props,collapse:e.keyCollapse}})],1)],1)],1)},n=[],i=(r("8e6e"),r("ac6a"),r("456d"),r("ade3")),o=r("5880"),s=r("7d3a"),l=r("7505");function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){Object(i["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var d={name:"sidebar",components:{sidebarItem:l["default"],logo:s["default"]},inject:["index"],data:function(){return{}},created:function(){this.index.openMenu()},computed:u(u({},Object(o["mapGetters"])(["website","menu","tag","keyCollapse","screen","menuId"])),{},{nowTagValue:function(){return this.$router.$avueRouter.getValue(this.$route)}}),methods:{}},p=d,f=(r("22ef"),r("2877")),m=Object(f["a"])(p,a,n,!1,null,"275f073a",null);t["default"]=m.exports},"22ef":function(e,t,r){"use strict";r("61f2")},"245a":function(e,t,r){"use strict";r.r(t);var a=r("96eb"),n=r.n(a),i=function(e){var t=e.mock;t&&(n.a.mock("/user/login","post",{data:(new Date).getTime()+""}),n.a.mock("/user/logout","get",{data:!0}),n.a.mock("/user/refesh","post",{data:(new Date).getTime()+""}),n.a.mock("/user/getTable","get",(function(){for(var e=[],t=0;t<5;t++)e.push(n.a.mock({id:"@increment",name:n.a.mock("@cname"),username:n.a.mock("@last"),type:[0,2],checkbox:[0,1],"number|0-100":0,datetime:1532932422071,"sex|0-1":0,moreselect:[0,1],grade:0,address:n.a.mock("@cparagraph(1, 3)"),check:[1,3,4]}));return{data:{total:11,pageSize:10,tableData:e}}})))},o=[{label:"首页",path:"/wel/index",icon:"el-icon-menu",meta:{i18n:"dashboard"},parentId:0},{label:"测试",icon:"el-icon-document",path:"/test/index",meta:{i18n:"test"},parentId:3}],s=function(e){var t=e.mock;t&&n.a.mock("/user/getTopMenu","get",(function(){return{data:o}}))},l=function(e){var t=e.mock;t&&n.a.mock("/api/ubcs-auth/oauth/token/refresh","post",(function(){return{data:{account:"admin",user_name:"admin",nick_name:"管理员",role_name:"administrator",avatar:"https://gw.alipayobjects.com/zos/rmsportal/BiazfanxmamNRoxxVxka.png",access_token:"eyJ0eXAiOiJKc29uV2ViVG9rZW4iLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJpc3N1c2VyIiwiYXVkIjoiYXVkaWVuY2UiLCJyb2xlX25hbWUiOiJhZG1pbmlzdHJhdG9yIiwidXNlcl9pZCI6IjExMjM1OTg4MjE3Mzg2NzUyMDEiLCJyb2xlX2lkIjoiMTEyMzU5ODgxNjczODY3NTIwMSIsInVzZXJfbmFtZSI6ImFkbWluIiwibmlja19uYW1lIjoi566h55CG5ZGYIiwiYWNjb3VudCI6ImFkbWluIiwidGVuYW50X2NvZGUiOiIwMDAwMDAiLCJjbGllbnRfaWQiOiJzd29yZCIsImV4cCI6MTU1Nzk0Njc5OSwibmJmIjoxNTU3ODgxODg0fQ.FT8y1v1tg8hOAAoQpKlarKMgmsSXol-561edqtvOwa4",refresh_token:"eyJ0eXAiOiJKc29uV2ViVG9rZW4iLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJpc3N1c2VyIiwiYXVkIjoiYXVkaWVuY2UiLCJyb2xlX25hbWUiOiJhZG1pbmlzdHJhdG9yIiwidXNlcl9pZCI6IjExMjM1OTg4MjE3Mzg2NzUyMDEiLCJyb2xlX2lkIjoiMTEyMzU5ODgxNjczODY3NTIwMSIsInVzZXJfbmFtZSI6ImFkbWluIiwibmlja19uYW1lIjoi566h55CG5ZGYIiwiYWNjb3VudCI6ImFkbWluIiwidGVuYW50X2NvZGUiOiIwMDAwMDAiLCJjbGllbnRfaWQiOiJzd29yZCIsImV4cCI6MTU1Nzk0Njc5OSwibmJmIjoxNTU3ODgxODg0fQ.FT8y1v1tg8hOAAoQpKlarKMgmsSXol-561edqtvOwa4",token_type:"bearer",expires_in:64915,license:"powered by bladex"}}}))};function c(){var e={code:200,success:!0,msg:"操作成功"},t=[];return t.push({id:"1",paramName:"是否开启注册功能--mock测试",paramKey:"account.registerUser",paramValue:"true",remark:"描述"},{id:"2",paramName:"账号初始密码--mock测试",paramKey:"account.initPassword",paramValue:"123456",remark:"描述"}),e.data={total:10,size:10,current:1,searchCount:!0,pages:1,records:t},e}function u(){var e={code:200,success:!0,msg:"操作成功",data:{id:"1",paramName:"是否开启注册功能",paramKey:"account.registerUser",paramValue:"true",remark:"描述"}};return e}function d(){return{code:200,success:!0,msg:"操作成功"}}var p=function(e){var t=e.mock;t&&(n.a.mock(/\/api\/ubcs-system\/param\/list/,"get",c),n.a.mock(/\/api\/ubcs-system\/param\/detail/,"get",u),n.a.mock(/\/api\/ubcs-system\/param\/submit/,"post",d),n.a.mock(/\/api\/ubcs-system\/param\/remove/,"post",d))},f={mock:!1};i(f),s(f),l(f),p(f)},2499:function(e,t,r){"use strict";r.r(t),r.d(t,"getList",(function(){return s})),r.d(t,"getDetail",(function(){return l})),r.d(t,"remove",(function(){return c})),r.d(t,"add",(function(){return u})),r.d(t,"update",(function(){return d})),r.d(t,"enable",(function(){return p})),r.d(t,"send",(function(){return f}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-resource/sms/list",method:"get",params:o(o({},r),{},{current:e,size:t})})},l=function(e){return Object(n["a"])({url:"/api/ubcs-resource/sms/detail",method:"get",params:{id:e}})},c=function(e){return Object(n["a"])({url:"/api/ubcs-resource/sms/remove",method:"post",params:{ids:e}})},u=function(e){return Object(n["a"])({url:"/api/ubcs-resource/sms/submit",method:"post",data:e})},d=function(e){return Object(n["a"])({url:"/api/ubcs-resource/sms/submit",method:"post",data:e})},p=function(e){return Object(n["a"])({url:"/api/ubcs-resource/sms/enable",method:"post",params:{id:e}})},f=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-resource/sms/endpoint/send-message",method:"post",params:{code:e,phones:t,params:r}})}},2666:function(e,t,r){var a={"./system/dict":"cee8","./system/dict.js":"cee8","./system/dictbiz":"d4f4","./system/dictbiz.js":"d4f4","./system/param":"1249","./system/param.js":"1249","./user/info":"cadc","./user/info.js":"cadc"};function n(e){var t=i(e);return r(t)}function i(e){if(!r.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}n.keys=function(){return Object.keys(a)},n.resolve=i,e.exports=n,n.id="2666"},2709:function(e,t,r){"use strict";r.r(t);r("d263");var a=function(){var e=this,t=e._self._c;return t("div",[this.crudArrayFlag?t("div",{staticStyle:{display:"flex","flex-wrap":"wrap"}},[t("el-button-group",[0==e.attrEditVisible&&0==e.attrFlagChiledren?t("el-button",{attrs:{size:"small",type:"primary",icon:"el-icon-plus"},on:{click:e.busineHandle}},[e._v("添加 "+e._s(e.msg))]):e._e(),0==e.attrEditVisible&&0==e.attrFlagChiledren?t("el-button",{attrs:{size:"small",icon:"el-icon-full-screen"},on:{click:e.fullscreenHandle}},[e._v("全屏编辑")]):e._e(),t("el-button",{attrs:{icon:"el-icon-info",size:"small"},on:{click:e.ruleAddHandler}},[e._v("验证规则")]),t("el-button",{attrs:{icon:"el-icon-menu",size:"small"},on:{click:e.attrVisibleHandle}},[e._v("属性分组")])],1),t("el-button-group",[t("el-button",{attrs:{icon:"el-icon-magic-stick",size:"small"},on:{click:e.injectBtn}},[e._v("分类注入")]),t("el-button",{attrs:{size:"small"},on:{click:e.isShowHandler}},[e._v("组合规则")]),t("el-button",{attrs:{size:"small"},on:{click:e.enmuVisHandle}},[e._v("枚举注入")]),t("el-button",{attrs:{size:"small"},on:{click:e.CascadeHandle}},[e._v("级联属性")]),t("el-button",{attrs:{size:"small",icon:"el-icon-arrow-down"},on:{click:e.orderHandle}},[e._v("预览排序")])],1),t("el-button-group",[t("el-button",{attrs:{size:"small",icon:"el-icon-check"},on:{click:e.addsHandler}},[e._v("保存")]),t("el-button",{attrs:{size:"small",icon:"el-icon-delete"},on:{click:e.CrudRemove}},[e._v("删除")]),t("el-button",{attrs:{size:"small",icon:"el-icon-refresh-right"},on:{click:e.reset}},[e._v("重置")]),t("el-button",{attrs:{size:"small",icon:"el-icon-share"},on:{click:e.syncHandle}},[e._v("同步到其他模板")])],1),t("el-button",{attrs:{size:"small"},on:{click:e.applicationHandle}},[e._v("编码申请预览")])],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(r){var a=r.row;return[t("el-radio",{attrs:{label:a.$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:{visible:e.enumVisible,"append-to-body":"",title:"枚举注入","before-close":this.enumBeforeClose},on:{"update:visible":function(t){e.enumVisible=t}}},[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:"序号",type:"index"}}),t("el-table-column",{attrs:{type:"selection",width:"55"}}),t("el-table-column",{attrs:{label:"选项值",prop:"key"},scopedSlots:e._u([{key:"default",fn:function(r){var a=r.row;return[e.editingRow===a&&"key"==e.editShow?t("el-input",{on:{blur:e.saveRow},model:{value:a.key,callback:function(t){e.$set(a,"key",t)},expression:"row.key"}}):t("span",[e._v(e._s(a.key))])]}}])}),t("el-table-column",{attrs:{label:"选项中文标签",prop:"value"},scopedSlots:e._u([{key:"default",fn:function(r){var a=r.row;return[e.editingRow===a&&"value"==e.editShow?t("el-input",{on:{blur:e.saveRow},model:{value:a.value,callback:function(t){e.$set(a,"value",t)},expression:"row.value"}}):t("span",[e._v(e._s(a.value))])]}}])}),t("el-table-column",{attrs:{fixed:"right",label:"操作",width:"120"},scopedSlots:e._u([{key:"default",fn:function(r){return[t("el-button",{attrs:{size:"small",type:"text",plain:""},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)]),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.type,callback:function(t){e.$set(e.injectOption,"type",t)},expression:"injectOption.type"}},[t("el-radio",{attrs:{label:"分类名称"}}),t("el-radio",{attrs:{label:"分类代号"}})],1)],1),t("el-form-item",{attrs:{label:"层级设置"}},[t("el-radio-group",{model:{value:e.injectOption.set,callback:function(t){e.$set(e.injectOption,"set",t)},expression:"injectOption.set"}},[t("el-radio",{attrs:{label:"最小层"}}),t("el-radio",{attrs:{label:"指定层"}}),"指定层"==this.injectOption.set?t("el-input-number",{attrs:{max:10,min:0,"controls-position":"right"},model:{value:e.injectOption.injectNum,callback:function(t){e.$set(e.injectOption,"injectNum",t)},expression:"injectOption.injectNum"}}):e._e()],1)],1),t("el-form-item",{attrs:{label:"可修改"}},[t("el-radio-group",{model:{value:e.injectOption.change,callback:function(t){e.$set(e.injectOption,"change",t)},expression:"injectOption.change"}},[t("el-radio",{attrs:{label:"是"}}),t("el-radio",{attrs:{label:"否"}})],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:{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",{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:{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}})],1),t("formula-editor",{attrs:{systemVariableTableData:e.systemVariableTableData,thisSceneTableData:e.thisSceneTableData,visible:e.isShowformulaEdit,componentRuleText:e.componentRuleText},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-form-dialog",{ref:"referConfigFormDialog",on:{echoReferConfig:e.echoReferConfig}})],1),this.crudArrayFlag?t("el-table",{ref:"referAttrCrud",staticStyle:{width:"100%"},attrs:{data:e.ProData,height:"280"},on:{"cell-click":e.handleCellClicks,select:e.selectHandle,"selection-change":e.selectionChange}},[t("el-table-column",{attrs:{type:"selection",width:"55",fixed:""}}),e._l(this.option.column,(function(r,a){return"referName"!=r.edit?t("el-table-column",{key:r.id,attrs:{label:r.label,prop:r.prop,formatter:e.formAttr,width:r.width||(r.label.length>=4?"160":3==r.label.length?"130":"100"),"show-overflow-tooltip":!0,sortable:r.sortable,fixed:r.fixed,align:"center"},scopedSlots:e._u([{key:"default",fn:function(n){var i=n.row;return[e.editingRows!==i||e.editShows!=r.prop||"codeDateFormat"==r.prop||"text"!=r.edit&&"refer"!=r.edit?e._e():t("el-input",{on:{blur:e.saveRows},model:{value:i[r.prop],callback:function(t){e.$set(i,r.prop,t)},expression:"row[item.prop]"}}),e.editingRows===i&&e.editShows==r.prop&&"number"==r.edit?t("el-input-number",{style:{width:r.width-10+"px"},attrs:{size:"small","controls-position":"right"},on:{blur:e.saveRows},model:{value:i[r.prop],callback:function(t){e.$set(i,r.prop,t)},expression:"row[item.prop]"}}):e._e(),e.editingRows===i&&e.editShows==r.prop&&"select"==r.edit?t("el-select",{attrs:{slot:"prepend",filterable:"","allow-create":"","default-first-option":""},on:{blur:function(t){return e.selectChangeHandler(r.editConfig,a)}},slot:"prepend",model:{value:i[r.prop],callback:function(t){e.$set(i,r.prop,t)},expression:"row[item.prop]"}},e._l(r.data,(function(e){return t("el-option",{key:e.dictValue,attrs:{label:e.dictValue,value:e.dictValue}})})),1):e._e(),"switch"===r.edit?t("el-switch",{attrs:{"active-value":"true","inactive-value":"false"},model:{value:i[r.prop],callback:function(t){e.$set(i,r.prop,t)},expression:"row[item.prop]"}}):t("span",[e._v(e._s(i[r.prop]))])]}}],null,!0)}):e._e()})),t("el-table-column",{attrs:{fixed:"right",label:"操作",width:"70"},scopedSlots:e._u([{key:"default",fn:function(r){return[t("el-button",{attrs:{size:"small",type:"text"},nativeOn:{click:function(t){return t.preventDefault(),e.CrudRowDel(r.$index)}}},[e._v("\n 移除\n ")])]}}],null,!1,3803813869)})],2):e._e()],1)},n=[],i=(r("8e6e"),r("456d"),r("3b2b"),r("55dd"),r("7f7f"),r("ade3")),o=(r("ac6a"),r("8e19"));r("276d");function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){Object(i["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var c={name:"attrCrud .vue",props:{ProData:{type:Array},crudOid:{type:String,default:""},crudArray:{type:Array},Formlist:{type:Array},codeClassifyOid:{type:String,default:""},attrFlagChiledren:{type:Boolean,default:!1},crudArrayFlag:{type:Boolean,default:!1}},watch:{crudArray:{handler:function(e,t){void 0!=e&&(e.length>=1?this.crudArrayFlag=!0:this.crudArrayFlag=!1)},deep:!0,immediate:!0}},data:function(){return{screenWidth:document.documentElement.clientWidth,CurrentCell:"",SelectValue:"",SelectFInd:"",SelectOption:[{value:"name",label:"属性中文名称"},{value:"id",label:"属性英文名称"}],referVisible:!1,crudArrayFlag:!1,editingRows:null,editShows:"",attrFlag:!1,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.SECRETGRADE#",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:{type:"分类名称",set:"最小层",change:"是",injectNum: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:"任何匹配的 n<sup>th</sup> 捕获组"},{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,通过零宽度的负 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"},{label:"属性中文名称",prop:"name"},{label:"长度",prop:"attributeLength"},{label:"数据类型",prop:"attrDataType",formatter:function(e,t){var r={VTBoolean:"布尔型",VTClob:"长文本",VTDate:"日期",VTDateTime:"日期时间",VTTime:"时间",VTLong:"长整型",VTDouble:"金额/双精度",VTInteger:"整形",VTFilePath:"文件",VTString:"字符串"};return r[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:"classifyInvokeLevelName",cell:!1,edit:"refer"},{label:"分类注入",prop:"classifyInvokeLevel",cell:!1,edit:"referName"},{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:""}},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(){var e=this;window.addEventListener("resize",(function(){Math.abs(e.screenWidth-document.body.clientWidth)>20&&e.$nextTick((function(){e.$refs.AddOriginPlace.refreshTable()})),e.screenWidth=document.body.clientWidth}))},created:function(){var e=this;this.option.column.forEach((function(t,r){"select"==t.edit&&e.selectChangeHandler(t.editConfig,r)}))},methods:{formAttr:function(e,t){console.log(e,t)},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){console.log("val--",e),this.$set(this.CurrentCell,"referConfig",JSON.stringify(e))},selectChangeHandler:function(e,t){var r=this;Object(o["listByFlag"])(e.extraParams).then((function(e){r.option.column[t].data=e.data.data}))},attrVisibleHandle:function(){this.attrSelectList<1?this.$message.warning("请选择模板属性"):(this.attrVisible=!0,console.log(this.attrSelectList))},attrHandle:function(){var e=this;console.log(this.attrSelectList),this.attrSelectList.forEach((function(t){t.attributeGroup=e.attrModel})),this.attrModel="",this.attrVisible=!1},attrRemove:function(){this.attrModel=""},CrudRend:function(){var e=this;""!=this.crudOid&&Object(o["gridCodeClassifyTemplateAttr"])({"conditionMap[classifyTemplateOid]":this.crudOid}).then((function(t){e.ProData=t.data.data})).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(r){var a=!1;e.ProData.forEach((function(e){if(r.id==e.id)return a=!0,!1})),a||(r.oid="",e.busineAddList=Object.assign(r,{orderNum:++t,attributedatatype:r.attrDataType,attributeDataTypeText:e.vciFieldTypeMap[r.attrDataType],controlLength:r.attributeLength,valueArea:r.range,referbtmid:r.referBtmTypeId,referbtmname:r.referBtmTypeName,referConfig:"",enumid:r.enumId,precisionLength:(r.precisionLength?r.precisionLength:"")+(r.scaleLength?"("+r.scaleLength+")":""),classifyTemplateOid:e.crudOid,classifytemplateoid:e.crudOid,formDisplayFlag:"true",tableDisplayFlag:"true",sortAttrFlag:"false",queryAttrFlag:"true",seniorQueryAttrFlag:"true",attrTableWidth:120}),e.ProData.push(JSON.parse(JSON.stringify(e.busineAddList))))})),this.addVisible=!1},businessSelect:function(e,t){this.busineSelectList=e},busineHandle:function(){this.addVisible=!0,this.busineSelectList=[],this.busineAddList=[],this.BuineAttrByBtm()},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=""},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,console.log(t)},selectionChange:function(e){this.attrSelectList=e,console.log(e)},addsHandler:function(){var e=this;Object(o["batchAddSave"])(JSON.parse(JSON.stringify(this.ProData))).then((function(t){e.$message.success("保存成功")}))},handleCellClicks:function(e,t){var r=this;this.editingRows=e,this.editShows=t.property,this.rowOid=e.oid,this.CurrentCell=e,"referConfig"==t.property?(this.$refs.referConfigFormDialog.isShowReferConfigForm=!0,this.$refs.referConfigFormDialog.onloadAttrData()):"classifyInvokeLevelName"==t.property?this.injectVisible=!0:"componentRule"==t.property?(this.CurrentCell&&(this.CurrentCell.componentRule=this.componentRuleText),this.isShowformulaEdit=!0):"enumString"==t.property?this.enumVisible=!0:"parentCode"==t.property?(Object(o["gridCodeClassifyTemplateAttr"])({"conditionMap[classifyTemplateOid]":this.Formlist[0].oid,"conditionMap[oid_notequal]":this.CurrentCell.oid}).then((function(e){console.log(e),r.CascadeData=e.data.data})),this.CascadeVisible=!0):"verifyRule"==t.property&&(this.RulesForm.expressionTextt=this.CurrentCell.verifyRule,this.rulesVisible=!0)},saveRows:function(){this.editingRows=null,console.log("1321")},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(){this.attrSelectList.length>1?this.$message.warning("只能选择一条模板属性"):this.attrSelectList<1?this.$message.warning("请选择一条模板属性"):1===this.attrSelectList.length&&(this.enumVisible=!0)},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(){this.enumRow.length<1?this.$message.warning("请至少选择一条数据"):this.CurrentCell?(this.$set(this.CurrentCell,"enumString",JSON.stringify(this.enumRow)),this.enumVisible=!1):(this.$set(this.attrSelectList[0],"enumString",JSON.stringify(this.enumRow)),this.tableData=[],this.enumVisible=!1)},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=""},rulesHandle:function(){var e=this;this.CurrentCell?this.$set(this.CurrentCell,"verifyRule",this.RulesForm.expressionText):(this.attrSelectList.forEach((function(t){e.$set(t,"verifyRule",e.RulesForm.expressionText)})),this.rulesremove()),this.rulesVisible=!1},rulesExamine:function(){console.log(this.RulesForm.expressionText);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.type,"注入类型名称":this.injectOption.set,"层级设置":this.injectOption.injectNum,"是否可修改":this.injectOption.change};this.CurrentCell?(this.$set(this.CurrentCell,"classifyInvokeLevelName",e),this.$set(this.CurrentCell,"classifyInvokeLevel",JSON.stringify(this.injectOption))):(this.$set(this.attrSelectList[0],"classifyInvokeLevelName",e),this.$set(this.attrSelectList[0],"classifyInvokeLevel",JSON.stringify(this.injectOption))),this.injectVisible=!1},injectHandleReset:function(){this.injectOption.type="",this.injectOption.set="",this.injectOption.change="",this.injectOption.injectNum=""},injectRemove:function(){this.injectVisible=!1},CrudRowDel:function(e){this.ProData.splice(e,1)},CrudRemove:function(){var e=this;this.attrSelectList.forEach((function(t){var r=e.ProData.indexOf(t);e.ProData.splice(r,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.attrEditVisible=!0,this.attrFlag=!0)},escEdit:function(){this.attrFlagChiledren=!1,this.attrEditVisible=!1},updataFormlaContent:function(e){this.CurrentCell?this.$set(this.CurrentCell,"componentRule",JSON.stringify(e)):this.$set(this.attrRow,"componentRule",JSON.stringify(e))},sortChange:function(e){console.log(e)}}},u=c,d=(r("fca2"),r("2877")),p=Object(d["a"])(u,a,n,!1,null,"3611a33b",null);t["default"]=p.exports},2746:function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e._self._c;return t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"avue-dialog avue-dialog--top",attrs:{visible:e.dialogVisible,top:"0vh",title:"相似项查询",width:e.width,"append-to-body":""},on:{"update:visible":function(t){e.dialogVisible=t},opened:e.openDialog}},[t("ResembleQuery",e._b({directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"ResembleQuery",attrs:{column:e.column,templateOid:e.templateOid,codeRuleOid:e.codeRuleOid,codeClassifyOid:e.codeClassifyOid}},"ResembleQuery",e.$attrs,!1))],1)},n=[],i=r("902d"),o=r("6657"),s={name:"ResembleQueryDialog",components:{ResembleQuery:o["default"]},props:{visible:{type:Boolean,default:!1},codeClassifyOid:{type:String,default:""},templateOid:{type:String,default:""},rowOid:"",codeRuleOid:{type:String,default:""},type:{type:String,default:"add"},form:{type:Object,default:function(){return{}}}},data:function(){return{column:[],loading:!1,detailData:{}}},computed:{dialogVisible:{get:function(){return this.visible},set:function(e){this.$emit("update:visible",e)}}},methods:{openDialog:function(){var e=this;this.loading=!0,Object(i["getFormDetail"])({templateOid:this.templateOid,oid:this.rowOid}).then((function(t){return e.detailData=t.data.data[0]||{},Object(i["getFormTemplate"])({templateOid:e.templateOid,codeClassifyOid:e.codeClassifyOid})})).then((function(t){e.loading=!1,t.data&&t.data.resembleTableVO.cols&&t.data.resembleTableVO.cols.length>0?(e.column=t.data.resembleTableVO.cols,e.$refs.ResembleQuery.resembleQuery(e.detailData)):e.column=[]}))}}},l=s,c=r("2877"),u=Object(c["a"])(l,a,n,!1,null,"4c1d99af",null);t["default"]=u.exports},"276d":function(e,t,r){"use strict";r.r(t),r.d(t,"getList",(function(){return s})),r.d(t,"getLazyList",(function(){return l})),r.d(t,"getTableDefinedUrl",(function(){return c}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e,t,r,a,i){return Object(n["a"])({url:a,method:i,params:o(o({},e),{},{page:t,limit:r})})},l=function(e,t){return Object(n["a"])({url:t,method:"get",params:o({},e)})},c=function(e,t){return Object(n["a"])({url:t,method:"get",params:o({},e)})}},"286c":function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"top-menu"},[t("el-menu",{attrs:{"default-active":e.activeIndex,mode:"horizontal","text-color":"#333"}},[t("el-menu-item",{key:"0",attrs:{index:"0"},nativeOn:{click:function(t){return e.openHome(e.itemHome)}}},[t("template",{slot:"title"},[t("i",{class:e.itemHome.source}),t("span",[e._v(e._s(e.generateTitle(e.itemHome)))])])],2),e._l(e.items,(function(r,a){return[t("el-menu-item",{key:a,attrs:{index:r.id+""},nativeOn:{click:function(t){return e.openMenu(r)}}},[t("template",{slot:"title"},[t("i",{class:r.source,staticStyle:{"padding-right":"5px"}}),t("span",[e._v(e._s(e.generateTitle(r)))])])],2)]}))],2)],1)},n=[],i=(r("8e6e"),r("ac6a"),r("456d"),r("7f7f"),r("ade3")),o=r("5880");function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){Object(i["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var c={name:"top-menu",data:function(){return{itemHome:{name:"首页",source:"el-icon-menu"},activeIndex:"0",items:[]}},inject:["index"],created:function(){this.getMenu()},computed:l({},Object(o["mapGetters"])(["tagCurrent","menu"])),methods:{openHome:function(e){this.index.openMenu(e),this.$router.push({path:this.$router.$avueRouter.getPath({name:e.name,src:""},{})})},openMenu:function(e){this.index.openMenu(e)},getMenu:function(){var e=this;this.$store.dispatch("GetTopMenu").then((function(t){e.items=t}))},generateTitle:function(e){return this.$router.$avueRouter.generateTitle(e.name,(e.meta||{}).i18n)}}},u=c,d=r("2877"),p=Object(d["a"])(u,a,n,!1,null,null,null);t["default"]=p.exports},"28c5":function(e,t,r){"use strict";r.r(t),r.d(t,"getList",(function(){return s})),r.d(t,"getDetail",(function(){return l})),r.d(t,"remove",(function(){return c})),r.d(t,"add",(function(){return u})),r.d(t,"update",(function(){return d}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-code/codeSynonym/list",method:"get",params:o(o({},r),{},{current:e,size:t})})},l=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeSynonym/detail",method:"get",params:{oid:e}})},c=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeSynonym/remove",method:"post",params:{oids:oids}})},u=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeSynonym/submit",method:"post",data:e})},d=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeSynonym/submit",method:"post",data:e})}},2905:function(e,t,r){"use strict";r.r(t),r.d(t,"getList",(function(){return s})),r.d(t,"remove",(function(){return l})),r.d(t,"add",(function(){return c})),r.d(t,"update",(function(){return u})),r.d(t,"getNotice",(function(){return d}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-desk/notice/list",method:"get",params:o(o({},r),{},{current:e,size:t})})},l=function(e){return Object(n["a"])({url:"/api/ubcs-desk/notice/remove",method:"post",params:{ids:e}})},c=function(e){return Object(n["a"])({url:"/api/ubcs-desk/notice/submit",method:"post",data:e})},u=function(e){return Object(n["a"])({url:"/api/ubcs-desk/notice/submit",method:"post",data:e})},d=function(e){return Object(n["a"])({url:"/api/ubcs-desk/notice/detail",method:"get",params:{id:e}})}},2934:function(e,t,r){"use strict";r.r(t),r.d(t,"exportBlob",(function(){return n}));var a=r("b5c6"),n=function(e){return Object(a["a"])({url:e,method:"get",responseType:"blob"})}},"2b1e":function(e,t,r){},"2c75":function(e,t,r){"use strict";r.r(t),r.d(t,"getList",(function(){return s})),r.d(t,"remove",(function(){return l})),r.d(t,"add",(function(){return c})),r.d(t,"update",(function(){return u}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-system/param/list",method:"get",params:o(o({},r),{},{current:e,size:t})})},l=function(e){return Object(n["a"])({url:"/api/ubcs-system/param/remove",method:"post",params:{ids:e}})},c=function(e){return Object(n["a"])({url:"/api/ubcs-system/param/submit",method:"post",data:e})},u=function(e){return Object(n["a"])({url:"/api/ubcs-system/param/submit",method:"post",data:e})}},"2cb6":function(e,t,r){},"2e1d":function(e,t,r){"use strict";r("2cb6")},"2eac":function(e,t,r){"use strict";r("c1a9")},"2fee":function(e,t,r){"use strict";r("8a50")},3528:function(e,t,r){"use strict";r.r(t),r.d(t,"getPage",(function(){return s})),r.d(t,"grantTree",(function(){return l})),r.d(t,"grant",(function(){return c})),r.d(t,"remove",(function(){return u})),r.d(t,"add",(function(){return d})),r.d(t,"update",(function(){return p})),r.d(t,"getRole",(function(){return f})),r.d(t,"getRoleTree",(function(){return m})),r.d(t,"getRoleTreeById",(function(){return h}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-system/role/page",method:"get",params:o(o({},r),{},{current:e,size:t})})},l=function(){return Object(n["a"])({url:"/api/ubcs-system/menu/grant-tree",method:"get"})},c=function(e,t,r,a){return Object(n["a"])({url:"/api/ubcs-system/role/grant",method:"post",data:{roleIds:e,menuIds:t,dataScopeIds:r,apiScopeIds:a}})},u=function(e){return Object(n["a"])({url:"/api/ubcs-system/role/remove",method:"post",params:{ids:e}})},d=function(e){return Object(n["a"])({url:"/api/ubcs-system/role/submit",method:"post",data:e})},p=function(e){return Object(n["a"])({url:"/api/ubcs-system/role/submit",method:"post",data:e})},f=function(e){return Object(n["a"])({url:"/api/ubcs-system/menu/role-tree-keys",method:"get",params:{roleIds:e}})},m=function(e){return Object(n["a"])({url:"/api/ubcs-system/role/tree",method:"get",params:{tenantId:e}})},h=function(e){return Object(n["a"])({url:"/api/ubcs-system/role/tree-by-id",method:"get",params:{roleId:e}})}},3562:function(e,t,r){"use strict";r("c35b")},3581:function(e,t,r){},"35a0":function(e,t,r){"use strict";r.r(t),r.d(t,"getList",(function(){return s})),r.d(t,"getParentList",(function(){return l})),r.d(t,"getChildList",(function(){return c})),r.d(t,"remove",(function(){return u})),r.d(t,"removeChild",(function(){return d})),r.d(t,"add",(function(){return p})),r.d(t,"addChild",(function(){return f})),r.d(t,"update",(function(){return m})),r.d(t,"updateChild",(function(){return h})),r.d(t,"getDict",(function(){return b})),r.d(t,"getDictChild",(function(){return g})),r.d(t,"getDictTree",(function(){return y})),r.d(t,"getDictionary",(function(){return v}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-omd/enum/list",method:"get",params:o(o({},r),{},{current:e,size:t})})},l=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-omd/enum/parent-list",method:"get",params:o(o({},r),{},{current:e,size:t})})},c=function(e,t,r,a){return Object(n["a"])({url:"/api/ubcs-omd/enumItem/listAll",method:"get",params:o(o({},a),{},{current:e,size:t,parentoid:r})})},u=function(e){return Object(n["a"])({url:"/api/ubcs-omd/enum/remove",method:"post",params:{ids:e}})},d=function(e){return Object(n["a"])({url:"/api/ubcs-omd/enumItem/remove",method:"post",params:{ids:e}})},p=function(e){return Object(n["a"])({url:"/api/ubcs-omd/enum/submit",method:"post",data:e})},f=function(e){return Object(n["a"])({url:"/api/ubcs-omd/enumItem/submit",method:"post",data:e})},m=function(e){return Object(n["a"])({url:"/api/ubcs-omd/enum/submit",method:"post",data:e})},h=function(e){return Object(n["a"])({url:"/api/ubcs-omd/enumItem/submit",method:"post",data:e})},b=function(e){return Object(n["a"])({url:"/api/ubcs-omd/enum/detail",method:"get",params:{oid:e}})},g=function(e){return Object(n["a"])({url:"/api/ubcs-omd/enumItem/detail",method:"get",params:{oid:e}})},y=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-omd/enum/tree",method:"get",params:o(o({},r),{},{current:e,size:t})})},v=function(e){return Object(n["a"])({url:"/api/ubcs-omd/enum/dictionary",method:"get",params:e})}},"368f":function(e,t,r){"use strict";r.r(t),r.d(t,"getList",(function(){return s})),r.d(t,"getDetail",(function(){return l})),r.d(t,"remove",(function(){return c})),r.d(t,"add",(function(){return u})),r.d(t,"update",(function(){return d})),r.d(t,"enable",(function(){return p}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-resource/oss/list",method:"get",params:o(o({},r),{},{current:e,size:t})})},l=function(e){return Object(n["a"])({url:"/api/ubcs-resource/oss/detail",method:"get",params:{id:e}})},c=function(e){return Object(n["a"])({url:"/api/ubcs-resource/oss/remove",method:"post",params:{ids:e}})},u=function(e){return Object(n["a"])({url:"/api/ubcs-resource/oss/submit",method:"post",data:e})},d=function(e){return Object(n["a"])({url:"/api/ubcs-resource/oss/submit",method:"post",data:e})},p=function(e){return Object(n["a"])({url:"/api/ubcs-resource/oss/enable",method:"post",params:{id:e}})}},"36a0":function(e,t,r){"use strict";r.r(t),r.d(t,"getList",(function(){return s})),r.d(t,"remove",(function(){return l})),r.d(t,"upload",(function(){return c})),r.d(t,"update",(function(){return u})),r.d(t,"download",(function(){return d})),r.d(t,"getFile",(function(){return p})),r.d(t,"listFilesByOids",(function(){return f}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-resource/fileController/listFiles",method:"get",params:o(o({},r),{},{page:e,limit:t})})},l=function(e){return Object(n["a"])({url:"/api/ubcs-resource/fileController/deleteFile",method:"delete",data:e})},c=function(e){return Object(n["a"])({url:"/api/ubcs-resource/fileController/uploadFile",method:"post",data:e})},u=function(e){return Object(n["a"])({url:"/api/ubcs-resource/fileController/uploadFile",method:"post",data:e})},d=function(e){return Object(n["a"])({url:"/api/ubcs-resource/fileController/downloadFilesByOids",method:"post",headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},data:e})},p=function(e){return Object(n["a"])({url:"/api/ubcs-resource/fileController/get",method:"get",params:{oid:e}})},f=function(e){return Object(n["a"])({url:"/api/ubcs-resource/fileController/listFilesByOids",method:"get",params:{oids:e}})}},"36d2":function(e,t,r){"use strict";r.r(t),r.d(t,"getList",(function(){return s})),r.d(t,"getDetail",(function(){return l})),r.d(t,"remove",(function(){return c})),r.d(t,"add",(function(){return u})),r.d(t,"update",(function(){return d})),r.d(t,"getTableList",(function(){return p})),r.d(t,"getTableInfo",(function(){return f})),r.d(t,"getTableInfoByName",(function(){return m})),r.d(t,"getModelPrototype",(function(){return h})),r.d(t,"submitModelPrototype",(function(){return b})),r.d(t,"prototypeDetail",(function(){return g}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-develop/model/list",method:"get",params:o(o({},r),{},{current:e,size:t})})},l=function(e){return Object(n["a"])({url:"/api/ubcs-develop/model/detail",method:"get",params:{id:e}})},c=function(e){return Object(n["a"])({url:"/api/ubcs-develop/model/remove",method:"post",params:{ids:e}})},u=function(e){return Object(n["a"])({url:"/api/ubcs-develop/model/submit",method:"post",data:e})},d=function(e){return Object(n["a"])({url:"/api/ubcs-develop/model/submit",method:"post",data:e})},p=function(e){return Object(n["a"])({url:"/api/ubcs-develop/model/table-list",method:"get",params:{datasourceId:e}})},f=function(e,t){return Object(n["a"])({url:"/api/ubcs-develop/model/table-info",method:"get",params:{modelId:e,datasourceId:t}})},m=function(e,t){return Object(n["a"])({url:"/api/ubcs-develop/model/table-info",method:"get",params:{tableName:e,datasourceId:t}})},h=function(e,t){return Object(n["a"])({url:"/api/ubcs-develop/model/model-prototype",method:"get",params:{modelId:e,datasourceId:t}})},b=function(e){return Object(n["a"])({url:"/api/ubcs-develop/model-prototype/submit-list",method:"post",data:e})},g=function(e){return Object(n["a"])({url:"/api/ubcs-develop/model-prototype/select",method:"get",params:{modelId:e}})}},"371f":function(e,t,r){"use strict";r.r(t),r.d(t,"modelList",(function(){return s})),r.d(t,"managerList",(function(){return l})),r.d(t,"followList",(function(){return c})),r.d(t,"removeModel",(function(){return u})),r.d(t,"deployModel",(function(){return d})),r.d(t,"changeState",(function(){return p})),r.d(t,"deployUpload",(function(){return f})),r.d(t,"deleteDeployment",(function(){return m})),r.d(t,"deleteProcessInstance",(function(){return h})),r.d(t,"submitModel",(function(){return b})),r.d(t,"detail",(function(){return g})),r.d(t,"modelView",(function(){return y}));r("8e6e"),r("456d"),r("ac6a");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-flow/model/list",method:"get",params:o(o({},r),{},{current:e,size:t})})},l=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-flow/manager/list",method:"get",params:o(o({},r),{},{current:e,size:t})})},c=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-flow/follow/list",method:"get",params:o(o({},r),{},{current:e,size:t})})},u=function(e){return Object(n["a"])({url:"/api/ubcs-flow/model/remove",method:"post",params:{ids:e}})},d=function(e){return Object(n["a"])({url:"/api/ubcs-flow/model/deploy",method:"post",params:e})},p=function(e){return Object(n["a"])({url:"/api/ubcs-flow/manager/change-state",method:"post",params:e})},f=function(e,t,r){var a=new FormData;return a.append("category",e),a.append("tenantIds",t),r.forEach((function(e){a.append("files",e)})),Object(n["a"])({headers:{"Content-Type":"multipart/form-data"},url:"/api/ubcs-flow/manager/deploy-upload",method:"post",data:a})},m=function(e){return Object(n["a"])({url:"/api/ubcs-flow/manager/delete-deployment",method:"post",params:{deploymentIds:e}})},h=function(e){return Object(n["a"])({url:"/api/ubcs-flow/follow/delete-process-instance",method:"post",params:e})},b=function(e){return Object(n["a"])({url:"/api/ubcs-flow/model/submit",method:"post",data:e})},g=function(e){return Object(n["a"])({url:"/api/ubcs-flow/model/detail",method:"get",params:e})},y=function(e){return Object(n["a"])({url:"/api/ubcs-flow/process/model-view",method:"get",params:e})}},3856:function(e,t,r){},3907: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__),C_java_workspace_GIT_VCI_UBCS_ubcs_Source_UBCS_WEB_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("ade3"),core_js_modules_es6_array_sort__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("55dd"),core_js_modules_es6_array_sort__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(core_js_modules_es6_array_sort__WEBPACK_IMPORTED_MODULE_3__),regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("96cf"),regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_4__),C_java_workspace_GIT_VCI_UBCS_ubcs_Source_UBCS_WEB_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("1da1"),core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("ac6a"),core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_6__),_api_GetItem__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("dd3a"),_api_integration_integration_js__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("f9fa"),_views_integration_integrationTransfer__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("76e7"),_components_template_SetPersonnel__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("18ec"),_components_FormTemplate_ResembleQueryDialog_vue__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__("2746"),_components_BatchImport__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__("aa51"),_util_validate__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__("c54a");function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(r),!0).forEach((function(t){Object(C_java_workspace_GIT_VCI_UBCS_ubcs_Source_UBCS_WEB_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_2__["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}__webpack_exports__["a"]={components:{integrationTransfer:_views_integration_integrationTransfer__WEBPACK_IMPORTED_MODULE_9__["default"],SetPersonnel:_components_template_SetPersonnel__WEBPACK_IMPORTED_MODULE_10__["default"],ResembleQueryDialog:_components_FormTemplate_ResembleQueryDialog_vue__WEBPACK_IMPORTED_MODULE_11__["default"],BatchImport:_components_BatchImport__WEBPACK_IMPORTED_MODULE_12__["default"]},name:"Crud.vue",props:{page:{type:Object,default:function(){return{}}},codeClassifyOid:{type:String,default:""},coderuleoid:{type:String,default:""},tableDataArray:{type:Array},total:{type:String,default:""},templateOid:{type:String,default:""},tableHeadDataFateher:{type:Array},isLoading:{type:Boolean,default:!1},tableHeadFindData:{type:Array},tableHeadBtnData:{type:Array}},data:function(){return{WupinFindValue:"",similarVisible:!1,parameter:{ids:[],code:"",type:"PUBLIC",template:"",vars:{codeClassifyOid:""}},visibleFlow:!1,transferData:[],transferProps:{key:"oid",label:"name"},tableHeadFindDatas:[],addvisible:!1,editvisible:!1,findvisible:!1,dialogPush:!1,rowOid:"",disabledProp:["id"],editingRow:null,editShow:"",editAttr:"",data:[],options:{},option:{column:[]},List:[],columnType:{text:"input",combox:"select",truefalse:"switch",number:"number",datetime:"datetime"},tableData:[],DataVisible:!1,tableHeadData:[],items:{},seniorQueryColumns:[],selectRow:[],userName:"",batchImportData:{visible:!1,type:"",codeClassifyOid:""},masterVrBtnList:[]}},computed:{},created:function(){},mounted:function(){},activated:function(){},watch:{tableHeadDataFateher:{handler:function(e,t){this.options=e.tableDefineVO.seniorQueryColumns}},codeClassifyOid:{handler:function(e,t){this.codeClassifyOid=e,this.parameter.vars.codeClassifyOid=e},deep:!0},tableDataArray:{handler:function(e,t){this.tableData=e}},tableHeadFindData:{handler:function handler(newval,oldval){newval.forEach((function(record,_index){"id"==record.field&&Object(_util_validate__WEBPACK_IMPORTED_MODULE_13__["b"])(record.templet)?record.formatter="":record.templet&&"string"==typeof record.templet&&!Object(_util_validate__WEBPACK_IMPORTED_MODULE_13__["b"])(record.templet)&&record.templet.indexOf("function(row,column)")>-1?record.formatter=eval("("+record.templet+")"):"truefalse"==record.fieldType&&(record.formatter=function(e,t){return"true"==e[t.property]||"1"==e[t.property]?"是":"否"})})),this.tableHeadFindDatas=newval}},total:{handler:function(e,t){this.page.total=e}},templateOid:{handler:function(e,t){this.parameter.code=e},deep:!0},tableHeadBtnData:{handler:function(e){0!==e.length&&(this.masterVrBtnList=e)},deep:!0}},methods:{setHandler:function(){this.selectRow.length<=0?this.$message.warning("请选择一条数据"):(this.userName=localStorage.getItem("username"),this.parameter.template=this.userName+"-发布[物品]",this.visibleFlow=!0)},openVis:function(e){console.log(e),this[e]=!0},handelBtnClick:function(e){var t=this,r=e.uniqueFlag;this.$nextTick((function(){return"CODEADD"===r?t.addvisible=!0:"CODEEDIT"===r?t.editHandler():"CODEBATCHADD"===r?t.openBatchImport("batchImportApply"):"CODEIMPORTHISTORY"===r?t.openBatchImport("historyImport"):"CODESTARTPROCESS"===r?t.setHandler():"CODEUPREVISION"===r?t.DataChange():"CODERECYCLE"===r?t.huishouHandler():"CODEEXPORT"===r?t.openD():"CODEQUERY"===r?t.findHandler():void 0}))},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_5__["a"])(regeneratorRuntime.mark((function e(){var t,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.transferData=[],e.next=3,Object(_api_integration_integration_js__WEBPACK_IMPORTED_MODULE_8__["listCodeAttributeByClassId"])({codeClassifyId:this.codeClassifyOid});case 3:t=e.sent,200===t.status&&(r=t.data.data,this.transferData=r);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),rend:function(){this.tableData=this.tableHeadData},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},enumDeleteRow:function(e){this.tableData.splice(e,1)},saveRow:function(){this.editingRow=null},doLayout:function(){var e=this;this.$nextTick((function(){console.log(e.$refs),e.$refs.crud.doLayout()}))},CrudHeaderRend:function(){var e=this;""!=this.codeClassifyOid&&Object(_api_GetItem__WEBPACK_IMPORTED_MODULE_7__["MasterTable"])({codeClassifyOid:this.codeClassifyOid,functionId:5}).then((function(t){e.options=t.data.tableDefineVO.seniorQueryColumns,e.List=t.data.tableDefineVO.cols[0],e.List.forEach((function(r){var a={label:r.title,prop:r.field,type:e.columnType[r.type],sortable:r.sort,width:r.minWidth};e.option.column.push(a),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_7__["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 r="";r="ascending"==e.order?"asc":"desc",Object(_api_GetItem__WEBPACK_IMPORTED_MODULE_7__["TableData"])({templateOid:this.templateOid,codeClassifyOid:this.codeClassifyOid,order:r,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_5__["a"])(regeneratorRuntime.mark((function e(t){var r=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_7__["TableData"])({templateOid:this.templateOid,codeClassifyOid:this.codeClassifyOid,page:t.currentPage,limit:t.pageSize}).then((function(e){r.data=e.data.data}));case 2:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}(),handleSelectionChange:function(e){var t=this;this.row?this.rowOid=e[0].oid:this.rowOid="",this.selectRow=e,this.parameter.ids=[],e.forEach((function(e){t.parameter.ids.push(e.oid)})),console.log(" this.parameter.ids",this.parameter.ids)},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_7__["FindData"])(_objectSpread({templateOid:this.templateOid,codeClassifyOid:this.codeClassifyOid},e)).then((function(e){console.log(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},AddSumbit:function(){this.addvisible=!1},EditSumbit:function(e){this.editvisible=!1},openBatchImport:function(e){this.batchImportData.visible=!0,this.batchImportData.type=e,this.batchImportData.codeClassifyOid=this.codeClassifyOid}}}},"3c33":function(e,t,r){},"3dfd":function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e._self._c;return t("div",{attrs:{id:"app"}},[t("router-view")],1)},n=[],i={name:"app",data:function(){return{}},watch:{},created:function(){},methods:{},computed:{}},o=i,s=(r("bc5f"),r("2877")),l=Object(s["a"])(o,a,n,!1,null,null,null);t["default"]=l.exports},"3f9e":function(e,t,r){},"40d6":function(e,t,r){"use strict";r("bf30")},"41b5":function(e,t,r){"use strict";r("8b18")},4360:function(e,t,r){"use strict";var a=r("8bbf"),n=r.n(a),i=r("5880"),o=r.n(i),s=(r("7514"),r("ac6a"),r("0a5a")),l=r("5f72"),c=r("e3c4"),u=r("c54a"),d=r("0e0b"),p=r("1ca4"),f=r("c24f"),m=r("a6dc"),h=r("8237"),b=r.n(h);function g(e,t){var r=p["a"].menu,a=r.props,n={label:a.label||"name",path:a.path||"path",icon:a.icon||"icon",children:a.children||"children"},i=e[n.icon];e[n.icon]=Object(u["b"])(i)?r.iconDefault:i;var o=e[n.children]&&0!==e[n.children].length;o||(e[n.children]=[]),o||!t||Object(u["a"])(e[n.path])?e[n.children].forEach((function(e){g(e)})):e[n.path]=e[n.path]+"/index"}var y={state:{tenantId:Object(c["c"])({name:"tenantId"})||"",userInfo:Object(c["c"])({name:"userInfo"})||[],permission:Object(c["c"])({name:"permission"})||{},roles:[],menuId:{},menu:Object(c["c"])({name:"menu"})||[],menuAll:Object(c["c"])({name:"menuAll"})||[],token:Object(c["c"])({name:"token"})||"",refreshToken:Object(c["c"])({name:"refreshToken"})||"",upadatastatus:[],updataid:{id:""}},actions:{LoginByUsername:function(e,t){var r=e.commit;return new Promise((function(e,a){Object(f["loginByUsername"])(t.tenantId,t.deptId,t.roleId,t.username,b()(t.password),t.type,t.key).then((function(t){var a=t.data;a.error_description?Object(l["Message"])({message:a.error_description,type:"error"}):(r("SET_TOKEN",a.access_token),r("SET_REFRESH_TOKEN",a.refresh_token),r("SET_TENANT_ID",a.tenant_id),r("SET_USER_INFO",a),r("DEL_ALL_TAG"),r("CLEAR_LOCK")),e()})).catch((function(e){a(e)}))}))},LoginByPhone:function(e,t){var r=e.commit;return new Promise((function(e){Object(f["loginByUsername"])(t.phone).then((function(t){var a=t.data.data;r("SET_TOKEN",a),r("DEL_ALL_TAG"),r("CLEAR_LOCK"),e()}))}))},LoginBySocial:function(e,t){var r=e.commit;return new Promise((function(e){Object(f["loginBySocial"])(t.tenantId,t.source,t.state).then((function(t){var a=t.data;a.error_description?Object(l["Message"])({message:a.error_description,type:"error"}):(r("SET_TOKEN",a.access_token),r("SET_REFRESH_TOKEN",a.refresh_token),r("SET_USER_INFO",a),r("SET_TENANT_ID",a.tenant_id),r("DEL_ALL_TAG"),r("CLEAR_LOCK")),e()}))}))},LoginBySso:function(e,t){var r=e.commit;return new Promise((function(e){Object(f["loginBySso"])(t.state).then((function(t){var a=t.data;a.error_description?Object(l["Message"])({message:a.error_description,type:"error"}):(r("SET_TOKEN",a.access_token),r("SET_REFRESH_TOKEN",a.refresh_token),r("SET_USER_INFO",a),r("SET_TENANT_ID",a.tenant_id),r("DEL_ALL_TAG"),r("CLEAR_LOCK")),e()}))}))},GetUserInfo:function(e){var t=e.commit;return new Promise((function(e,r){Object(f["getUserInfo"])().then((function(r){var a=r.data.data;t("SET_ROLES",a.roles),e(a)})).catch((function(e){r(e)}))}))},refreshToken:function(e,t){var r=e.state,a=e.commit;return window.console.log("handle refresh token"),new Promise((function(e,n){Object(f["refreshToken"])(r.refreshToken,r.tenantId,Object(u["b"])(t)?r.userInfo.dept_id:t.deptId,Object(u["b"])(t)?r.userInfo.role_id:t.roleId).then((function(t){var r=t.data;a("SET_TOKEN",r.access_token),a("SET_REFRESH_TOKEN",r.refresh_token),a("SET_USER_INFO",r),e()})).catch((function(e){n(e)}))}))},LogOut:function(e){var t=e.commit;return new Promise((function(e,r){Object(f["logout"])().then((function(){t("SET_TOKEN",""),t("SET_MENU",[]),t("SET_MENU_ALL_NULL",[]),t("SET_ROLES",[]),t("SET_TAG_LIST",[]),t("DEL_ALL_TAG"),t("CLEAR_LOCK"),Object(s["c"])(),Object(s["b"])(),e()})).catch((function(e){r(e)}))}))},FedLogOut:function(e){var t=e.commit;return new Promise((function(e){t("SET_TOKEN",""),t("SET_MENU_ALL_NULL",[]),t("SET_MENU",[]),t("SET_ROLES",[]),t("SET_TAG_LIST",[]),t("DEL_ALL_TAG"),t("CLEAR_LOCK"),Object(s["c"])(),Object(s["b"])(),e()}))},GetTopMenu:function(){return new Promise((function(e){Object(m["getTopMenu"])().then((function(t){var r=t.data.data||[];e(r)}))}))},GetMenu:function(e,t){var r=e.commit,a=e.dispatch;return new Promise((function(e){Object(m["getRoutes"])(t).then((function(t){var n=t.data.data,i=Object(d["a"])(n);i.forEach((function(e){g(e,!0)})),r("SET_MENU_ALL",i),r("SET_MENU",i),a("GetButtons"),e(i)}))}))},GetButtons:function(e){var t=e.commit;return new Promise((function(e){Object(f["getButtons"])().then((function(r){var a=r.data.data;t("SET_PERMISSION",a),e()}))}))}},mutations:{byid:function(e,t){e.updataid=t},SET_TOKEN:function(e,t){Object(s["e"])(t),e.token=t,Object(c["e"])({name:"token",content:e.token})},SET_MENU_ID:function(e,t){e.menuId=t},SET_MENU_ALL:function(e,t){var r=e.menuAll;t.forEach((function(e){r.find((function(t){return t.label===e.label&&t.path===e.path}))||r.push(e)})),e.menuAll=r,Object(c["e"])({name:"menuAll",content:e.menuAll})},SET_MENU_ALL_NULL:function(e){e.menuAll=[],Object(c["e"])({name:"menuAll",content:e.menuAll})},SET_MENU:function(e,t){e.menu=t,Object(c["e"])({name:"menu",content:e.menu})},SET_REFRESH_TOKEN:function(e,t){Object(s["d"])(t),e.refreshToken=t,Object(c["e"])({name:"refreshToken",content:e.refreshToken})},SET_TENANT_ID:function(e,t){e.tenantId=t,Object(c["e"])({name:"tenantId",content:e.tenantId})},SET_USER_INFO:function(e,t){e.upadatastatus=t,console.log(e.upadatastatus),Object(u["b"])(t.avatar)&&(t.avatar="/img/bg/img-logo.png"),e.userInfo=t,Object(c["e"])({name:"userInfo",content:e.userInfo})},SET_ROLES:function(e,t){e.roles=t}}},v=y,O={state:{language:Object(c["c"])({name:"language"})||"zh",isCollapse:!1,isFullScren:!1,isMenu:!0,isShade:!1,screen:-1,isLock:Object(c["c"])({name:"isLock"})||!1,showTag:!0,showDebug:!0,showCollapse:!0,showSearch:!0,showLock:!0,showFullScren:!0,showTheme:!0,showMenu:!0,showColor:!0,colorName:Object(c["c"])({name:"colorName"})||"#409EFF",themeName:Object(c["c"])({name:"themeName"})||"theme-default",lockPasswd:Object(c["c"])({name:"lockPasswd"})||"",website:p["a"]},mutations:{SET_LANGUAGE:function(e,t){e.language=t,Object(c["e"])({name:"language",content:e.language})},SET_SHADE:function(e,t){e.isShade=t},SET_COLLAPSE:function(e){e.isCollapse=!e.isCollapse},SET_FULLSCREN:function(e){e.isFullScren=!e.isFullScren},SET_IS_MENU:function(e,t){e.isMenu=t},SET_LOCK:function(e){e.isLock=!0,Object(c["e"])({name:"isLock",content:e.isLock,type:"session"})},SET_SCREEN:function(e,t){e.screen=t},SET_COLOR_NAME:function(e,t){e.colorName=t,Object(c["e"])({name:"colorName",content:e.colorName})},SET_THEME_NAME:function(e,t){e.themeName=t,Object(c["e"])({name:"themeName",content:e.themeName})},SET_LOCK_PASSWD:function(e,t){e.lockPasswd=t,Object(c["e"])({name:"lockPasswd",content:e.lockPasswd,type:"session"})},CLEAR_LOCK:function(e){e.isLock=!1,e.lockPasswd="",Object(c["d"])({name:"lockPasswd",type:"session"}),Object(c["d"])({name:"isLock",type:"session"})}}},w=O,C=p["a"].isFirstPage,j=p["a"].fistPage,_={label:"",value:"",params:"",query:"",meta:{},group:[]};function S(e){1===e.length?e[0].close=!1:e.forEach((function(e){e.value===j.value&&!1===C?e.close=!1:e.close=!0}))}var k={state:{tagList:Object(c["c"])({name:"tagList"})||[],tag:Object(c["c"])({name:"tag"})||_,tagWel:j},actions:{},mutations:{ADD_TAG:function(e,t){e.tag=t,Object(c["e"])({name:"tag",content:e.tag}),e.tagList.some((function(e){return Object(d["b"])(e,t)}))||(e.tagList.push(t),S(e.tagList),Object(c["e"])({name:"tagList",content:e.tagList}))},DEL_TAG:function(e,t){e.tagList=e.tagList.filter((function(e){return!Object(d["b"])(e,t)})),S(e.tagList),Object(c["e"])({name:"tagList",content:e.tagList})},DEL_ALL_TAG:function(e){e.tagList=[e.tagWel],Object(c["e"])({name:"tagList",content:e.tagList})},DEL_TAG_OTHER:function(e){e.tagList=e.tagList.filter((function(t){return t.value===e.tag.value||(!p["a"].isFirstPage&&t.value===p["a"].fistPage.value||void 0)})),S(e.tagList),Object(c["e"])({name:"tagList",content:e.tagList})},SET_TAG_LIST:function(e,t){e.tagList=t,Object(c["e"])({name:"tagList",content:e.tagList})}}},x=k,T=(r("6b54"),r("84df")),D={state:{logsList:Object(c["c"])({name:"logsList"})||[]},actions:{SendLogs:function(e){var t=e.state,r=e.commit;return new Promise((function(e,a){Object(f["sendLogs"])(t.logsList).then((function(){r("CLEAR_LOGS"),e()})).catch((function(e){a(e)}))}))}},mutations:{ADD_LOGS:function(e,t){var r=t.type,a=t.message,n=t.stack,i=t.info;e.logsList.push(Object.assign({url:window.location.href,time:Object(T["b"])(new Date)},{type:r,message:a,stack:n,info:i.toString()})),Object(c["e"])({name:"logsList",content:e.logsList})},CLEAR_LOGS:function(e){e.logsList=[],Object(c["e"])({name:"logsList",content:e.logsList})}}},P=D,R=r("7754"),L={state:{flowRoutes:Object(c["c"])({name:"flowRoutes"})||{}},actions:{FlowRoutes:function(e){var t=e.commit;return new Promise((function(e,r){Object(R["getDictionary"])({code:"flow"}).then((function(r){t("SET_FLOW_ROUTES",r.data.data),e()})).catch((function(e){r(e)}))}))}},mutations:{SET_FLOW_ROUTES:function(e,t){e.flowRoutes=t.map((function(e){return{routeKey:"".concat(e.code,"_").concat(e.dictKey),routeValue:e.remark}})),Object(c["e"])({name:"flowRoutes",content:e.flowRoutes})}}},F=L,E={tag:function(e){return e.tags.tag},language:function(e){return e.common.language},website:function(e){return e.common.website},userInfo:function(e){return e.user.userInfo},colorName:function(e){return e.common.colorName},themeName:function(e){return e.common.themeName},isShade:function(e){return e.common.isShade},isCollapse:function(e){return e.common.isCollapse},keyCollapse:function(e,t){return t.screen>1&&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=E,B={state:{codeClassifyOid:""},actions:{},mutations:{codeClassifyOid:function(e,t){e.codeClassifyOid=t,console.log(e.codeClassifyOid)}}},I=B;n.a.use(o.a);var V=new o.a.Store({modules:{user:v,common:w,logs:P,tags:x,dict:F,master:I},getters:A});t["a"]=V},"44b2":function(e,t,r){"use strict";r.r(t);var a=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"}})},n=[],i=(r("8e6e"),r("456d"),r("c5f6"),r("6b54"),r("3b2b"),r("6762"),r("2fdb"),r("ac6a"),r("a481"),r("ade3")),o=r("5880");function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){Object(i["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var c=r("f6f8").version,u="#409EFF",d=function(){return{data:function(){return{themeVal:u}},created:function(){this.themeVal=this.colorName},watch:{themeVal:function(e,t){this.$store.commit("SET_COLOR_NAME",e),this.updateTheme(e,t)}},computed:l({},Object(o["mapGetters"])(["colorName"])),methods:{updateTheme:function(e,t){var r=this;if("string"===typeof e){var a=document.getElementsByTagName("head")[0],n=this.getThemeCluster(e.replace("#","")),i=this.getThemeCluster(t.replace("#","")),o=function(e,t){return function(){var i=r.getThemeCluster(u.replace("#","")),o=r.updateStyle(r[e],i,n),s=document.getElementById(t);s||(s=document.createElement("style"),s.setAttribute("id",t),a.appendChild(s)),s.innerText=o}},s=o("chalk","chalk-style");if(this.chalk)s();else{var l="/cdn/element-ui/".concat(c,"/theme-chalk/index.css");this.getCSSString(l,s,"chalk")}for(var d=[].slice.call(document.getElementsByTagName("head")[0].getElementsByTagName("link")),p=function(e){var t=d[e];t.href.includes("css")&&r.getCSSString(t.href,(function(t){var i=r.getThemeCluster(u.replace("#","")),o=r.updateStyle(t,i,n),s=document.getElementById(e);s||(s=document.createElement("style"),s.id=e,s.innerText=o,a.appendChild(s))}))},f=0;f<d.length;f++)p(f);var m=[].slice.call(document.querySelectorAll("style"));m.forEach((function(e){var t=e.innerText;"string"===typeof t&&(e.innerText=r.updateStyle(t,i,n))}))}},updateStyle:function(e,t,r){var a=e;return t.forEach((function(e,t){a=a.replace(new RegExp(e,"ig"),r[t])})),a},getCSSString:function(e,t,r){var a=this,n=new XMLHttpRequest;n.onreadystatechange=function(){4===n.readyState&&200===n.status&&(r&&(a[r]=n.responseText.replace(/@font-face{[^}]+}/,"")),t(n.responseText))},n.open("GET",e),n.send()},getThemeCluster:function(e){for(var t=function(e,t){var r=parseInt(e.slice(0,2),16),a=parseInt(e.slice(2,4),16),n=parseInt(e.slice(4,6),16);return 0===t?[r,a,n].join(","):(r+=Math.round(t*(255-r)),a+=Math.round(t*(255-a)),n+=Math.round(t*(255-n)),r=r.toString(16),a=a.toString(16),n=n.toString(16),"#".concat(r).concat(a).concat(n))},r=function(e,t){var r=parseInt(e.slice(0,2),16),a=parseInt(e.slice(2,4),16),n=parseInt(e.slice(4,6),16);return r=Math.round((1-t)*r),a=Math.round((1-t)*a),n=Math.round((1-t)*n),r=r.toString(16),a=a.toString(16),n=n.toString(16),"#".concat(r).concat(a).concat(n)},a=[e],n=0;n<=9;n++)a.push(t(e,Number((n/10).toFixed(2))));return a.push(r(e,.1)),a}}}},p={name:"topColor",mixins:[d()],data:function(){return{chalk:""}}},f=p,m=(r("2fee"),r("2877")),h=Object(m["a"])(f,a,n,!1,null,null,null);t["default"]=h.exports},4760:function(e,t,r){"use strict";r.r(t);var a=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")])},n=[],i=(r("4ce4"),r("2877")),o={},s=Object(i["a"])(o,a,n,!0,null,"c59a064a",null);t["default"]=s.exports},"47d0":function(e,t,r){"use strict";r.r(t),r.d(t,"executeCode",(function(){return n}));var a=r("b5c6");function n(e){return Object(a["a"])({url:"api/ubcs-code/uiDataController/defaultReferDataGrid",method:"get",params:e})}},4805:function(e,t,r){"use strict";r.r(t);var a=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)},n=[],i={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=i,s=r("2877"),l=Object(s["a"])(o,a,n,!1,null,"2f262cf4",null);t["default"]=l.exports},"49c2":function(e,t,r){"use strict";r("c370")},"49ce":function(e,t,r){"use strict";r.r(t);var a=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)},n=[],i=(r("ac6a"),r("ad53")),o=r("f6f4"),s=r("d4b4"),l=r("64c4"),c=r("6725"),u={name:"ElTransfer",mixins:[o["a"],s["a"],c["a"]],components:{TransferPanel:l["default"],ElButton:i["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,r){return(t[r[e]]=r)&&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,r){var a=e.dataObj[r];return a&&t.push(a),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 r=e.indexOf(t);r>-1&&e.splice(r,1)})),this.$emit("input",e),this.$emit("change",e,"left",this.rightChecked)},addToRight:function(){var e=this,t=this.value.slice(),r=[],a=this.props.key;this.data.forEach((function(t){var n=t[a];e.leftChecked.indexOf(n)>-1&&-1===e.value.indexOf(n)&&(r=[t],console.log(r))})),t=r,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=r("2877"),f=Object(p["a"])(d,a,n,!1,null,null,null);t["default"]=f.exports},"4ce4":function(e,t,r){"use strict";r("b2cc")},"4ced":function(e,t,r){},"4d0f":function(e,t,r){"use strict";r.r(t);r("7f7f");var a=function(){var e=this,t=e._self._c;return t("el-dialog",{staticStyle:{height:"115vh"},attrs:{title:"链接类型",visible:e.showSubmitDialog,"append-to-body":"",width:"70%"},on:{"update:visible":function(t){e.showSubmitDialog=t},close:e.closeSubmitDialog}},[t("el-form",{ref:"form",staticClass:"linkTypeForm",attrs:{model:e.linkType,"show-message":"true",inline:"",size:"medium","label-suffix":":",rules:e.rules,"status-icon":"true"},on:{resetFields:e.resetForm}},[t("el-form-item",{attrs:{label:"英文名称","label-width":"100px",required:"true",prop:"id"}},[t("el-input",{attrs:{"prefix-icon":e.icons.id,maxlength:"15","show-word-limit":"",type:"text"},model:{value:e.linkType.id,callback:function(t){e.$set(e.linkType,"id",t)},expression:"linkType.id"}})],1),t("el-form-item",{attrs:{label:"中文名称","label-width":"100px"}},[t("el-input",{attrs:{"prefix-icon":e.icons.name},model:{value:e.linkType.name,callback:function(t){e.$set(e.linkType,"name",t)},expression:"linkType.name"}})],1),t("el-form-item",{attrs:{label:"数据库表名","label-width":"100px"}},[t("el-input",{attrs:{"prefix-icon":e.icons.tableName},model:{value:e.linkType.tableName,callback:function(t){e.$set(e.linkType,"tableName",t)},expression:"linkType.tableName"}})],1),t("el-form-item",{attrs:{label:"所属领域","label-width":"100px",prop:"domain"}},[t("el-select",{attrs:{"prefix-icon":e.icons.domain},model:{value:e.linkType.domain,callback:function(t){e.$set(e.linkType,"domain",t)},expression:"linkType.domain"}},e._l(e.domainOption,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),t("el-form-item",{attrs:{label:"From端类型","label-width":"100px"}},[t("el-select",{attrs:{value:e.linkType.fromBtmTypes,"value-key":"oid",placeholder:"请选择From端类型",filterable:"",multiple:"","collapse-tags":""},on:{change:e.fromSelectChange},model:{value:e.linkType.fromBtmValues,callback:function(t){e.$set(e.linkType,"fromBtmValues",t)},expression:"linkType.fromBtmValues"}},e._l(e.domainList,(function(r){return t("el-option-group",{key:r.id,attrs:{label:r.name}},e._l(r.childList,(function(e){return t("el-option",{key:e.oid,attrs:{label:e.id+e.name,value:e}})})),1)})),1)],1),t("el-form-item",{attrs:{label:"To端类型","label-width":"100px"}},[t("el-select",{attrs:{value:e.linkType.toBtmTypes,"value-key":"oid",placeholder:"请选择To端类型",filterable:"",multiple:"","collapse-tags":""},on:{change:e.toSelectChange},model:{value:e.linkType.toBtmValues,callback:function(t){e.$set(e.linkType,"toBtmValues",t)},expression:"linkType.toBtmValues"}},e._l(e.domainList,(function(r){return t("el-option-group",{key:r.id,attrs:{label:r.name}},e._l(r.childList,(function(e){return t("el-option",{key:e.oid,attrs:{label:e.id+e.name,value:e}})})),1)})),1)],1),t("el-form-item",{staticClass:"description",attrs:{label:"描述","label-width":"100px"}},[t("el-input",{staticClass:"descClass",attrs:{"prefix-icon":e.icons.desc,id:"descId"},model:{value:e.linkType.description,callback:function(t){e.$set(e.linkType,"description",t)},expression:"linkType.description"}})],1)],1),t("avue-crud",{ref:"attrTable",attrs:{option:e.option,data:e.linkType.attributes,page:e.page},on:{"update:page":function(t){e.page=t},"cell-mouse-enter":e.cellEditClick,"cell-mouse-leave":e.cellEditSave},scopedSlots:e._u([{key:"menuLeft",fn:function(r){return[t("el-button",{attrs:{type:"danger",icon:"el-icon-plus",size:"small"},on:{click:function(t){return e.rowAdd()}}},[e._v("属性选择")])]}}])}),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary"},on:{click:e.submitlinkType}},[e._v("确定")]),t("el-button",{on:{click:e.cancleSubmitlinkType}},[e._v("取消")])],1),t("el-dialog",{attrs:{title:"属性池",visible:e.attrRef.visible,"append-to-body":"",width:"80%"},on:{close:e.closeAttrDialog}},[t("avue-crud",{ref:"attrRef",staticClass:"attrRef",attrs:{option:e.attrRef.option,data:e.attrRef.data,page:e.attrRef.page},on:{"update:page":function(t){return e.$set(e.attrRef,"page",t)},"on-load":e.attrRefOnLoad,"search-change":e.attrRefSearch,"selection-change":e.selectionChange},scopedSlots:e._u([{key:"typeValue",fn:function(r){return[t("el-tag",[e._v(e._s(r.row.typeValue))])]}}])}),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:e.confirmSelectAttr}},[e._v("确定")]),t("el-button",{on:{click:e.cancleSelectAttr}},[e._v("取消")])],1)],1)],1)},n=[],i=(r("ac6a"),r("0499")),o=r("6872"),s=(r("b1ca"),r("d772")),l={name:"LinkTypeAdd",props:{linkType:{type:Object},domainOption:{type:Array},icons:{type:Array}},data:function(){return{form:{},showSubmitDialog:!1,option:{height:"330px",selection:!0,headerAlign:"center",border:!0,index:!0,rowKey:"id",tabs:!0,menu:!1,addBtn:!1,highlightCurrentRow:!0,column:[{label:"英文名称",prop:"id",align:"center"},{label:"中文名称",prop:"name",align:"center",cell:!0},{label:"类型",prop:"attrDataType",align:"center",slot:!0},{label:"默认值",prop:"defaultValue",align:"center",cell:!0},{label:"说明",prop:"description",align:"center",cell:!0}]},attrRef:{visible:!1,page:{currentPage:1,pageSize:10},key:null,option:{height:360,addBtn:!1,refreshBtn:!1,columnBtn:!1,selection:!0,menu:!1,border:!0,reserveSelection:!0,searchMenuSpan:8,highlightCurrentRow:!0,column:[{label:"英文名称",prop:"id",align:"left",search:!0,width:230},{label:"中文名称",prop:"name",align:"center"},{label:"类型",prop:"typeValue",align:"center"},{label:"默认值",prop:"defaultValue",align:"center"},{label:"允许为空",prop:"nullable",type:"switch",display:!1,hide:!0,labelWidth:132,dicData:[{label:"否",value:1},{label:"是",value:0}]},{label:"说明",prop:"description",cell:!0,align:"center"}]},data:[],queryNotIn:null},fromBtmValues:[],toBtmValues:[],domainList:[],rules:{id:[{required:!0,message:"请输入链接类型编号",trigger:"blur"},{pattern:/^[A-Za-z]+$/,message:"链接类型编号只能为英文",trigger:"blur"},{min:2,max:15,message:"长度在2到15个字符",trigger:"blur"}],domain:[{required:!0,message:"请选择所属领域",trigger:"blur"}]}}},created:function(){this.initTreeOnLoad()},methods:{closeSubmitDialog:function(){this.showSubmitDialog=!1,this.linkType.attributes=[],this.linkType={},this.attrRef.selectData=[],this.attrRef.queryNotIn=null,this.resetForm()},closeAttrDialog:function(){this.attrRef.visible=!1},initTreeOnLoad:function(){var e=this;Object(s["initTree"])().then((function(t){e.domainList=t.data.data}))},rowAdd:function(){this.attrRef.visible=!0,this.attrRefOnLoad()},attrRefOnLoad:function(){var e=this;Object(o["queryPage"])(this.attrRef.key,this.attrRef.queryNotIn,this.attrRef.page.currentPage,this.attrRef.page.pageSize).then((function(t){var r=t.data.data;e.attrRef.page.total=r.total,e.attrRef.data=r.records})),this.$nextTick((function(){e.$refs.attrRef.refreshTable()}))},attrRefSearch:function(e,t){this.attrRef.key=e.key,this.attrRefOnLoad(),t(),this.attrRef.key=null},selectionChange:function(e){this.attrRef.selectData=e},confirmSelectAttr:function(){var e=this;this.linkType.attributes||(this.linkType.attributes=[]),this.attrRef.queryNotIn="",console.log(this.attrRef.selectData),this.attrRef.selectData.forEach((function(t){e.linkType.attributes.push({id:t.id,name:t.name,typeValue:t.typeValue,typeKey:t.typeValue,attrDataType:t.typeKey,defaultValue:t.defaultValue,description:t.description,attributeLength:t.maxLength}),e.attrRef.queryNotIn+=t.id+","})),this.closeAttrDialog()},cancleSelectAttr:function(){this.attrRef.selectData=[],this.closeAttrDialog()},submitlinkType:function(){var e=this;Object(i["add"])(this.linkType,!0).then((function(t){e.$message.success("保存成功"),e.cancleSubmitlinkType(),e.$emit("refreshTable")}))},cancleSubmitlinkType:function(){this.linkType={},this.linkType.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){this.linkType.attributes[e.$index].name=e.name,this.linkType.attributes[e.$index].defaultValue=e.defaultValue,this.linkType.attributes[e.$index].description=e.description,e.$cellEdit=!1},fromSelectChange:function(e){console.log(e),this.linkType.fromBtmTypes=[];var t="",r="";e.forEach((function(e){t+=e.name+",",r+=e.id+","})),this.linkType.fromBtmTypeName=t,this.linkType.fromBtmType=r,console.log(this.linkType)},toSelectChange:function(e){console.log(e),this.linkType.toBtmTypes=[];var t="",r="";e.forEach((function(e){t+=e.name+",",r+=e.id+","})),this.linkType.toBtmTypeName=t,this.linkType.toBtmType=r,console.log(this.linkType)},resetForm:function(){this.linkType={},this.$refs.form.resetFields()}}},c=l,u=(r("c14f"),r("2877")),d=Object(u["a"])(c,a,n,!1,null,null,null);t["default"]=d.exports},"4d92":function(e,t,r){"use strict";r.r(t),r.d(t,"getList",(function(){return s})),r.d(t,"getDetail",(function(){return l})),r.d(t,"remove",(function(){return c})),r.d(t,"add",(function(){return u})),r.d(t,"update",(function(){return d}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-code/plCodeKeyattrrepeat/list",method:"get",params:o(o({},r),{},{current:e,size:t})})},l=function(e){return Object(n["a"])({url:"/api/ubcs-code/plCodeKeyattrrepeat/detail",method:"get",params:{oid:e}})},c=function(e){return Object(n["a"])({url:"/api/ubcs-code/plCodeKeyattrrepeat/remove",method:"post",params:{ids:e}})},u=function(e){return Object(n["a"])({url:"/api/ubcs-code/plCodeKeyattrrepeat/submit",method:"post",data:e})},d=function(e){return Object(n["a"])({url:"/api/ubcs-code/plCodeKeyattrrepeat/submit",method:"post",data:e})}},"4f2a":function(e,t,r){"use strict";r("3f9e")},"512c":function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e._self._c;return t("avue-tree",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"tree",staticStyle:{height:"80.5vh","padding-top":"5px","padding-bottom":"30px"},attrs:{data:e.Treedata,defaultExpandAll:!1,option:e.Treeoption},on:{"node-click":e.nodeClick},model:{value:e.CloneTreeAvueform,callback:function(t){e.CloneTreeAvueform=t},expression:"CloneTreeAvueform"}})},n=[],i=(r("8e6e"),r("456d"),r("96cf"),r("1da1")),o=(r("55dd"),r("ac6a"),r("53ca")),s=r("ade3"),l=r("b761"),c=(r("5880"),r("dd3a"));function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){Object(s["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var p={name:"MasterTree",props:{pageSize:{type:String,default:"10"},currentPage:{type:String,default:"1"},templateOid:{type:String,default:""}},data:function(){return{masterVrBtnList:[],tableHeadFindData:[],tableHeadDataFateher:[],templateOids:"",tableDataArray:[],codeClassifyOid:"",coderuleoid:"",CloneTreeAvueform:{},loading:!1,Treedata:[],nodeClickList:"",Treeoption:{addBtn:!1,editBtn:!1,delBtn:!1,defaultExpandAll:!1,menu:!1,lazy:!0,treeLoad:function(e,t){if(0!=e.data){var r=0===e.level?0:e.data.oid,a=e.data.attributes.btmname;Object(l["getTreeList"])({parentOid:r,parentBtmName:a}).then((function(e){t(e.data.map((function(e){return d(d({},e),{},{label:e.text})})))}))}}}}},created:function(){this.getTreeLists()},computed:{},methods:{getTreeLists:function(){var e=this;Object(l["getTreeList"])({"conditionMap[id]":"wupin"}).then((function(t){e.Treedata=t.data,e.ModifyProperties(e.Treedata,"text","label"),e.codeClassifyOid=t.data[0].oid,e.coderuleoid=t.data[0].attributes.coderuleoid,e.$emit("coderuleoid",e.coderuleoid)})).catch((function(e){console.log(e)}))},ModifyProperties:function(e,t,r){for(var a in e)a===t&&(e[r]=e[a],delete e[a]),"object"===Object(o["a"])(e[a])&&this.ModifyProperties(e[a],t,r)},TableRend:function(){var e=this;Object(c["TableData"])({templateOid:this.templateOids,codeClassifyOid:this.nodeClickList.oid,page:this.currentPage,limit:this.pageSize}).then((function(t){e.tableDataArray=t.data.data,e.$emit("tableDataArray",e.tableDataArray),e.$emit("total",t.data.total),console.log("table",e.tableDataArray)}))},TableHeadRend:function(){var e=this;return new Promise((function(t,r){Object(c["MasterTable"])({codeClassifyOid:e.nodeClickList.oid,functionId:5}).then((function(r){console.log(r.data.buttons),e.masterVrBtnList=r.data.buttons,e.tableHeadDataFateher=r.data,e.templateOids=r.data.tableDefineVO.oid;var a=r.data.tableDefineVO.cols[0];a.forEach((function(t){var r={label:t.title,prop:t.field,sortable:t.sort,width:t.minWidth};e.tableHeadFindData.push(r)})),e.$emit("tableHeadDataFateher",e.tableHeadDataFateher),e.$emit("tableHeadFindData",e.tableHeadFindData),e.$emit("tableHeadBttoms",e.masterVrBtnList),t()})).catch((function(e){r(e)}))}))},nodeClick:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,this.nodeClickList=t,this.tableHeadDataFateher=[],this.tableHeadFindData=[],e.next=6,this.TableHeadRend();case 6:this.TableRend(),this.$emit("nodeClick",this.templateOids),this.$emit("codeClassifyOid",this.nodeClickList.oid),e.next=14;break;case 11:e.prev=11,e.t0=e["catch"](0),this.$message.error(e.t0);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));function t(t){return e.apply(this,arguments)}return t}()}},f=p,m=r("2877"),h=Object(m["a"])(f,a,n,!1,null,"61786430",null);t["default"]=h.exports},"537b":function(e,t,r){"use strict";r("6bba")},5384:function(e,t,r){var a={"./GetItem":"dd3a","./GetItem.js":"dd3a","./MasterData/master":"b761","./MasterData/master.js":"b761","./Theme/vciTheme":"47d0","./Theme/vciTheme.js":"47d0","./base/region":"5a04","./base/region.js":"5a04","./batchImport":"78e2","./batchImport/":"78e2","./batchImport/index":"78e2","./batchImport/index.js":"78e2","./code/codeClassProcessTemp":"0f7d","./code/codeClassProcessTemp.js":"0f7d","./code/codeClassifyValue":"888e","./code/codeClassifyValue.js":"888e","./code/codeFixedValue":"1ef8","./code/codeFixedValue.js":"1ef8","./code/codeKeyAttrRepeat":"4d92","./code/codeKeyAttrRepeat.js":"4d92","./code/codeReferConfig":"0eb9","./code/codeReferConfig.js":"0eb9","./code/codeSynonym":"28c5","./code/codeSynonym.js":"28c5","./code/codebasic":"f601","./code/codebasic.js":"f601","./code/codebutton":"d36b","./code/codebutton.js":"d36b","./code/codeclassify":"b887","./code/codeclassify.js":"b887","./code/mdmrule":"19a0","./code/mdmrule.js":"19a0","./code/referBtmType":"cb4a","./code/referBtmType.js":"cb4a","./common":"2934","./common.js":"2934","./desk/notice":"2905","./desk/notice.js":"2905","./flow/flow":"371f","./flow/flow.js":"371f","./formTemplate":"902d","./formTemplate.js":"902d","./integration/application":"cc5e","./integration/application.js":"cc5e","./integration/integration":"f9fa","./integration/integration.js":"f9fa","./integration/sysInfo":"0405","./integration/sysInfo.js":"0405","./logs":"62ed","./logs.js":"62ed","./modeling/cycle":"6868","./modeling/cycle.js":"6868","./omd/OmdAttribute":"6872","./omd/OmdAttribute.js":"6872","./omd/btmType":"d772","./omd/btmType.js":"d772","./omd/enum":"35a0","./omd/enum.js":"35a0","./omd/linkType":"0499","./omd/linkType.js":"0499","./omd/revisionRule":"b1ca","./omd/revisionRule.js":"b1ca","./omd/status":"539b","./omd/status.js":"539b","./refer/table":"276d","./refer/table.js":"276d","./refer/tree":"ee95","./refer/tree.js":"ee95","./report/report":"88ca","./report/report.js":"88ca","./resource/attach":"6044","./resource/attach.js":"6044","./resource/file":"36a0","./resource/file.js":"36a0","./resource/oss":"368f","./resource/oss.js":"368f","./resource/sms":"2499","./resource/sms.js":"2499","./system/client":"e30d","./system/client.js":"e30d","./system/dept":"fcb7","./system/dept.js":"fcb7","./system/dict":"7754","./system/dict.js":"7754","./system/dictbiz":"8ddc","./system/dictbiz.js":"8ddc","./system/menu":"a6dc","./system/menu.js":"a6dc","./system/param":"2c75","./system/param.js":"2c75","./system/passwordresultant":"9ab5","./system/passwordresultant.js":"9ab5","./system/passwords":"7c41","./system/passwords.js":"7c41","./system/passwordvalue":"7a90","./system/passwordvalue.js":"7a90","./system/post":"74b1","./system/post.js":"74b1","./system/role":"3528","./system/role.js":"3528","./system/scope":"7e26","./system/scope.js":"7e26","./system/tenant":"ccbe","./system/tenant.js":"ccbe","./system/tenantpackage":"0e3d","./system/tenantpackage.js":"0e3d","./system/topmenu":"5a17","./system/topmenu.js":"5a17","./system/user":"c0c7","./system/user.js":"c0c7","./template/flowpath":"5821","./template/flowpath.js":"5821","./template/setPersonnel":"f10a","./template/setPersonnel.js":"f10a","./template/templateAttr":"8e19","./template/templateAttr.js":"8e19","./tool/code":"736a","./tool/code.js":"736a","./tool/datasource":"c1aa","./tool/datasource.js":"c1aa","./tool/model":"36d2","./tool/model.js":"36d2","./user":"c24f","./user.js":"c24f","./work/businese":"81b9","./work/businese.js":"81b9","./work/process":"fc8c","./work/process.js":"fc8c","./work/work":"1e69","./work/work.js":"1e69"};function n(e){var t=i(e);return r(t)}function i(e){if(!r.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}n.keys=function(){return Object.keys(a)},n.resolve=i,e.exports=n,n.id="5384"},"539b":function(e,t,r){"use strict";r.r(t),r.d(t,"getPage",(function(){return s})),r.d(t,"getDetail",(function(){return l})),r.d(t,"add",(function(){return c})),r.d(t,"batchAdd",(function(){return u})),r.d(t,"update",(function(){return d})),r.d(t,"batchUpdate",(function(){return p})),r.d(t,"remove",(function(){return f})),r.d(t,"refList",(function(){return m})),r.d(t,"getApplyRange",(function(){return h}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-omd/status/page",method:"get",params:o(o({},r),{},{current:e,size:t})})},l=function(e){return Object(n["a"])({url:"/api/ubcs-omd/status/detail",method:"get",params:{oid:e}})},c=function(e){return Object(n["a"])({url:"/api/ubcs-omd/status/submit",method:"post",data:e})},u=function(e){return Object(n["a"])({url:"/api/ubcs-omd/status/batch-submit",method:"post",data:e})},d=function(e){return Object(n["a"])({url:"/api/ubcs-omd/status/submit",method:"post",data:e})},p=function(e){return Object(n["a"])({url:"/api/ubcs-omd/status/batch-submit",method:"post",data:e})},f=function(e){return Object(n["a"])({url:"/api/ubcs-omd/status/remove",method:"post",data:e})},m=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-omd/status/ref",method:"get",params:o(o({},r),{},{currentPage:e,pageSize:t})})},h=function(e){return Object(n["a"])({url:"/api/ubcs-omd/status/get-apply-range",method:"get",params:{id:e}})}},"56d7":function(e,t,r){"use strict";r.r(t);var a={};r.r(a),r.d(a,"baseUrl",(function(){return O})),r.d(a,"iconfontUrl",(function(){return v})),r.d(a,"iconfontVersion",(function(){return y})),r.d(a,"codeUrl",(function(){return w})),r.d(a,"env",(function(){return C}));r("a481"),r("456d"),r("ac6a"),r("cadf"),r("551c"),r("f751"),r("097d");var n=r("8bbf"),i=r.n(n),o=r("b5c6"),s=r("a7fe"),l=r.n(s),c=r("3dfd"),u=r("9883"),d=(r("7f7f"),r("4360")),p=r("c54a"),f=r("0a5a"),m=r("323e"),h=r.n(m);r("a5d8");h.a.configure({showSpinner:!1});var b=d["a"].getters.website.lockPage;u["a"].beforeEach((function(e,t,r){var a=e.meta||{},n=void 0===a.menu?e.query.menu:a.menu,i=JSON.parse(localStorage.getItem("updataid"));if(d["a"].commit("SET_IS_MENU",void 0===n),Object(f["a"])())if(d["a"].getters.isLock&&e.path!==b)r({path:b});else if("/login"===e.path&&0!=i.strategyUpdateStatus)r({path:"/"});else if(0===d["a"].getters.token.length)d["a"].dispatch("FedLogOut").then((function(){r({path:"/login"})}));else{var o=e.query.src||e.fullPath,s=e.query.name||e.name,l=e.meta||u["a"].$avueRouter.meta||{},c=e.query.i18n;e.query.target?window.open(o):!1===l.isTab||Object(p["b"])(o)||Object(p["b"])(s)||d["a"].commit("ADD_TAG",{label:s,value:o,params:e.params,query:e.query,meta:function(){return c?{i18n:c}:l}(),group:u["a"].$avueRouter.group||[]}),r()}else!1===a.isAuth?r():r("/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)})),i.a.config.errorHandler=function(e,t,r){i.a.nextTick((function(){d["a"].commit("ADD_LOGS",{type:"error",message:e.message,stack:e.stack,info:r})}))},i.a.mixin({beforeRouteEnter:function(e,t,r){r((function(){var t=document.getElementById("avue-view");t&&e.meta.savedPosition&&(t.scrollTop=e.meta.savedPosition)}))},beforeRouteLeave:function(e,t,r){var a=this,n=document.getElementById("avue-view");if(t&&t.meta.keepAlive){n&&(t.meta.savedPosition=n.scrollTop);var i=!0===this.$route.meta.keepAlive&&d["a"].state.tags.tagList.some((function(e){return e.value===a.$route.fullPath}));if(this.$vnode&&!i&&(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]}}}r()}});var g=r("0e0b"),y=["567566_pwc3oottzol"],v="//at.alicdn.com/t/c/font_4017492_2d1qk52m7xp.css",O="",w="".concat(O,"/code"),C=Object({NODE_ENV:"production",BASE_URL:"/"});("development"===C.NODE_ENV||"production"===C.NODE_ENV||"test"===C.NODE_ENV)&&(O="");var j=r("5f72"),_=r.n(j),S=r("9923"),k=(r("1be0"),r("c0fb")),x=r("dc8a"),T=r("63e7"),D=r("010b"),P=r("78fd"),R=r("1ca4"),L=(r("8e6e"),r("6762"),r("2fdb"),r("ade3")),F=r("5880");function E(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function A(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?E(Object(r),!0).forEach((function(t){Object(L["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var B=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a={data:function(){return{selectionList:[],data:[],form:{},params:{},loading:!1,api:r("5384")("./".concat(t.name)),option:r("2666")("./".concat(t.name)).default,page:{pageSizes:[10,30,50,100,200],pageSize:10}}},computed:A(A({},Object(F["mapGetters"])(["userInfo","permission","roles"])),{},{ids:function(){var e=this,t=[];return this.selectionList.forEach((function(r){t.push(r[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,r=function(){e.loading=!0,e.api[t.list||"getList"](e.page.currentPage,e.page.pageSize,e.params).then((function(r){var a;a=t.res?t.res(r.data):r.data.data,e.page.total=a[t.total||"total"]||0,e.data=a[t.records||"records"],e.listAfter&&e.listAfter(a),e.loading=!1}))};this.listBefore&&this.listBefore(),r()},rowSave:function(e,r,a){var n=this,i=function(){delete n.form.params,n.api[t.add||"add"](n.form).then((function(e){n.getList(),n.addAfter?n.addAfter(e):n.$message.success("新增成功"),r()})).catch((function(){a()}))};this.addBefore&&this.addBefore(),i()},rowUpdate:function(e,r,a,n){var i=this,o=function(){delete i.form.params,i.api[t.update||"update"](i.form).then((function(e){i.getList(),i.updateAfter?i.updateAfter(e):i.$message.success("更新成功"),a()})).catch((function(){n()}))};this.updateBefore&&this.updateBefore(),o()},rowDel:function(e,r){var a=this,n=function(){a.api[t.del||"remove"](e[a.rowKey],e).then((function(t){a.getList(),a.delAfter?a.delAfter(t,e,r):a.$message.success("删除成功")}))};this.delBefore?(this.delBefore(),n()):this.$confirm("确定将选择数据删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){n()}))},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 r=this;t&&t(),this.validatenull(e)?Object.keys(this.params).forEach((function(e){["createTime_dategt","createTime_datelt"].includes(e)||delete r.params[e]})):Object.keys(e).forEach((function(t){r.validatenull(e[t])&&(delete r.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(a),e},I=r("4760"),V=r("6ab1"),$=r("0244"),M=r("bcc5"),N=r("1af7"),z=r("9053"),K=r("c7a0"),U=r("e5c3"),q=r("4805"),W=r("71da"),H=r("9e84"),G=r("f2a9"),Q=r("2709"),X=r("ac45"),J=r("c5e0"),Y=r("baf2"),Z=r("91c4"),ee=r("85ad"),te=r("832b"),re=r("7f21"),ae=r("7227"),ne=r("188d"),ie=r("bf9e"),oe=r("4d0f"),se=r("512c"),le=r("882c"),ce=r("e772"),ue=r("0e37"),de=r("d9a3");r("63ee");i.a.prototype.$utilFunc=de["a"],window.$crudCommon=B,i.a.use(u["a"]),i.a.use(l.a,o["a"]),i.a.use(_.a,{i18n:function(e,t){return S["a"].t(e,t)}}),i.a.use(window.AVUE,{size:"small",tableSize:"small",calcHeight:65,i18n:function(e,t){return S["a"].t(e,t)}}),i.a.component("basicContainer",x["default"]),i.a.component("basicBlock",k["default"]),i.a.component("thirdRegister",T["default"]),i.a.component("avueUeditor",P["a"]),i.a.component("flowDesign",D["default"]),i.a.component("tenantPackage",V["default"]),i.a.component("enupackage",$["default"]),i.a.component("Versionpackage",M["default"]),i.a.component("Businpackage",N["default"]),i.a.component("Relationpackage",z["default"]),i.a.component("Torelationpackage",K["default"]),i.a.component("originalRange",U["default"]),i.a.component("originalLink",q["default"]),i.a.component("classifyTrees",W["default"]),i.a.component("classifyTreeform",H["default"]),i.a.component("TemplatePro",G["default"]),i.a.component("formulaEditor",X["default"]),i.a.component("referConfigCrudDialog",J["default"]),i.a.component("referConfigFormDialog",Y["default"]),i.a.component("advancedQuery",te["default"]),i.a.component("businessAdd",re["default"]),i.a.component("attrCrud",Q["default"]),i.a.component("VciMasterCrud",ae["default"]),i.a.component("originalAdd",ne["default"]),i.a.component("referBtmTypeCrudDialog",Z["default"]),i.a.component("referSelectBtmAttrDialog",ee["default"]),i.a.component("FormTemplateDialog",ie["default"]),i.a.component("LinkTypeAdd",oe["default"]),i.a.component("MasterTree",se["default"]),i.a.component("FlowPath",le["default"]),i.a.component("Stage",ce["default"]),i.a.component("Divider",I["default"]),i.a.component("businesswork",ue["default"]),Object.keys(a).forEach((function(e){i.a.prototype[e]=a[e]})),i.a.use(window.WfDesignBase),i.a.prototype.website=R["a"],y.forEach((function(e){Object(g["h"])(v.replace("$key",e))})),i.a.config.productionTip=!1,new i.a({router:u["a"],store:d["a"],i18n:S["a"],render:function(e){return e(c["default"])}}).$mount("#app")},"57af":function(e,t,r){"use strict";r("2b1e")},5821:function(e,t,r){"use strict";r.r(t),r.d(t,"getFlowpathList",(function(){return n})),r.d(t,"getStartList",(function(){return i})),r.d(t,"flowpathSave",(function(){return o})),r.d(t,"flowpathDelete",(function(){return s})),r.d(t,"stagelist",(function(){return l})),r.d(t,"attributeList",(function(){return c})),r.d(t,"attributeListRight",(function(){return u})),r.d(t,"attributeSave",(function(){return d})),r.d(t,"getBtnTask",(function(){return p})),r.d(t,"ExamineTask",(function(){return f}));var a=r("b5c6"),n=function(e){return Object(a["a"])({url:"/api/ubcs-flow/processTS/tlist",method:"get",params:e})},i=function(){return Object(a["a"])({url:"/api/ubcs-flow/work/start-list",method:"get",params:{mode:"1",current:1,size:100}})},o=function(e){return Object(a["a"])({url:"/api/ubcs-flow/processTS/tsou",method:"post",data:e})},s=function(e){return Object(a["a"])({url:"/api/ubcs-flow/processTS/dt",method:"delete",params:e})},l=function(e){return Object(a["a"])({url:"/api/ubcs-flow/processTS/sslist",method:"get",params:e})},c=function(e){return Object(a["a"])({url:"/api/ubcs-code/codeTempPhaseController/gridUnUsedAttribute",method:"get",params:e})},u=function(e){return Object(a["a"])({url:"/api/ubcs-flow/processTS/ssslist",method:"get",params:e})},d=function(e){return Object(a["a"])({url:"/api/ubcs-flow/processTS/sasou",method:"post",data:e})},p=function(e){return Object(a["a"])({url:"/api/ubcs-flow/vciflow/next",method:"post",data:e})},f=function(e){return Object(a["a"])({url:"/api/ubcs-flow/work/complete-task",method:"post",data:e})}},5880:function(e,t){e.exports=Vuex},"5a04":function(e,t,r){"use strict";r.r(t),r.d(t,"getList",(function(){return s})),r.d(t,"getLazyTree",(function(){return l})),r.d(t,"getDetail",(function(){return c})),r.d(t,"remove",(function(){return u})),r.d(t,"submit",(function(){return d}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-system/region/list",method:"get",params:o(o({},r),{},{current:e,size:t})})},l=function(e,t){return Object(n["a"])({url:"/api/ubcs-system/region/lazy-tree",method:"get",params:o(o({},t),{},{parentCode:e})})},c=function(e){return Object(n["a"])({url:"/api/ubcs-system/region/detail",method:"get",params:{code:e}})},u=function(e){return Object(n["a"])({url:"/api/ubcs-system/region/remove",method:"post",params:{id:e}})},d=function(e){return Object(n["a"])({url:"/api/ubcs-system/region/submit",method:"post",data:e})}},"5a17":function(e,t,r){"use strict";r.r(t),r.d(t,"getList",(function(){return s})),r.d(t,"getDetail",(function(){return l})),r.d(t,"remove",(function(){return c})),r.d(t,"add",(function(){return u})),r.d(t,"update",(function(){return d})),r.d(t,"grantTree",(function(){return p})),r.d(t,"getTopTree",(function(){return f})),r.d(t,"grant",(function(){return m}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-system/topmenu/list",method:"get",params:o(o({},r),{},{current:e,size:t})})},l=function(e){return Object(n["a"])({url:"/api/ubcs-system/topmenu/detail",method:"get",params:{id:e}})},c=function(e){return Object(n["a"])({url:"/api/ubcs-system/topmenu/remove",method:"post",params:{ids:e}})},u=function(e){return Object(n["a"])({url:"/api/ubcs-system/topmenu/submit",method:"post",data:e})},d=function(e){return Object(n["a"])({url:"/api/ubcs-system/topmenu/submit",method:"post",data:e})},p=function(){return Object(n["a"])({url:"/api/ubcs-system/menu/grant-top-tree",method:"get"})},f=function(e){return Object(n["a"])({url:"/api/ubcs-system/menu/top-tree-keys",method:"get",params:{topMenuIds:e}})},m=function(e,t){return Object(n["a"])({url:"/api/ubcs-system/topmenu/grant",method:"post",data:{topMenuIds:e,menuIds:t}})}},"5ddc":function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e._self._c;return e.showTag?t("div",{staticClass:"avue-tags"},[e.contextmenuFlag?t("div",{staticClass:"avue-tags__contentmenu",style:{left:e.contentmenuX+"px",top:e.contentmenuY+"px"}},[t("div",{staticClass:"item",on:{click:e.clearCacheTags}},[e._v(e._s(e.$t("tagsView.clearCache"))+"\n ")]),t("div",{staticClass:"item",on:{click:e.closeOthersTags}},[e._v(e._s(e.$t("tagsView.closeOthers"))+"\n ")]),t("div",{staticClass:"item",on:{click:e.closeAllTags}},[e._v(e._s(e.$t("tagsView.closeAll"))+"\n ")])]):e._e(),t("div",{staticClass:"avue-tags__box",class:{"avue-tags__box--close":!e.website.isFirstPage}},[t("el-tabs",{attrs:{type:"card",closable:1!==e.tagLen},on:{"tab-click":e.openTag,edit:e.menuTag},nativeOn:{contextmenu:function(t){return e.handleContextmenu.apply(null,arguments)}},model:{value:e.active,callback:function(t){e.active=t},expression:"active"}},e._l(e.tagList,(function(r){return t("el-tab-pane",{key:r.value,attrs:{label:e.generateTitle(r),name:r.value}})})),1),t("el-dropdown",{staticClass:"avue-tags__menu"},[t("el-button",{attrs:{type:"primary",size:"mini"}},[e._v("\n "+e._s(e.$t("tagsView.menu"))+"\n "),t("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),t("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[t("el-dropdown-item",{nativeOn:{click:function(t){e.$parent.isSearch=!0}}},[e._v(e._s(e.$t("tagsView.search")))]),t("el-dropdown-item",{nativeOn:{click:function(t){return e.closeOthersTags.apply(null,arguments)}}},[e._v(e._s(e.$t("tagsView.closeOthers")))]),t("el-dropdown-item",{nativeOn:{click:function(t){return e.closeAllTags.apply(null,arguments)}}},[e._v(e._s(e.$t("tagsView.closeAll")))]),t("el-dropdown-item",{nativeOn:{click:function(t){return e.clearCacheTags.apply(null,arguments)}}},[e._v(e._s(e.$t("tagsView.clearCache")))])],1)],1)],1)]):e._e()},n=[],i=(r("8e6e"),r("ac6a"),r("456d"),r("7f7f"),r("ade3")),o=r("5880"),s=r("c24f");function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){Object(i["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var u={name:"tags",data:function(){return{active:"",contentmenuX:"",contentmenuY:"",contextmenuFlag:!1}},created:function(){},mounted:function(){this.setActive()},watch:{tag:function(){this.setActive()},contextmenuFlag:function(){window.addEventListener("mousedown",this.watchContextmenu)}},computed:c(c(c({},Object(o["mapGetters"])(["tagWel","tagList","tag","website"])),Object(o["mapState"])({showTag:function(e){return e.common.showTag}})),{},{tagLen:function(){return this.tagList.length||0}}),methods:{generateTitle:function(e){return this.$router.$avueRouter.generateTitle(e.label,(e.meta||{}).i18n)},watchContextmenu:function(e){this.$el.contains(e.target)&&0===e.button||(this.contextmenuFlag=!1),window.removeEventListener("mousedown",this.watchContextmenu)},handleContextmenu:function(e){var t=e.target,r=!1;t.className.indexOf("el-tabs__item")>-1?r=!0:t.parentNode.className.indexOf("el-tabs__item")>-1&&(t=t.parentNode,r=!0),r&&(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 r=this.findTag(e),a=r.tag,n=r.key;this.$store.commit("DEL_TAG",a),a.value===this.tag.value&&(a=this.tagList[0===n?n:n-1],this.openTag(a))}},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,r;return this.tagList.map((function(a,n){a.value===e&&(t=a,r=n)})),{tag:t,key:r}},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=r("2877"),f=Object(p["a"])(d,a,n,!1,null,null,null);t["default"]=f.exports},"5f72":function(e,t){e.exports=ELEMENT},6044:function(e,t,r){"use strict";r.r(t),r.d(t,"getList",(function(){return s})),r.d(t,"getDetail",(function(){return l})),r.d(t,"remove",(function(){return c})),r.d(t,"add",(function(){return u})),r.d(t,"update",(function(){return d}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-resource/attach/list",method:"get",params:o(o({},r),{},{current:e,size:t})})},l=function(e){return Object(n["a"])({url:"/api/ubcs-resource/attach/detail",method:"get",params:{id:e}})},c=function(e){return Object(n["a"])({url:"/api/ubcs-resource/attach/remove",method:"post",params:{ids:e}})},u=function(e){return Object(n["a"])({url:"/api/ubcs-resource/attach/submit",method:"post",data:e})},d=function(e){return Object(n["a"])({url:"/api/ubcs-resource/attach/submit",method:"post",data:e})}},"61f2":function(e,t,r){},6249:function(e,t,r){"use strict";r("d134")},"62ed":function(e,t,r){"use strict";r.r(t),r.d(t,"getUsualList",(function(){return n})),r.d(t,"getApiList",(function(){return i})),r.d(t,"getErrorList",(function(){return o})),r.d(t,"getUsualLogs",(function(){return s})),r.d(t,"getApiLogs",(function(){return l})),r.d(t,"getErrorLogs",(function(){return c}));var a=r("b5c6"),n=function(e,t){return Object(a["a"])({url:"/api/ubcs-log/usual/list",method:"get",params:{current:e,size:t}})},i=function(e,t){return Object(a["a"])({url:"/api/ubcs-log/api/list",method:"get",params:{current:e,size:t}})},o=function(e,t){return Object(a["a"])({url:"/api/ubcs-log/error/list",method:"get",params:{current:e,size:t}})},s=function(e){return Object(a["a"])({url:"/api/ubcs-log/usual/detail",method:"get",params:{id:e}})},l=function(e){return Object(a["a"])({url:"/api/ubcs-log/api/detail",method:"get",params:{id:e}})},c=function(e){return Object(a["a"])({url:"/api/ubcs-log/error/detail",method:"get",params:{id:e}})}},6389:function(e,t){e.exports=VueRouter},"63e7":function(e,t,r){"use strict";r.r(t);r("7f7f");var a=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{title:"账号注册","append-to-body":"",visible:e.accountBox,"close-on-click-modal":!1,"close-on-press-escape":!1,"show-close":!1,width:"20%"},on:{"update:visible":function(t){e.accountBox=t}}},[t("el-form",{ref:"form",attrs:{model:e.form,"label-width":"80px"}},[e.tenantMode?t("el-form-item",{attrs:{label:"租户编号"}},[t("el-input",{attrs:{placeholder:"请输入租户编号"},model:{value:e.form.tenantId,callback:function(t){e.$set(e.form,"tenantId",t)},expression:"form.tenantId"}})],1):e._e(),t("el-form-item",{attrs:{label:"用户姓名"}},[t("el-input",{attrs:{placeholder:"请输入用户姓名"},model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1),t("el-form-item",{attrs:{label:"账号名称"}},[t("el-input",{attrs:{placeholder:"请输入账号名称"},model:{value:e.form.account,callback:function(t){e.$set(e.form,"account",t)},expression:"form.account"}})],1),t("el-form-item",{attrs:{label:"账号密码"}},[t("el-input",{attrs:{placeholder:"请输入账号密码"},model:{value:e.form.password,callback:function(t){e.$set(e.form,"password",t)},expression:"form.password"}})],1),t("el-form-item",{attrs:{label:"确认密码"}},[t("el-input",{attrs:{placeholder:"请输入确认密码"},model:{value:e.form.password2,callback:function(t){e.$set(e.form,"password2",t)},expression:"form.password2"}})],1)],1),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary",loading:e.loading},on:{click:e.handleRegister}},[e._v("确 定")])],1)],1)},n=[],i=(r("8e6e"),r("ac6a"),r("456d"),r("ade3")),o=r("5880"),s=r("c54a"),l=r("c24f"),c=r("0e0b"),u=r("ccbe"),d=r("9883");function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){Object(i["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var m={name:"thirdRegister",data:function(){return{form:{tenantId:"",name:"",account:"",password:"",password2:""},loading:!1,tenantMode:!0,accountBox:!1}},computed:f({},Object(o["mapGetters"])(["userInfo"])),created:function(){this.getTenant()},mounted:function(){(Object(s["b"])(this.userInfo.user_id)||this.userInfo.user_id<0)&&(this.form.name=this.userInfo.user_name,this.form.account=this.userInfo.user_name,this.accountBox=!0)},methods:{handleRegister:function(){var e=this;""!==this.form.tenantId?""!==this.form.account?""!==this.form.password&&""!==this.form.password2?this.form.password===this.form.password2?(this.loading=!0,Object(l["registerGuest"])(this.form,this.userInfo.oauth_id).then((function(t){e.loading=!1;var r=t.data;r.success?(e.accountBox=!1,e.$alert("注册申请已提交,请耐心等待管理员通过!","注册提示").then((function(){e.$store.dispatch("LogOut").then((function(){Object(d["b"])(),e.$router.push({path:"/login"})}))}))):e.$message.error(r.msg||"提交失败")}),(function(t){window.console.log(t),e.loading=!1}))):this.$message.warning("两次密码输入不一致"):this.$message.warning("请先输入密码"):this.$message.warning("请先输入账号名称"):this.$message.warning("请先输入租户编号")},getTenant:function(){var e=this,t=Object(c["f"])();Object(u["info"])(t).then((function(t){var r=t.data;r.success&&r.data.tenantId&&(e.form.tenantId=r.data.tenantId,e.tenantMode=!1)}))}}},h=m,b=r("2877"),g=Object(b["a"])(h,a,n,!1,null,null,null);t["default"]=g.exports},"63ee":function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e._self._c;return t("div",[t("el-button",{on:{click:function(t){e.outerVisible=!0}}},[e._v("流程测试")]),t("el-button",{on:{click:e.handleTable}},[e._v("人员设置")]),t("flow-business",{attrs:{visible:e.outerVisible},on:{"update:visible":function(t){e.outerVisible=t}}}),t("set-personnel",{attrs:{visible:e.visibleFlow,parameter:e.parameter,"parameter-keys":e.props},on:{"update:visible":function(t){e.visibleFlow=t}}})],1)},n=[],i=r("1679"),o=r("18ec"),s={components:{FlowBusiness:i["default"],SetPersonnel:o["default"]},data:function(){return{outerVisible:!1,visibleFlow:!1,parameter:{ids:["0000","22222222"],code:"8b5e2017-990f-454a-9c39-4c4eeeb57553",type:"PUBLIC",template:"模板template",vars:{name:"111",sex:"222"}},props:{flowTemplate:"template",type:"type",ids:"ids",code:"code"}}},methods:{handleSave:function(e){console.log(e)},handleTable:function(){this.visibleFlow=!0}}},l=s,c=r("2877"),u=Object(c["a"])(l,a,n,!1,null,"11545bcf",null);t["default"]=u.exports},"64c4":function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"el-transfer-panel"},[t("p",{staticClass:"el-transfer-panel__header"},[e._v("\n "+e._s(e.title)+"\n ")]),t("div",{class:["el-transfer-panel__body",e.hasFooter?"is-with-footer":""]},[e.filterable?t("el-input",{staticClass:"el-transfer-panel__filter",attrs:{size:"small",placeholder:e.placeholder},nativeOn:{mouseenter:function(t){e.inputHover=!0},mouseleave:function(t){e.inputHover=!1}},model:{value:e.query,callback:function(t){e.query=t},expression:"query"}},[t("i",{class:["el-input__icon","el-icon-"+e.inputIcon],attrs:{slot:"prefix"},on:{click:e.clearQuery},slot:"prefix"})]):e._e(),t("el-radio-group",{directives:[{name:"show",rawName:"v-show",value:!e.hasNoMatch&&e.data.length>0,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(r){return t("el-radio",{key:r[e.keyProp],staticClass:"el-transfer-panel__item",attrs:{label:r[e.keyProp],disabled:r[e.disabledProp]}},[t("option-content",{attrs:{option:r}})],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()])},n=[],i=(r("a481"),r("6b54"),r("ac6a"),r("73d7")),o=r("9c1a"),s=r("ffa3"),l=r("d4b4"),c={mixins:[l["a"]],name:"ElTransferPanel",componentName:"ElTransferPanel",components:{ElCheckboxGroup:i["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},r=t(this),a=r.$parent||r;return r.renderContent?r.renderContent(e,this.option):a.$scopedSlots.default?a.$scopedSlots.default({option:this.option}):e("span",[this.option[r.labelProp]||this.option[r.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 r=Array.isArray(e)?e:[e],a=Array.isArray(t)?t:[t];if(this.checkChangeByUser){var n=r.concat(a).filter((function(e){return-1===r.indexOf(e)||-1===a.indexOf(e)}));this.$emit("checked-change",r,n)}else this.$emit("checked-change",r),this.checkChangeByUser=!0},data:function(){var e=this,t=[],r=this.filteredData.map((function(t){return t[e.keyProp]})),a=Array.isArray(this.checked)?this.checked:[this.checked];a.forEach((function(e){r.indexOf(e)>-1&&t.push(e)})),this.checkChangeByUser=!1,this.checked=t},checkableData:function(){this.updateAllChecked()},defaultChecked:{immediate:!0,handler:function(e,t){var r=this;if(!t||e.length!==t.length||!e.every((function(e){return t.indexOf(e)>-1}))){var a=[],n=this.checkableData.map((function(e){return e[r.keyProp]}));e.forEach((function(e){n.indexOf(e)>-1&&a.push(e)})),this.checkChangeByUser=!1,this.checked=a}}}},computed:{filteredData:function(){var e=this;return this.data.filter((function(t){if("function"===typeof e.filterMethod)return e.filterMethod(e.query,t);var r=t[e.labelProp]||t[e.keyProp].toString();return r.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,r=this.format,a=r.noChecked,n=r.hasChecked;return a&&n?e>0?n.replace(/\${checked}/g,e).replace(/\${total}/g,t):a.replace(/\${total}/g,t):"".concat(e,"/").concat(t)},isIndeterminate:function(){var e=this.checked.length;return e>0&&e<this.checkableData.length},hasNoMatch:function(){return this.query.length>0&&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=r("2877"),p=Object(d["a"])(u,a,n,!1,null,null,null);t["default"]=p.exports},"65ea":function(e,t,r){"use strict";r("e50c")},6657:function(e,t,r){"use strict";r.r(t);var a=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(r){return t("el-table-column",{key:r.field,attrs:{prop:r.field,label:r.title,"min-width":r.width,align:"center"},scopedSlots:e._u(["id"===r.field?{key:"default",fn:function(r){var a=r.row;return[t("el-button",{attrs:{type:"text"},on:{click:function(t){return e.openFormTemlpate(a)}}},[e._v(e._s(a.id))])]}}:{key:"default",fn:function(a){var n=a.row;return[t("span",[e._v(e._s(n[r.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)},n=[],i=(r("6762"),r("2fdb"),r("96cf"),r("1da1")),o=r("902d"),s={name:"ResembleQuery",components:{FormTemplateDialog:function(){return Promise.resolve().then(r.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(i["a"])(regeneratorRuntime.mark((function e(t){var r,a,n,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.loading=!0,this.activeName="findlike",r=this.getDefaultValueAndFormValues(t),a=r.defaultValue,n=r.formValue,i={codeClassifyOid:this.codeClassifyOid,codeRuleOid:this.codeRuleOid,templateOid:this.templateOid,data:n},i=Object.assign(i,a),e.next=7,Object(o["findLike"])(i);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={},r={};for(var a in e)if(Object.hasOwnProperty.call(e,a)){var n=e[a];this.defaultKeys.includes(a)?t[a]=n:r[a]=n}return{defaultValue:t,formValue:r}}}},l=s,c=r("2877"),u=Object(c["a"])(l,a,n,!1,null,null,null);t["default"]=u.exports},6841:function(e,t,r){},6868:function(e,t,r){"use strict";r.r(t),r.d(t,"getList",(function(){return n}));var a=r("b5c6"),n=function(e){return Object(a["a"])({url:"/api/ubcs-omd/lifeCycle/page",method:"get",params:e})};t["default"]={getList:n}},6872:function(e,t,r){"use strict";r.r(t),r.d(t,"getList",(function(){return s})),r.d(t,"getPage",(function(){return l})),r.d(t,"remove",(function(){return c})),r.d(t,"add",(function(){return u})),r.d(t,"update",(function(){return d})),r.d(t,"queryPage",(function(){return p})),r.d(t,"getApplyRange",(function(){return f}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-omd/attribute/list",method:"get",params:o(o({},r),{},{current:e,size:t})})},l=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-omd/attribute/page",method:"get",params:o(o({},r),{},{current:e,size:t})})},c=function(e){return Object(n["a"])({url:"/api/ubcs-omd/attribute/remove",method:"post",params:{oid:e}})},u=function(e){return Object(n["a"])({url:"/api/ubcs-omd/attribute/submit",method:"post",data:e})},d=function(e){return Object(n["a"])({url:"/api/ubcs-omd/attribute/submit",method:"post",data:e})},p=function(e,t,r,a){return Object(n["a"])({url:"/api/ubcs-omd/attribute/query-page",method:"get",params:{key:e,notInStr:t,current:r,size:a}})},f=function(e){return Object(n["a"])({url:"/api/ubcs-omd/attribute/apply-range",method:"get",params:{oid:e}})}},"6ab1":function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e._self._c;return t("avue-crud",{ref:"crud",attrs:{option:e.option,"table-loading":e.loading,data:e.data,page:e.page,permission:e.permissionList,"before-open":e.beforeOpen},on:{"update:page":function(t){e.page=t},"row-update":e.rowUpdate,"row-save":e.rowSave,"row-del":e.rowDel,"search-change":e.searchChange,"search-reset":e.searchReset,"selection-change":e.selectionChange,"current-change":e.currentChange,"size-change":e.sizeChange,"refresh-change":e.refreshChange,"on-load":e.onLoad},model:{value:e.form,callback:function(t){e.form=t},expression:"form"}},[t("template",{slot:"menuLeft"},[t("el-button",{attrs:{type:"danger",size:"small",icon:"el-icon-delete",plain:""},on:{click:e.handleDelete}},[e._v("删 除\n ")])],1)],2)},n=[],i=(r("8e6e"),r("456d"),r("6762"),r("2fdb"),r("ac6a"),r("ade3")),o=r("0e3d"),s=r("5880"),l=r("a6dc");function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){Object(i["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var d={name:"tenantPackage",data:function(){return{form:{},query:{},loading:!0,page:{pageSize:10,currentPage:1,total:0},selectionList:[],option:{height:"auto",calcHeight:30,tip:!1,searchShow:!0,searchMenuSpan:6,border:!0,index:!0,viewBtn:!0,selection:!0,dialogClickModal:!1,dialogWidth:600,column:[{label:"产品包名",prop:"packageName",search:!0,span:24,rules:[{required:!0,message:"请输入产品包名称",trigger:"blur"}]},{label:"菜单列表",prop:"menuId",span:24,type:"tree",dicData:[],hide:!0,multiple:!0,props:{label:"title"},rules:[{required:!0,message:"请选择菜单",trigger:"blur"}]},{label:"备注",prop:"remark",span:24}]},data:[]}},computed:u(u({},Object(s["mapGetters"])(["permission"])),{},{permissionList:function(){return{addBtn:!0,viewBtn:!1,delBtn:!0,editBtn:!0}},ids:function(){var e=[];return this.selectionList.forEach((function(t){e.push(t.id)})),e.join(",")}}),methods:{initData:function(){var e=this;Object(l["getMenuTree"])().then((function(t){var r=e.findObject(e.option.column,"menuId");r.dicData=t.data.data}))},rowSave:function(e,t,r){var a=this;e.menuId=e.menuId.join(","),Object(o["add"])(e).then((function(){a.onLoad(a.page),a.$message({type:"success",message:"操作成功!"}),t()}),(function(e){r(),window.console.log(e)}))},rowUpdate:function(e,t,r,a){var n=this;Object(o["update"])(e).then((function(){n.onLoad(n.page),n.$message({type:"success",message:"操作成功!"}),r()}),(function(e){a(),window.console.log(e)}))},rowDel:function(e){var t=this;this.$confirm("确定将选择数据删除?",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return Object(o["remove"])(e.id)})).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.ids)})).then((function(){e.onLoad(e.page),e.$message({type:"success",message:"操作成功!"}),e.$refs.crud.toggleSelection()})):this.$message.warning("请选择至少一条数据")},beforeOpen:function(e,t){var r=this;["add","edit"].includes(t)&&this.initData(),["edit","view"].includes(t)&&Object(o["getDetail"])(this.form.id).then((function(e){r.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,e),t()},selectionChange:function(e){this.selectionList=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,this.query)},onLoad:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.loading=!0,Object(o["getList"])(e.currentPage,e.pageSize,Object.assign(r,this.query)).then((function(e){var r=e.data.data;t.page.total=r.total,t.data=r.records,t.loading=!1,t.selectionClear()}))}}},p=d,f=r("2877"),m=Object(f["a"])(p,a,n,!1,null,null,null);t["default"]=m.exports},"6bba":function(e,t,r){},"6dde":function(e,t,r){"use strict";r("8c48")},"6e8c":function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e._self._c;return e.display?t("div",["tree"==e.refertype?t("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()},n=[],i=(r("a481"),r("bd80")),o=r("b12a"),s=r("89bb"),l={name:"vciWebRefer",props:["referConfig","value","text","disabled","display"],components:{vciWebReferTree:i["default"],vciWebReferTable:o["default"],vciWebReferDefalut:s["default"]},data:function(){return{refertype:this.referConfig.options.type,emitData:{},title:""}},created:function(){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.$emit("setReferValue",e)}}}},c=l,u=r("2877"),d=Object(u["a"])(c,a,n,!1,null,"153a0d66",null);t["default"]=d.exports},"6ea1":function(e,t,r){},"71da":function(e,t,r){"use strict";r.r(t);r("6762"),r("2fdb"),r("7f7f");var a=function(){var e=this,t=e._self._c;return t("el-container",[t("el-aside",[t("basic-container",{staticStyle:{height:"85vh","max-height":"155vh","overflow-y":"scroll"}},[t("div",[t("div",{staticStyle:{display:"flex","justify-content":"space-around"}},[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","justify-content":"space-around","margin-top":"5px","margin-bottom":"5px"}})]),t("el-dialog",{staticStyle:{width:"1700px",margin:"auto"},attrs:{title:this.TreeFlag?"添加分类":"添加主题库",visible:e.TreeAddFormVisible,"append-to-body":""},on:{"update:visible":function(t){e.TreeAddFormVisible=t}}},[t("el-form",{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),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),0==e.TreeFlag?t("el-form-item",{attrs:{label:"业务类型:","label-width":"150px"}},[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"},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:function(t){e.TreeAddFormVisible=!1}}},[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:{loneTreeNewForm:e.TreeList,nodeList:e.nodeList,flag:"edit",Editclose:function(){e.TreeEditFormVisible=!1},TreeFlag:e.TreeFlag},on:{MasterHandler:e.MasterHandler}})],1),t("avue-tree",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"tree",staticStyle:{height:"80.5vh","padding-top":"5px","padding-bottom":"30px"},attrs:{data:e.CloneTreedata,defaultExpandAll:!1,option:e.Treeoption},on:{"node-click":e.nodeClick,"check-change":e.checkChange},model:{value:e.CloneTreeAvueform,callback:function(t){e.CloneTreeAvueform=t},expression:"CloneTreeAvueform"}})],1)],1),t("el-main",[t("basic-container",{staticStyle:{height:"85vh","max-height":"155vh"}},[t("avue-tabs",{attrs:{option:e.tabOption},on:{change:e.handleChange}}),"tab1"===e.type.prop?t("span",[t("classifyTreeform",{ref:"childForm",attrs:{loneTreeNewForm:e.TreeList,nodeList:e.nodeList,flag:"renonly"}})],1):"tab2"===e.type.prop?t("span",[t("basic-container",[t("avue-crud",{directives:[{name:"loading",rawName:"v-loading",value:e.FormLoing,expression:"FormLoing"}],attrs:{data:this.Formlist,option:this.crudTreeOption,"before-close":e.beforeClose},on:{"row-save":e.CrudRowSave,"row-del":e.CrudRowDel,"row-update":e.CrudRowUpdata,select:e.selectHandle},scopedSlots:e._u([{key:"menu",fn:function(r){var a=r.size,n=r.row;return[t("el-button",{directives:[{name:"show",rawName:"v-show",value:"Released"===n.lcStatus,expression:"row.lcStatus === 'Released'"}],attrs:{loading:n.upVersionLoad,icon:"el-icon-upload2",type:"text",size:a},on:{click:function(t){return e.upAndStopAndStart(n,"upVersion")}}},[e._v("升版")]),t("el-button",{directives:[{name:"show",rawName:"v-show",value:"Released"===n.lcStatus,expression:"row.lcStatus === 'Released'"}],attrs:{loading:n.stopLoseLoad,icon:"el-icon-circle-close",type:"text",size:a},on:{click:function(t){return e.upAndStopAndStart(n,"stopLose")}}},[e._v("停用/失效")]),t("el-button",{directives:[{name:"show",rawName:"v-show",value:["Disabled","Editing"].includes(n.lcStatus),expression:"['Disabled', 'Editing'].includes(row.lcStatus)"}],attrs:{loading:n.startReleaseLoad,icon:"el-icon-circle-check",type:"text",size:a},on:{click:function(t){return e.upAndStopAndStart(n,"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.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"},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(r,a){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(a)}},model:{value:e.FindSelect[a],callback:function(t){e.$set(e.FindSelect,a,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[a],callback:function(t){e.$set(e.QueryArray,a,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:{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:"tree",staticStyle:{height:"50.5vh","margin-right":"10px"},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:{size:"small",placeholder:"输入值后按回车进行模糊查询"},model:{value:e.CloneFind,callback:function(t){e.CloneFind=t},expression:"CloneFind"}}),t("el-button",{staticStyle:{"margin-left":"10px"},attrs:{size:"small",type:"primary",plain:""},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:function(t){e.CloneVisible=!1}}},[e._v("取消")])],1),t("el-dialog",{attrs:{width:"30%",title:"克隆模板",visible:e.CloneinnerVisible,"append-to-body":""},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:{ProData:this.ProData,crudOid:this.crudOid,crudArray:this.crudArray,Formlist:this.Formlist,codeClassifyOid:this.codeClassifyOid}})],1):e._e(),t("el-dialog",{attrs:{visible:e.MasterdialogVisible,title:"为【编码规则】选取值","append-to-body":""},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.masterOption},on:{select:e.masterSelect}}),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.TreeAddform.coderuleoidName?"未设置值":this.TreeAddform.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:function(t){e.MasterdialogVisible=!1}}},[e._v("取消")])],1)])],2),t("el-dialog",{attrs:{visible:e.KeydialogVisible,title:"为【关键属性查询规则】选取值","append-to-body":""},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.masterOption},on:{select:e.KeySelect}}),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("已设置的值为:["+e._s(""==this.TreeAddform.codeKeyAttrRepeatOidName?"未设置值":this.TreeAddform.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:function(t){e.KeydialogVisible=!1}}},[e._v("取消")])],1)])],2),t("el-dialog",{attrs:{visible:e.SimidialogVisible,title:"为【相似项查询规则】选取值","append-to-body":""},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.masterOption},on:{select:e.simSelect}}),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.TreeAddform.codeResembleRuleOidName?"未设置值":this.TreeAddform.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:function(t){e.SimidialogVisible=!1}}},[e._v("取消")])],1)])],2),t("el-dialog",{attrs:{visible:e.BtmdialogVisible,title:"为【业务类型规则】选取值","append-to-body":""},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.SelectOption,(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:{select:e.btmSelect}}),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.TreeAddform.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:function(t){e.BtmdialogVisible=!1}}},[e._v("取消")])],1)])],2)],1)],1)],1)},n=[],i=(r("8e6e"),r("456d"),r("8615"),r("96cf"),r("1da1")),o=r("53ca"),s=(r("ac6a"),r("ade3")),l=r("8e19"),c=r("b761");function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){Object(s["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var p={name:"classifyTrees.vue",inject:[,"crudTreeData"],data:function(){var e;return e={TreeFlag:!1,MasterdialogVisible:!1,masterData:[],masterSelectList:[],masterName:"",masterOid:"",KeydialogVisible:!1,KeyName:"",KeyOid:"",KeyData:[],KeySelectLIst:[],simName:"",simOid:"",simData:[],SimidialogVisible:!1,simSelectList:[],btmName:"",btmOid:"",BtmData:[],BtmdialogVisible:!1,btmSelectList:[],masterOption:{addBtn:!1,index:!0,border:!0,selection:!0,menu:!1,height:380,column:[{label:"英文名称",prop:"id"},{label:"中文名称",prop:"name"},{label:"描述",prop:"description"}]},SelectOption:[{value:"name",label:"中文名称"},{value:"id",label:"英文名称"}],SelectValue:"",SelectFInd:"",rules:{id:[{required:!0,message:"请输入名称",trigger:"blur"}],name:[{required:!0,message:"请输入编号",trigger:"blur"}]},addFlag:!1,crudOid:"",crudArray:[],ProData:[],searchTemplate:{searchCondition:"id",findText:""},FindFormVisible:!1,CloneVisible:!1,CloneinnerVisible:!1,FindSelect:{id:"0",name:"1",description:"2",revisionValue:"3",lcStatus:"4"},condition:["0","0","0","0","0"],Equalto:"0",QueryArray:{id:"",name:"",description:"",revisionValue:"",lcStatus:""},FlagObj:{},TreeEditFormVisible:!1,TreeAddFormVisible:!1,nodeClickList:"",ClonenodeClickList:""},Object(s["a"])(e,"TreeFlag",!1),Object(s["a"])(e,"loading",!1),Object(s["a"])(e,"FormLoing",!1),Object(s["a"])(e,"TreeAddform",{id:"",name:"",description:"",codeResembleRuleOidName:"",codeKeyAttrRepeatOidName:"",codeRuleOidName:"",btmTypeName:""}),Object(s["a"])(e,"TreeAvueform",{}),Object(s["a"])(e,"CloneTreeAvueform",{}),Object(s["a"])(e,"Treedata",[]),Object(s["a"])(e,"CloneTreedata",[]),Object(s["a"])(e,"Treeoption",{addBtn:!1,editBtn:!1,delBtn:!1,defaultExpandAll:!1,menu:!1}),Object(s["a"])(e,"crudForm",""),Object(s["a"])(e,"ClonecrudForm",""),Object(s["a"])(e,"Formlist",[]),Object(s["a"])(e,"CloneFormlist",[]),Object(s["a"])(e,"Clonevalue","0"),Object(s["a"])(e,"CloneFind",""),Object(s["a"])(e,"CloneSelectOptions",[{value:"0",label:"模板编号"},{value:"1",label:"模板名称"}]),Object(s["a"])(e,"CloneOption",{column:[{label:"模板编号",prop:"id",rules:[{required:!0,message:"请输入模板编号",trigger:"blur"}]},{label:"模板名称",prop:"name",rules:[{required:!0,message:"请输入模板名称",trigger:"blur"}]},{label:"描述",prop:"desc",type:"textarea",span:24}]}),Object(s["a"])(e,"CloneModel",[]),Object(s["a"])(e,"CloneSelect",[]),Object(s["a"])(e,"ClonecrudTreeOption",{index:!0,border:!0,menu:!1,addBtn:!1,selection:!0,header:!1,height:430,column:[{label:"模板编号",prop:"id"},{label:"模板名称",prop:"name"},{label:"模板描述",prop:"description"},{label:"版本号",prop:"revisionSeq",display:!1},{label:"状态",prop:"lcStatusText",display:!1}]}),Object(s["a"])(e,"type",{}),Object(s["a"])(e,"tabOption",{column:[{label:"基本信息",prop:"tab1"},{label:"模板管理",prop:"tab2"}]}),Object(s["a"])(e,"Treeform",[{name:"测试1",sex:"男",value:0},{name:"测试2",sex:"女",value:1}]),Object(s["a"])(e,"TreeList",{}),Object(s["a"])(e,"codeClassifyOid",""),Object(s["a"])(e,"upAndStopAndStartData",{upVersion:{tip:"是否进行升版?",typeText:"升版",funAPi:l["upVersion"],load:"upVersionLoad"},stopLose:{tip:"模板只有发布状态才能被使用,是否确定停用?",typeText:"停用/失效",funAPi:l["stopLose"],load:"stopLoseLoad"},startRelease:{tip:"是否确定启用/发布这个模板,模板只有发布状态才能被使用,是否继续?",typeText:"启用/发布",funAPi:l["startRelease"],load:"startReleaseLoad"}}),e},mounted:function(){this.type=this.tabOption.column[0],this.getAttr()},computed:{crudTreeOption:function(){return{index:!0,border:!0,height:180,selection:!0,addBtn:this.Formlist.length<=0&&""!=this.nodeClickList,column:[{label:"模板编号",prop:"id"},{label:"模板名称",prop:"name"},{label:"模板描述",prop:"description"},{label:"版本号",prop:"revisionSeq",display:!1},{label:"状态",prop:"lcStatusText",display:!1}]}}},methods:{CodeFoucus:function(){this.MasterdialogVisible=!0,this.MasterdefaultRend()},masterSelect:function(e){e.length>0&&(this.masterSelectList=e,this.masterName=e[0].name,this.masterOid=e[0].oid)},SelectFindeHandler:function(){if("id"==this.SelectValue){var e={"conditionMap[id]":this.SelectFInd};this.MasterdefaultRend(e),this.SelectValue="",this.SelectFInd=""}else if("name"==this.SelectValue){var t={"conditionMap[name]":this.SelectFInd};this.MasterdefaultRend(t),this.SelectValue="",this.SelectFInd=""}},MasterHandlerClick:function(){this.masterSelectList.length>1?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),console.log(this.loneTreeNewForm))},MasterdefaultRend:function(){var e=this;Object(c["defaultReferDataGrid"])({referType:"coderule",isMuti:"false",'conditionMap["lcstatus"]':"Released"}).then((function(t){e.masterData=t.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),console.log(this.TreeAddform))},KeySelectFindeHandler:function(){if("id"==this.SelectValue){var e={"conditionMap[id]":this.SelectFInd};this.KeydefaultRend(e),this.SelectValue="",this.SelectFInd=""}else if("name"==this.SelectValue){var t={"conditionMap[name]":this.SelectFInd};this.KeydefaultRend(t),this.SelectValue="",this.SelectFInd=""}},KeydefaultRend:function(){var e=this;Object(c["defaultReferDataGrid"])({referType:"codekeyattrrepeat",isMuti:"false",'conditionMap["lcstatus"]':"Enabled"}).then((function(t){e.KeyData=t.data.records}))},KeySelect:function(e){this.KeySelectLIst=e,this.KeyName=e[0].name,this.KeyOid=e[0].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(){if("id"==this.SelectValue){var e={"conditionMap[id]":this.SelectFInd};this.simdefaultRend(e),this.SelectValue="",this.SelectFInd=""}else if("name"==this.SelectValue){var t={"conditionMap[name]":this.SelectFInd};this.simdefaultRend(t),this.SelectValue="",this.SelectFInd=""}},simSelect:function(e){this.simSelectList=e,this.simName=e[0].name,this.simOid=e[0].oid,console.log("oid",this.oid)},simdefaultRend:function(){var e=this;Object(c["defaultReferDataGrid"])({referType:"coderesemblerule",isMuti:"false",'conditionMap["lcstatus"]':"Enabled"}).then((function(t){e.simData=t.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.btmOid),this.$set(this.loneTreeNewForm,"btmtypeid",this.btmOid),this.$emit("MasterHandler",this.loneTreeNewForm))},BtmSelectFindeHandler:function(){if("id"==this.SelectValue){var e={"conditionMap[id]":this.SelectFInd};this.btmdefaultRend(e),this.SelectValue="",this.SelectFInd=""}else if("name"==this.SelectValue){var t={"conditionMap[name]":this.SelectFInd};this.btmdefaultRend(t),this.SelectValue="",this.SelectFInd=""}},btmSelect:function(e){this.btmSelectList=e,this.btmName=e[0].name,this.btmOid=e[0].oid},btmdefaultRend:function(e){var t=this;Object(c["referDataGrid"])(d({valueField:"id",isMuti:"false"},e)).then((function(e){t.BtmData=e.data.data.records}))},MasterHandler:function(e){this.TreeList=e},selectHandle:function(e,t){var r=this;this.crudOid=t.oid,this.crudArray=e,Object(l["gridCodeClassifyTemplateAttr"])({"conditionMap[classifyTemplateOid]":this.Formlist[0].oid}).then((function(e){r.ProData=e.data.data})).catch((function(e){r.$message.error(e)}))},getAttr:function(){var e=this;Object(l["getAtrrList"])().then((function(t){e.Treedata=t.data,e.CloneTreedata=t.data,e.Treedata.forEach((function(){for(var t=0;t<e.Treedata.length;t++)e.Treedata[t].value=t})),e.ModifyProperties(e.CloneTreedata,"name","label")})).catch((function(t){e.$message.error(t)}))},ModifyProperties:function(e,t,r){for(var a in e)a===t&&(e[r]=e[a],delete e[a]),"object"===Object(o["a"])(e[a])&&this.ModifyProperties(e[a],t,r)},TreeAdd:function(){this.TreeAddFormVisible=!0,""!==this.nodeClickList&&(this.TreeFlag=!0)},TreeAddHandler:function(){var e=this,t=this.TreeAddform;t.btmTypeName=this.TreeList.btmtypename,this.$set(t,"parentCodeClassifyOid",this.nodeClickList.oid),Object(l["TreeSave"])(t).then((function(){e.$message({type:"success",message:"添加成功!"}),e.getAttr(),e.TreeAddFormVisible=!1,e.TreeAddform=""})).catch((function(t){e.$message({type:"warning",message:t})}))},TreeDel:function(){var e=this;this.$confirm("是否删除当前选择的分类,将会把子分类一并删除,如果存在编码数据将不能被删除,是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning",customClass:"my-messagebox"}).then((function(){Object(l["TreeCheckDel"])(e.nodeClickList).then((function(t){t.data.data?Object(l["TreeDel"])(e.nodeClickList).then((function(){e.$message({type:"success",message:"删除成功!"}),e.getAttr()})).catch((function(t){e.$message({type:"warning",message:t})})):e.$confirm("当前数据包含有下级数据,要删除的话会和下级数据一起删除,你确认继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning",customClass:"my-messageboxs"}).then((function(){Object(l["TreeDel"])(e.nodeClickList).then((function(){e.$message({type:"success",message:"删除成功!"}),e.getAttr()})).catch((function(t){e.$message({type:"warning",message:t})}))})).catch((function(){e.$message({type:"info",message:"已取消删除"})}))}))})).catch((function(){e.$message({type:"info",message:"已取消删除"})}))},TreeEdit:function(){""==this.nodeClickList?this.$message({type:"warning",message:"请先从树上选择一条数据!"}):(this.TreeEditFormVisible=!0,console.log(this.TreeList))},flushed:function(){var e=this;this.loading=!0,this.getAttr(),setTimeout((function(){e.loading=!1,e.nodeClickList=""}),600)},Enable:function(){var e=this;"Enabled"==this.FlagObj.lcStatus?this.$message({type:"warning",message:"当前分类不是停用状态"}):this.$confirm("是否将子分类一并启用?","提示",{confirmButtonText:"是",cancelButtonText:"取消",type:"warning"}).then((function(){Object(l["TreeEnable"])(e.nodeClickList).then((function(){e.$message({type:"success",message:"启用成功!"}),e.getAttr()}))})).catch((function(){e.$message({type:"info",message:"已取消启用"})}))},Deactivate:function(){var e=this;"Disabled"===this.FlagObj.lcStatus?this.$message({type:"warning",message:"当前分类不是启用状态!"}):this.$confirm("是否停用当前分类,停用后,子分类也将不能被使用,是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){Object(l["TreeDeactivate"])(e.nodeClickList).then((function(){e.$message({type:"success",message:"停用成功!"}),e.nodeClickList["flag"]=!0,e.getAttr()}))})).catch((function(){e.$message({type:"info",message:"已取消停用"})}))},nodeClick:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(t){var r=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log("树",t),""==t.parentId&&(this.TreeFlag=!0),this.nodeClickList=t,this.ProData=[],e.prev=4,e.next=7,Object(l["TreeObjcet"])(t.oid).then((function(e){r.FlagObj=e.data.data})).catch((function(e){r.$message.error(e)}));case 7:return e.next=9,Object(l["gridCodeClassifyTemplate"])({"conditionMap[codeclassifyoid]":t.oid}).then((function(e){r.Formlist=e.data.data.filter((function(e){if(""!=e.codeclassifyoid)return r.codeClassifyOid=e.codeclassifyoid,e.codeclassifyoid==r.nodeClickList.oid}))})).catch((function(e){r.$message.error(e)}));case 9:return e.next=11,Object(l["getObjectByOid"])(this.nodeClickList.oid).then((function(e){r.TreeList=e.data.data})).catch((function(e){r.$message.error(e)}));case 11:e.next=16;break;case 13:e.prev=13,e.t0=e["catch"](4),this.$message.error(e.t0);case 16:case"end":return e.stop()}}),e,this,[[4,13]])})));function t(t){return e.apply(this,arguments)}return t}(),ClonenodeClick:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(t){var r=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.ClonenodeClickList=t,e.next=3,Object(l["gridCodeClassifyTemplate"])({"conditionMap[codeclassifyoid]":t.oid}).then((function(e){r.CloneFormlist=e.data.data.filter((function(e){if(""!=e.codeclassifyoid)return r.codeClassifyOid=e.codeclassifyoid,e.codeclassifyoid==r.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(l["gridCodeClassifyTemplate"])().then((function(t){e.Formlist=t.data.data})):Object(l["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(l["gridCodeClassifyTemplate"])({"conditionMap[codeclassifyoid]":this.nodeClickList.oid}).then((function(t){e.Formlist=t.data.data}))},CrudRowSave:function(e,t){var r=this;this.nodeClickList.length<=0?this.$message({type:"warning",message:"请先从树上选择一条数据!"}):(this.$set(e,"codeclassifyoid",this.nodeClickList.oid),Object(l["addSave"])(e).then((function(){r.$message({type:"success",message:"添加成功!"}),t(e),r.CrudRend()})).catch((function(e){r.$message({type:"info",message:e})}))),console.log("123",this.codeClassifyOid)},CrudRowUpdata:function(e,t,r){var a=this;Object(l["editSave"])(e).then((function(){a.CrudRend(),a.$message({type:"success",message:"操作成功!"}),r()})).catch((function(e){a.$message.error(e)}))},CrudRowDel:function(e){var t=this;Object(l["deleteData"])(e).then((function(){t.CrudRend()})).catch((function(e){t.$message({type:"info",message:e})}))},CloneEnterFind:function(){var e=this;Object(l["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,this.CloneModel.id=e[0].id,this.CloneModel.name=e[0].name,this.CloneSelect[0].codeclassifyoid=this.nodeClickList.oid},Clonesubmit:function(e,t){var r=this;this.CloneSelect[0].id=this.CloneModel.id,this.CloneSelect[0].name=this.CloneModel.name,Object(l["copy"])(this.CloneSelect[0]).then((function(){r.CloneinnerVisible=!1,r.CloneVisible=!1,r.$message.success("复制成功"),r.CrudRend(),t(e)})).catch((function(e){t(e)}))},TemRefresh:function(){var e=this;this.FormLoing=!0,""!=this.nodeClickList.oid?Object(l["gridCodeClassifyTemplate"])({"conditionMap[codeclassifyoid]":this.nodeClickList.oid}).then((function(t){e.Formlist=t.data.data.filter((function(t){return t.codeclassifyoid==e.nodeClickList.oid}))})):this.FormLoing=!0,setTimeout((function(){e.FormLoing=!1}),600)},upAndStopAndStart:function(e,t){var r=this;this.$confirm(this.upAndStopAndStartData[t]["tip"],"提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){r.$set(e,r.upAndStopAndStartData[t]["load"],!0);var a=e.ts,n=e.oid;r.upAndStopAndStartData[t]["funAPi"]({ts:a,oid:n}).then((function(a){200===a.data.code&&(r.$set(e,r.upAndStopAndStartData[t]["load"],!1),r.TemRefresh(),r.$message.success(r.upAndStopAndStartData[t]["typeText"]+"成功!"))})).catch((function(){r.$set(e,r.upAndStopAndStartData[t]["load"],!1)}))}))}}},f=p,m=(r("02d2"),r("2877")),h=Object(m["a"])(f,a,n,!1,null,"0b076840",null);t["default"]=h.exports},7227:function(e,t,r){"use strict";r.r(t);r("7f7f");var a=function(){var e=this,t=e._self._c;return t("basic-container",[t("div",{staticClass:"testbox"},[t("div"),t("el-row",{staticStyle:{height:"700px",width:"100%"}},[t("div",[e._l(e.masterVrBtnList,(function(r,a){return t("el-button",{key:a,attrs:{plain:"",size:"small",type:"primary"},on:{click:function(t){return e.handelBtnClick(r)}}},[e._v(e._s(r.name)+"\n ")])})),t("el-input",{staticStyle:{width:"180px","margin-left":"5px","margin-top":"10px"},attrs:{placeholder:"请输入关键字按回车查询",size:"small"},model:{value:e.WupinFindValue,callback:function(t){e.WupinFindValue=t},expression:"WupinFindValue"}})],2),0!=e.tableData.length?t("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.isLoading,expression:"isLoading"}],attrs:{data:e.tableData,"max-height":"700"},on:{"cell-click":e.handleCellClick,"selection-change":e.handleSelectionChange,"sort-change":e.sortChange}},[t("el-table-column",{attrs:{fixed:"",type:"selection",width:"55"}}),t("el-table-column",{attrs:{fixed:"",label:"序号",type:"index",width:"55"}}),e._l(this.tableHeadFindData,(function(e){return t("el-table-column",{key:e.id,attrs:{formatter:e.formatter,label:e.label,prop:e.prop,"show-overflow-tooltip":!0,sortable:e.sortable,width:e.label.length>=4?"150":3==e.label.length?"120":"90",align:"center"}})}))],2):e._e()],1),t("FormTemplateDialog",{attrs:{codeClassifyOid:this.codeClassifyOid,codeRuleOid:this.codeRuleOid,disabledProp:e.disabledProp,templateOid:e.templateOid,visible:e.addvisible,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:"已发布数据更改",type:e.edit,visible:e.DataVisible},on:{"update:visible":function(t){e.DataVisible=t}}}),t("set-personnel",{attrs:{parameter:this.parameter,visible:e.visibleFlow},on:{"update:visible":function(t){e.visibleFlow=t}}}),t("advanced-query",{attrs:{options:this.options,visible:e.findvisible},on:{"update:visible":function(t){e.findvisible=t},echoContion:e.echoContion}}),t("integration-transfer",{attrs:{data:e.transferData,props:e.transferProps,visible:e.dialogPush},on:{"update:visible":function(t){e.dialogPush=t},save:e.handelTransferSave}}),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}}})],1),t("div",{staticClass:"block",staticStyle:{display:"flex","justify-content":"flex-end"}},[t("el-pagination",{attrs:{"current-page":e.page.currentPage,"page-size":e.page.pageSizes,"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),e.batchImportData.visible?t("BatchImport",e._b({attrs:{visible:e.batchImportData.visible},on:{"update:visible":function(t){return e.$set(e.batchImportData,"visible",t)}}},"BatchImport",e.batchImportData,!1)):e._e()],1)},n=[],i=r("3907"),o=i["a"],s=(r("8a1e"),r("2877")),l=Object(s["a"])(o,a,n,!1,null,"376d5e73",null);t["default"]=l.exports},"736a":function(e,t,r){"use strict";r.r(t),r.d(t,"getList",(function(){return s})),r.d(t,"build",(function(){return l})),r.d(t,"remove",(function(){return c})),r.d(t,"add",(function(){return u})),r.d(t,"update",(function(){return d})),r.d(t,"copy",(function(){return p})),r.d(t,"getCode",(function(){return f}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-develop/code/list",method:"get",params:o(o({},r),{},{current:e,size:t})})},l=function(e){return Object(n["a"])({url:"/api/ubcs-develop/code/gen-code",method:"post",params:{ids:e,system:"saber"}})},c=function(e){return Object(n["a"])({url:"/api/ubcs-develop/code/remove",method:"post",params:{ids:e}})},u=function(e){return Object(n["a"])({url:"/api/ubcs-develop/code/submit",method:"post",data:e})},d=function(e){return Object(n["a"])({url:"/api/ubcs-develop/code/submit",method:"post",data:e})},p=function(e){return Object(n["a"])({url:"/api/ubcs-develop/code/copy",method:"post",params:{id:e}})},f=function(e){return Object(n["a"])({url:"/api/ubcs-develop/code/detail",method:"get",params:{id:e}})}},"741a":function(e,t,r){"use strict";r("7f7f"),r("6762");var a=r("902d");t["a"]={data:function(){return{secVOList:[],localSecVOList:[],showCodeApply:!1,selfColumnType:{codefixedsec:"combox",codeclassifysec:"refer",codevariablesec:"text",coderefersec:"refer"},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"},directVoluation:{search:!0,span:12,props:{label:"id",value:"id"}}},codeApplyForm:{}}},created:function(){"batchImportApply"===this.type&&this.getCodeRule()},methods:{getCodeRule:function(){var e=this;Object(a["getCodeRule"])({codeClassifyOid:this.codeClassifyOid}).then((function(t){if(t.data&&200===t.data.code){var r=["codefixedsec","codeclassifysec","codevariablesec","coderefersec"];e.secVOList=t.data.data.secVOList||[],e.localSecVOList=(t.data.data.secVOList||[]).filter((function(e){return r.includes(e.secType)})),e.localSecVOList.length>0&&(e.showCodeApply=!0,e.$nextTick((function(){e.$refs.CodeApply.templateRender(e.localSecVOList)})))}}))},getCodeApplyFormData:function(e){this.codeApplyForm=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"},r=e.fixedValueVOList.map((function(e){for(var r in t)if(Object.hasOwnProperty.call(t,r)){var a=t[r];e[r]=e[a]}return e}));return r}return[]},referConfigDataUpdate:function(e){var t=this,r=e.field;this.secVOList=this.secVOList.map((function(e){return e.parentClassifySecOid===r&&(t.$refs.CodeApply.form[e.oid]=void 0,t.$refs.CodeApply.form[e.name]=void 0),e})),this.$refs.CodeApply.templateRender(this.secVOList)}}}},"74b1":function(e,t,r){"use strict";r.r(t),r.d(t,"getList",(function(){return s})),r.d(t,"getPostList",(function(){return l})),r.d(t,"getDetail",(function(){return c})),r.d(t,"remove",(function(){return u})),r.d(t,"add",(function(){return d})),r.d(t,"update",(function(){return p}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-system/post/list",method:"get",params:o(o({},r),{},{current:e,size:t})})},l=function(e){return Object(n["a"])({url:"/api/ubcs-system/post/select",method:"get",params:{tenantId:e}})},c=function(e){return Object(n["a"])({url:"/api/ubcs-system/post/detail",method:"get",params:{id:e}})},u=function(e){return Object(n["a"])({url:"/api/ubcs-system/post/remove",method:"post",params:{ids:e}})},d=function(e){return Object(n["a"])({url:"/api/ubcs-system/post/submit",method:"post",data:e})},p=function(e){return Object(n["a"])({url:"/api/ubcs-system/post/submit",method:"post",data:e})}},7505:function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"menu-wrapper"},[e._l(e.menu,(function(r){return[e.validatenull(r[e.childrenKey])&&e.vaildRoles(r)?t("el-menu-item",{key:r[e.labelKey],class:{"is-active":e.vaildActive(r)},attrs:{index:r[e.pathKey]},on:{click:function(t){return e.open(r)}}},[t("i",{class:r[e.iconKey]}),t("span",{attrs:{slot:"title",alt:r[e.pathKey]},slot:"title"},[e._v(e._s(e.generateTitle(r)))])]):!e.validatenull(r[e.childrenKey])&&e.vaildRoles(r)?t("el-submenu",{key:r[e.labelKey],attrs:{index:r[e.pathKey]}},[t("template",{slot:"title"},[t("i",{class:r[e.iconKey]}),t("span",{class:{"el-menu--display":e.collapse&&e.first},attrs:{slot:"title"},slot:"title"},[e._v(e._s(e.generateTitle(r)))])]),e._l(r[e.childrenKey],(function(r,a){return[e.validatenull(r[e.childrenKey])?t("el-menu-item",{key:r[e.labelKey],class:{"is-active":e.vaildActive(r)},attrs:{index:r[e.pathKey],cindex:a},on:{click:function(t){return e.open(r)}}},[t("i",{class:r[e.iconKey]}),t("span",{attrs:{slot:"title"},slot:"title"},[e._v(e._s(e.generateTitle(r)))])]):t("sidebar-item",{key:a,attrs:{menu:[r],props:e.props,screen:e.screen,collapse:e.collapse}})]}))],2):e._e()]}))],2)},n=[],i=(r("8e6e"),r("ac6a"),r("456d"),r("6762"),r("2fdb"),r("ade3")),o=(r("c5f6"),r("5880")),s=r("c54a"),l=r("b297");function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){Object(i["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var d={name:"sidebarItem",data:function(){return{config:l["a"]}},props:{menu:{type:Array},screen:{type:Number},first:{type:Boolean,default:!1},props:{type:Object,default:function(){return{}}},collapse:{type:Boolean}},created:function(){},mounted:function(){},computed:u(u({},Object(o["mapGetters"])(["roles"])),{},{labelKey:function(){return this.props.label||this.config.propsDefault.label},pathKey:function(){return this.props.path||this.config.propsDefault.path},iconKey:function(){return this.props.icon||this.config.propsDefault.icon},childrenKey:function(){return this.props.children||this.config.propsDefault.children},isOpenKey:function(){return this.props.isOpen||this.config.propsDefault.isOpen},nowTagValue:function(){return this.$router.$avueRouter.getValue(this.$route)}}),methods:{generateTitle:function(e){return this.$router.$avueRouter.generateTitle(e[this.labelKey],(e.meta||{}).i18n)},vaildActive:function(e){var t=this;if(this.validIsOpen(e))return!1;var r=(e["group"]||[]).some((function(e){return t.$route.path.includes(e)}));return this.nowTagValue===e[this.pathKey]||r},vaildRoles:function(e){return e.meta=e.meta||{},!e.meta.roles||e.meta.roles.includes(this.roles)},validatenull:function(e){return Object(s["b"])(e)},validIsOpen:function(e){if(2===e[this.isOpenKey]&&Object(s["a"])(e[this.pathKey]))return!0},open:function(e){this.screen<=1&&this.$store.commit("SET_COLLAPSE"),this.validIsOpen(e)?window.open(e[this.pathKey]):(this.$router.$avueRouter.group=e.group,this.$router.$avueRouter.meta=e.meta,this.$router.push({path:this.$router.$avueRouter.getPath({name:e[this.labelKey],src:e[this.pathKey]},e.meta),query:e.query}))}}},p=d,f=r("2877"),m=Object(f["a"])(p,a,n,!1,null,null,null);t["default"]=m.exports},"76c2":function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"avue-searchs",on:{click:function(t){return t.target!==t.currentTarget?null:e.handleEsc.apply(null,arguments)}}},[t("div",{staticClass:"avue-searchs__title"},[e._v("菜单搜索")]),t("div",{staticClass:"avue-searchs__content"},[t("div",{staticClass:"avue-searchs__form"},[t("el-input",{attrs:{placeholder:e.$t("search")},nativeOn:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.handleEsc.apply(null,arguments)}},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}},[t("el-button",{attrs:{slot:"append",icon:"el-icon-search"},slot:"append"})],1),t("p",[t("el-tag",[e._v("你可以使用快捷键esc 关闭")])],1)],1),t("div",{staticClass:"avue-searchs__list"},[t("el-scrollbar",{staticClass:"avue-searchs__scrollbar"},e._l(e.menus,(function(r,a){return t("div",{key:a,staticClass:"avue-searchs__item",on:{click:function(t){return e.handleSelect(r)}}},[t("i",{class:[r[e.iconKey],"avue-searchs__item-icon"]}),t("span",{staticClass:"avue-searchs__item-title"},[e._v(e._s(r[e.labelKey]))]),t("div",{staticClass:"avue-searchs__item-path"},[e._v("\n "+e._s(r[e.pathKey])+"\n ")])])})),0)],1)])])},n=[],i=(r("8e6e"),r("ac6a"),r("456d"),r("7f7f"),r("ade3")),o=r("b297"),s=r("5880");function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){Object(i["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var u={data:function(){return{config:o["a"],value:"",menus:[],menuList:[]}},created:function(){this.getMenuList()},watch:{value:function(){this.querySearch()},menu:function(){this.getMenuList()}},computed:c({labelKey:function(){return this.website.menu.props.label||this.config.propsDefault.label},pathKey:function(){return this.website.menu.props.path||this.config.propsDefault.path},iconKey:function(){return this.website.menu.props.icon||this.config.propsDefault.icon},childrenKey:function(){return this.website.menu.props.children||this.config.propsDefault.children}},Object(s["mapGetters"])(["menu","website"])),methods:{handleEsc:function(){this.$parent.isSearch=!1},getMenuList:function(){var e=this,t=function t(r){for(var a=0;a<r.length;a++){var n=Object.assign({},r[a]);e.validatenull(n[e.childrenKey])?e.menuList.push(n):t(n[e.childrenKey])}};this.menuList=[],t(this.menu),this.menus=this.menuList},querySearch:function(){var e=this.menuList,t=this.value;this.menus=t?this.menuList.filter(this.createFilter(t)):e},createFilter:function(e){return function(t){return 0===t.name.toLowerCase().indexOf(e.toLowerCase())}},handleSelect:function(e){this.handleEsc(),this.value="",this.$router.push({path:this.$router.$avueRouter.getPath({name:e[this.labelKey],src:e[this.pathKey]},e.meta),query:e.query})}}},d=u,p=(r("1557"),r("2877")),f=Object(p["a"])(d,a,n,!1,null,"47d73e63",null);t["default"]=f.exports},"76e7":function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{title:e.title,visible:e.dialogVisible,"append-to-body":"true","destroy-on-close":"",width:"30%"},on:{"update:visible":function(t){e.dialogVisible=t},close:e.handelClose}},[t("el-form",{attrs:{model:e.form}},[t("el-form-item",{attrs:{label:"查询条件","label-width":"70px",size:"small"}},[t("el-input",{attrs:{autocomplete:"off"},on:{change:e.handleQuery},model:{value:e.inputVal,callback:function(t){e.inputVal=t},expression:"inputVal"}})],1)],1),t("p",{staticClass:"text_tip"},[e._v("*选择分类进行属性过滤, 或者输入属性的全拼或者简拼进行查询! 如: 姓名 (可输入xm或xinming )")]),t("transfer",{attrs:{data:e.newdata,"filter-method":e.filterMethod,"filter-placeholder":e.filterPlaceholder,props:e.props},model:{value:e.transferValue,callback:function(t){e.transferValue=t},expression:"transferValue"}}),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:function(t){e.visible=!1}}},[e._v("取 消")]),t("el-button",{attrs:{type:"primary"},on:{click:e.handelTransferSave}},[e._v("保 存")])],1)],1)},n=[],i=(r("8e6e"),r("456d"),r("20d6"),r("7f7f"),r("ac6a"),r("ade3")),o=r("49ce"),s=r("b0b8"),l=r.n(s);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){Object(i["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var d={components:{transfer:o["default"]},name:"IntegrationTransfer",props:{visible:{typeof:Boolean,default:!1},title:{typeof:String,default:"编码属性"},data:{typeof:Array,default:function(){return[]}},props:{typeof:Object,default:function(){return{label:"label",key:"key",disabled:"disabled"}}},disabledData:{typeof:Array,default:function(){return[]}},filterPlaceholder:{typeof:String,default:"请输入拼音全拼或者拼音缩写"}},data:function(){return{inputVal:"",transferValue:this.value,dialogVisible:this.visible}},watch:{visible:function(e){this.dialogVisible=e},dialogVisible:function(e){this.$emit("update:visible",e)}},computed:{newdata:function(){var e=this;l.a.setOptions({checkPolyphone:!1,charCase:1});var t=this.props.label,r=this.props.key,a=this.data.map((function(r){var a=u({disabled:!1},r);return 0!==e.disabledData.length&&e.disabledData.forEach((function(e){a[t]===e&&(a.disabled=!0)})),a}));return a.map((function(a){var n,o=l.a.getFullChars(a[e.props.label]),s=l.a.getCamelChars(a[e.props.label]),c=(n={pinyins:o,renPing:s},Object(i["a"])(n,t,a[e.props.label]),Object(i["a"])(n,r,a[e.props.key]),Object(i["a"])(n,"disabled",a.disabled),n);return c}))}},methods:{handleQuery:function(e){this.inputVal=e},filterMethod:function(e,t){return t.pinyins.indexOf(this.inputVal)>-1||t.renPing.indexOf(this.inputVal)>-1},handelClose:function(){this.transferValue=[],this.inputVal="",this.visible=!1},handelTransferSave:function(){var e=this,t=e.newdata,r=t.findIndex((function(t){return t.oid===e.transferValue[0].oid}));t[r].disabled=!0;var a={value:this.transferValue,data:t};e.$emit("save",a),e.transferValue=[],e.inputVal=""}}},p=d,f=(r("ccf1"),r("2877")),m=Object(f["a"])(p,a,n,!1,null,"6fbad40c",null);t["default"]=m.exports},7754:function(e,t,r){"use strict";r.r(t),r.d(t,"getList",(function(){return s})),r.d(t,"getParentList",(function(){return l})),r.d(t,"getChildList",(function(){return c})),r.d(t,"remove",(function(){return u})),r.d(t,"add",(function(){return d})),r.d(t,"update",(function(){return p})),r.d(t,"getDict",(function(){return f})),r.d(t,"getDictTree",(function(){return m})),r.d(t,"getDictionary",(function(){return h}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-system/dict/list",method:"get",params:o(o({},r),{},{current:e,size:t})})},l=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-system/dict/parent-list",method:"get",params:o(o({},r),{},{current:e,size:t})})},c=function(e,t,r,a){return Object(n["a"])({url:"/api/ubcs-system/dict/child-list",method:"get",params:o(o({},a),{},{current:e,size:t,parentId:r})})},u=function(e){return Object(n["a"])({url:"/api/ubcs-system/dict/remove",method:"post",params:{ids:e}})},d=function(e){return Object(n["a"])({url:"/api/ubcs-system/dict/submit",method:"post",data:e})},p=function(e){return Object(n["a"])({url:"/api/ubcs-system/dict/submit",method:"post",data:e})},f=function(e){return Object(n["a"])({url:"/api/ubcs-system/dict/detail",method:"get",params:{id:e}})},m=function(){return Object(n["a"])({url:"/api/ubcs-system/dict/tree?code=DICT",method:"get"})},h=function(e){return Object(n["a"])({url:"/api/ubcs-system/dict/dictionary",method:"get",params:e})}},"78e2":function(e,t,r){"use strict";r.r(t),r.d(t,"downloadHistoryImportTemplate",(function(){return n})),r.d(t,"downloadBatchApplyCodeTemplate",(function(){return i})),r.d(t,"downloadBatchImportApplyTemplate",(function(){return o})),r.d(t,"downloadErrorFile",(function(){return s})),r.d(t,"importDataShow",(function(){return l})),r.d(t,"getSuccessTable",(function(){return c})),r.d(t,"getResembleTable",(function(){return u})),r.d(t,"getFormTemplate",(function(){return d})),r.d(t,"getCurretnSelectedRowResemble",(function(){return p})),r.d(t,"submitHistoryimport",(function(){return f}));var a=r("b5c6"),n=function(e){return Object(a["a"])({url:"/api/ubcs-code/mdmEngineController/downloadImportExcelHistory",method:"get",params:e,responseType:"blob"})},i=function(e){return Object(a["a"])({url:"/api/ubcs-code/mdmEngineController/downloadTopImportExcel",method:"get",params:e,responseType:"blob"})},o=function(e){return Object(a["a"])({url:"/api/ubcs-code/mdmEngineController/downloadImportExcel",method:"get",params:e,responseType:"blob"})},s=function(e){return Object(a["a"])({url:"/api/ubcs-code/mdmEngineController/downloadErrorFile",method:"get",params:e,responseType:"blob"})},l=function(e){return Object(a["a"])({url:"/api/ubcs-code/mdmEngineController/gridclassifys",method:"get",params:{redisOid:e+"-class"}})},c=function(e){return Object(a["a"])({url:"/api/ubcs-code/mdmEngineController/gridValidata",method:"get",params:e})},u=function(e){return Object(a["a"])({url:"/api/ubcs-code/mdmEngineController/gridResemble",method:"get",params:e})};function d(e){return Object(a["a"])({url:"api/ubcs-code/ubcs-code/mdmEngineController/getFormDefineByTemplateOid",method:"get",params:e})}function p(e){return Object(a["a"])({url:"api/ubcs-code/ubcs-code/mdmEngineController/gridRowResemble",method:"get",params:e})}function f(e){return Object(a["a"])({url:"api/ubcs-code/ubcs-code/mdmEngineController/batchImportData",method:"post",data:e})}},7929:function(e,t,r){},"7a90":function(e,t,r){"use strict";r.r(t),r.d(t,"getadd",(function(){return s})),r.d(t,"getupdata",(function(){return l})),r.d(t,"allList",(function(){return c})),r.d(t,"getremove",(function(){return u})),r.d(t,"getPage",(function(){return d}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e){return Object(n["a"])({url:"/api/ubcs-system/value-range/submit",method:"post",data:e})},l=function(e){return Object(n["a"])({url:"/api/ubcs-system/value-range/submit",method:"post",data:e})},c=function(){return Object(n["a"])({url:"/api/ubcs-system/value-range/list",method:"get"})},u=function(e){return Object(n["a"])({url:"/api/ubcs-system/value-range/remove",method:"post",data:e})},d=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-system/value-range/page",method:"get",params:o(o({},r),{},{current:e,size:t})})}},"7c41":function(e,t,r){"use strict";r.r(t),r.d(t,"getPage",(function(){return s})),r.d(t,"getOnesearch",(function(){return l})),r.d(t,"getadd",(function(){return c})),r.d(t,"getupdata",(function(){return u})),r.d(t,"getremove",(function(){return d})),r.d(t,"combination",(function(){return p}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-system/strategy/page",method:"get",params:o(o({},r),{},{current:e,size:t})})},l=function(e){return Object(n["a"])({url:"/api/ubcs-system/strategy/one",method:"post",params:{id:e}})},c=function(e){return Object(n["a"])({url:"/api/ubcs-system/strategy/submit",method:"post",data:e})},u=function(e){return Object(n["a"])({url:"/api/ubcs-system/strategy/submit",method:"post",data:e})},d=function(e){return Object(n["a"])({url:"/api/ubcs-system/strategy/remove",method:"post",params:{ids:e}})},p=function(){return Object(n["a"])({url:"/api/ubcs-system/combination/select",method:"get"})}},"7d3a":function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"avue-logo"},[t("transition",{attrs:{name:"fade"}},[e.keyCollapse?t("span",{key:"0"},[t("img",{staticClass:"logimg",attrs:{src:"favicon.png"}})]):e._e()]),t("transition-group",{attrs:{name:"fade"}},[e.keyCollapse?e._e():[t("span",[t("img",{staticClass:"imgSpan",attrs:{src:e.imgurl}})]),t("span",{key:"1",staticClass:"avue-logo_title"},[t("span",[t("img",{staticClass:"imgSpan",attrs:{src:e.imgurl}})]),t("span",[e._v(" "+e._s(e.website.indexTitle))])])]],2)],1)},n=[],i=(r("8e6e"),r("ac6a"),r("456d"),r("ade3")),o=r("5880"),s=r("b0c50"),l=r.n(s);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){Object(i["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var d={name:"logo",data:function(){return{imgurl:l.a}},created:function(){},computed:u({},Object(o["mapGetters"])(["website","keyCollapse"])),methods:{}},p=d,f=(r("537b"),r("2877")),m=Object(f["a"])(p,a,n,!1,null,null,null);t["default"]=m.exports},"7d53":function(e,t,r){"use strict";r("c477")},"7e26":function(e,t,r){"use strict";r.r(t),r.d(t,"getListDataScope",(function(){return s})),r.d(t,"removeDataScope",(function(){return l})),r.d(t,"addDataScope",(function(){return c})),r.d(t,"updateDataScope",(function(){return u})),r.d(t,"getMenuDataScope",(function(){return d})),r.d(t,"getListApiScope",(function(){return p})),r.d(t,"removeApiScope",(function(){return f})),r.d(t,"addApiScope",(function(){return m})),r.d(t,"updateApiScope",(function(){return h})),r.d(t,"getMenuApiScope",(function(){return b}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-system/data-scope/list",method:"get",params:o(o({},r),{},{current:e,size:t})})},l=function(e){return Object(n["a"])({url:"/api/ubcs-system/data-scope/remove",method:"post",params:{ids:e}})},c=function(e){return Object(n["a"])({url:"/api/ubcs-system/data-scope/submit",method:"post",data:e})},u=function(e){return Object(n["a"])({url:"/api/ubcs-system/data-scope/submit",method:"post",data:e})},d=function(e){return Object(n["a"])({url:"/api/ubcs-system/data-scope/detail",method:"get",params:{id:e}})},p=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-system/api-scope/list",method:"get",params:o(o({},r),{},{current:e,size:t})})},f=function(e){return Object(n["a"])({url:"/api/ubcs-system/api-scope/remove",method:"post",params:{ids:e}})},m=function(e){return Object(n["a"])({url:"/api/ubcs-system/api-scope/submit",method:"post",data:e})},h=function(e){return Object(n["a"])({url:"/api/ubcs-system/api-scope/submit",method:"post",data:e})},b=function(e){return Object(n["a"])({url:"/api/ubcs-system/api-scope/detail",method:"get",params:{id:e}})}},"7eff":function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{title:e.title,width:"70%","append-to-body":"true",visible:e.dialogVisible},on:{"update:visible":function(t){e.dialogVisible=t},close:e.handelClose}},[t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:11}},[t("el-card",{staticClass:"box-card"},[t("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[t("span",[e._v("初始数据")]),e.showSearch?t("el-input",{staticClass:"input",attrs:{placeholder:"请输入搜索内容"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleEnter.apply(null,arguments)}},model:{value:e.searchLeft,callback:function(t){e.searchLeft=t},expression:"searchLeft"}}):e._e()],1),t("el-table",{ref:"transferTable",attrs:{data:e.leftData,height:"500","highlight-current-row":"","tooltip-effect":"dark"},on:{"selection-change":e.handleLeftSelectionChange,"row-click":e.handleLeftRowClick}},[t("el-table-column",{attrs:{type:"selection",width:"50",align:"center",fixed:"left"}}),e._l(e.columns,(function(r,a){return t("div",{key:a},[r.visible?t("el-table-column",{attrs:{label:r.label,align:"center",prop:r.key}}):e._e()],1)}))],2)],1)],1),t("el-col",{staticClass:"btns",style:{height:"500px"},attrs:{span:2}},[t("el-button",{staticClass:"btn",attrs:{disabled:e.leftMultiple,type:"primary",icon:"el-icon-arrow-right",circle:""},on:{click:e.moveToRight}}),t("el-button",{staticClass:"btn",attrs:{disabled:e.rightMultiple,type:"primary",icon:"el-icon-arrow-left",circle:""},on:{click:e.moveToLeft}})],1),t("el-col",{attrs:{span:11}},[t("el-card",{staticClass:"box-card"},[t("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[t("span",[e._v("改变数据")]),e.showSearch?t("el-input",{staticClass:"input",attrs:{placeholder:"请输入搜索内容"},model:{value:e.searchRight,callback:function(t){e.searchRight=t},expression:"searchRight"}}):e._e()],1),t("el-table",{ref:"transferRightTable",attrs:{data:e.rightData,height:"500","highlight-current-row":"","tooltip-effect":"dark"},on:{"selection-change":e.handleRightSelectionChange,"row-click":e.handleRightRowClick}},[t("el-table-column",{attrs:{type:"selection",width:"50",align:"center",fixed:"left"}}),e._l(e.columns,(function(r,a){return t("div",{key:a},[r.visible?t("el-table-column",{attrs:{label:r.label,align:"center",prop:r.key}}):e._e()],1)}))],2)],1)],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:function(t){e.dialogVisible=!1}}},[e._v("取 消")]),t("el-button",{attrs:{type:"primary"},on:{click:e.tableTransferSave}},[e._v("保存")])],1)],1)},n=[],i=(r("6762"),r("2fdb"),r("20d6"),r("2909")),o={name:"TableTransfer",model:{prop:"value",event:"change"},props:{visible:{typeof:Boolean,default:!1},title:{typeof:String,default:"模板阶段维护"},value:{type:Array,default:function(){return[]}},keyName:{type:String,default:"oid"},columns:{type:Array,default:function(){return[]}},dataList:{type:Array,default:function(){return[]}},showSearch:{type:Boolean,default:!0}},watch:{visible:function(e){this.dialogVisible=e},dialogVisible:function(e){this.$emit("update:visible",e)},searchLeft:{handler:function(){this.handleQueryLeft()},deep:!0},searchRight:{handler:function(){this.handleQueryRight()},deep:!0}},data:function(){return{dialogVisible:this.visible,indeterminate:!1,isCheck:!1,searchLeft:"",leftIds:[],leftMultiple:!0,leftDataList:[],leftData:[],searchRight:"",rightIds:[],rightMultiple:!0,rightDataList:[],rightData:[]}},mounted:function(){this.init(),console.log(this.$refs.transferTable)},methods:{init:function(){var e=this;e.rightIds=e.value;for(var t=function(t){e.value.some((function(r){return r==e.dataList[t][e.keyName]}))&&e.rightDataList.push(e.dataList[t]),e.leftDataList.push(e.dataList[t])},r=0;r<e.dataList.length;r++)t(r);e.leftData=Object(i["a"])(e.leftDataList),e.rightData=Object(i["a"])(e.rightDataList)},handleLeftSelectionChange:function(e){var t=this;this.leftIds=e.map((function(e){return e[t.keyName]})),this.leftMultiple=!e.length},handleRightSelectionChange:function(e){var t=this;this.rightIds=e.map((function(e){return e[t.keyName]})),this.rightMultiple=!e.length},moveToRight:function(){for(var e=this,t=function(t){var r=e.leftIds.findIndex((function(r){return r==e.leftDataList[t][e.keyName]}));if(-1!==r){for(var a=e.leftDataList[t],n=a["id"],i=!0,o=0;o<e.rightDataList.length;o++){var s=e.rightDataList[o],l=s["id"];if(l==n){i=!1;break}}i&&(e.rightDataList.push(e.leftDataList[t]),e.leftDataList[t].checked=!0)}},r=0;r<this.leftDataList.length;r++)t(r);this.leftData=this.setData(this.leftDataList,this.searchLeft),this.rightData=this.setData(this.rightDataList,this.searchRight),this.$emit("change",this.rightDataList.map((function(t){return t[e.keyName]})))},moveToLeft:function(){for(var e=this,t=function(t){var a=e.rightIds.findIndex((function(r){return r==e.rightDataList[t][e.keyName]}));-1!==a&&(e.leftDataList[t].checked=!1,e.$delete(e.rightDataList,t),t--),r=t},r=0;r<this.rightDataList.length;r++)t(r);console.log(this.rightDataList),this.leftData=this.setData(this.leftDataList,this.searchLeft),this.rightData=this.setData(this.rightDataList,this.searchRight),this.$emit("change",this.rightDataList.map((function(t){return t[e.keyName]})))},handleQueryLeft:function(){this.leftData=this.setData(this.leftDataList,this.searchLeft)},handleQueryRight:function(){this.rightData=this.setData(this.rightDataList,this.searchRight)},handleLeftRowClick:function(e){this.leftData?this.$refs.transferTable.toggleRowSelection(e):this.$refs.transferTable.clearSelection()},handleRightRowClick:function(e){this.rightData?this.$refs.transferRightTable.toggleRowSelection(e):this.$refs.transferRightTable.clearSelection()},setData:function(e,t){var r=this;if(null!=t||""!=t){for(var a=[],n=function(n){r.columns.some((function(r){return e[n][r.key].toLowerCase().includes(t.toLowerCase())}))&&a.push(e[n])},i=0;i<e.length;i++)n(i);return a}return e},change:function(e){console.log(e),console.log(this.value)},done:function(){this.leftData=[],this.leftDataList=[],this.rightDataList=[],this.rightData=[],this.dialogVisible=!1},tableTransferSave:function(){this.$emit("save",this.rightData),this.done()},handelClose:function(){this.$emit("close"),this.done()}}},s=o,l=(r("86af"),r("2877")),c=Object(l["a"])(s,a,n,!1,null,"0a64f625",null);t["default"]=c.exports},"7f21":function(e,t,r){"use strict";r.r(t);r("7f7f");var a=function(){var e=this,t=e._self._c;return t("el-dialog",{staticStyle:{height:"115vh"},attrs:{title:"业务类型",visible:e.showSubmitDialog,"append-to-body":"",width:"70%"},on:{"update:visible":function(t){e.showSubmitDialog=t},close:e.closeSubmitDialog}},[t("el-form",{ref:"form",staticClass:"btmTypeForm",attrs:{model:e.btmType,"show-message":"true",inline:"",size:"medium","label-suffix":":",rules:e.rules,"status-icon":"true"},on:{resetFields:e.resetForm}},[t("el-form-item",{attrs:{label:"英文名称","label-width":"100px",required:"true",prop:"id"}},[t("el-input",{attrs:{"prefix-icon":e.icons.key},model:{value:e.btmType.id,callback:function(t){e.$set(e.btmType,"id",t)},expression:"btmType.id"}})],1),t("el-form-item",{attrs:{label:"中文名称","label-width":"100px"}},[t("el-input",{attrs:{"prefix-icon":e.icons.name},model:{value:e.btmType.name,callback:function(t){e.$set(e.btmType,"name",t)},expression:"btmType.name"}})],1),t("el-form-item",{attrs:{label:"数据库表名","label-width":"100px"}},[t("el-input",{attrs:{"prefix-icon":e.icons.tableName},model:{value:e.btmType.tableName,callback:function(t){e.$set(e.btmType,"tableName",t)},expression:"btmType.tableName"}})],1),t("el-form-item",{attrs:{label:"所属领域","label-width":"100px",prop:"domain"}},[t("el-select",{attrs:{"prefix-icon":e.icons.domain},model:{value:e.btmType.domain,callback:function(t){e.$set(e.btmType,"domain",t)},expression:"btmType.domain"}},e._l(e.domainOption,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),t("el-form-item",{attrs:{label:"版本规则","label-width":"100px"}},[t("el-input",{staticClass:"revisionRule",attrs:{"prefix-icon":e.icons.revisionRule,clearable:""},on:{focus:e.openRevision,clear:e.clearRevision},model:{value:e.btmType.revisionRuleName,callback:function(t){e.$set(e.btmType,"revisionRuleName",t)},expression:"btmType.revisionRuleName"}},[t("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"suffix"},slot:"suffix"})])],1),t("el-form-item",{attrs:{label:"生命周期","label-width":"100px"}},[t("el-input",{attrs:{"prefix-icon":e.icons.lifeCycle},model:{value:e.btmType.lifeCycleId,callback:function(t){e.$set(e.btmType,"lifeCycleId",t)},expression:"btmType.lifeCycleId"}},[t("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"suffix"},slot:"suffix"})])],1),t("div",[t("el-form-item",{staticClass:"viewFlag",attrs:{label:"开启视图","label-width":"100px"}},[t("el-switch",{attrs:{"active-color":"#13ce66"},on:{change:e.viewChange},model:{value:e.btmType.viewFlag,callback:function(t){e.$set(e.btmType,"viewFlag",t)},expression:"btmType.viewFlag"}})],1),t("el-form-item",{attrs:{label:"视图语句","label-width":"100px"}},[t("el-input",{attrs:{"prefix-icon":e.icons.view,disabled:!e.btmType.viewFlag},model:{value:e.btmType.view,callback:function(t){e.$set(e.btmType,"view",t)},expression:"btmType.view"}})],1)],1),t("el-form-item",{staticClass:"description",attrs:{label:"描述","label-width":"100px"}},[t("el-input",{staticClass:"descClass",attrs:{"prefix-icon":e.icons.desc,id:"descId"},model:{value:e.btmType.description,callback:function(t){e.$set(e.btmType,"description",t)},expression:"btmType.description"}})],1)],1),t("avue-crud",{ref:"attrTable",attrs:{option:e.option,data:e.btmType.attributes,page:e.page},on:{"update:page":function(t){e.page=t}},scopedSlots:e._u([{key:"menuLeft",fn:function(r){return[t("el-button",{attrs:{type:"danger",icon:"el-icon-plus",size:"small"},on:{click:function(t){return e.rowAdd()}}},[e._v("属性选择")])]}},{key:"menu",fn:function(r){var a=r.row,n=r.index;return[a.$cellEdit?e._e():t("el-button",{attrs:{icon:"el-icon-edit",size:"small",type:"text"},on:{click:function(t){return e.cellEditClick(a)}}},[e._v("编辑")]),a.$cellEdit?e._e():t("el-button",{attrs:{icon:"el-icon-delete",size:"small",type:"text"},on:{click:function(t){return e.removeFormAttrTable(a,n)}}},[e._v("移除")]),a.$cellEdit?t("el-button",{attrs:{icon:"el-icon-check",size:"small",type:"text"},on:{click:function(t){return e.cellEditSave(a,n)}}},[e._v("保存")]):e._e()]}}])}),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary"},on:{click:e.submitBtmType}},[e._v("确定")]),t("el-button",{on:{click:e.cancleSubmitBtmType}},[e._v("取消")])],1),t("el-dialog",{attrs:{title:"属性池",visible:e.attrRef.visible,"append-to-body":"",width:"80%"},on:{close:e.closeAttrDialog}},[t("avue-crud",{directives:[{name:"loading",rawName:"v-loading",value:e.attrRef.loading,expression:"attrRef.loading"}],ref:"attrRef",staticClass:"attrRef",attrs:{option:e.attrRef.option,data:e.attrRef.data,page:e.attrRef.page},on:{"update:page":function(t){return e.$set(e.attrRef,"page",t)},"on-load":e.attrRefOnLoad,"search-change":e.attrRefSearch,"selection-change":e.selectionChange},scopedSlots:e._u([{key:"typeValue",fn:function(r){return[t("el-tag",[e._v(e._s(r.row.typeValue))])]}}])}),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:e.confirmSelectAttr}},[e._v("确定")]),t("el-button",{on:{click:e.cancleSelectAttr}},[e._v("取消")])],1)],1),t("el-dialog",{attrs:{title:"请选择版本规则",visible:e.revisionRef.visible,"append-to-body":"",width:"80%"},on:{"update:visible":function(t){return e.$set(e.revisionRef,"visible",t)}}},[t("avue-crud",{ref:"revisionRef",staticClass:"revisionRef",attrs:{option:e.revisionRef.option,data:e.revisionRef.data,page:e.revisionRef.page},on:{"update:page":function(t){return e.$set(e.revisionRef,"page",t)},"row-click":e.revisionClick},scopedSlots:e._u([{key:"radio",fn:function(r){var a=r.row;return[t("el-radio",{attrs:{label:a.$index},model:{value:e.revisionRef.selectRow,callback:function(t){e.$set(e.revisionRef,"selectRow",t)},expression:"revisionRef.selectRow"}},[e._v(" \n ")])]}}])}),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary"},on:{click:e.confirmRevision}},[e._v("确定")]),t("el-button",{on:{click:e.cancelRevision}},[e._v("取消")])],1)],1)],1)},n=[],i=(r("ac6a"),r("96cf"),r("1da1")),o=r("d772"),s=r("6872"),l=r("b1ca"),c={name:"BusinessAdd",props:{btmType:{type:Object},domainOption:{type:Array},icons:{type:Array}},data:function(){return{form:{},showSubmitDialog:!1,option:{height:"330px",selection:!1,headerAlign:"center",border:!0,index:!0,rowKey:"id",tabs:!0,menu:!0,editBtn:!1,delBtn:!1,menuWidth:150,addBtn:!1,highlightCurrentRow:!0,column:[{label:"英文名称",prop:"id",align:"center"},{label:"中文名称",prop:"name",align:"center",cell:!0},{label:"类型",prop:"attrDataType",align:"center",slot:!0},{label:"默认值",prop:"defaultValue",align:"center",cell:!0},{label:"说明",prop:"description",align:"center",cell:!0}]},attrRef:{visible:!1,page:{currentPage:1,pageSize:10},loading:!1,key:null,option:{height:360,addBtn:!1,refreshBtn:!1,columnBtn:!1,selection:!0,menu:!1,border:!0,reserveSelection:!0,searchMenuSpan:8,highlightCurrentRow:!0,rowKey:"id",column:[{label:"英文名称",prop:"id",align:"left",search:!0,width:230},{label:"中文名称",prop:"name",align:"center"},{label:"类型",prop:"typeValue",align:"center",slot:!0},{label:"默认值",prop:"defaultValue",align:"center"},{label:"允许为空",prop:"nullable",type:"switch",display:!1,hide:!0,labelWidth:132,dicData:[{label:"否",value:1},{label:"是",value:0}]},{label:"说明",prop:"description",cell:!0,align:"center"}]},data:[],queryNotIn:""},revisionRef:{visible:!1,page:{currentPage:1,pageSize:10},selectRow:"",searchKey:null,option:{height:360,addBtn:!1,refreshBtn:!1,columnBtn:!1,menu:!1,border:!0,reserveSelection:!0,searchMenuSpan:8,searchShowBtn:!1,highlightCurrentRow:!0,column:[{label:"选择",prop:"radio",width:60,hide:!1},{label:"英文名称",prop:"id",search:!0},{label:"中文名称",prop:"name",search:!0},{label:"跳跃字符",prop:"skipCode"},{label:"初始值",prop:"startCode"},{label:"步长",prop:"serialStep"},{label:"前缀",prop:"prefixCode"},{label:"后缀",prop:"suffixCode"},{label:"描述",prop:"description",type:"textarea"}]}},rules:{id:[{required:!0,message:"请输入业务类型编号",trigger:"blur"},{pattern:/^[A-Za-z]+$/,message:"业务类型编号只能为英文",trigger:"blur"},{min:2,max:20,message:"长度在2到20个字符",trigger:"blur"}],domain:[{required:!0,message:"请选择所属领域",trigger:"blur"}]}}},created:function(){},methods:{closeSubmitDialog:function(){this.showSubmitDialog=!1,this.btmType.attributes=[],this.btmType={},this.attrRef.selectData=[],this.attrRef.queryNotIn=null,this.resetForm()},closeAttrDialog:function(){this.attrRef.visible=!1},rowAdd:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.attrRefOnLoad();case 2:this.attrRef.visible=!0;case 3:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),attrRefOnLoad:function(){var e=this;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 r=t.data.data;e.attrRef.page.total=r.total,e.attrRef.data=r.records})),setTimeout((function(){e.attrRef.loading=!1}),600),this.$nextTick((function(){e.$refs.attrRef.refreshTable()}))},attrRefSearch:function(e,t){this.attrRef.key=e.key,this.attrRefOnLoad(),t(),this.attrRef.key=null},removeFormAttrTable:function(e,t){var r=this;this.btmType.attributes.splice(t,1),this.attrRef.queryNotIn="",this.btmType.attributes.forEach((function(e){r.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,typeValue:t.typeValue,typeKey:t.typeValue,attrDataType:t.typeKey,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;console.log(this.btmType),Object(o["add"])(this.btmType,!0).then((function(t){e.$message.success("保存成功"),e.cancleSubmitBtmType(),e.$emit("refreshTable")}))},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){console.log(e),e.$cellEdit=!0},cellEditSave:function(e){this.btmType.attributes[e.$index].name=e.name,this.btmType.attributes[e.$index].defaultValue=e.defaultValue,this.btmType.attributes[e.$index].description=e.description,e.$cellEdit=!1},openRevision:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(l["getPage"])().then((function(e){t.revisionRef.data=e.data.data.records}));case 2:this.revisionRef.visible=!0;case 3:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),closeRevisionDialog:function(){this.revisionRef.visible=!1},revisionRefSearch:function(){},revisionChange:function(){},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()},cancelRevision:function(){this.revisionRef.selectRow="",this.revisionRef.selectData={},this.closeRevisionDialog()},revisionClick:function(e){this.revisionRef.selectRow=e.$index,this.revisionRef.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")},resetForm:function(){this.btmType={},this.$refs.form.resetFields()}}},u=c,d=(r("2eac"),r("2877")),p=Object(d["a"])(u,a,n,!1,null,null,null);t["default"]=p.exports},"81b9":function(e,t,r){"use strict";r.r(t),r.d(t,"businese",(function(){return s}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e){return Object(n["a"])({url:"/api/ubcs-code/mdmEngineController/getTableDataByOids",method:"get",params:o({},e)})}},8294:function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{title:e.title,visible:e.dialogVisible,width:"1300px","append-to-body":"",top:"5vh"},on:{"update:visible":function(t){e.dialogVisible=t}},scopedSlots:e._u([{key:"footer",fn:function(){return[t("div",[t("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.submit}},[e._v("确定导入")]),t("el-button",{attrs:{size:"small"},on:{click:function(t){e.dialogVisible=!1}}},[e._v("取消")])],1)]},proxy:!0}])},[t("div",{staticClass:"flex_box"},[t("div",{directives:[{name:"show",rawName:"v-show",value:"batchImportApply"!==e.type,expression:"type !== 'batchImportApply'"}],staticClass:"left",style:{width:e.leftWidth+"px"}},[t("div",{staticClass:"isExpand_box"},[t("el-link",{attrs:{type:"primary"},on:{click:e.hideTree}},[t("i",{class:e.isExpand?"el-icon-arrow-left":"el-icon-arrow-right"}),e._v("\n "+e._s(e.isExpand?"收缩":"展开")+"\n ")])],1),t("el-input",{directives:[{name:"show",rawName:"v-show",value:e.isExpand,expression:"isExpand"}],attrs:{placeholder:"输入关键字进行过滤",size:"small"},model:{value:e.filterText,callback:function(t){e.filterText=t},expression:"filterText"}}),t("el-tree",{directives:[{name:"show",rawName:"v-show",value:e.isExpand,expression:"isExpand"}],ref:"tree",staticClass:"filter_tree",attrs:{data:e.leftTree,"node-key":"codeClassifyOid","default-expand-all":"","highlight-current":"","filter-node-method":e.filterNode,props:{label:"name"}},on:{"node-click":e.treeNodeClick}})],1),t("div",{staticClass:"right",style:{width:1280-e.leftWidth-60+"px"}},[t("div",{staticClass:"tab_box",staticStyle:{width:"100%"}},[t("el-tabs",{staticStyle:{width:"100%"},attrs:{type:"card",size:"small"},on:{"tab-click":e.handleClick},model:{value:e.activeTab,callback:function(t){e.activeTab=t},expression:"activeTab"}},[t("el-tab-pane",{attrs:{label:e.tab1Name,name:"tab1"}},[e.cloNamesList.length>1?t("el-table",{staticStyle:{width:"100%"},attrs:{border:"",data:e.tab1Table,height:"400px","highlight-current-row":""},on:{"current-change":e.resembleRowChange,"selection-change":e.tab1TableSelectChange}},[t("el-table-column",{attrs:{type:"selection",width:"100px",align:"center"}}),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",{staticStyle:{width:"100%"},attrs:{border:"",data:e.currentSelectedResemble,height:"200px"}},[e._l(e.resembleColumList,(function(r){return t("el-table-column",{key:r.field,attrs:{prop:r.field,label:r.title,minWidth:r.minWidth,align:"center"},scopedSlots:e._u([{key:"default",fn:function(a){var n=a.row;return["id"===r.field?t("span",[t("el-link",{attrs:{type:"primary"},on:{click:function(t){return e.openFormTemlpate(n)}}},[e._v(e._s(n[r.field]))])],1):t("span",[e._v("\n "+e._s(n[r.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",{attrs:{border:"",data:e.tab2Table,height:"600px"}},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"}})})),1)],1)],1)],1)])]),t("FormTemplateDialog",e._b({ref:"FormTemplateDialog",attrs:{type:"detail",visible:e.currentSelectedResembleRow.visible,title:"查看详细信息"},on:{"update:visible":function(t){return e.$set(e.currentSelectedResembleRow,"visible",t)}}},"FormTemplateDialog",e.currentSelectedResembleRow,!1))],1)},n=[],i=(r("7f7f"),r("78e2")),o=r("6657"),s=r("8cf2"),l=(r("741a"),{name:"ShowImportData",components:{ResembleQuery:o["default"],FormTemplate:s["default"]},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{}}}},computed:{dialogVisible:{get:function(){return this.visible},set:function(e){this.$emit("update:visible",e)}}},data:function(){return{isExpand:!0,filterText:"",leftWidth:200,templateOid:null,tab1Name:"相似项",tab2Name:"正确数据",tab1Table:[],selectedTab1Table:[],tab2Table:[],activeTab:"tab1",cloNamesList:[],localCodeClassifyOid:"",resembleColumList:[],currentSelectedResemble:[],currentSelectedResembleRow:{templateOid:"",codeClassifyOid:"",rowOid:"",formTemplateVisible:!1},secVOList:[]}},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(e){var t=this;console.log(e),this.localCodeClassifyOid=e.codeClassifyOid,this.cloNamesList=e.cloNamesList,this.templateOid=e.oid,Object(i["getResembleTable"])({codeClassifyOid:this.templateOid,redisOid:this.redisOid+"-resemble"}).then((function(e){t.tab1Table=e.data.data})),Object(i["getSuccessTable"])({codeClassifyOid:this.templateOid,redisOid:this.redisOid+"-ok"}).then((function(e){t.tab2Table=e.data.data})),Object(i["getFormTemplate"])({templateOid:e.oid,codeClassifyOid:this.localCodeClassifyOid}).then((function(e){t.resembleColumList=e.data.resembleTableVO.cols[0]}))},tab1TableSelectChange:function(e){this.selectedTab1Table=e},resembleRowChange:function(e){var t=this;Object(i["getCurretnSelectedRowResemble"])({redisOid:this.redisOid+"-resemble-data",dataOid:e.oid}).then((function(e){t.currentSelectedResemble=e.data.data}))},openFormTemlpate:function(e){this.currentSelectedResembleRow={visible:!0,templateOid:e.codetemplateoid,codeClassifyOid:this.localCodeClassifyOid,rowOid:e.rowOid}},submit:function(){var e=this,t={classifyAttr:"historyImport"===this.type?this.classifyAttr:void 0,improt:"historyImport"===this.type,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}}]};Object(i["submitHistoryimport"])(t).then((function(t){console.log(t),200===t.data.code?e.$message.success(t.data.msg):e.$message.error(t.data.msg)}))}},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]),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))}}}}),c=l,u=(r("d08e"),r("2877")),d=Object(u["a"])(c,a,n,!1,null,"7ce00e57",null);t["default"]=d.exports},"832b":function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e._self._c;return t("el-dialog",{staticStyle:{height:"115vh","margin-top":"-10vh",overflow:"hidden"},attrs:{title:"高级查询","append-to-body":"",width:"55vw",visible:e.isShowDialog,"lock-scroll":"","close-on-click-modal":!1},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(r,a){return t("el-row",{key:r.queryField,attrs:{span:24}},[t("el-col",{attrs:{span:5}},[t("div",{staticClass:"grid-content"},[t("el-select",{attrs:{disabled:"",placeholder:"请选择"},model:{value:e.searchFormArrays[a].queryField,callback:function(t){e.$set(e.searchFormArrays[a],"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[a].condition,callback:function(t){e.$set(e.searchFormArrays[a],"condition",t)},expression:"searchFormArrays[index].condition"}},e._l(r.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"===r.fieldType||""===r.fieldType?t("el-input",{attrs:{type:"text",placeholder:"请输入"},model:{value:e.searchFormArrays[a].fieldValue,callback:function(t){e.$set(e.searchFormArrays[a],"fieldValue",t)},expression:"searchFormArrays[index].fieldValue"}}):"combox"===r.fieldType?t("el-select",{attrs:{placeholder:"请选择"},model:{value:e.searchFormArrays[a].fieldValue,callback:function(t){e.$set(e.searchFormArrays[a],"fieldValue",t)},expression:"searchFormArrays[index].fieldValue"}},e._l(r.data,(function(e){return t("el-option",{key:e.itemValue,attrs:{label:e.itemName,value:e.itemValue}})})),1):"truefalse"===r.fieldType?t("el-switch",{model:{value:e.searchFormArrays[a].fieldValue,callback:function(t){e.$set(e.searchFormArrays[a],"fieldValue",t)},expression:"searchFormArrays[index].fieldValue"}}):"datetime"===r.fieldType?t("el-date-picker",{attrs:{type:"date",placeholder:"选择日期"},model:{value:e.searchFormArrays[a].fieldValue,callback:function(t){e.$set(e.searchFormArrays[a],"fieldValue",t)},expression:"searchFormArrays[index].fieldValue"}}):"refer"===r.fieldType?t("vci-web-refer",{attrs:{referConfig:r.referConfigData||{},value:e.searchFormArrays[a].fieldValue,text:r.showField,display:!r.hidden},on:{setReferValue:function(t){return e.setReferValue(t,a)}}}):e._e()],1)]),t("el-col",{attrs:{span:2}},[t("div",{staticClass:"grid-content"},[t("i",{staticClass:"el-icon-close",on:{click:function(t){return e.removeInput(a)}}})])])],1)})),1)])])},n=[],i=(r("ac6a"),r("35a0")),o=r("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 r=[];this.initOptions.forEach((function(t,a){if("combox"===t.fieldType){var n=JSON.parse(localStorage.getItem(t.comboxKey));null!=n?t.data=n:Object(i["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?e.dateConditions:"datetime"===t.fieldType?e.switchSearchConditions: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("")};r.push(s)})),this.searchFormArrays=r}},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,r=0;r<t.length;r++)if(t[r].fieldValue+""!=""||t[r].fieldValue+""==="false"){if(e["conditionMap["+t[r].queryField+"]"]+""!="undefined")return this.$message.warning("存在重复查询条件,请仔细核对!"),console.log(e["conditionMap["+t[r].queryField+"]"]),!1;e["conditionMap["+t[r].queryField+t[r].condition+"]"]=t[r].fieldValue}console.log(e),this.$emit("echoContion",e),this.isShowDialog=!1}}},l=s,c=(r("57af"),r("2877")),u=Object(c["a"])(l,a,n,!1,null,"50969086",null);t["default"]=u.exports},8400:function(e,t,r){},"84df":function(e,t,r){"use strict";r.d(t,"a",(function(){return a})),r.d(t,"b",(function(){return n})),r.d(t,"c",(function(){return i}));r("3b2b"),r("a481");var a=function(e,t){var r=t-e,a=Math.floor(r/864e5),n=r%864e5,i=Math.floor(n/36e5),o=n%36e5,s=Math.floor(o/6e4),l=o%6e4,c=Math.round(r/1e3);return{leave1:n,leave2:o,leave3:l,days:a,hours:i,minutes:s,seconds:c}};function n(e,t){if(t=t||"yyyy-MM-dd hh:mm:ss","Invalid Date"!==e){var r={"M+":e.getMonth()+1,"d+":e.getDate(),"h+":e.getHours(),"m+":e.getMinutes(),"s+":e.getSeconds(),"q+":Math.floor((e.getMonth()+3)/3),S:e.getMilliseconds()};for(var a in/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(e.getFullYear()+"").substr(4-RegExp.$1.length))),r)new RegExp("("+a+")").test(t)&&(t=t.replace(RegExp.$1,1===RegExp.$1.length?r[a]:("00"+r[a]).substr((""+r[a]).length)));return t}return""}function i(){return n(new Date,"yyyyMMddhhmmss")}},8572:function(e,t,r){},"85ad":function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e._self._c;return t("el-dialog",{staticStyle:{height:"110vh","margin-top":"-12vh","overflow-y":"hidden"},attrs:{title:e.options.title,"append-to-body":"",visible:e.crudParams.isShowDialog,width:"65%","destroy-on-close":""},on:{"update:visible":function(t){return e.$set(e.crudParams,"isShowDialog",t)},close:e.clearTableRowSelection}},[t("avue-crud",{ref:e.crudParams.ref,attrs:{option:e.crudParams.crudOption,"table-loading":e.crudParams.crudLoading,data:e.crudParams.crudData},on:{"row-click":e.selectedBtmTypeAttrRowClick,"selection-change":e.selectionBtmTypeAttrChange,"search-change":e.selectedBtmTypeAttrSrchChange,"search-reset":e.selectedBtmTypeAttrSrchReset}}),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary"},on:{click:e.selectedBtmTypeAttr}},[e._v("确 定")]),t("el-button",{on:{click:function(t){e.crudParams.isShowDialog=!1}}},[e._v("取 消")])],1)],1)},n=[],i=(r("456d"),r("ac6a"),r("ade3")),o=r("cb4a"),s={name:"referSelectBtmAttrDialog",props:{visible:{type:"Boolean",default:!1}},watch:{visible:function(){this.crudParams.isShowDialog=this.visible}},data:function(){var e;return{crudParams:{ref:"selectedAttrCrud",isShowDialog:this.visible,crudLoading:!1,crudOption:(e={border:!0,height:"250px",tip:!1,index:!0,selection:!0,addBtn:!1,menu:!1,disablePage:!1,searchShowBtn:!1,columnBtn:!1,dialogClickModal:!1,highlightCurrentRow:!0,searchMenuSpan:5,align:"center",menuAlign:"center"},Object(i["a"])(e,"border",!0),Object(i["a"])(e,"column",[{label:"属性英文编号",width:120,search:!0,searchSpan:8,searchLabelWidth:100,prop:"id"},{label:"属性中文名称",search:!0,searchSpan:8,searchLabelWidth:100,prop:"name"},{label:"属性长度",search:!1,prop:"attributeLength"},{label:"属性类型",search:!1,prop:"attrDataTypeText"}]),e),crudData:[],crudQuery:{},crudSelectedRowData:[]},options:{}}},methods:{clearTableRowSelection:function(){this.crudParams.crudSelectedRow="",this.crudParams.crudSelectedRowData="",this.$emit("update:visible",!1)},selectedBtmTypeAttrOnLoad:function(e){var t=this;this.options=e,this.crudParams.crudLoading=!0;var r={};this.crudParams.crudQuery&&Object.keys(this.crudParams.crudQuery).forEach((function(e){r["conditionMap["+e+"]"]=t.crudParams.crudQuery[e]})),r["conditionMap[btmTypeId]"]=this.options.btmTypeId,Object(o["gridAttributesByBtmId"])(1,-1,r).then((function(e){var r=e.data;t.crudParams.crudData=r.data.records,t.crudParams.crudLoading=!1,t.$nextTick((function(){t.$refs[t.crudParams.ref].doLayout()}))}))},selectedBtmTypeAttrSrchChange:function(e,t){this.crudParams.crudQuery=e,this.selectedBtmTypeAttrOnLoad(this.options),t()},selectedBtmTypeAttrSrchReset:function(){this.crudParams.crudQuery={},this.selectedBtmTypeAttrOnLoad(this.options)},selectedBtmTypeAttrRowClick:function(e){this.crudParams.crudSelectedRowData=e,this.$refs[this.crudParams.ref].toggleSelection(),this.$refs[this.crudParams.ref].setCurrentRow(e),this.$refs[this.crudParams.ref].toggleRowSelection(e)},selectionBtmTypeAttrChange:function(e){this.crudParams.crudSelectedRowData=e,this.$refs[this.crudParams.ref].setCurrentRow(this.crudParams.crudSelectedRowData[e.length-1])},selectedBtmTypeAttr:function(){if(this.crudParams.crudSelectedRowData.length<=0||"sortField"==this.options.condition&&1!=this.crudParams.crudSelectedRowData.length)this.$message.warning("请选择一条数据");else{var e={selectedArrary:this.crudParams.crudSelectedRowData,condition:this.options.condition};this.$emit("echoSelectedAttr",e),this.crudParams.isShowDialog=!1}}}},l=s,c=r("2877"),u=Object(c["a"])(l,a,n,!1,null,null,null);t["default"]=u.exports},"86af":function(e,t,r){"use strict";r("8400")},"882c":function(e,t,r){"use strict";r.r(t);r("386d");var a=function(){var e=this,t=e._self._c;return t("avue-crud",{ref:"crud",attrs:{"table-loading":e.loading,data:e.data,option:e.option,page:e.page,search:e.search},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"}})},n=[],i=(r("8e6e"),r("ac6a"),r("456d"),r("ade3")),o=(r("96cf"),r("1da1")),s=(r("7f7f"),r("5821"));function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){Object(i["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var u={name:"FlowPath",props:{code:{typeof:String,required:!0,default:""}},data:function(){var e=this;return{loading:!1,page:{currentPage:1,pageSize:10,total:0},search:{},delIds:[],data:[],startData:[],form:{},option:{height:"auto",border:!0,align:"center",menuAlign:"center",index:!0,searchMenuSpan:8,searchBtn:!1,emptyBtn:!1,columnBtn:!1,defaultSort:{prop:"id,name,description,version",order:"descending"},column:[{label:"模板key",prop:"modelKey",width:120,sortable:!0,type:"tree",dicData:[],props:{label:"key",value:"key"},rules:[{required:!0,message:"模板key不能为空",trigger:"blur"}],nodeClick:function(t){console.log(t),e.form.modelName=t.name}},{label:"模板名称",prop:"modelName",sortable:!0,width:220,addDisabled:!0,editDisabled:!0},{label:"模板用途",prop:"buttonTypeKey",type:"tree",width:120,dicUrl:"/api/ubcs-flow/processTS/tt",dicMethod:"post",props:{value:"codee",label:"namee"}},{label:"模板描述",prop:"description",type:"textarea"}]}}},created:function(){this.getStart()},methods:{getStart:function(){var e=Object(o["a"])(regeneratorRuntime.mark((function e(){var t,r,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(s["getStartList"])();case 2:t=e.sent,200===t.status&&(console.log(t.data.data.records),r=t.data.data.records,a=r.map((function(e){var t=e.key,r=e.name,a=e.version;return{key:t,name:r,version:a}})),this.option.column[0].dicData=a);case 4:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),getDataList:function(){var e=Object(o["a"])(regeneratorRuntime.mark((function e(){var t,r,a,n,i,o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.loading=!1,console.log(this.search),t=this.page,r=t.pageSize,a=t.currentPage,n={size:r,current:a},e.next=6,Object(s["getFlowpathList"])(c(c({},n),{templateId:this.code}));case 6:i=e.sent,200===i.status?(console.log(i),this.loading=!1,o=i.data.data,this.data=o.records,this.page.total=o.total):this.loading=!1;case 8:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),handleSave:function(){var e=Object(o["a"])(regeneratorRuntime.mark((function e(t,r,a){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log(t),e.next=3,Object(s["flowpathSave"])(c(c({},t),{templateId:this.code}));case 3:n=e.sent,200===n.status&&(a(),console.log(n),this.$message({type:"success",message:"新增数据成功!"}),r(),this.getDataList());case 5:case"end":return e.stop()}}),e,this)})));function t(t,r,a){return e.apply(this,arguments)}return t}(),handleEdit:function(){var e=Object(o["a"])(regeneratorRuntime.mark((function e(t,r,a,n){var i,o,l,u,d,p,f;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log(t),i=t.modelName,o=t.modelKey,l=t.buttonTypeKey,u=t.id,d=t.description,p={modelName:i,modelKey:o,buttonTypeKey:l,id:u,description:d},e.next=5,Object(s["flowpathSave"])(c(c({},p),{templateId:this.code}));case 5:f=e.sent,200===f.status&&(n(),this.$message({type:"success",message:"修改数据成功!"}),a(),this.getDataList());case 7:case"end":return e.stop()}}),e,this)})));function t(t,r,a,n){return e.apply(this,arguments)}return t}(),handleDelete:function(e){console.log(e);var t=e.id;this.deleteSysInfo({id:t})},deleteSysInfo:function(e){var t=this;this.$confirm("是否确定删除选择的模板流程?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(Object(o["a"])(regeneratorRuntime.mark((function r(){var a;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.next=2,Object(s["flowpathDelete"])(e);case 2:a=r.sent,200===a.status&&(console.log(a),t.$message({type:"success",message:"删除成功!"}),t.getDataList());case 4:case"end":return r.stop()}}),r)}))))},handleEnter:function(){""!==this.search[this.selectValue]&&this.getDataList()},handleClear:function(){},handleRefresh:function(){this.getDataList()},handleSizePage:function(e){this.page.pageSize=e},handleCurrentPage:function(e){this.page.currentPage=e}}},d=u,p=r("2877"),f=Object(p["a"])(d,a,n,!1,null,null,null);t["default"]=f.exports},"888e":function(e,t,r){"use strict";r.r(t),r.d(t,"treeCodeClassifyValue",(function(){return s})),r.d(t,"addSaveCodeClassifyValue",(function(){return l})),r.d(t,"editCodeClassifyValue",(function(){return c})),r.d(t,"deleteCodeClassifyValue",(function(){return u})),r.d(t,"saveCodeClassifyValueOrder",(function(){return d}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeClassifyValueController/treeCodeClassifyValue",method:"get",params:o({},e)})},l=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeClassifyValueController/addSave",method:"post",data:e})},c=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeClassifyValueController/editSave",method:"put",data:e})},u=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeClassifyValueController/deleteData",method:"delete",data:e})},d=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeClassifyValueController/saveOrder",method:"post",data:e})}},"88ca":function(e,t,r){"use strict";r.r(t),r.d(t,"getList",(function(){return s})),r.d(t,"remove",(function(){return l}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-report/report/rest/list",method:"get",params:o(o({},r),{},{current:e,size:t})})},l=function(e){return Object(n["a"])({url:"/api/ubcs-report/report/rest/remove",method:"post",params:{ids:e}})}},"89bb":function(e,t,r){"use strict";r.r(t);var a=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%"},on:{"update:visible":function(t){e.visible=t}}},[t("avue-crud",{ref:"referDefalutCrud",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,"current-change":e.currentChange,"size-change":e.sizeChange,"refresh-change":e.refreshChange,"on-load":e.onLoad},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)},n=[],i=(r("8e6e"),r("456d"),r("28a5"),r("ac6a"),r("ade3")),o=(r("a481"),r("c54a"),r("276d"));function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){Object(i["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var c={name:"vciWebReferDefalut",props:["referConfig","value","text","title","disabled"],data:function(){return{visible:!1,options:this.referConfig.options||{},isMuti:"true"==this.referConfig.options.isMuti||1==this.referConfig.options.isMuti||1==this.referConfig.options.muti,props:{value:this.referConfig.valueField||this.referConfig.options.valueField||"oid",label:this.referConfig.textField||this.referConfig.options.textField||"name"},url:this.referConfig.options.url||"/api/ubcs-code/mdmEngineController/defaultReferDataGrid",method:this.referConfig.options.method||"GET",tableDefinedUrl:"",copyParam:["referBo","textField","valueField","displayTable","whereSql","queryScheme"],query:{},loading:!1,page:{pageSize:10,currentPage:1,total:this.referConfig.options.data?this.referConfig.options.data.length:0},data:this.referConfig.options.data||[],selectionList:[],option:{addBtn:!1,calcHeight:30,tip:!1,menu:!1,searchShow:!0,searchMenuSpan:6,searchLabelWidth:90,border:!0,index:!0,selection:!0,dialogClickModal:!1,highlightCurrentRow:!0,column:[]}}},created:function(){this.getParams()},mounted:function(){this.referConfig.options.page&&(this.page.pageSize=this.referConfig.options.page.limit||this.referConfig.options.page.pageSize,this.page.currentPage=this.referConfig.options.page.page||this.referConfig.options.page.currentPage)},computed:{valueInfo:function(){return this.text?"已设置的值为["+this.text+"]":"未设置值"}},methods:{getParams:function(){var e={};if(this.options.extraParams&&(e=this.options.extraParams),this.options.useFormKey&&this.options.formValues&&(e['conditionMap["'+(this.options.paramForFormKey?this.options.paramForFormKey:this.options.useFormKey)+'"]']=this.options.formValues[this.options.useFormKey]),this.options.where)for(var t in this.options.where)e['conditionMap["'+t+'"]']=this.options.where[t];for(var r=0;r<this.copyParam.length;r++)e[this.copyParam[r]]=this.options[this.copyParam[r]];if(e["isMuti"]=this.isMuti,e.muti=this.isMuti,e["referBo"]||(e["referBo"]=this.options["referBo"]||this.options["referType"]),e["referType"]=e["referBo"],this.options.remoteSort&&this.options.initSort&&(e["order"]=this.options.initSort.type,e["sort"]=this.options.initSort.field),this.options.conditionParams)for(var t in this.options.conditionParams)e['conditionMap["'+t+'"]']=this.options.conditionParams[t];if(this.options.sourceDataParams)for(var t in this.options.sourceDataParams){if(t&&t.constructor===Object)return;e['sourceData["'+t+'"]']=this.options.sourceDataParams[t]}if(this.options.replaceParams)for(var t in this.options.replaceParams){if(t&&t.constructor===Object)return;e['replaceMap["'+t+'"]']=this.options.replaceParams[t]}var a={};if(e)for(var t in e)a[t.replace(/"/g,"'")]=e[t];this.options.tableConfig&&this.options.tableConfig.cols&&0!=this.options.tableConfig.cols.length?this.option.column=this.options.tableConfig.cols.map((function(e){if("LAY_TABLE_INDEX"!=e.field&&"LAY_CHECKED"!=e.field)return l(l({},e),{},{label:e.title,prop:e.field,formatter:e.template,search:!0})})):this.option.column=[{prop:"id",label:"英文名称",sort:!0,width:150,search:!0},{prop:"name",label:"中文名称",sort:!0,width:150,search:!0},{prop:"description",label:"描述",width:250},{prop:"secretGradeText",label:"密级",width:60,hidden:!this.controllerSecret}],a?(a["currentUserReferModelKey"]=this.options.currentUserReferModelKey,a["currentUserReferMethodKey"]=this.options.currentUserReferMethodKey):a={currentUserReferModelKey:this.options.currentUserReferModelKey,currentUserReferMethodKey:this.options.currentUserReferMethodKey},this.params=a},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=[],r=this.props.value.indexOf(",")>-1,a=this.props.label.indexOf(",")>-1,n=this;this.selectionList.forEach((function(i,o){if(r){var s=n.props.value.split(",");s.forEach((function(t,r){e.push(i[r]+(n.referConfig.valueSep?n.referConfig.valueSep:" "))}))}else e.push(i[n.props.value]);if(a){var l=n.props.label.split(",");l.forEach((function(e,r){t.push(i[r]+(n.referConfig.textSep?n.referConfig.textSep:" "))}))}else t.push(i[n.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}),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},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,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.url){this.loading=!0;var a={};if(this.query)for(var n in this.query)a['conditionMap["'+n+'"]']=this.query[n];Object(o["getList"])(Object.assign(r,this.params,this.query,a),e.currentPage,e.pageSize,this.url,this.method).then((function(e){t.data=e.data.records,t.page.total=e.data.total,t.loading=!1,t.selectionClear()})).catch((function(e){t.$message.error(e),t.loading=!1}))}}}},u=c,d=(r("ae5a"),r("2877")),p=Object(d["a"])(u,a,n,!1,null,"368e7ca3",null);t["default"]=p.exports},"8a1e":function(e,t,r){"use strict";r("7929")},"8a2d":function(e,t,r){"use strict";r("4ced")},"8a50":function(e,t,r){},"8b18":function(e,t,r){},"8bbf":function(e,t){e.exports=Vue},"8c48":function(e,t,r){},"8ccd":function(module,__webpack_exports__,__webpack_require__){"use strict";var core_js_modules_es6_regexp_to_string__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("6b54"),core_js_modules_es6_regexp_to_string__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(core_js_modules_es6_regexp_to_string__WEBPACK_IMPORTED_MODULE_0__),core_js_modules_es6_array_sort__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("55dd"),core_js_modules_es6_array_sort__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(core_js_modules_es6_array_sort__WEBPACK_IMPORTED_MODULE_1__),core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("ac6a"),core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_2__),_api_work_businese__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("81b9"),_api_GetItem__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("dd3a"),_util_validate__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("c54a");__webpack_exports__["a"]={name:"BusinessWork",props:["ids","templateId"],data:function(){return{BuinessOids:[],isLoading:!1,tableHeadData:[],tableData:[],editingRow:null,editShow:"",editAttr:""}},watch:{ids:{handler:function(e,t){this.BuinessOids=e,this.BuinseseRend(),console.log(e),console.log(this.BuinessOids)},deep:!0}},created:function(){},mounted:function(){},methods:{HandlerRend:function(){this.editingRow=null},CrudHeaderRend:function CrudHeaderRend(){var _this=this;""!=this.codeClassifyOid&&Object(_api_GetItem__WEBPACK_IMPORTED_MODULE_4__["MasterTable"])({codeClassifyOid:this.codeClassifyOid,functionId:5}).then((function(res){_this.options=res.data.tableDefineVO.seniorQueryColumns,_this.List=res.data.tableDefineVO.cols[0],_this.tableHeadData=[],_this.List.forEach((function(item){var columnItem={label:item.title,prop:item.field,type:_this.columnType[item.type],sortable:item.sort,width:item.minWidth};"id"==item.field&&Object(_util_validate__WEBPACK_IMPORTED_MODULE_5__["b"])(item.templet)?columnItem.formatter="":item.templet&&"string"==typeof item.templet&&!Object(_util_validate__WEBPACK_IMPORTED_MODULE_5__["b"])(item.templet)&&item.templet.indexOf("function(row,column)")>-1&&(columnItem.formatter=eval("("+item.templet+")")),_this.tableHeadData.push(columnItem)}))}))},BuinseseRend:function(){var e=this;Object(_api_work_businese__WEBPACK_IMPORTED_MODULE_3__["businese"])({btmType:"wupin","conditionMap[oid]":this.BuinessOids.toString()}).then((function(t){e.tableData=t.data.data}))},handleCellClick:function(e,t){this.editingRow=e,this.editShow=t.property}}}},"8cf2":function(e,t,r){"use strict";r.r(t);var a=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(r){return t("template",{slot:r.prop+"Label"},[t("span",[t("span",[e._v(e._s(r.label)+" ")]),r.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(r){return t("template",{slot:r.prop+""},["refer"==r.type?t("vciWebRefer",{attrs:{referConfig:r.referConfig||{},value:e.form[r.referConfig.field]||r.value,text:e.form[r.referConfig.showField],disabled:r.disabled,display:r.display},on:{setReferValue:e.setReferValue}}):e._e()],1)}))],2)],1)},n=[],i=(r("6762"),r("2fdb"),r("ac6a"),r("902d")),o=r("7754"),s=r("6e8c"),l={name:"FormTemplate",components:{vciWebRefer:s["default"]},props:{disabledProp:{type:Array,default:function(){return["id"]}},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{}}}},data:function(){return{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"},testItems:[{comboxKey:null,customClass:null,data:null,dateFormate:"",defaultValue:"",displayExtension:null,extendAttrMap:null,extendAttrString:null,field:"id",hidden:!1,keyAttr:!1,prefix:"",readOnly:!1,referConfig:null,required:!1,selectLibFlag:"",showField:null,suffix:"",text:"传值禁用功能",tooltips:"",type:"combox",unique:!1,verify:""},{customClass:null,data:null,dateFormate:"",defaultValue:"",displayExtension:null,extendAttrMap:null,extendAttrString:null,field:"state",hidden:!1,keyAttr:!1,prefix:"",readOnly:!0,referConfig:null,required:!1,selectLibFlag:"",showField:null,suffix:"",text:"接口禁用功能",tooltips:"",type:"combox",unique:!1,verify:""},{comboxKey:null,customClass:null,data:null,dateFormate:"",defaultValue:"",displayExtension:null,extendAttrMap:null,extendAttrString:null,field:"oldcode",hidden:!1,keyAttr:!1,prefix:"el-icon-search",readOnly:!1,referConfig:null,required:!1,selectLibFlag:"",showField:null,suffix:"文本后缀测试",text:"前后缀功能",tooltips:"",type:"text",unique:!1,verify:""},{comboxKey:null,customClass:null,data:null,dateFormate:"",defaultValue:"",displayExtension:null,extendAttrMap:null,extendAttrString:null,field:"materialname",hidden:!1,keyAttr:!1,prefix:"",readOnly:!1,referConfig:null,required:!0,selectLibFlag:"",showField:null,suffix:"",text:"正则校验功能",tooltips:"请输入数字",type:"text",unique:!1,verify:/^[0-9]+$/g},{comboxKey:null,customClass:null,data:[{attributes:{},key:"model_type",value:"模型"},{attributes:{},key:"part_type",value:"零件"}],dateFormate:"",defaultValue:"",displayExtension:null,extendAttrMap:null,extendAttrString:null,field:"dataSelect",hidden:!1,keyAttr:!1,prefix:"",readOnly:!1,referConfig:null,required:!1,selectLibFlag:"",showField:null,suffix:"",text:"直接返回下拉",tooltips:"",type:"combox",unique:!1,verify:""},{comboxKey:"formTemplateTest",customClass:null,data:[],dateFormate:"",defaultValue:"",displayExtension:null,extendAttrMap:null,extendAttrString:null,field:"dictSelect",hidden:!1,keyAttr:!1,prefix:"",readOnly:!1,referConfig:null,required:!1,selectLibFlag:"",showField:null,suffix:"",text:"字典返回下拉",tooltips:"",type:"combox",unique:!1,verify:""},{comboxKey:null,customClass:null,data:null,dateFormate:"",defaultValue:"",displayExtension:null,extendAttrMap:null,extendAttrString:null,field:"firstfl",hidden:!1,keyAttr:!1,prefix:"",readOnly:!1,referConfig:null,required:!1,selectLibFlag:"",showField:null,suffix:"",text:"数字输入框",tooltips:"",type:"number",unique:!1,verify:""},{comboxKey:null,customClass:null,data:null,dateFormate:"yyyy-MM-dd HH:mm:ss",defaultValue:"",displayExtension:null,extendAttrMap:null,extendAttrString:null,field:"datetime",hidden:!1,keyAttr:!1,prefix:"",readOnly:!1,referConfig:null,required:!1,selectLibFlag:"",showField:null,suffix:"",text:"日期时间选择器",tooltips:"",type:"datetime",unique:!1,verify:""},{comboxKey:null,customClass:null,data:null,dateFormate:"",defaultValue:"",displayExtension:null,extendAttrMap:null,extendAttrString:null,field:"time",hidden:!1,keyAttr:!1,prefix:"",readOnly:!1,referConfig:null,required:!1,selectLibFlag:"",showField:null,suffix:"",text:"时间选择器",tooltips:"",type:"date",unique:!1,verify:""},{comboxKey:null,customClass:null,data:null,dateFormate:"",defaultValue:"false",displayExtension:null,extendAttrMap:null,extendAttrString:null,field:"xiaoshouwl",hidden:!1,keyAttr:!1,prefix:"",readOnly:!1,referConfig:null,required:!1,selectLibFlag:"",showField:null,suffix:"",text:"开关",tooltips:"",type:"truefalse",unique:!1,verify:""},{comboxKey:null,customClass:null,data:null,dateFormate:"",defaultValue:"我是默认值",displayExtension:null,extendAttrMap:null,extendAttrString:null,field:"tuhao",hidden:!1,keyAttr:!1,prefix:"",readOnly:!1,referConfig:null,required:!1,selectLibFlag:"",showField:null,suffix:"",text:"默认值功能",tooltips:"提示",type:"text",unique:!1,verify:""},{comboxKey:null,customClass:null,data:null,dateFormate:"",defaultValue:"",displayExtension:null,extendAttrMap:null,extendAttrString:null,field:"xinghaoguige",hidden:!1,keyAttr:!0,prefix:"",readOnly:!1,referConfig:null,required:!1,selectLibFlag:"",showField:null,suffix:"",text:"属性关键值",tooltips:"",type:"text",unique:!1,verify:""},{comboxKey:null,customClass:null,data:null,dateFormate:"",defaultValue:"",displayExtension:null,extendAttrMap:null,extendAttrString:null,field:"jiliangdw",hidden:!1,keyAttr:!1,prefix:"",readOnly:!1,tip:"我是提示功能",required:!1,selectLibFlag:"",showField:"jiliangdwname",suffix:"",text:"提示功能",tooltips:"",type:"text",unique:!1,verify:""},{comboxKey:null,customClass:null,data:null,dateFormate:"",defaultValue:"",displayExtension:null,extendAttrMap:null,extendAttrString:null,field:"textarea",hidden:!1,keyAttr:!1,prefix:"",readOnly:!1,referConfig:null,required:!1,selectLibFlag:"",showField:null,suffix:"",text:"文本域",tooltips:"",type:"textarea",unique:!1,verify:""},{comboxKey:null,customClass:null,data:null,dateFormate:"",defaultValue:"",displayExtension:null,extendAttrMap:null,extendAttrString:null,field:"cz",hidden:!1,keyAttr:!1,prefix:"",readOnly:!0,referConfig:{},required:!1,selectLibFlag:"",showField:"depId",suffix:"",text:"参照",tooltips:"",type:"refer",unique:!1,verify:""}],trendsSpan:8,defaultValue:{},attributes:[],slotColumnList:[]}},mounted:function(){this.handleResize()},methods:{templateRender:function(e){var t=this,r=[],a=[],n=[],i=[];e.forEach((function(e){if(e=t.resetFormConfig(e),"line"!==e.type){"combox"!==e.type||!e.comboxKey||Array.isArray(e.dicData)&&0!==e.dicData.length||n.push({dictKey:e.comboxKey,field:e.field}),t.disabledProp.includes(e.field)&&(e.readOnly=!0);var o="请选择",s="change";"text"===e.type&&(o="请输入",s="blur");var l={label:e.text,labelslot:!0,prop:t.$utilFunc.isValuableObj(e.referConfig)&&e.showField||e.field,field:e.field,type:t.columnType[e.type],dicData:t.getDataList(e.type,e.data),disabled:"detail"===t.type||e.readOnly,prepend:t.preOrSufFixShow("text",e.prefix),append:t.preOrSufFixShow("text",e.suffix),prefixIcon:t.preOrSufFixShow("icon",e.prefix),suffixIcon:t.preOrSufFixShow("icon",e.suffix),valueFormat:e.dateFormate,format:e.dateFormate,keyAttr:e.keyAttr,value:e.defaultValue,placeholder:e.inputTip,comboxKey:e.comboxKey,display:!e.hidden,maxlength:e.maxlength,filterable:!0,referConfig:"refer"==e.type?{title:e.text,showField:e.showField||e.field,field:e.field,placeholder:e.inputTip,options:e.referConfig}:{},span:e.span?e.span:"textarea"===e.type?24:t.trendsSpan,rules:[{required:e.required,message:"请".concat(o).concat(e.text),trigger:s},{pattern:e.verify?e.verify:/[\s\S.]*/g,message:e.tooltips,trigger:s}],props:{label:"value",value:"key"}};i.push(l),0===a.length?r.push(l):a[a.length-1]["column"].push(l)}else a.push({label:e.text,prop:e.text,collapse:!0,column:[]})})),this.slotColumnList=i,this.$set(this.option,"column",r),this.$set(this.option,"group",a),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 r=this.selfColumnConfig[t];if("function"===t){for(var a in r)if(Object.hasOwnProperty.call(r,a)){var n=r[a];e[a]=n(e)}}else if("exchange"===t){for(var i in r)if(Object.hasOwnProperty.call(r,i)){var o=r[i];e[i]=e[o]}}else if("directVoluation"===t)for(var s in r)if(Object.hasOwnProperty.call(r,s)){var l=r[s];e[s]=l}}return e},handleResize:function(){var e=document.body.clientWidth;this.trendsSpan=24/Math.floor(e/500),this.updateIndex++},preOrSufFixShow:function(e,t){if(!this.$utilFunc.isEmpty(t)||"string"===typeof t){var r="el-icon-"===t.slice(0,8);return"text"===e&&!r||"icon"===e&&r?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(r){r.data&&200===r.data.code&&(t.option.column=t.option.column.map((function(t){if(t.field===e.field){var a=(r.data.data||[]).map((function(e){return e.value=e.dictValue,e.key=e.dictKey,e}));t.dicData=a}return t})))}))}))},validate:function(){var e=this;return new Promise((function(t){e.$refs.form.validate((function(e,r){e?(r(),t(!0)):t(!1)}))}))},getFormDetail:function(){var e=this;"add"!==this.type&&Object(i["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){e.field&&(this.form[e.field]=e.value||"",this.form[e.showField]=e.text||"",this.$emit("getFormData",this.form),this.$emit("referConfigDataUpdate",e))}},watch:{form:{deep:!0,immediate:!0,handler:function(e){this.$emit("getFormData",e)}}}},c=l,u=(r("7d53"),r("2877")),d=Object(u["a"])(c,a,n,!1,null,"7858df14",null);t["default"]=d.exports},"8ddc":function(e,t,r){"use strict";r.r(t),r.d(t,"getList",(function(){return s})),r.d(t,"getParentList",(function(){return l})),r.d(t,"getChildList",(function(){return c})),r.d(t,"remove",(function(){return u})),r.d(t,"add",(function(){return d})),r.d(t,"update",(function(){return p})),r.d(t,"getDict",(function(){return f})),r.d(t,"getDictTree",(function(){return m})),r.d(t,"getDictionary",(function(){return h}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-system/dict-biz/list",method:"get",params:o(o({},r),{},{current:e,size:t})})},l=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-system/dict-biz/parent-list",method:"get",params:o(o({},r),{},{current:e,size:t})})},c=function(e,t,r,a){return Object(n["a"])({url:"/api/ubcs-system/dict-biz/child-list",method:"get",params:o(o({},a),{},{current:e,size:t,parentId:r})})},u=function(e){return Object(n["a"])({url:"/api/ubcs-system/dict-biz/remove",method:"post",params:{ids:e}})},d=function(e){return Object(n["a"])({url:"/api/ubcs-system/dict-biz/submit",method:"post",data:e})},p=function(e){return Object(n["a"])({url:"/api/ubcs-system/dict-biz/submit",method:"post",data:e})},f=function(e){return Object(n["a"])({url:"/api/ubcs-system/dict-biz/detail",method:"get",params:{id:e}})},m=function(){return Object(n["a"])({url:"/api/ubcs-system/dict-biz/tree?code=DICT",method:"get"})},h=function(e){return Object(n["a"])({url:"/api/ubcs-system/dict-biz/dictionary",method:"get",params:e})}},"8e19":function(e,t,r){"use strict";r.r(t),r.d(t,"getAtrrList",(function(){return s})),r.d(t,"TreeSave",(function(){return l})),r.d(t,"TreeCheckDel",(function(){return c})),r.d(t,"TreeDel",(function(){return u})),r.d(t,"TreeObjcet",(function(){return d})),r.d(t,"TreeEnable",(function(){return p})),r.d(t,"TreeDeactivate",(function(){return f})),r.d(t,"importClassify",(function(){return m})),r.d(t,"gridCodeClassifyTemplate",(function(){return h})),r.d(t,"gridCodeClassifyFindTemplate",(function(){return b})),r.d(t,"addSave",(function(){return g})),r.d(t,"deleteData",(function(){return y})),r.d(t,"editSave",(function(){return v})),r.d(t,"TreeEditSave",(function(){return O})),r.d(t,"getObjectByOid",(function(){return w})),r.d(t,"gridCodeClassifyTemplateAttr",(function(){return C})),r.d(t,"copy",(function(){return j})),r.d(t,"AttrByBtm",(function(){return _})),r.d(t,"batchAddSave",(function(){return S})),r.d(t,"copyto",(function(){return k})),r.d(t,"getFormDefineByTemplate",(function(){return x})),r.d(t,"listByFlag",(function(){return T})),r.d(t,"upVersion",(function(){return D})),r.d(t,"stopLose",(function(){return P})),r.d(t,"startRelease",(function(){return R}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(){return Object(n["a"])({url:"/api/ubcs-code/codeClassify/treeCodeClassify",method:"get"})},l=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeClassify/save",method:"post",data:e})},c=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeClassify/checkIsCanDelete",method:"post",data:e})},u=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeClassify/deleteData",method:"Delete",data:e})},d=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeClassify/getObjectByOid",method:"get",params:{oid:e}})},p=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeClassify/enableData",method:"post",data:e})},f=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeClassify/disableData",method:"post",data:e})},m=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeClassify/importClassify",method:"post",data:e})},h=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeClassifyTemplateController/gridCodeClassifyTemplate",method:"get",params:o({},e)})},b=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeClassifyTemplateController/gridCodeClassifyTemplate",method:"get",params:o({},e)})},g=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeClassifyTemplateController/addSave",method:"post",data:e})},y=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeClassifyTemplateController/deleteData",method:"Delete",data:e})},v=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeClassifyTemplateController/editSave",method:"Put",data:e})},O=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeClassify/editSave",method:"post",data:e})},w=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeClassify/getObjectByOid",method:"get",params:{oid:e}})},C=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeClassifyTempAttrController/gridCodeClassifyTemplateAttr",method:"get",params:o({},e)})},j=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeClassifyTemplateController/copy",method:"post",data:e})},_=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeClassifyTempAttrController/codeClassifyTemplateAttrByBtm",method:"get",params:o({},e)})},S=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeClassifyTempAttrController/batchAddSave",method:"post",data:e})},k=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeClassifyTempAttrController/copyto",method:"post",data:e})},x=function(e){return Object(n["a"])({url:"/api/ubcs-code/mdmEngineController/getFormDefineByTemplateOid",method:"get",params:o({},e)})},T=function(e){return Object(n["a"])({url:"/api/ubcs-system/dict-biz/listByFlag",method:"get",params:o({},e)})},D=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeClassifyTemplateController/upgrade",method:"post",data:e})},P=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeClassifyTemplateController/disableData",method:"post",data:e})},R=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeClassifyTemplateController/enableData",method:"post",data:e})}},"902d":function(e,t,r){"use strict";r.r(t),r.d(t,"getFormTemplate",(function(){return n})),r.d(t,"executeCode",(function(){return i})),r.d(t,"findLike",(function(){return o})),r.d(t,"getCodeRule",(function(){return s})),r.d(t,"getFormDetail",(function(){return l}));var a=r("b5c6");function n(e){return Object(a["a"])({url:"api/ubcs-code/ubcs-code/mdmEngineController/getFormDefineByTemplateOid",method:"get",params:e})}function i(e){return Object(a["a"])({url:"api/ubcs-code/ubcs-code/mdmEngineController/getFormDefineByTemplateOid",method:"get",params:e})}function o(e){return Object(a["a"])({url:"api/ubcs-code/ubcs-code/mdmEngineController/resembleQuery",method:"post",data:e})}function s(e){return Object(a["a"])({url:"api/ubcs-code/ubcs-code/mdmEngineController/getCodeRuleByClassifyOid",method:"get",params:e})}function l(e){return Object(a["a"])({url:"api/ubcs-code/ubcs-code/mdmEngineController/getDataByOid",method:"get",params:e})}},9053:function(e,t,r){"use strict";r.r(t);var a=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)},n=[],i=(r("7f7f"),{name:"Relationpackage.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:"Form端类型",prop:"name"}]}}},methods:{rowSave:function(e,t,r){var a=this;add(Object.assign({createUser:this.userInfo.name},e)).then((function(){a.$message.success("新增成功"),t(),a.getList()})).catch((function(){r()}))},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=i,s=r("2877"),l=Object(s["a"])(o,a,n,!1,null,"03affe32",null);t["default"]=l.exports},"91c4":function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e._self._c;return t("el-dialog",{staticStyle:{height:"150vh","margin-top":"-13vh"},attrs:{title:"为【参照引用的业务类型】选取值","append-to-body":"",visible:e.referBtmDialogParams.isShowDialog,width:"65%"},on:{"update:visible":function(t){return e.$set(e.referBtmDialogParams,"isShowDialog",t)},close:e.recoverPage}},[t("avue-crud",{ref:e.referBtmDialogParams.ref,attrs:{page:e.referBtmDialogParams.referBtmDataPage,option:e.referBtmDialogParams.referBtmOption,"table-loading":e.referBtmDialogParams.referBtmDialogLoading,data:e.referBtmDialogParams.referBtmData},on:{"update:page":function(t){return e.$set(e.referBtmDialogParams,"referBtmDataPage",t)},"refresh-change":e.referBtmDataChange,"search-change":e.referBtmSearchChange,"search-reset":e.referBtmSearchReset,"selection-change":e.referBtmSelectionChange,"current-change":e.referBtmCurrentChange,"size-change":e.referBtmSizeChange,"on-load":e.referBtmOnLoad,"row-click":e.referBtmRowClick}}),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary"},on:{click:e.saveSelectedReferBtm}},[e._v("保 存")]),t("el-button",{on:{click:function(t){e.referBtmDialogParams.isShowDialog=!1}}},[e._v("取 消")])],1)],1)},n=[],i=(r("456d"),r("ac6a"),{height:"40vh",calcHeight:30,tip:!1,editBtn:!1,addBtn:!1,searchShow:!0,searchMenuSpan:5,border:!0,disablePage:!1,index:!0,viewBtn:!1,selection:!0,menu:!1,columnBtn:!1,searchShowBtn:!1,dialogClickModal:!1,highlightCurrentRow:!0,rowKey:"oid",column:[{label:"业务类型编号",prop:"id",search:!0,searchLabelWidth:100,searchSpan:8},{label:"业务类型名称",prop:"name",search:!0,searchLabelWidth:100,searchSpan:8},{label:"描述",prop:"description",search:!1}]}),o=r("cb4a"),s={name:"referBtmTypeCrudDialog",props:{visible:{type:"Boolean",default:!1}},watch:{visible:function(){this.referBtmDialogParams.isShowDialog=this.visible}},data:function(){return{referBtmDialogParams:{ref:"crudReferBtm",isShowDialog:this.visible,referBtmDialogLoading:!0,referBtmDataPage:{pageSize:10,currentPage:1,total:0},referBtmOption:i,referBtmData:[],referBtmQuery:{},referBtmSelectionList:[]}}},methods:{recoverPage:function(){this.referBtmSelectionClear(),this.$emit("update:visible",!1)},referBtmDataChange:function(){this.referBtmOnLoad(this.referBtmDialogParams.referBtmDataPage,this.referBtmDialogParams.referBtmQuery)},saveSelectedReferBtm:function(){if(1!=this.referBtmDialogParams.referBtmSelectionList.length)return this.$message.warning("请选择一条数据!"),!1;this.$emit("echoReferBtmType",this.referBtmDialogParams.referBtmSelectionList[0]),this.referBtmSelectionClear(),this.referBtmDialogParams.isShowDialog=!1},referBtmSearchReset:function(){this.referBtmDialogParams.referBtmQuery={},this.referBtmOnLoad()},referBtmSearchChange:function(e,t){this.referBtmDialogParams.referBtmQuery=e,this.referBtmDialogParams.referBtmDataPage.currentPage=1,this.referBtmOnLoad(),t()},referBtmRowClick:function(e){this.$refs[this.referBtmDialogParams.ref].toggleSelection(),this.referBtmDialogParams.referBtmSelectionList=e,this.$refs[this.referBtmDialogParams.ref].setCurrentRow(e),this.$refs[this.referBtmDialogParams.ref].toggleRowSelection(e)},referBtmSelectionChange:function(e){this.referBtmDialogParams.referBtmSelectionList=e,this.$refs[this.referBtmDialogParams.ref].setCurrentRow(this.referBtmDialogParams.referBtmSelectionList[e.length-1])},referBtmSelectionClear:function(){var e=this;this.referBtmDialogParams.referBtmSelectionList=[],this.$nextTick((function(){e.$refs[e.referBtmDialogParams.ref].toggleSelection()}))},referBtmCurrentChange:function(e){this.referBtmDialogParams.referBtmDataPage.currentPage=e},referBtmSizeChange:function(e){this.referBtmDialogParams.referBtmDataPage.pageSize=e},refreshReferBtmDataChange:function(){this.referBtmOnLoad(this.referBtmDialogParams.referBtmDataPage,this.referBtmDialogParams.referBtmQuery)},referBtmOnLoad:function(){var e=this,t=this.referBtmDialogParams;this.referBtmDialogParams.referBtmDialogLoading=!0;var r={};t.referBtmQuery&&Object.keys(t.referBtmQuery).forEach((function(e){r["conditionMap["+e+"]"]=t.referBtmQuery[e]})),Object(o["referDataGrid"])(t.referBtmDataPage.currentPage,t.referBtmDataPage.pageSize,r).then((function(t){var r=t.data.data;e.referBtmDialogParams.referBtmDataPage.total=r.total,e.referBtmDialogParams.referBtmData=r.records,e.referBtmDialogParams.referBtmDialogLoading=!1,e.$nextTick((function(){e.$refs[e.referBtmDialogParams.ref].doLayout()}))}))}}},l=s,c=r("2877"),u=Object(c["a"])(l,a,n,!1,null,null,null);t["default"]=u.exports},9812:function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e._self._c;return t("el-autocomplete",{staticClass:"top-search",attrs:{"popper-class":"my-autocomplete","fetch-suggestions":e.querySearch,placeholder:e.$t("search")},on:{select:e.handleSelect},scopedSlots:e._u([{key:"default",fn:function(r){var a=r.item;return[t("i",{class:[a[e.iconKey],"icon"]}),t("div",{staticClass:"name"},[e._v(e._s(a[e.labelKey]))]),t("div",{staticClass:"addr"},[e._v(e._s(a[e.pathKey]))])]}}]),model:{value:e.value,callback:function(t){e.value=t},expression:"value"}})},n=[],i=(r("8e6e"),r("ac6a"),r("456d"),r("7f7f"),r("ade3")),o=r("b297"),s=r("5880");function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){Object(i["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var u={data:function(){return{config:o["a"],value:"",menuList:[]}},created:function(){this.getMenuList()},watch:{menu:function(){this.getMenuList()}},computed:c({labelKey:function(){return this.website.menu.props.label||this.config.propsDefault.label},pathKey:function(){return this.website.menu.props.path||this.config.propsDefault.path},iconKey:function(){return this.website.menu.props.icon||this.config.propsDefault.icon},childrenKey:function(){return this.website.menu.props.children||this.config.propsDefault.children}},Object(s["mapGetters"])(["menu","website"])),methods:{getMenuList:function(){var e=this,t=function t(r){for(var a=0;a<r.length;a++){var n=Object.assign({},r[a]);e.validatenull(n[e.childrenKey])?e.menuList.push(n):t(n[e.childrenKey])}};this.menuList=[],t(this.menu)},querySearch:function(e,t){var r=this.menuList,a=e?r.filter(this.createFilter(e)):r;t(a)},createFilter:function(e){return function(t){return 0===t.name.toLowerCase().indexOf(e.toLowerCase())}},handleSelect:function(e){this.value="",this.$router.push({path:this.$router.$avueRouter.getPath({name:e[this.labelKey],src:e[this.pathKey]},e.meta),query:e.query})}}},d=u,p=(r("3562"),r("2877")),f=Object(p["a"])(d,a,n,!1,null,null,null);t["default"]=f.exports},9883:function(e,t,r){"use strict";r.d(t,"b",(function(){return g}));var a=r("2909"),n=r("8bbf"),i=r.n(n),o=r("6389"),s=r.n(o),l=r("9cc4"),c=[{path:"/login",name:"登录页",component:function(){return r.e("page").then(r.bind(null,"5596"))},meta:{keepAlive:!0,isTab:!1,isAuth:!1}},{path:"/lock",name:"锁屏页",component:function(){return r.e("page").then(r.bind(null,"15c5"))},meta:{keepAlive:!0,isTab:!1,isAuth:!1}},{path:"/404",component:function(){return r.e("page").then(r.bind(null,"a5fa"))},name:"404",meta:{keepAlive:!0,isTab:!1,isAuth:!1}},{path:"/403",component:function(){return r.e("page").then(r.bind(null,"a8d0"))},name:"403",meta:{keepAlive:!0,isTab:!1,isAuth:!1}},{path:"/500",component:function(){return r.e("page").then(r.bind(null,"611b"))},name:"500",meta:{keepAlive:!0,isTab:!1,isAuth:!1}},{path:"/",name:"主页",redirect:"/wel"},{path:"/myiframe",component:l["default"],redirect:"/myiframe",children:[{path:":routerPath",name:"iframe",component:function(){return r.e("page").then(r.bind(null,"c1a1"))},props:!0}]},{path:"*",redirect:"/404"}],u=[{path:"/wel",component:l["default"],redirect:"/wel/index",children:[{path:"index",name:"首页",meta:{i18n:"dashboard"},component:function(){return r.e("views").then(r.bind(null,"4e3c"))}},{path:"dashboard",name:"控制台",meta:{i18n:"dashboard",menu:!1},component:function(){return r.e("views").then(r.bind(null,"4b9f"))}}]},{path:"/test",component:l["default"],redirect:"/test/index",children:[{path:"index",name:"测试页",meta:{i18n:"test"},component:function(){return r.e("views").then(r.bind(null,"ab5c"))}}]},{path:"/dict-horizontal",component:l["default"],redirect:"/dict-horizontal/index",children:[{path:"index",name:"字典管理",meta:{i18n:"dict"},component:function(){return r.e("views").then(r.bind(null,"6486"))}}]},{path:"/dict-vertical",component:l["default"],redirect:"/dict-vertical/index",children:[{path:"index",name:"字典管理",meta:{i18n:"dict"},component:function(){return r.e("views").then(r.bind(null,"dd4b"))}}]},{path:"/info",component:l["default"],redirect:"/info/index",children:[{path:"index",name:"个人信息",meta:{i18n:"info"},component:function(){return r.e("views").then(r.bind(null,"095a"))}}]},{path:"/work/process/leave",component:l["default"],redirect:"/work/process/leave/form",children:[{path:"form/:processDefinitionId",name:"请假流程",meta:{i18n:"work"},component:function(){return r.e("views").then(r.bind(null,"eaa2"))}},{path:"handle/:taskId/:processInstanceId/:businessId",name:"处理请假流程",meta:{i18n:"work"},component:function(){return r.e("views").then(r.bind(null,"6e96"))}},{path:"detail/:processInstanceId/:businessId",name:"请假流程详情",meta:{i18n:"work"},component:function(){return r.e("views").then(r.bind(null,"d26f"))}}]}],d=(r("a481"),r("3b2b"),r("456d"),r("ac6a"),r("6762"),r("2fdb"),function(){this.$router=null,this.$store=null});d.install=function(e){var t=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};function n(e){return!!e.includes("html")||/^http[s]?:\/\/.*/.test(e)}function i(e){var t=[];return Object.keys(e).forEach((function(r){t.push("".concat(r,"=").concat(e[r]))})),t.join("&")}this.$router=a.router,this.$store=a.store,this.$vue=new e({i18n:a.i18n}),this.$router.$avueRouter={$website:this.$store.getters.website,group:"",meta:{},safe:this,setTitle:function(e){var r=t.$vue.$t("title");e=e?"".concat(e,"-").concat(r):r,document.title=e},closeTag:function(e){var r=e||t.$store.getters.tag;"string"===typeof e&&(r=t.$store.getters.tagList.filter((function(t){return t.value===e}))[0]),t.$store.commit("DEL_TAG",r)},generateTitle:function(e,r){if(!r)return e;var a=t.$vue.$te("route."+r);if(a){var n=t.$vue.$t("route."+r);return n}return e},getPath:function(e){var t=e.src,r=t||"/";return n(t)&&(r="/myiframe/urlPath?".concat(i(e))),r},vaildPath:function(e,t){var r=!1;return e.forEach((function(e){new RegExp("^"+e+".*","g").test(t)&&(r=!0)})),r},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]:[],i=arguments.length>1?arguments[1]:void 0,o=[],s=this.$website.menu.props,l={label:s.label||"name",path:s.path||"path",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 i?s[l.path].replace("/index",""):s[l.path]}(),d="views"+s.path,p=s[l.label],f=s[l.icon],m=s[l.children],h=s[l.meta]||{};h=Object.assign(h,function(){if(!0===a.keepAlive)return{keepAlive:!0}}());var b=0!==m.length,g={path:c,component:function(e){i?Promise.resolve().then(function(){var t=[r("9cc4")];e.apply(null,t)}.bind(this)).catch(r.oe):!b||i?Promise.all([r.e("views"),r.e("page"),r.e("chunk-a9694598")]).then(function(){var t=[r("692e")("./".concat(d,".vue"))];e.apply(null,t)}.bind(this)).catch(r.oe):r.e("chunk-2d0e4caf").then(function(){var t=[r("9277")];e.apply(null,t)}.bind(this)).catch(r.oe)},name:p,icon:f,meta:h,redirect:function(){return b||!i||n(c)?"":"".concat(c,"/index")}(),children:b?function(){return e.formatRoutes(m,!1)}():function(){return i?(n(c)||(s[l.path]="".concat(c,"/index")),[{component:function(e){Promise.all([r.e("views"),r.e("page"),r.e("chunk-a9694598")]).then(function(){var t=[r("692e")("./".concat(d,".vue"))];e.apply(null,t)}.bind(this)).catch(r.oe)},icon:f,name:p,meta:h,path:"index"}]):[]}()};o.push(g)},u=0;u<t.length;u++)c();if(!i)return o;this.safe.$router.addRoutes(o)}}}};var p=d,f=r("9923"),m=r("4360");i.a.use(s.a);var h=function(){return new s.a({routes:[].concat(Object(a["a"])(c),Object(a["a"])(u))})},b=h();function g(){var e=h();b.matcher=e.matcher,p.install(i.a,{router:b,store:m["a"],i18n:f["a"]})}p.install(i.a,{router:b,store:m["a"],i18n:f["a"],keepAlive:!1}),b.$avueRouter.formatRoutes(m["a"].state.user.menuAll,!0),b.addRoutes([].concat(Object(a["a"])(c),Object(a["a"])(u)));t["a"]=b},9923:function(e,t,r){"use strict";r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("8bbf"),i=r.n(n),o=r("a925"),s=r("b2d6"),l=r.n(s),c=r("f0d9"),u=r.n(c),d={title:"Saber Admin",logoutTip:"Exit the system, do you want to continue?",submitText:"submit",cancelText:"cancel",search:"Please input search content",menuTip:"none menu list",common:{condition:"condition",display:"display",hide:"hide"},tip:{select:"Please select",input:"Please input"},upload:{upload:"upload",tip:"Drag files here,/"},date:{start:"VCI-UBCS",end:"End date",t:"today",y:"yesterday",n:"nearly 7",a:"whole"},form:{printBtn:"print",mockBtn:"mock",submitBtn:"submit",emptyBtn:"empty"},crud:{filter:{addBtn:"add",clearBtn:"clear",resetBtn:"reset",cancelBtn:"cancel",submitBtn:"submit"},column:{name:"name",hide:"hide",fixed:"fixed",filters:"filters",sortable:"sortable",index:"index",width:"width"},tipStartTitle:"Currently selected",tipEndTitle:"items",editTitle:"edit",copyTitle:"copy",addTitle:"add",viewTitle:"view",filterTitle:"filter",showTitle:"showTitle",menu:"menu",addBtn:"add",show:"show",hide:"hide",open:"open",shrink:"shrink",printBtn:"print",excelBtn:"excel",updateBtn:"update",cancelBtn:"cancel",searchBtn:"search",emptyBtn:"empty",menuBtn:"menu",saveBtn:"save",viewBtn:"view",editBtn:"edit",copyBtn:"copy",delBtn:"delete"},login:{title:"Login ",info:"BladeX Development Platform",tenantId:"Please input tenantId",username:"Please input username",password:"Please input a password",wechat:"Wechat",qq:"QQ",github:"github",gitee:"gitee",phone:"Please input a phone",code:"Please input a code",submit:"Login",userLogin:"userLogin",phoneLogin:"phoneLogin",thirdLogin:"thirdLogin",ssoLogin:"ssoLogin",msgText:"send code",msgSuccess:"reissued code"},navbar:{info:"info",logOut:"logout",userinfo:"userinfo",switchDept:"switch dept",dashboard:"dashboard",lock:"lock",bug:"none bug",bugs:"bug",screenfullF:"exit screenfull",screenfull:"screenfull",language:"language",notice:"notice",theme:"theme",color:"color"},tagsView:{search:"Search",menu:"menu",clearCache:"Clear Cache",closeOthers:"Close Others",closeAll:"Close All"}},p={title:"Ubcs企业管理平台",logoutTip:"退出系统, 是否继续?",submitText:"确定",cancelText:"取消",search:"请输入搜索内容",menuTip:"没有发现菜单",common:{condition:"条件",display:"显示",hide:"隐藏"},tip:{select:"请选择",input:"请输入"},upload:{upload:"点击上传",tip:"将文件拖到此处,或"},date:{start:"开始日期",end:"结束日期",t:"今日",y:"昨日",n:"近7天",a:"全部"},form:{printBtn:"打 印",mockBtn:"模 拟",submitBtn:"提 交",emptyBtn:"清 空"},crud:{filter:{addBtn:"新增条件",clearBtn:"清空数据",resetBtn:"清空条件",cancelBtn:"取 消",submitBtn:"确 定"},column:{name:"列名",hide:"隐藏",fixed:"冻结",filters:"过滤",sortable:"排序",index:"顺序",width:"宽度"},tipStartTitle:"当前表格已选择",tipEndTitle:"项",editTitle:"编 辑",copyTitle:"复 制",addTitle:"新 增",viewTitle:"查 看",filterTitle:"过滤条件",showTitle:"列显隐",menu:"操作",addBtn:"新 增",show:"显 示",hide:"隐 藏",open:"展 开",shrink:"收 缩",printBtn:"打 印",excelBtn:"导 出",updateBtn:"修 改",cancelBtn:"取 消",searchBtn:"搜 索",emptyBtn:"清 空",menuBtn:"功 能",saveBtn:"保 存",viewBtn:"查 看",editBtn:"编 辑",copyBtn:"复 制",delBtn:"删 除"},login:{title:"登录 ",info:"BladeX 企业级开发平台",tenantId:"请输入租户ID",username:"请输入账号",password:"请输入密码",wechat:"微信",qq:"QQ",github:"github",gitee:"码云",phone:"请输入手机号",code:"请输入验证码",submit:"登录",userLogin:"账号密码登录",phoneLogin:"手机号登录",thirdLogin:"第三方系统登录",ssoLogin:"单点系统登录",msgText:"发送验证码",msgSuccess:"秒后重发"},navbar:{logOut:"退出登录",userinfo:"个人信息",switchDept:"部门切换",dashboard:"首页",lock:"锁屏",bug:"没有错误日志",bugs:"条错误日志",screenfullF:"退出全屏",screenfull:"全屏",language:"中英文",notice:"消息通知",theme:"主题",color:"换色"},tagsView:{search:"搜索",menu:"更多",clearCache:"清除缓存",closeOthers:"关闭其它",closeAll:"关闭所有"}},f=r("e3c4");function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}i.a.use(o["a"]);var b=window.AVUE,g={en:h(h(h({},d),l.a),b.locale.en),zh:h(h(h({},p),u.a),b.locale.zh)},y=new o["a"]({locale:Object(f["c"])({name:"language"})||"zh",messages:g});t["a"]=y},9976:function(e,t,r){},"9ab5":function(e,t,r){"use strict";r.r(t),r.d(t,"getPage",(function(){return s})),r.d(t,"getOnesearch",(function(){return l})),r.d(t,"getadd",(function(){return c})),r.d(t,"getupdata",(function(){return u})),r.d(t,"getremove",(function(){return d})),r.d(t,"getpassword",(function(){return p}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-system/combination/page",method:"get",params:o(o({},r),{},{current:e,size:t})})},l=function(e){return Object(n["a"])({url:"/api/ubcs-system/combination/one",method:"post",params:{id:e}})},c=function(e){return Object(n["a"])({url:"/api/ubcs-system/combination/submit",method:"post",data:e})},u=function(e){return Object(n["a"])({url:"/api/ubcs-system/combination/submit",method:"post",data:e})},d=function(e){return Object(n["a"])({url:"/api/ubcs-system/combination/remove",method:"post",params:{ids:e}})},p=function(){return Object(n["a"])({url:"/api/ubcs-system/combination/select",method:"get"})}},"9cc4":function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"avue-contail",class:{"avue--collapse":e.isCollapse}},[t("div",{staticClass:"avue-header"},[t("top",{ref:"top"})],1),t("div",{staticClass:"avue-layout"},[t("div",{staticClass:"avue-left"},[t("sidebar",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}]})],1),t("div",{staticClass:"avue-main"},[t("tags"),t("transition",{attrs:{name:"fade-scale"}},[t("search",{directives:[{name:"show",rawName:"v-show",value:e.isSearch,expression:"isSearch"}],staticClass:"avue-view"})],1),t("div",{directives:[{name:"show",rawName:"v-show",value:!e.isSearch,expression:"!isSearch"}],staticStyle:{height:"100%","overflow-y":"auto","overflow-x":"hidden"},attrs:{id:"avue-view"}},[t("keep-alive",[t("router-view",{staticClass:"avue-view"})],1)],1)],1)]),t("div",{staticClass:"avue-shade",on:{click:e.showCollapse}})])},n=[],i=r("5880"),o=r("5ddc"),s=r("76c2"),l=r("195f"),c=r("20bf"),u={getScreen:function(){var e=document.body.clientWidth;return e>=1200?3:e>=992?2:e>=768?1:0}},d=r("c54a"),p=r("84df"),f=r("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(i["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})||{},r=Object(p["a"])(t.datetime,(new Date).getTime());Object(d["b"])(r)||r.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=r("2877"),g=Object(b["a"])(h,a,n,!1,null,null,null);t["default"]=g.exports},"9e84":function(e,t,r){"use strict";r.r(t);var a=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:e.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":""},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.masterOption},on:{select:e.masterSelect}}),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:function(t){e.MasterdialogVisible=!1}}},[e._v("取消")])],1)])],2),t("el-dialog",{attrs:{visible:e.KeydialogVisible,title:"为【关键属性查询规则】选取值","append-to-body":""},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.masterOption},on:{select:e.KeySelect}}),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:function(t){e.KeydialogVisible=!1}}},[e._v("取消")])],1)])],2),t("el-dialog",{attrs:{visible:e.SimidialogVisible,title:"为【相似项查询规则】选取值","append-to-body":""},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.masterOption},on:{select:e.simSelect}}),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:function(t){e.SimidialogVisible=!1}}},[e._v("取消")])],1)])],2),t("el-dialog",{attrs:{visible:e.BtmdialogVisible,title:"为【业务类型】选取值","append-to-body":""},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.SelectOption,(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:{select:e.btmSelect}}),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:function(t){e.BtmdialogVisible=!1}}},[e._v("取消")])],1)])],2)],1)],1)},n=[],i=(r("8e6e"),r("ac6a"),r("456d"),r("ade3")),o=(r("7f7f"),r("b761")),s=r("8e19");function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){Object(i["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var u={name:"classifyTreeform.vue",props:["loneTreeNewForm","flag","Editclose","TreeFlag"],data:function(){return{SelectFInd:"",masterName:"",masterOid:"",KeyName:"",KeyOid:"",simName:"",simOid:"",btmName:"",btmOid:"",masterInput:"",MasterSearchSelects:"",masterData:[],KeyData:[],simData:[],BtmData:[],SelectOption:[{value:"name",label:"中文名称"},{value:"id",label:"英文名称"}],SelectValue:"",btmOption:{addBtn:!1,index:!0,border:!0,selection:!0,menu:!1,height:380,column:[{label:"业务类型编号",prop:"id"},{label:"业务类型名称",prop:"name"},{label:"描述",prop:"description"}]},masterOption:{addBtn:!1,index:!0,border:!0,selection:!0,menu:!1,height:380,column:[{label:"英文名称",prop:"id"},{label:"中文名称",prop:"name"},{label:"描述",prop:"description"}]},MasterdialogVisible:!1,KeydialogVisible:!1,SimidialogVisible:!1,BtmdialogVisible:!1,form:{name:"哈哈",sex:"男"},option:{submitBtn:!1,emptyBtn:!1,column:[{label:"主题库/分类编号",prop:"id",labelWidth:135,disabled:!0,rules:[{required:!0,message:"主题库/分类编号",trigger:"blur"}]},{label:"主题库/分类名称",prop:"name",disabled:!0,labelWidth:135,rules:[{required:!0,message:"主题库/分类名称",trigger:"blur"}]},{label:"描述",prop:"description",labelWidth:128,disabled:!0},{label:"存储的业务类型",prop:"btmtypename",labelWidth:128,disabled:!0,rules:[{required:!0,message:"存储的业务类型",trigger:"blur"}]},{label:"编码规则",prop:"coderuleoidName",labelWidth:128,disabled:!0},{label:"关键属性查询规则",prop:"codekeyattrrepeatoidName",labelWidth:128,disabled:!0},{label:"相似查询规则",prop:"codeResembleRuleOidName",labelWidth:128,disabled:!0}]},options:{column:[{label:"主题库/分类编号",prop:"id",labelWidth:128,rules:[{required:!0,message:"主题库/分类编号",trigger:"blur"}]},{label:"主题库/分类名称",prop:"name",labelWidth:128,rules:[{required:!0,message:"主题库/分类名称",trigger:"blur"}]},{label:"描述",prop:"description",labelWidth:128},{label:"存储的业务类型",prop:"btmtypename",labelWidth:128,focus:this.btmFoucus,readonly:!0,hide:this.TreeFlag,rules:[{required:!0,message:"存储的业务类型",trigger:"blur"}]},{label:"编码规则",prop:"coderuleoidName",labelWidth:128,focus:this.CodeFoucus,readonly:!0},{label:"关键属性查询规则",prop:"codekeyattrrepeatoidName",labelWidth:128,focus:this.Keyfouce,readonly:!0},{label:"相似查询规则",prop:"codeResembleRuleOidName",labelWidth:128,focus:this.simFouce,readonly:!0}]},FormList:{},masterSelectList:[],KeySelectLIst:[],simSelectList:[],btmSelectList:[]}},created:function(){},watch:{},methods:{submits:function(e,t){var r=this;Object(s["TreeEditSave"])(this.loneTreeNewForm).then((function(e){r.$message.success("修改成功"),r.Editclose(),t()}))},error:function(e){this.$message.success("请查看控制台"),console.log(e)},SelectFindeHandler:function(){if("id"==this.SelectValue){var e={"conditionMap[id]":this.SelectFInd};this.MasterdefaultRend(e),this.SelectValue="",this.SelectFInd=""}else if("name"==this.SelectValue){var t={"conditionMap[name]":this.SelectFInd};this.MasterdefaultRend(t),this.SelectValue="",this.SelectFInd=""}},CodeFoucus:function(){this.MasterdialogVisible=!0,this.MasterdefaultRend()},MasterHandlerClick:function(){this.masterSelectList.length>1?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.masterSelectList=e,this.masterName=e[0].name,this.masterOid=e[0].oid},MasterdefaultRend:function(e){var t=this;Object(o["defaultReferDataGrid"])(c({referType:"coderule",isMuti:"false",'conditionMap["lcstatus"]':"Released"},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),console.log(this.loneTreeNewForm))},KeySelectFindeHandler:function(){if("id"==this.SelectValue){var e={"conditionMap[id]":this.SelectFInd};this.KeydefaultRend(e),this.SelectValue="",this.SelectFInd=""}else if("name"==this.SelectValue){var t={"conditionMap[name]":this.SelectFInd};this.KeydefaultRend(t),this.SelectValue="",this.SelectFInd=""}},KeydefaultRend:function(){var e=this;Object(o["defaultReferDataGrid"])({referType:"codekeyattrrepeat",isMuti:"false",'conditionMap["lcstatus"]':"Enabled"}).then((function(t){e.KeyData=t.data.records}))},KeySelect:function(e){this.KeySelectLIst=e,this.KeyName=e[0].name,this.KeyOid=e[0].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(){if("id"==this.SelectValue){var e={"conditionMap[id]":this.SelectFInd};this.simdefaultRend(e),this.SelectValue="",this.SelectFInd=""}else if("name"==this.SelectValue){var t={"conditionMap[name]":this.SelectFInd};this.simdefaultRend(t),this.SelectValue="",this.SelectFInd=""}},simSelect:function(e){this.simSelectList=e,this.simName=e[0].name,this.simOid=e[0].oid,console.log("oid",this.oid)},simdefaultRend:function(){var e=this;Object(o["defaultReferDataGrid"])({referType:"coderesemblerule",isMuti:"false",'conditionMap["lcstatus"]':"Enabled"}).then((function(t){e.simData=t.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.btmOid),this.$set(this.loneTreeNewForm,"btmtypeid",this.btmOid),this.$emit("MasterHandler",this.loneTreeNewForm))},BtmSelectFindeHandler:function(){if("id"==this.SelectValue){var e={"conditionMap[id]":this.SelectFInd};this.btmdefaultRend(e),this.SelectValue="",this.SelectFInd=""}else if("name"==this.SelectValue){var t={"conditionMap[name]":this.SelectFInd};this.btmdefaultRend(t),this.SelectValue="",this.SelectFInd=""}},btmSelect:function(e){this.btmSelectList=e,this.btmName=e[0].name,this.btmOid=e[0].oid},btmdefaultRend:function(e){var t=this;Object(o["referDataGrid"])(c({valueField:"id",isMuti:"false"},e)).then((function(e){t.BtmData=e.data.data.records}))}}},d=u,p=r("2877"),f=Object(p["a"])(d,a,n,!1,null,"1738ecb4",null);t["default"]=f.exports},a297:function(e,t,r){},a6dc:function(e,t,r){"use strict";r.r(t),r.d(t,"getList",(function(){return s})),r.d(t,"getLazyList",(function(){return l})),r.d(t,"getLazyMenuList",(function(){return c})),r.d(t,"getMenuList",(function(){return u})),r.d(t,"getMenuTree",(function(){return d})),r.d(t,"remove",(function(){return p})),r.d(t,"add",(function(){return f})),r.d(t,"update",(function(){return m})),r.d(t,"getMenu",(function(){return h})),r.d(t,"getTopMenu",(function(){return b})),r.d(t,"getRoutes",(function(){return g}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-system/menu/list",method:"get",params:o(o({},r),{},{current:e,size:t})})},l=function(e,t){return Object(n["a"])({url:"/api/ubcs-system/menu/lazy-list",method:"get",params:o(o({},t),{},{parentId:e})})},c=function(e,t,r,a){return Object(n["a"])({url:"/api/ubcs-system/menu/lazy-menu-list",method:"get",params:o(o({},t),{},{parentId:e,current:r,size:a})})},u=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-system/menu/menu-list",method:"get",params:o(o({},r),{},{current:e,size:t})})},d=function(e){return Object(n["a"])({url:"/api/ubcs-system/menu/tree",method:"get",params:{tenantId:e}})},p=function(e){return Object(n["a"])({url:"/api/ubcs-system/menu/remove",method:"post",params:{ids:e}})},f=function(e){return Object(n["a"])({url:"/api/ubcs-system/menu/submit",method:"post",data:e})},m=function(e){return Object(n["a"])({url:"/api/ubcs-system/menu/submit",method:"post",data:e})},h=function(e){return Object(n["a"])({url:"/api/ubcs-system/menu/detail",method:"get",params:{id:e}})},b=function(){return Object(n["a"])({url:"/api/ubcs-system/menu/top-menu",method:"get"})},g=function(e){return Object(n["a"])({url:"/api/ubcs-system/menu/routes",method:"get",params:{topMenuId:e}})}},aa51:function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e._self._c;return e.dialogVisible?t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],attrs:{title:e.title,visible:e.dialogVisible,"append-to-body":""},on:{"update:visible":function(t){e.dialogVisible=t}},scopedSlots:e._u([{key:"footer",fn:function(){return[t("el-button",{attrs:{type:"primary",size:"small",loading:e.downloadLoading},on:{click:e.downloadTemplateFun}},[e._v("下载导入模板")]),t("el-button",{attrs:{size:"small"},on:{click:function(t){e.dialogVisible=!1}}},[e._v("关闭")])]},proxy:!0}],null,!1,1735658401)},[t("Divider",{attrs:{text:"导入提示",left:"30px"}}),t("ul",e._l(e.tipList,(function(r,a){return t("li",{key:a},[e._v("\n "+e._s(r)+"\n ")])})),0),t("div",{directives:[{name:"show",rawName:"v-show",value:"classifyAttr"===e.currentTypeObj[e.type]["upParams"],expression:"currentTypeObj[type]['upParams'] === 'classifyAttr'"}],staticClass:"radio_box"},[t("span",[e._v("分类的路径使用的属性:")]),t("el-radio-group",{model:{value:e.classifyAttr,callback:function(t){e.classifyAttr=t},expression:"classifyAttr"}},[t("el-radio",{attrs:{label:"id"}},[e._v("分类编号")]),t("el-radio",{attrs:{label:"name"}},[e._v("分类名称")])],1)],1),e.showCodeApply&&"codeApply"===e.currentTypeObj[e.type]["upParams"]?t("div",{staticStyle:{"margin-top":"20px"}},[t("Divider",{attrs:{text:"编码规则的码段信息,请先选择后再导入",left:"30px"}}),t("FormTemplate",{ref:"CodeApply",staticStyle:{"margin-top":"30px"},attrs:{type:"add",selfColumnType:e.selfColumnType,selfColumnConfig:e.selfColumnConfig},on:{getFormData:e.getCodeApplyFormData,referConfigDataUpdate:e.referConfigDataUpdate}})],1):e._e(),t("Divider",{attrs:{text:"excel文件,选择文件后会自动上传",left:"30px"}}),t("el-upload",{staticClass:"upload",attrs:{accept:e.accept,action:e.action,"before-upload":e.beforeUpload,"on-exceed":e.handleExceed,headers:e.uploadHeaders,"on-success":e.onSuccess,"on-error":e.onError,"show-file-list":!1,"on-change":e.uploadChange,data:e.upParams}},[t("el-button",{attrs:{size:"small",type:"primary"}},[t("i",{staticClass:"el-icon-upload"}),e._v(" 点击上传")])],1),e.showVisible?t("ShowImportData",{attrs:{visible:e.showVisible,leftTree:e.leftTree,classifyAttr:e.classifyAttr,codeClassifyOid:e.codeClassifyOid,redisOid:e.redisOid,type:e.type,title:e.title,secDTOList:e.secDTOList},on:{"update:visible":function(t){e.showVisible=t}}}):e._e()],1):e._e()},n=[],i=(r("8e6e"),r("ac6a"),r("456d"),r("7f7f"),r("28a5"),r("96cf"),r("1da1")),o=r("ade3"),s=r("8294"),l=r("78e2"),c=r("8cf2"),u=r("0a5a"),d=r("741a");function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){Object(o["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var m={name:"BatchImport",mixins:[d["a"]],components:{ShowImportData:s["default"],FormTemplate:c["default"]},props:{visible:{type:Boolean,default:!1},accept:{type:String,default:".xlsx, .xls"},codeClassifyOid:{type:String,default:""},type:{type:String,default:""}},computed:{uploadHeaders:function(){return{"Blade-Auth":"bearer "+Object(u["a"])()}},dialogVisible:{get:function(){return this.visible},set:function(e){this.$emit("update:visible",e)}},title:function(){return this.currentTypeObj[this.type]["title"]},tipList:function(){return this.currentTypeObj[this.type]["tipList"]},downloadTemplateApi:function(){return console.log(this.currentTypeObj[this.type],"this.type"),this.currentTypeObj[this.type]["downloadTemplateFun"]},action:function(){return this.currentTypeObj[this.type]["action"]},upParams:function(){var e=this;return"historyImport"===this.type||"batchApplyCode"===this.type?{codeClassifyOid:this.codeClassifyOid,classifyAttr:this.classifyAttr}:"batchImportApply"===this.type?(this.secDTOList=this.localSecVOList.map((function(t){return{secOid:t.oid,secValue:e.codeApplyForm[t.id]}})),f({codeClassifyOid:this.codeClassifyOid,secDTOList:JSON.stringify(this.secDTOList)},this.codeApplyForm)):void 0}},data:function(){return{classifyAttr:"id",downloadLoading:!1,showVisible:!1,leftTree:[],redisOid:"",pageLoading:null,showCodeApply:!1,currentTypeObj:{historyImport:{title:"历史数据导入",tipList:["1.标题带五角星的表示关键属性,带星号表示必输项","2.企业编码,集团码和状态都需要导入","3.每次仅能最多导入10000条数据,如果出错会返回错误的数据和原因,但是正确的数据会保存","4.分类的路径需要用#分隔。仅填写当前选的分类树上的下级分类的路径,如果当前分类已经是叶子节点,则不填写"],action:"/api/ubcs-code/mdmEngineController/batchImportHistoryData",downloadTemplateFun:l["downloadHistoryImportTemplate"],upParams:"classifyAttr"},batchImportApply:{title:"批量申请编码",tipList:["1.标题带五角星的表示关键属性,带星号表示必输项","2.请一定先选择/输入编码规则的码段值后再选择excel文件","3.每次仅能最多导入10000条数据,如果出错会返回错误的数据和原因,但是正确的数据会保存","4.如果属性为参照,在参照配置中设置多个属性时,优先使用name属性的值,否则填写第一个属性的值。"],action:"/api/ubcs-code/mdmEngineController/batchImportCode",downloadTemplateFun:l["downloadBatchImportApplyTemplate"],upParams:"codeApply"},batchApplyCode:{title:"批量申请编码",tipList:["1.标题带五角星的表示关键属性,带星号表示必输项","2.分类的路径需要用#分隔。从当前选择分类节点的下级开始填写,直到最末尾节点,如 产品#主机产品#主机产品"],action:"/api/ubcs-code/mdmEngineController/batchTopImportCode",downloadTemplateFun:l["downloadBatchApplyCodeTemplate"],upParams:"classifyAttr"}},secDTOList:[]}},methods:{beforeUpload:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(t){var r,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(r=t.name.split(".").pop(),"xlsx"===r||"xls"===r){e.next=4;break}return this.$message.error("只允许上传xlsx、xls格式的文件"),e.abrupt("return",Promise.reject(!1));case 4:if("batchImportApply"!==this.type||!this.showCodeApply){e.next=10;break}return e.next=7,this.$refs.CodeApply.validate();case 7:if(a=e.sent,a){e.next=10;break}return e.abrupt("return",Promise.reject(!1));case 10:return this.pageLoading=this.$loading({lock:!0,text:"文件上传中",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.7)"}),e.abrupt("return",!0);case 12:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}(),downloadTemplateFun:function(){var e=this;this.downloadLoading=!0,this.downloadTemplateApi({codeClassifyOid:this.codeClassifyOid}).then((function(t){e.$utilFunc.downloadFileByBlob(t.data,e.title+"模板.xls"),e.downloadLoading=!1})).catch((function(){e.downloadLoading=!1}))},onSuccess:function(e){var t=this;if(0===Object.keys(e.data).length)return this.$message.success(this.title+"导入成功!"),void(this.dialogVisible=!1);if(e.data.fileOid){var r=e.data.filePath.split("/").pop();this.$message.error("请下载错误信息文件进行查看!"),Object(l["downloadErrorFile"])({uuid:e.data.fileOid}).then((function(e){t.$utilFunc.downloadFileByBlob(e.data,r)}))}e.data.redisUuid&&(this.redisOid=e.data.redisUuid,Object(l["importDataShow"])(e.data.redisUuid).then((function(e){t.leftTree=e.data.data.map((function(e){return"batchApplyCode"===t.type?{cloNamesList:e.cloNamesList,oid:e.codeTemplateOid,codeClassifyOid:e.codeClassifyOid,name:e.codeRuleVO.name}:f(f({},e.codeClassifyTemplateVO),{},{cloNamesList:e.cloNamesList,codeClassifyOid:e.codeClassifyTemplateVO.codeclassifyoid})})),t.showVisible=!0})))},onError:function(e){console.log(e,"err"),this.pageLoading.close()},uploadChange:function(e){"success"!==e.status&&"error"!==e.status||this.pageLoading.close()}},watch:{}},h=m,b=(r("6dde"),r("2877")),g=Object(b["a"])(h,a,n,!1,null,"4b30fbf1",null);t["default"]=g.exports},ac45:function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e._self._c;return t("el-dialog",{staticStyle:{height:"150vh","margin-top":"-13vh",overflow:"hidden"},attrs:{title:"公式编辑框","append-to-body":"",visible:e.isShowformulaEdit,width:"78%"},on:{"update:visible":function(t){e.isShowformulaEdit=t},close:e.closeFormulaEdit}},[t("div",{staticStyle:{"overflow-y":"auto",height:"80vh"}},[t("el-row",[t("el-col",{staticStyle:{overflow:"hidden"},attrs:{span:14}},[t("el-card",{staticClass:"box-card",staticStyle:{height:"33vh","overflow-y":"auto","overflow-x":"auto"}},[t("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[t("span",{staticStyle:{"font-size":"medium"}},[e._v("公式内容")]),t("el-button",{staticStyle:{float:"right"},attrs:{type:"primary",size:"mini"},on:{click:e.saveFormulaContent}},[e._v("\n 确定\n ")]),t("el-button",{staticStyle:{"margin-right":"10px",float:"right"},attrs:{type:"warning",size:"mini"},on:{click:e.resetFormulaContent}},[e._v("\n 清空内容\n ")])],1),t("div",{staticClass:"text item"},[t("el-input",{staticStyle:{width:"560px"},attrs:{type:"textarea",rows:5},model:{value:e.formulaContent,callback:function(t){e.formulaContent=t},expression:"formulaContent"}})],1)])],1),t("el-col",{attrs:{span:10}},[t("el-card",{staticClass:"box-card formula-box-card",staticStyle:{height:"35vh"},attrs:{"data-v-49729759":""}},[t("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[t("span",{staticStyle:{"font-size":"medium"}},[e._v("运算符")])]),t("div",{staticClass:"formula-editor-total"},[t("div",{staticClass:"formula-editor"},[t("div",{staticClass:"one"},[t("el-button",{staticClass:"formula-editor-btn-sm",attrs:{type:"primary"},on:{click:function(t){return e.dbClickAddContent({formula:"7"})}}},[e._v("\n 7\n ")]),t("el-button",{staticClass:"formula-editor-btn-sm",attrs:{type:"primary"},on:{click:function(t){return e.dbClickAddContent({formula:"8"})}}},[e._v("\n 8\n ")]),t("el-button",{staticClass:"formula-editor-btn-sm",attrs:{type:"primary"},on:{click:function(t){return e.dbClickAddContent({formula:"9"})}}},[e._v("\n 9\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:"4"})}}},[e._v("\n 4\n ")]),t("el-button",{staticClass:"formula-editor-btn-sm",attrs:{type:"primary"},on:{click:function(t){return e.dbClickAddContent({formula:"5"})}}},[e._v("\n 5\n ")]),t("el-button",{staticClass:"formula-editor-btn-sm",attrs:{type:"primary"},on:{click:function(t){return e.dbClickAddContent({formula:"6"})}}},[e._v("\n 6\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:"1"})}}},[e._v("\n 1\n ")]),t("el-button",{staticClass:"formula-editor-btn-sm",attrs:{type:"primary"},on:{click:function(t){return e.dbClickAddContent({formula:"2"})}}},[e._v("\n 2\n ")]),t("el-button",{staticClass:"formula-editor-btn-sm",attrs:{type:"primary"},on:{click:function(t){return e.dbClickAddContent({formula:"3"})}}},[e._v("\n 3\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:"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:"40vh","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.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",width:"300"}})],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",width:"300"}})],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",width:"300"}})],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",width:"300"}})],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",width:"300"}})],1)],1)],1)],1)])],1),t("el-col",{staticStyle:{overflow:"hidden"},attrs:{span:10}},[t("el-card",{staticClass:"box-card",staticStyle:{height:"40vh","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:"120"}}),t("el-table-column",{attrs:{prop:"desc",width:"200"}})],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:"200"}}),t("el-table-column",{attrs:{prop:"desc",width:"200"}})],1)],1)],1)],1)])],1)],1)],1)])},n=[],i={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}},mounted:function(){this.formulaContent=this.componentRuleText},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=i,s=(r("b339"),r("2877")),l=Object(s["a"])(o,a,n,!1,null,"837d143c",null);t["default"]=l.exports},ad51:function(e,t,r){"use strict";r.r(t);var a=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:"邮件(1)",name:"first"}}),t("el-tab-pane",{attrs:{label:"消息(2)",name:"second"}}),t("el-tab-pane",{attrs:{label:"通知",name:"third"}})],1),t("el-scrollbar",{staticStyle:{height:"300px"}},[t("avue-notice",{attrs:{data:e.data,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)},n=[],i=[{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:"已完成"}],o={name:"top-notice",data:function(){return{activeName:"first",option:{props:{img:"img",title:"title",subtitle:"subtitle",tag:"tag",status:"status"}},data:i}},created:function(){},methods:{pageChange:function(e,t){var r=this;setTimeout((function(){r.$message.success("页码"+e),r.data=r.data.concat(i),t()}),1e3)}}},s=o,l=r("2877"),c=Object(l["a"])(s,a,n,!1,null,"1c4fe258",null);t["default"]=c.exports},ae5a:function(e,t,r){"use strict";r("1143")},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,r){"use strict";r.r(t);var a=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%"},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,"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)},n=[],i=(r("8e6e"),r("456d"),r("28a5"),r("ac6a"),r("ade3")),o=(r("a481"),r("c54a")),s=r("276d");function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){Object(i["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var u={name:"vciWebReferTable",props:["referConfig","value","text","title","disabled"],data:function(){return{visible:!1,options:this.referConfig.options||{},isMuti:"true"==this.referConfig.options.isMuti||1==this.referConfig.options.isMuti||1==this.referConfig.options.muti,props:{value:this.referConfig.valueField||this.referConfig.options.valueField||"oid",label:this.referConfig.textField||this.referConfig.options.textField||"name"},url:this.referConfig.options.url||"/api/ubcs-code/mdmEngineController/defaultReferDataGrid",tableDefinedUrl:"",copyParam:["referBo","textField","valueField","displayTable","whereSql","queryScheme"],query:{},loading:!1,page:{pageSize:10,currentPage:1,total:this.referConfig.options.data?this.referConfig.options.data.length:0},data:this.referConfig.options.data||[],selectionList:[],option:{addBtn:!1,height:this.referConfig.options.height?this.referConfig.options.height:475,calcHeight:30,tip:!1,menu:!1,searchShow:!0,searchMenuSpan:6,searchLabelWidth:90,border:!0,index:!0,selection:!0,dialogClickModal:!1,highlightCurrentRow:!0,rowKey:"oid",rowParentKey:"parentSaleProduct",column:[]}}},created:function(){this.getParams()},mounted:function(){this.referConfig.options.page&&(this.page.pageSize=this.referConfig.options.page.limit||this.referConfig.options.page.pageSize,this.page.currentPage=this.referConfig.options.page.page||this.referConfig.options.page.currentPage)},computed:{valueInfo:function(){return this.text?"已设置的值为["+this.text+"]":"未设置值"}},methods:{getParams:function(){var e=this,t={};if(this.options.extraParams&&(t=this.options.extraParams),this.options.useFormKey&&this.options.formValues&&(t['conditionMap["'+(this.options.paramForFormKey?this.options.paramForFormKey:this.options.useFormKey)+'"]']=this.options.formValues[this.options.useFormKey]),this.options.where)for(var r in this.options.where)t['conditionMap["'+r+'"]']=this.options.where[r];for(var a=0;a<this.copyParam.length;a++)t[this.copyParam[a]]=this.options[this.copyParam[a]];if(t["isMuti"]=this.isMuti,t.muti=this.isMuti,t["referBo"]||(t["referBo"]=this.options["referBo"]||this.options["referType"]),t["referType"]=t["referBo"],this.options.remoteSort&&this.options.initSort&&(t["order"]=this.options.initSort.type,t["sort"]=this.options.initSort.field),this.options.conditionParams)for(var r in this.options.conditionParams)t['conditionMap["'+r+'"]']=this.options.conditionParams[r];if(this.options.sourceDataParams)for(var r in this.options.sourceDataParams){if(r&&r.constructor===Object)return;t['sourceData["'+r+'"]']=this.options.sourceDataParams[r]}if(this.options.replaceParams)for(var r in this.options.replaceParams){if(r&&r.constructor===Object)return;t['replaceMap["'+r+'"]']=this.options.replaceParams[r]}var n={};if(t)for(var r in t)n[r.replace(/"/g,"'")]=t[r];if(this.options.displayTable)Object(s["getTableDefinedUrl"])({btmType:this.options.referBo||this.options.referType,code:this.options.displayTable,isMuti:this.isMuti},this.tableDefinedUrl).then((function(t){if(t.success){var r=t.querySchema;!Object(o["b"])(r)&&Object(o["b"])(e.options.queryScheme)&&(e.options.queryScheme=r),n["queryScheme"]=e.options.queryScheme,t.showIndex&&(e.option.index=!0),t.showCheckbox&&(e.option.selection=!0);var a="";t.columns&&(e.option.column=t.columns.map((function(e){return e.field.indexOf(".")>-1&&(a+=e.field+",",e.field=e.field.replace(".","_")),Object(o["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"}]),c(c({},e),{},{label:e.title,prop:e.field,search:!0})}))),n["referColumn"]=a,t.limit>0&&(e.page.pageSize=t.limit,e.page.currentPage=1),e.options.isTreeGrid,e.params=n}else e.$message.error(t.msg)}));else{var i=this.options.tableConfig;i||this.$message.error("没有定义参照的表格配置"),this.page.pageSize=i.page.limit||10,n?(n["currentUserReferModelKey"]=this.options.currentUserReferModelKey,n["currentUserReferMethodKey"]=this.options.currentUserReferMethodKey):n={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(e){if("LAY_TABLE_INDEX"!=e.field&&"LAY_CHECKED"!=e.field)return c(c({},e),{},{label:e.title,prop:e.field,formatter:e.template,search:!0})}))),this.options.isTreeGrid}this.params=n},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=[],r=this.props.value.indexOf(",")>-1,a=this.props.label.indexOf(",")>-1,n=this;this.selectionList.forEach((function(i,o){if(r){var s=n.props.value.split(",");s.forEach((function(t,r){e.push(i[r]+(n.referConfig.valueSep?n.referConfig.valueSep:" "))}))}else e.push(i[n.props.value]);if(a){var l=n.props.label.split(",");l.forEach((function(e,r){t.push(i[r]+(n.referConfig.textSep?n.referConfig.textSep:" "))}))}else t.push(i[n.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}),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},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,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.url){this.loading=!0;var a={};if(this.query)for(var n in this.query)a['conditionMap["'+n+'"]']=this.query[n];Object(s["getList"])(Object.assign(r,this.params,this.query,a),e.currentPage,e.pageSize,this.url).then((function(e){t.data=e.data.records,t.page.total=e.data.total,t.loading=!1,t.selectionClear()})).catch((function(e){t.$message.error(e),t.loading=!1}))}}}},d=u,p=(r("6249"),r("2877")),f=Object(p["a"])(d,a,n,!1,null,"14f8f6fe",null);t["default"]=f.exports},b1ca:function(e,t,r){"use strict";r.r(t),r.d(t,"getPage",(function(){return c})),r.d(t,"getDetail",(function(){return u})),r.d(t,"add",(function(){return d})),r.d(t,"batchAdd",(function(){return p})),r.d(t,"update",(function(){return f})),r.d(t,"batchUpdate",(function(){return m})),r.d(t,"remove",(function(){return h})),r.d(t,"refList",(function(){return b})),r.d(t,"getAppayRange",(function(){return g}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s="/api/ubcs-omd",l="/revision-rule",c=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-omd/revision-rule/page",method:"get",params:o(o({},r),{},{current:e,size:t})})},u=function(e){return Object(n["a"])({url:"/api/ubcs-omd/revision-rule/detail",method:"get",params:{oid:e}})},d=function(e){return Object(n["a"])({url:"/api/ubcs-omd/revision-rule/submit",method:"post",data:e})},p=function(e){return Object(n["a"])({url:"/api/ubcs-omd/revision-rule/batch-submit",method:"post",data:e})},f=function(e){return Object(n["a"])({url:"/api/ubcs-omd/revision-rule/submit",method:"post",data:e})},m=function(e){return Object(n["a"])({url:"/api/ubcs-omd/revision-rule/batch-submit",method:"post",data:e})},h=function(e){return Object(n["a"])({url:"/api/ubcs-omd/revision-rule/remove",method:"post",data:e})},b=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-omd/revision-rule/ref",method:"get",params:o(o({},r),{},{currentPage:e,pageSize:t})})},g=function(e){return Object(n["a"])({url:s+l+"/get-apply-range",method:"get",params:{id:e}})}},b297:function(e,t,r){"use strict";t["a"]={propsDefault:{label:"label",path:"path",icon:"icon",children:"children",isOpen:"isOpen"}}},b2cc:function(e,t,r){},b339:function(e,t,r){"use strict";r("3c33")},b5c6:function(e,t,r){"use strict";r("6762"),r("2fdb");var a=r("cebe"),n=r.n(a),i=r("4360"),o=r("9883"),s=r("0e0b"),l=r("0a5a"),c=r("5f72"),u=r("1ca4"),d=r("27ae"),p=r("323e"),f=r.n(p),m=(r("a5d8"),r("4328")),h=r.n(m);n.a.defaults.timeout=2e4,n.a.defaults.validateStatus=function(e){return e>=200&&e<=500},n.a.defaults.withCredentials=!0,f.a.configure({showSpinner:!1}),n.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 r=e.meta||{},a=!1===r.isToken;return Object(l["a"])()&&!a&&(e.headers[u["a"].tokenHeader]="bearer "+Object(l["a"])()),!0===e.text&&(e.headers["Content-Type"]="text/plain"),"post"===e.method&&!0===r.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)})),n.a.interceptors.response.use((function(e){f.a.done();var t=e.data.code||e.status,r=u["a"].statusWhiteList||[],a=e.data.msg||e.data.error_description||"未知错误";return r.includes(t)?Promise.reject(e):(401===t&&i["a"].dispatch("FedLogOut").then((function(){return o["a"].push({path:"/login"})})),200!==t?(Object(c["Message"])({message:a,type:"error"}),Promise.reject(new Error(a))):e)}),(function(e){return f.a.done(),Promise.reject(new Error(e))})),t["a"]=n.a},b761:function(e,t,r){"use strict";r.r(t),r.d(t,"getTreeList",(function(){return s})),r.d(t,"defaultReferDataGrid",(function(){return l})),r.d(t,"referDataGrid",(function(){return c}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeClassify/referTree",method:"get",params:o({},e)})},l=function(e){return Object(n["a"])({url:"/api/ubcs-code/mdmEngineController/defaultReferDataGrid",method:"get",params:o({},e)})},c=function(e){return Object(n["a"])({url:"/api/ubcs-code/referBtmTypeController/referDataGrid",method:"get",params:o({},e)})}},b887:function(e,t,r){"use strict";r.r(t),r.d(t,"treeTopCodeClassify",(function(){return s})),r.d(t,"listClassifyLinkAttr",(function(){return l}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeClassify/treeTopCodeClassify",method:"get",params:o({},e)})},l=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeClassify/listClassifyLinkAttr",method:"get",params:o({},e)})}},baf2:function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e._self._c;return t("el-dialog",{staticStyle:{height:"115vh","margin-top":"-14vh","overflow-y":"hidden"},attrs:{title:"参照配置","append-to-body":"",visible:e.isShowReferConfigForm,width:"90%",id:"refer-config-form"},on:{"update:visible":function(t){e.isShowReferConfigForm=t},close:function(t){return e.recoveryDataAndForm("initData")}}},[t("div",{staticStyle:{width:"100%","overflow-y":"auto",height:"70vh"}},[t("el-row",[t("avue-form",{ref:e.formRefs[0],staticClass:"referTypeForm",attrs:{option:e.formOption},scopedSlots:e._u([{key:"referTypeName",fn:function(r){var a=r.disabled,n=r.size;return[t("el-input",{ref:"referTypeName",attrs:{disabled:a,size:n,placeholder:"请选择 参照的业务类型","prefix-icon":"el-icon-search",readonly:"true"},on:{focus:function(t){return e.openSelectionTable("referType")}},model:{value:e.form.referTypeName,callback:function(t){e.$set(e.form,"referTypeName",t)},expression:"form.referTypeName"}},[t("i",{directives:[{name:"show",rawName:"v-show",value:!a,expression:"!disabled"}],staticClass:"el-icon-circle-close",staticStyle:{"margin-right":"5px",cursor:"pointer"},attrs:{slot:"suffix"},on:{click:function(t){return e.clearSelectionTable("referType")}},slot:"suffix"})])]}},{key:"sortField",fn:function(r){var a=r.disabled,n=r.size;return[t("el-input",{ref:"sortField",attrs:{disabled:a,size:n,placeholder:"请选择 排序字段","prefix-icon":"el-icon-search",readonly:"true"},on:{focus:function(t){return e.openSelectionTable("sortField")}},model:{value:e.form.sortField,callback:function(t){e.$set(e.form,"sortField",t)},expression:"form.sortField"}},[t("i",{staticClass:"el-icon-circle-close",staticStyle:{"margin-right":"5px",cursor:"pointer"},attrs:{slot:"suffix"},on:{click:function(t){return e.clearSelectionTable("sortField")}},slot:"suffix"})])]}}]),model:{value:e.form,callback:function(t){e.form=t},expression:"form"}})],1),t("el-row",[t("el-tabs",{attrs:{type:"border-card"},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[t("el-tab-pane",{attrs:{name:"first",disabled:e.isDisabledTabs}},[t("span",{attrs:{slot:"label"},slot:"label"},[t("i",{staticClass:"el-icon-monitor"}),e._v("显示的属性与其他配置")]),t("el-row",[t("avue-form",{ref:e.formRefs[1],staticClass:"referTypeForm",attrs:{option:e.formOtherOption},scopedSlots:e._u([{key:"sortField",fn:function(r){var a=r.disabled,n=r.size;return[t("el-input",{ref:"sortField",attrs:{disabled:a,size:n,placeholder:"请选择 排序字段","prefix-icon":"el-icon-search",readonly:"true"},on:{focus:function(t){return e.openSelectionTable("sortField")}},model:{value:e.form.sortField,callback:function(t){e.$set(e.form,"sortField",t)},expression:"form.sortField"}},[t("i",{staticClass:"el-icon-circle-close",staticStyle:{"margin-right":"5px",cursor:"pointer"},attrs:{slot:"suffix"},on:{click:function(t){return e.clearSelectionTable("sortField")}},slot:"suffix"})])]}}]),model:{value:e.form,callback:function(t){e.form=t},expression:"form"}})],1),t("el-row",{directives:[{name:"show",rawName:"v-show",value:"default"==e.form.type||"grid"==e.form.type,expression:"form.type=='default' || form.type=='grid'"}]},[t("el-divider",{staticStyle:{"margin-bottom":"-40px"},attrs:{"content-position":"left"}},[e._v("配置显示的属性")]),t("avue-crud",{ref:"crudAttr",staticClass:"crud-attr",attrs:{option:e.attrOption,data:e.codeShowFieldConfigVOS},on:{"cell-click":e.clickAttrEdit},scopedSlots:e._u([{key:"menu",fn:function(r){return[t("el-button",{attrs:{type:"text",size:"small",icon:"el-icon-search",plain:""},on:{click:function(e){r.row.isquery=!r.row.isquery}}},[e._v("\n "+e._s(r.row.isquery?"取消快速查询":"快速查询")+"\n ")]),t("el-button",{attrs:{type:"text",size:"small",icon:"el-icon-minus",plain:""},on:{click:function(t){return e.removeCurrentRow(r.row,"removeAttr")}}},[e._v("移除\n ")])]}},{key:"menuLeft",fn:function(r){return[t("el-button",{attrs:{type:"primary",size:"small",icon:"el-icon-plus"},on:{click:function(t){return e.openSelectionTable("selectAttr")}}},[e._v("选择属性\n ")]),t("div",{staticClass:"tag-group",staticStyle:{display:"inline"}},e._l(e.codeShowFieldConfigVOS,(function(r){return t("el-tag",{directives:[{name:"show",rawName:"v-show",value:r.isquery&&""!=r.title,expression:"item.isquery && item.title!=''"}],key:r.title,staticStyle:{"margin-left":"3px"},attrs:{type:"info",size:"small",effect:"dark"}},[e._v("\n "+e._s(r.title)+"\n ")])})),1)]}}])})],1)],1),t("el-tab-pane",{attrs:{name:"second"}},[t("span",{attrs:{slot:"label"},slot:"label"},[t("i",{staticClass:"el-icon-search"}),e._v("添加查询条件")]),t("avue-crud",{ref:"crudAddCondition",attrs:{option:e.addSearchCondtionOption,data:e.form.codeSrchCondConfigVOS},on:{"cell-click":e.clickAddSearchCondtionEdit},scopedSlots:e._u([{key:"menu",fn:function(r){return[t("el-button",{attrs:{type:"text",size:"small",icon:"el-icon-minus",plain:""},on:{click:function(t){return e.removeCurrentRow(r.row,"removeaddSearchCondtion")}}},[e._v("移除\n ")])]}},{key:"menuLeft",fn:function(r){return[t("el-button",{attrs:{type:"primary",size:"small",icon:"el-icon-plus"},on:{click:function(t){return e.openSelectionTable("addSearchCondition")}}},[e._v("\n 添加查询条件\n ")])]}}])})],1)],1)],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary"},on:{click:e.selectedListReferConfig}},[e._v("确 定")]),t("el-button",{on:{click:function(t){return e.recoveryDataAndForm("initForm")}}},[e._v("清空内容")]),t("el-button",{on:{click:function(t){e.isShowReferConfigForm=!1}}},[e._v("取 消")])],1),t("refer-btm-type-crud-dialog",{ref:e.referBtmDialogParams.ref,attrs:{visible:e.referBtmDialogParams.selectReferBtmSettingBox},on:{"update:visible":function(t){return e.$set(e.referBtmDialogParams,"selectReferBtmSettingBox",t)},echoReferBtmType:e.echoReferBtmType}}),t("refer-select-btm-attr-dialog",{ref:e.selectedBtmTypeAttrParams.ref,attrs:{title:"为【排序字段】选取值",visible:e.selectedBtmTypeAttrParams.selectedBtmTypeAttrSettingBox},on:{"update:visible":function(t){return e.$set(e.selectedBtmTypeAttrParams,"selectedBtmTypeAttrSettingBox",t)},echoSelectedAttr:e.echoSelectedAttr}}),t("el-dialog",{staticStyle:{height:"110vh","margin-top":"-12vh","overflow-y":"hidden"},attrs:{title:"选择显示字段","append-to-body":"",visible:e.isShowShowField,width:"70%","destroy-on-close":""},on:{"update:visible":function(t){e.isShowShowField=t}}},[t("avue-crud",{ref:"selectShowFieldCrud",attrs:{option:e.selectionShowFieldOption,"table-loading":e.selectShowFieldLoading,data:e.selectShowFieldData},on:{"row-click":e.showFieldRowClick,"selection-change":e.selectionShowFieldDataChange,"search-change":e.showFieldSearchChange,"search-reset":e.showFieldSearchReset}}),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary"},on:{click:e.selectedShowField}},[e._v("确 定")]),t("el-button",{on:{click:function(t){e.isShowShowField=!1}}},[e._v("取 消")])],1)],1),t("el-dialog",{staticStyle:{height:"110vh","margin-top":"-12vh","overflow-y":"hidden"},attrs:{title:"选择查询条件","append-to-body":"",visible:e.isShowSearchCondition,width:"70%","destroy-on-close":""},on:{"update:visible":function(t){e.isShowSearchCondition=t}}},[t("avue-crud",{ref:"selectSearchConditionCrud",attrs:{option:e.selectionSearchConditionOption,"table-loading":e.selectSearchConditionLoading,data:e.selectSearchConditionData},on:{"row-click":e.searchConditionRowClick,"selection-change":e.searchConditionDataChange,"search-change":e.searchConditionSearchChange,"search-reset":e.searchConditionSearchReset}}),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary"},on:{click:e.selectedSearchCondition}},[e._v("确 定")]),t("el-button",{on:{click:function(t){e.isShowSearchCondition=!1}}},[e._v("取 消")])],1)],1)],1)},n=[],i=(r("7f7f"),r("ade3")),o=(r("96cf"),r("1da1")),s=(r("ac6a"),r("d9a3")),l={name:"referConfigDialog",props:{},data:function(){var e=this;return{labelWidth:"150",isShowReferConfigForm:!1,referTypeIsReadOnly:!1,form:{referTypeName:"",referType:"",textField:"name",valueField:"oid",type:"default",url:"",backPath:"",method:"GET",height:"",useFormKey:"",paramForFormKey:"",isMuti:!1,mapFields:"",isOpenGlobal:!0,codeSrchCondConfigVOS:[],isPersistence:!0,id:"",name:""},removeFormAttr:["limit","sortField","sortType","parentFieldName","parentUsedField","parentValue","loadType","onlyLeaf","sortType","referContent","displayTable"],codeShowFieldConfigVOS:[],attrOption:{height:"180",tip:!1,addBtn:!1,editBtn:!1,searchShow:!1,searchMenuSpan:6,border:!1,index:!0,viewBtn:!1,delBtn:!1,selection:!1,disablePage:!1,refreshBtn:!1,columnBtn:!1,dialogClickModal:!1,highlightCurrentRow:!0,indexFixed:!1,menuFixed:!1,column:[{label:"列字段(*)",prop:"field",cell:!0,clearable:!1,blur:function(t){return e.updateAttrBlur(t)}},{label:"列名(*)",prop:"title",cell:!0,clearable:!1,blur:function(t){return e.updateAttrBlur(t)}},{label:"字段类型(*)",prop:"fieldTypeText",cell:!0,clearable:!1,type:"select",value:"text",dicData:[{value:"text",label:"文本框"},{value:"combox",label:"下拉菜单"},{value:"radio",label:"单选"},{value:"swtich",label:"开关"},{value:"date",label:"时间"},{value:"textarea",label:"文本域"}],blur:function(t){return e.updateAttrBlur(t)}},{label:"列表可排序",prop:"sort",cell:!0,clearable:!1,type:"switch",width:"80px",value:!0,blur:function(t){return e.updateAttrBlur(t)}},{label:"排序字段",prop:"attrSortField",cell:!0,clearable:!1,blur:function(t){return e.updateAttrBlur(t)}},{label:"字段宽度",prop:"width",cell:!0,clearable:!1,blur:function(t){return e.updateAttrBlur(t)}},{label:"列固定位置",prop:"fixedPosition",cell:!0,type:"select",clearable:!1,value:"noFixed",dicData:[{value:"noFixed",label:"不固定"},{value:"left",label:"左边"},{value:"right",label:"右边"}],blur:function(t){return e.updateAttrBlur(t)}},{label:"js显示代码",prop:"templet",cell:!0,clearable:!1,blur:function(t){return e.updateAttrBlur(t)}}]},addSearchCondtionOption:{height:"150",tip:!1,addBtn:!1,editBtn:!1,searchShow:!1,searchMenuSpan:6,border:!1,index:!0,viewBtn:!1,delBtn:!1,selection:!1,disablePage:!1,refreshBtn:!1,columnBtn:!1,dialogClickModal:!1,highlightCurrentRow:!0,column:[{label:"筛选字段",prop:"filterField",cell:!0,clearable:!1},{label:"筛选类型",prop:"filterType",type:"select",cell:!0,clearable:!1,dicData:[{value:"_like",label:"包含"},{value:"_notlike",label:"不包含"},{value:"equal",label:"等于"},{value:"_notequal",label:"不等于"},{value:"_ge",label:"大于"},{value:"_le",label:"小于"}]},{label:"筛选值",prop:"filterValue",cell:!0,clearable:!1}]},formRefs:["form","otherForm"],isDisabledTabs:!1,activeName:"first",referBtmDialogParams:{ref:"crudReferBtm",selectReferBtmSettingBox:!1},selectedBtmTypeAttrParams:{ref:"selectedBtmTypeAttrCrud",selectedBtmTypeAttrSettingBox:!1},seletedBtmTypeAttrOptions:{title:"",condition:"",btmTypeId:""},preClickAttrRow:"",preClickAddSearchConditionRow:""}},computed:{formOption:function(){var e=this,t="";return t=function(e,t,r){/[^\d]/g.test(t)?r(new Error("窗口显示的高度必须为数值类型")):r()},{submitBtn:!1,emptyBtn:!1,labelWidth:"145",group:[{icon:"el-icon-info",label:"必填的参照配置",collapse:!0,labelWidth:"115",prop:"groupDdefaultOrGrid",column:[{label:"参照的业务类型",prop:"referTypeName",span:6,labelWidth:"130",disabled:this.referTypeIsReadOnly,clearable:!this.referTypeIsReadOnly,tip:"参照数据查询的业务类型。",tipPlacement:"bottom",rules:[{required:!0,message:"(参照的业务类型)必填项不能为空",trigger:["blur","change"]}]},{label:"显示的属性",prop:"textField",tip:"选择数据后,显示到字段上的信息所属的属性,一般都是name,如果是多个属性使用逗号分割,如id,name。",tipPlacement:"bottom",span:6,value:"name",rules:[{required:!0,message:"(显示的属性)必填项不能为空",trigger:"blur"}]},{label:"存储值的属性",prop:"valueField",tip:"选择数据后,保存到数据库里的属性,一般都是oid或者id,如果是多个属性使用逗号分割,如oid ,id",value:"oid",tipPlacement:"bottom",span:6,rules:[{required:!0,message:"(存储值的属性)必填项不能为空",trigger:"blur"}]},{label:"参照窗口类型",prop:"type",tip:"default:默认的参照窗口样式; stand:UI上下文配置的方式; classify:分类+档案的显示; 自定义的参照直接写js的组件路径;tree:树形展示;grid:列表展示",tipPlacement:"bottom",span:6,value:"default",type:"select",dicData:[{label:"默认样式",value:"default"},{label:"平台配置",value:"stand"},{label:"树形",value:"tree"},{label:"列表",value:"grid"},{label:"部门树",value:"refer/OrgDepartmentRefer"},{label:"部门列表",value:"refer/OrgDepartmentGridRefers"},{label:"用户",value:"refer/SmUserRefer"},{label:"用户列表",value:"refer/SmUserGridRefer"},{label:"角色列表",value:"refer/SmRoleRefer"},{label:"职务",value:"refer/OrgDutyRefer"},{label:"工种",value:"refer/SmWorkTypeRefer"},{label:"流程模板",value:"refer/WfProcessTemplateRefer"}],rules:[{required:!0,message:"(参照窗口类型)必填项不能为空",trigger:"blur"}],change:function(t){var r=t.value,a=(t.column,{});e.activeName="first","stand"==r?(a={referContent:"",displayTable:""},e.isDisabledTabs=!1):"default"==r||"grid"==r?(a={limit:15,sortField:"",sortType:"asc"},e.isDisabledTabs=!1):"tree"==r?(a={parentFieldName:"",parentUsedField:"oid",parentValue:"",loadType:"all",onlyLeaf:!1,sortField:"",sortType:"asc"},e.form.type="tree",e.isDisabledTabs=!1):(e.isDisabledTabs=!0,e.activeName="second"),e.removeFormAttr.forEach((function(t){e.$delete(e.form,t)})),e.form=Object.assign(a,e.form)}},{label:"是否开启持久化",prop:"isPersistence",tip:"true:开启持久化,对当前定义的参照配置进行持久化存储,下次可直接选取;false:仅对当前次码段新增生效。",tipPlacement:"bottom",span:6,type:"switch"},{display:this.form.isPersistence|"true"==this.form.isPersistence,label:"编号",prop:"id",rules:[{required:!0,message:"(开启持久化时编号)必填项不能为空",trigger:"blur"}],span:6},{display:this.form.isPersistence|"true"==this.form.isPersistence,label:"名称",prop:"name",rules:[{required:!0,message:"(开启持久化时名称)必填项不能为空",trigger:"blur"}],span:6}]},{icon:"el-icon-info",label:"页面参数配置",collapse:!1,prop:"webConfig",column:[{label:"窗口显示的高度",prop:"height",tip:"默认空着,设置后表示强制显示这样的高度",tipPlacement:"right",span:7,rules:[{validator:t,message:"窗口显示的高度必须为数值类型",trigger:"blur"}]},{label:"过滤(级联)属性",prop:"useFormKey",tip:"获取表单上的其他属性的属性的值来过滤,或者使用某个属性来级联选择",tipPlacement:"right",span:7},{label:"过滤属性请求参数",prop:"paramForFormKey",tip:"使用过滤属性时,发送给后台的请求参数",tipPlacement:"right",span:7},{label:"映射其他属性",prop:"mapFields",tip:"选择数据后,将选择的数据拷贝到表单里的其他属性,书写格式为{当前表单上的属性:选择数据里的属性,XXXXx:yyyy}",tipPlacement:"right",span:7},{label:"是否开启全局",prop:"isOpenGlobal",tip:"开启全局之后对全部参照配置数据进行查询,默认根据租户进行查询。",tipPlacement:"right",type:"switch",span:7},{label:"是否多选",type:"switch",prop:"isMuti",value:!1,span:7,row:!0}]},{icon:"el-icon-info",label:"后台参数配置",collapse:!1,prop:"backstageConfig",column:[{label:"自定义的后台路径",prop:"url",tip:"通常为空;如果是列表,后台必须返回DataGrid,如果是树,后台必须返回List<Tree>",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()}},methods:{clickAttrEdit:function(e,t,r){this.preClickAttrRow&&this.preClickAttrRow!=e&&(this.codeShowFieldConfigVOS[this.preClickAttrRow.$index].$cellEdit=!1),e.$cellEdit=!0,this.preClickAttrRow=e},clickAddSearchCondtionEdit:function(e,t,r){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.referTypeIsReadOnly=!0,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)},selectedListReferConfig:function(){var e=Object(o["a"])(regeneratorRuntime.mark((function e(){var t,r,a=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){a.$refs[e].validate((function(e,r,n){if(!e){for(var i in n){a.$message.warning(n[i][0].message);break}t=!1}r()}))}));case 3:t&&(r=this.filterForm(),this.$emit("echoReferConfig",r),this.isShowReferConfigForm=!1);case 4:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),onloadAttrData:function(){var e=this;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}],this.$nextTick((function(){e.$refs.crudAttr.doLayout()}))},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,r=["referTypeName","referType","textField","valueField","type","url","backPath","method","height","useFormKey","paramForFormKey","isMuti","mapFields","codeSrchCondConfigVOS","isOpenGlobal","isPersistence"],a=[],n={};return"stand"==t.type?a=["referContent","displayTable"]:"default"==t.type||"grid"==t.type?a=["limit","sortField","sortType"]:"tree"==t.type&&(a=["parentFieldName","parentUsedField","parentValue","loadType","onlyLeaf","sortField","sortType"]),"true"==t.isPersistence|t.isPersistence&&(r=r.concat(["id","name"])),r=r.concat(a),this.checkArrayIsUndefined(this.form.codeSrchCondConfigVOS)||(n={codeSrchCondConfigVOS:this.form.codeSrchCondConfigVOS}),("default"==t.type||"grid"==t.type)&&this.codeShowFieldConfigVOS.length>=0&&!this.checkArrayIsUndefined(this.codeShowFieldConfigVOS)&&(n=Object.assign(n,{codeShowFieldConfigVOS:this.codeShowFieldConfigVOS})),r.forEach((function(r){"isMuti"!=r&&"onlyLeaf"!=r&&e.checkStringIsEmpty(t[r])&&e.checkArrayIsUndefined(t[r])||(n=Object.assign(n,Object(i["a"])({},r,t[r])))})),n},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){console.log(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=(r("05d8"),r("2877")),d=Object(u["a"])(c,a,n,!1,null,null,null);t["default"]=d.exports},bc5f:function(e,t,r){"use strict";r("a297")},bcc5:function(e,t,r){"use strict";r.r(t);var a=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)},n=[],i={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=i,s=r("2877"),l=Object(s["a"])(o,a,n,!1,null,"431df4ac",null);t["default"]=l.exports},bd80:function(e,t,r){"use strict";r.r(t);var a=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"}})},n=[],i=(r("8e6e"),r("ac6a"),r("456d"),r("a481"),r("ade3")),o=(r("28a5"),r("ee95")),s=r("c54a");function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){Object(i["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var u={name:"vciWebReferTree",props:["referConfig","value","text","title","disabled"],data:function(){return{options:this.referConfig.options,lazy:"node"==this.referConfig.options.loadType,isMuti:"true"==this.referConfig.options.isMuti||1==this.referConfig.options.isMuti||1==this.referConfig.options.muti,props:{value:"oid",label:"name"},config:{valueField:this.referConfig.valueField||this.referConfig.options.valueField||"oid",textField:this.referConfig.textField||this.referConfig.options.textField||"name",textSep:this.referConfig.textSep||" "},treeUrl:this.referConfig.options.url||"/api/ubcs-code/mdmEngineController/defaultReferTree",treeData:[],selectionList:[],currentNode:{},params:{},loadType:{all:"all",node:"node"},copyParam:["btmType","lnType","toBtmType","textField","valueField","parentFieldName","parentValue","sort","order","isDirection","whereSql","isMuti","queryScheme","isQueryAllColumn","queryColumn","split","loadType","onlyLeaf","onlyLeafText","parentUsedField"]}},created:function(){this.getParams()},mounted:function(){this.lazy||(this.options.data?this.treeData=this.options.data:this.getTree())},computed:{},methods:{getParams:function(){var e={};this.options.extraParams&&(e=this.options.extraParams);for(var t=0;t<this.copyParam.length;t++)"btmType"==this.copyParam[t]?e[this.copyParam[t]]=this.options["referBo"]||this.options["referType"]:this.copyParam[t]in this.options&&(e[this.copyParam[t]]=this.options[this.copyParam[t]]);if(e["referBo"]=this.options["referBo"]||this.options["referType"],e["referType"]=e["referBo"],e["selectAllLevel"]=this.options.loadType==this.loadType.all,e.muti=this.isMuti,"true"==e.isQueryAllColumn&&(e.isQueryAllColumn=!0),this.options.useFormKey&&this.options.formValues&&(e['conditionMap["'+(this.options.paramForFormKey?this.options.paramForFormKey:this.options.useFormKey)+'"]']=this.options.formValues[this.options.useFormKey]),this.options.loadType||(this.options.loadType=this.loadType.node),e["queryAllLevel"]=this.options.loadType!=this.loadType.node,e["loadType"]=this.options.loadType,e["multipleSelect"]=this.isMuti,e["isMuti"]=e["multipleSelect"],this.options.remoteSort&&this.options.initSort&&(e["order"]=this.options.initSort.type,e["sort"]=this.options.initSort.field),this.options.rootParams)for(var r in this.options.rootParams)e[r]=this.options.rootParams[r];if(this.options.conditionParams)for(var r in this.options.conditionParams)e['conditionMap["'+r+'"]']=this.options.conditionParams[r];if(this.options.where)for(var r in this.options.where)e['conditionMap["'+r+'"]']=this.options.where[r];if(this.options.treeExtandParams)for(var r in this.options.treeExtandParams)e['extandParamsMap["'+r+'"]']=this.options.treeExtandParams[r];if(this.options.sourceDataParams)for(var r in this.options.sourceDataParams){if(r&&r.constructor===Object)return;e['sourceData["'+r+'"]']=this.options.sourceDataParams[r]}if(this.options.replaceParams)for(var r in this.options.replaceParams){if(r&&r.constructor===Object)return;e['replaceMap["'+r+'"]']=this.options.replaceParams[r]}e["parentValue"]="\\IN(SELECT oid from PL_CODE_CLASSIFY where id ='hesuanfenlei')",this.params=e},getTree:function(){var e=this;Object(o["getTree"])(this.params,this.treeUrl).then((function(t){e.treeData=t.data}))},treeLoad:function(e,t){var r=0===e.level?0:e.data.oid;if(this.params.parentOid=r.indexOf("@vcitreesep@")>-1?r.split("@vcitreesep@")[1]:r,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 a in this.options.rootParams)delete this.params[a];Object(o["getLazyTree"])(this.params,this.treeUrl).then((function(e){t(e.data.data.map((function(e){return c(c({},e),{},{leaf:!e.hasChildren})})))}))},nodeClick:function(e,t,r){this.isMuti||this.setValue({checkedNodes:[e]})},checked:function(e,t){this.setValue(t)},setValue:function(e){for(var t=[],r=[],a=this.config.textSep,n=0;n<e.checkedNodes.length;n++){var i=e.checkedNodes[n],o=this.config.valueField.indexOf("attribute.")>=0?i.attributes[this.config.valueField.replace("attribute.","")]:i.attributes[this.config.valueField]||i[this.config.valueField];t.push(o);for(var l=[],c=this.config.textField.split(","),u=0;u<c.length;u++)if(!Object(s["b"])(c[u])){var d=c[u].indexOf("attribute.")>=0?i.attributes[c[u].replace("attribute.","")]:i.attributes[c[u]]||i[c[u]];l.push(d)}r.push(l.join(a))}this.value=t.join(","),this.text=r.join(","),this.$emit("setValue",{field:this.referConfig.field,showField:this.referConfig.showField,value:this.value,text:this.text||"",isTreeMuti:this.isMuti,rawData:e.checkedNodes})}},watch:{}},d=u,p=r("2877"),f=Object(p["a"])(d,a,n,!1,null,"65de9721",null);t["default"]=f.exports},bf30:function(e,t,r){},bf9e:function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e._self._c;return e.dialogVisible?t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],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,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()},n=[],i=(r("2fdb"),r("ade3")),o=(r("96cf"),r("1da1")),s=(r("7f7f"),r("6762"),r("902d")),l=r("8cf2"),c=r("6657"),u={name:"FormTemplateDialog",components:{ResembleQuery:c["default"],FormTemplate:l["default"]},props:{visible:{type:Boolean,default:!1},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:"确 定"}},data:function(){return{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"},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"},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"]}},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(s["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.$nextTick((function(){e.$refs.FormTemplate.templateRender(t.data.formDefineVO.items)})))})).catch((function(){e.loading=!1}))},getCodeRule:function(){var e=this;Object(s["getCodeRule"])({codeClassifyOid:this.codeClassifyOid}).then((function(t){if(t.data&&200===t.data.code){var r=["codefixedsec","codeclassifysec","codevariablesec","coderefersec"];e.secVOList=(t.data.data.secVOList||[]).filter((function(e){return r.includes(e.secType)})),e.secVOList.length>0&&"add"===e.type?(e.showCodeApply=!0,e.activeName="codeApply",e.$nextTick((function(){e.$refs.CodeApply.templateRender(e.secVOList)}))):e.showCodeApply=!1}}))},getFormData:function(e){this.form=e},getCodeApplyFormData:function(e){this.codeApplyForm=e},referConfigDataUpdate:function(e){var t=this,r=e.field;this.secVOList=this.secVOList.map((function(e){return e.parentClassifySecOid===r&&(t.$refs.CodeApply.form[e.oid]=void 0,t.$refs.CodeApply.form[e.name]=void 0),e})),this.$refs.CodeApply.templateRender(this.secVOList)},resembleQuerySubmit:function(){this.activeName="resembleQuery",this.$refs.resembleQueryRef.resembleQuery(this.form)},handleClick:function(){"resembleQuery"===this.activeName&&this.resembleQuerySubmit()},submit:function(){var e=Object(o["a"])(regeneratorRuntime.mark((function e(){var t,r,a,n,o,s,l,c,u,d=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(r=!0,!this.showCodeApply){e.next=13;break}return e.next=9,this.$refs.CodeApply.validate();case 9:if(r=e.sent,console.log(9999),r){e.next=13;break}return e.abrupt("return");case 13:return e.next=15,this.$refs.resembleQueryRef.resembleQuery(this.form);case 15:if(a=e.sent,0===a.length){for(c in n={},o=this.getDefaultValueAndFormValues(this.form),s=o.defaultValue,l=o.formValue,n.data=l,n=Object.assign({},n,s),n.secDTOList=[],this.codeApplyForm)Object.hasOwnProperty.call(this.codeApplyForm,c)&&(u=this.codeApplyForm[c],u&&n.secDTOList.push(Object(i["a"])({},c,u)));this.$emit("submit",n)}else this.$confirm("该物料已有".concat(a.length,"条相似数据,是否继续保存?"),"需要您确认",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){d.$emit("submit",d.form)})).catch((function(){}));case 17:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),getDefaultValueAndFormValues:function(e){var t={},r={};for(var a in e)if(Object.hasOwnProperty.call(e,a)){var n=e[a];this.defaultKeys.includes(a)?t[a]=n:r[a]=n}return{defaultValue:t,formValue:r}},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)),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"},r=e.fixedValueVOList.map((function(e){for(var r in t)if(Object.hasOwnProperty.call(t,r)){var a=t[r];e[r]=e[a]}return e}));return r}return[]}}},d=u,p=(r("2e1d"),r("2877")),f=Object(p["a"])(d,a,n,!1,null,"a102a75c",null);t["default"]=f.exports},c0c7:function(e,t,r){"use strict";r.r(t),r.d(t,"getList",(function(){return s})),r.d(t,"remove",(function(){return l})),r.d(t,"add",(function(){return c})),r.d(t,"update",(function(){return u})),r.d(t,"updatePlatform",(function(){return d})),r.d(t,"getUser",(function(){return p})),r.d(t,"getUserPlatform",(function(){return f})),r.d(t,"getUserInfo",(function(){return m})),r.d(t,"resetPassword",(function(){return h})),r.d(t,"updatePassword",(function(){return b})),r.d(t,"updateInfo",(function(){return g})),r.d(t,"grant",(function(){return y})),r.d(t,"unlock",(function(){return v})),r.d(t,"insert",(function(){return O})),r.d(t,"check",(function(){return w}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e,t,r,a){return Object(n["a"])({url:"/api/ubcs-user/page",method:"get",params:o(o({},r),{},{current:e,size:t,deptId:a})})},l=function(e){return Object(n["a"])({url:"/api/ubcs-user/remove",method:"post",params:{ids:e}})},c=function(e){return Object(n["a"])({url:"/api/ubcs-user/submit",method:"post",data:e})},u=function(e){return Object(n["a"])({url:"/api/ubcs-user/update",method:"post",data:e})},d=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-user/update-platform",method:"post",params:{userId:e,userType:t,userExt:r}})},p=function(e){return Object(n["a"])({url:"/api/ubcs-user/detail",method:"get",params:{id:e}})},f=function(e){return Object(n["a"])({url:"/api/ubcs-user/platform-detail",method:"get",params:{id:e}})},m=function(){return Object(n["a"])({url:"/api/ubcs-user/info",method:"get"})},h=function(e){return Object(n["a"])({url:"/api/ubcs-user/reset-password",method:"post",params:{userIds:e}})},b=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-user/update-password",method:"post",params:{oldPassword:e,newPassword:t,newPassword1:r}})},g=function(e){return Object(n["a"])({url:"/api/ubcs-user/update-info",method:"post",data:e})},y=function(e,t){return Object(n["a"])({url:"/api/ubcs-user/grant",method:"post",params:{userIds:e,roleIds:t}})},v=function(e){return Object(n["a"])({url:"/api/ubcs-user/unlock",method:"post",params:{userIds:e}})},O=function(e){return Object(n["a"])({url:"/api/ubcs-system/user-pwdstrategy/insert",method:"put",data:e})},w=function(e){return Object(n["a"])({url:"/api/ubcs-user/check-renexpr",method:"post",params:{userId:e}})}},c0fb:function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"basic-block",style:e.styleName},[t("div",{staticClass:"box",style:e.boxStyleName},[t("router-link",{attrs:{to:e.to}},[t("span",{domProps:{textContent:e._s(e.text)}}),t("p",{domProps:{textContent:e._s(e.dept)}}),t("i",{class:e.icon})])],1)])},n=[],i=(r("c5f6"),{name:"basicBlock",props:{icon:{type:String},background:{type:String},to:{type:Object,default:function(){return{}}},text:{type:String},dept:{type:String},time:{type:[Number,String]},gutter:{type:[Number,String],default:5},color:{type:String},width:{type:[Number,String]},height:{type:[Number,String]}},computed:{styleName:function(){return{animationDelay:"".concat(this.time/25,"s"),width:this.setPx(this.width),height:this.setPx(this.height),margin:this.setPx(this.gutter)}},boxStyleName:function(){return{backgroundColor:this.color,backgroundImage:"url('".concat(this.background,"')")}}}}),o=i,s=(r("49c2"),r("2877")),l=Object(s["a"])(o,a,n,!1,null,null,null);t["default"]=l.exports},c14f:function(e,t,r){"use strict";r("9976")},c1a9:function(e,t,r){},c1aa:function(e,t,r){"use strict";r.r(t),r.d(t,"getList",(function(){return s})),r.d(t,"getDetail",(function(){return l})),r.d(t,"remove",(function(){return c})),r.d(t,"add",(function(){return u})),r.d(t,"update",(function(){return d}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-develop/datasource/list",method:"get",params:o(o({},r),{},{current:e,size:t})})},l=function(e){return Object(n["a"])({url:"/api/ubcs-develop/datasource/detail",method:"get",params:{id:e}})},c=function(e){return Object(n["a"])({url:"/api/ubcs-develop/datasource/remove",method:"post",params:{ids:e}})},u=function(e){return Object(n["a"])({url:"/api/ubcs-develop/datasource/submit",method:"post",data:e})},d=function(e){return Object(n["a"])({url:"/api/ubcs-develop/datasource/submit",method:"post",data:e})}},c24f:function(e,t,r){"use strict";r.r(t),r.d(t,"loginByUsername",(function(){return i})),r.d(t,"loginBySocial",(function(){return o})),r.d(t,"loginBySso",(function(){return s})),r.d(t,"refreshToken",(function(){return l})),r.d(t,"registerGuest",(function(){return c})),r.d(t,"getButtons",(function(){return u})),r.d(t,"getCaptcha",(function(){return d})),r.d(t,"logout",(function(){return p})),r.d(t,"getUserInfo",(function(){return f})),r.d(t,"sendLogs",(function(){return m})),r.d(t,"clearCache",(function(){return h})),r.d(t,"selcetList",(function(){return b}));r("7f7f");var a=r("b5c6"),n=r("1ca4"),i=function(e,t,r,i,o,s,l){return Object(a["a"])({url:"/api/ubcs-auth/oauth/token",method:"post",headers:{"Tenant-Id":e,"Dept-Id":n["a"].switchMode?t:"","Role-Id":n["a"].switchMode?r:"","Captcha-Key":l},params:{tenantId:e,username:i,password:o,grant_type:n["a"].captchaMode?"captcha":"password",scope:"all",type:s}})},o=function(e,t,r){return Object(a["a"])({url:"/api/ubcs-auth/oauth/token",method:"post",headers:{"Tenant-Id":e},params:{tenantId:e,source:t,state:r,grant_type:"social",scope:"all"}})},s=function(e){return Object(a["a"])({url:"/api/ubcs-auth/oauth/token",method:"post",headers:{"Tenant-Id":e},params:{tenantId:e,grant_type:"authorization_code",scope:"all",redirect_uri:n["a"].redirectUri}})},l=function(e,t,r,i){return Object(a["a"])({url:"/api/ubcs-auth/oauth/token",method:"post",headers:{"Tenant-Id":t,"Dept-Id":n["a"].switchMode?r:"","Role-Id":n["a"].switchMode?i:""},params:{tenantId:t,refresh_token:e,grant_type:"refresh_token",scope:"all"}})},c=function(e,t){return Object(a["a"])({url:"/api/ubcs-user/register-guest",method:"post",params:{tenantId:e.tenantId,name:e.name,account:e.account,password:e.password,oauthId:t}})},u=function(){return Object(a["a"])({url:"/api/ubcs-system/menu/buttons",method:"get"})},d=function(){return Object(a["a"])({url:"/api/ubcs-auth/oauth/captcha",method:"get",authorization:!1})},p=function(){return Object(a["a"])({url:"/api/ubcs-auth/oauth/logout",method:"get",authorization:!1})},f=function(){return Object(a["a"])({url:"/api/ubcs-auth/oauth/user-info",method:"get"})},m=function(e){return Object(a["a"])({url:"/api/ubcs-auth/oauth/logout",method:"post",data:e})},h=function(){return Object(a["a"])({url:"/api/ubcs-auth/oauth/clear-cache",method:"get",authorization:!1})},b=function(){return Object(a["a"])({url:"/api/ubcs-system/tenant/tenant-map",method:"get"})}},c25c:function(e,t,r){},c2ef:function(e,t,r){},c35b:function(e,t,r){},c370:function(e,t,r){},c477:function(e,t,r){},c54a:function(e,t,r){"use strict";r.d(t,"a",(function(){return a})),r.d(t,"b",(function(){return n}));r("28a5");function a(e){return/^http[s]?:\/\/.*/.test(e)}function n(e){if("boolean"==typeof e)return!1;if("number"==typeof e)return!1;if(e instanceof Array){if(0==e.length)return!0}else{if(!(e instanceof Object))return"null"==e||null==e||"undefined"==e||void 0==e||""==e;if("{}"===JSON.stringify(e))return!0}return!1}},c5e0:function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e._self._c;return t("el-dialog",{staticStyle:{height:"115vh","margin-top":"-14vh","overflow-y":"hidden"},attrs:{title:"选择参照配置","append-to-body":"",visible:e.isShowReferConfigCrud,width:"95%",id:"refer-config-dialog"},on:{"update:visible":function(t){e.isShowReferConfigCrud=t}}},[t("div",{staticStyle:{width:"100%","overflow-y":"auto",height:"70vh"}},[t("el-row",{staticStyle:{width:"100%",height:"70%"}},[t("el-col",{style:e.toggleBasicCrudWidth},[t("basic-container",{staticStyle:{width:"100%"}},[t("avue-crud",{ref:e.referConfigParams.ref,staticClass:"refer-config-crud",attrs:{option:e.referConfigCrudOption,page:e.referConfigParams.referConfigPage,"table-loading":e.referConfigParams.referConfigLoading,data:e.referConfigParams.referConfigData},on:{"update:page":function(t){return e.$set(e.referConfigParams,"referConfigPage",t)},"row-click":e.referConfigRowClick,"search-change":e.referConfigSearchChange,"search-reset":e.referConfigSearchReset,"current-change":e.referConfigCurrentChange,"size-change":e.referConfigSizeChange,"on-load":e.referConfigOnload},scopedSlots:e._u([{key:"radio",fn:function(r){var a=r.row;return[t("el-radio",{attrs:{label:a.$index},model:{value:e.referConfigParams.referConfigSelectedRow,callback:function(t){e.$set(e.referConfigParams,"referConfigSelectedRow",t)},expression:"referConfigParams.referConfigSelectedRow"}},[e._v("\n \n ")])]}}])})],1)],1),t("el-col",{directives:[{name:"show",rawName:"v-show",value:e.isShowForm,expression:"isShowForm"}],staticStyle:{height:"100%",width:"30%"}},[t("basic-container",{staticStyle:{width:"100%",height:"100vh","overflow-y":"hidden"}},[t("avue-form",{ref:"refereConfigForm",staticClass:"refer-confg-form",staticStyle:{height:"65vh","overflow-y":"auto"},attrs:{option:e.formOption},model:{value:e.referConfigForm,callback:function(t){e.referConfigForm=t},expression:"referConfigForm"}})],1)],1)],1),t("el-row",{staticStyle:{width:"100%",height:"30%","margin-top":"130px"}},[t("el-col",{style:e.toggleSrchCrudWidth},[t("basic-container",{staticStyle:{width:"100%",height:"100%"}},[t("avue-crud",{ref:e.srchCondParams.ref,staticClass:"refer-srchcond-crud",attrs:{option:e.srchCondOption,"table-loading":e.srchCondParams.srchCondLoading,data:e.srchCondParams.srchCondData}})],1)],1),t("el-col",{directives:[{name:"show",rawName:"v-show",value:e.showAttrParams.isShow,expression:"showAttrParams.isShow"}],staticStyle:{width:"60%",height:"100%"}},[t("basic-container",{staticStyle:{width:"100%",height:"100%"}},[t("avue-crud",{ref:e.showAttrParams.ref,staticClass:"refer-attr-crud",attrs:{option:e.showAttrOption,"table-loading":e.showAttrParams.showAttrLoading,data:e.showAttrParams.showAttrData}})],1)],1)],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.selectedreferConfig("selectedSave")}}},[e._v("选择并保存")]),t("el-button",{on:{click:function(t){return e.selectedreferConfig("selectedEdit")}}},[e._v("选择并修改")])],1)])},n=[],i=(r("456d"),r("ade3")),o=(r("ac6a"),r("0eb9")),s={name:"referConfigDialog",props:{},data:function(){return{isShowReferConfigCrud:!1,referConfigCrudOption:{border:!0,height:"45vh",tip:!1,searchShow:!0,searchMenuSpan:6,index:!0,selection:!1,menu:!1,addBtn:!1,refreshBtn:!1,searchShowBtn:!1,columnBtn:!1,dialogClickModal:!1,highlightCurrentRow:!0,align:"center",menuAlign:"center",column:[{label:"-",prop:"radio",width:60,hide:!1},{label:"参照配置编号",width:120,search:!0,searchSpan:9,searchLabelWidth:100,prop:"id"},{label:"参照配置名称",search:!0,searchSpan:9,searchLabelWidth:100,prop:"name"},{label:"参照的业务类型",search:!1,prop:"referTypeName"},{label:"显示的属性",search:!1,prop:"textField"},{label:"存储值的属性",search:!1,prop:"valueField"},{label:"参照窗口类型",search:!1,prop:"typeText"}]},referConfigParams:{ref:"referConfigCrud",referConfigLoading:!1,referConfigData:[],referConfigPage:{pageSize:10,currentPage:1,total:0},referConfigQuery:{},referConfigSelectedRowData:"",referConfigSelectedRow:""},formOption:{submitBtn:!1,emptyBtn:!1,labelWidth:"150",column:[{label:"树形的上级属性",prop:"parentFieldName",span:24,disabled:!0,row:!0,placeholder:" "},{label:"上级属性值对应属性",prop:"parentUsedField",span:24,disabled:!0,row:!0,placeholder:" "},{label:"根节点的值",prop:"parentValue",span:24,disabled:!0,row:!0,placeholder:" "},{label:"树加载方式",prop:"loadType",span:24,disabled:!0,row:!0,placeholder:" ",dicData:[{label:"全部",value:"all"},{label:"逐级加载",value:"node"}]},{label:"是否只能选择叶子节点",prop:"onlyLeaf",span:24,disabled:!0,row:!0,placeholder:" "},{label:"排序字段",prop:"sortField",span:24,disabled:!0,row:!0,placeholder:" "},{label:"排序类型",prop:"sortType",span:24,disabled:!0,row:!0,placeholder:" ",dicData:[{label:"升序",value:"asc"},{label:"降序",value:"desc"}]}]},referConfigForm:{},sortColumn:[{label:"每页显示条数",prop:"limit",span:24,disabled:!0,row:!0,placeholder:" "},{label:"排序字段",prop:"sortField",span:24,disabled:!0,row:!0,placeholder:" "},{label:"排序类型",prop:"sortType",span:24,disabled:!0,row:!0,placeholder:" ",dicData:[{label:"升序",value:"asc"},{label:"降序",value:"desc"}]}],treeColumn:[{label:"树形的上级属性",prop:"parentFieldName",span:24,disabled:!0,row:!0,placeholder:" "},{label:"上级属性值对应属性",prop:"parentUsedField",span:24,disabled:!0,row:!0,placeholder:" "},{label:"根节点的值",prop:"parentValue",span:24,disabled:!0,row:!0,placeholder:" "},{label:"树加载方式",prop:"loadType",span:24,disabled:!0,row:!0,placeholder:" ",dicData:[{label:"全部",value:"all"},{label:"逐级加载",value:"node"}]},{label:"是否只能选择叶子节点",prop:"onlyLeaf",span:24,disabled:!0,row:!0,placeholder:" "},{label:"排序字段",prop:"sortField",span:24,disabled:!0,row:!0,placeholder:" "},{label:"排序类型",prop:"sortType",span:24,disabled:!0,row:!0,placeholder:" ",dicData:[{label:"升序",value:"asc"},{label:"降序",value:"desc"}]}],standColumn:[{label:"参考的UI上下文",prop:"referContent",span:24,disabled:!0,row:!0,placeholder:" "},{label:"平台的表格编号",prop:"displayTable",span:24,disabled:!0,row:!0,placeholder:" "}],srchCondOption:{border:!0,height:"40vh",tip:!1,searchShow:!1,searchMenuSpan:6,index:!0,selection:!1,menu:!1,addBtn:!1,refreshBtn:!1,searchShowBtn:!1,columnBtn:!1,dialogClickModal:!1,highlightCurrentRow:!0,align:"center",menuAlign:"center",column:[{label:"查询条件",children:[{label:"筛选字段",prop:"filterField"},{label:"筛选类型",prop:"filterType"},{label:"筛选的值",prop:"filterValue"}]}]},srchCondParams:{ref:"srchCondCrud",srchCondLoading:!1,srchCondData:[],isShow:!0},toggleSrchCrudWidth:{width:"40%",height:"100%"},showAttrOption:{border:!0,height:"40vh",tip:!1,searchShow:!1,searchMenuSpan:6,index:!0,selection:!1,menu:!1,addBtn:!1,refreshBtn:!1,searchShowBtn:!1,columnBtn:!1,dialogClickModal:!1,highlightCurrentRow:!0,align:"center",menuAlign:"center",column:[{label:"显示的属性",children:[{label:"列字段",prop:"field"},{label:"列名",prop:"title"},{label:"字段类型",prop:"fieldTypeText"},{label:"列表可排序",prop:"sort"},{label:"排序字段",prop:"attrSortField"},{label:"字段宽度",prop:"width"},{label:"列固定位置",prop:"fixedPositionText"},{label:"js显示代码",prop:"templet"},{label:"是否快速查询",prop:"isQuery"}]}]},showAttrParams:{ref:"showAttrCrud",showAttrLoading:!1,showAttrData:[],isShow:!0},isShowForm:!0,toggleBasicCrudWidth:{height:"100%",width:"70%"},isShowAttrCrud:!0,defaultOrGridForm:["limit","sortField","sortType"],standForm:["referContent","displayTable"],treeForm:["parentFieldName","parentUsedField","parentValue","loadType","onlyLeaf","sortField","sortType"]}},methods:{selectedreferConfig:function(e){var t=this.referConfigParams.referConfigSelectedRowData;if(t){var r=this.filterForm(t);if("selectedSave"==e)this.$emit("echoReferConfig",r);else{var a={referBtmName:r.referType,referBtmId:r.referTypeName,referConfig:JSON.stringify(r)};this.$emit("openReconfigInterFace",a)}this.isShowReferConfigCrud=!1}else this.$message.warning("请选择一条数据!")},filterForm:function(e){var t=this,r=["referTypeName","referType","textField","valueField","type","url","backPath","method","height","useFormKey","paramForFormKey","isMuti","mapFields","isOpenGlobal","isPersistence","id","name"],a=[],n={};return"stand"==e.type?a=["referContent","displayTable"]:"default"==e.type||"grid"==e.type?a=["limit","sortField","sortType"]:"tree"==e.type&&(a=["parentFieldName","parentUsedField","parentValue","loadType","onlyLeaf","sortField","sortType"]),r=r.concat(a),e.codeSrchCondConfigVOS.length>0&&(n={codeSrchCondConfigVOS:e.codeSrchCondConfigVOS}),("default"==e.type||"grid"==e.type)&&e.codeShowFieldConfigVOS.length>=0&&(n=Object.assign(n,{codeShowFieldConfigVOS:e.codeShowFieldConfigVOS})),r.forEach((function(r){"isMuti"!=r&&"onlyLeaf"!=r&&t.checkStringIsEmpty(e[r])&&t.checkArrayIsUndefined(e[r])||(n=Object.assign(n,Object(i["a"])({},r,e[r])))})),n},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 r={};t.referConfigQuery&&Object.keys(t.referConfigQuery).forEach((function(e){r["conditionMap["+e+"]"]=t.referConfigQuery[e]})),Object(o["getReferConfigPage"])(t.referConfigPage.currentPage,t.referConfigPage.pageSize,r).then((function(t){var r=t.data.data;e.referConfigParams.referConfigPage.total=r.total,e.referConfigParams.referConfigData=r.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,r="";"default"==e.type||"grid"==e.type?(this.formOption.column=this.sortColumn,r="defaultOrGridForm"):"stand"==e.type?(this.formOption.column=this.standColumn,r="standForm"):"tree"==e.type&&(this.formOption.column=this.treeColumn,r="treeForm"),this.referConfigForm={},this[r].forEach((function(r){Vue.set(t.referConfigForm,r,e[r])}))},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=(r("0b5c"),r("2877")),u=Object(c["a"])(l,a,n,!1,null,null,null);t["default"]=u.exports},c7a0:function(e,t,r){"use strict";r.r(t);var a=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)},n=[],i=(r("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,r){var a=this;add(Object.assign({createUser:this.userInfo.name},e)).then((function(){a.$message.success("新增成功"),t(),a.getList()})).catch((function(){r()}))},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=i,s=r("2877"),l=Object(s["a"])(o,a,n,!1,null,"1f686f42",null);t["default"]=l.exports},c7cc:function(e,t,r){"use strict";r.r(t);var a=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)},n=[],i=(r("8e6e"),r("ac6a"),r("456d"),r("ade3")),o=r("5880");function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){Object(i["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var c={name:"top-lang",data:function(){return{}},created:function(){},mounted:function(){},computed:l({},Object(o["mapGetters"])(["language","tag"])),props:[],methods:{handleSetLanguage:function(e){this.$i18n.locale=e,this.$store.commit("SET_LANGUAGE",e);var t=this.tag,r=this.$router.$avueRouter.generateTitle(t.label,(t.meta||{}).i18n);this.$router.$avueRouter.setTitle(r)}}},u=c,d=r("2877"),p=Object(d["a"])(u,a,n,!1,null,"09b7b110",null);t["default"]=p.exports},c808:function(e,t,r){},cadc:function(e,t,r){"use strict";r.r(t),t["default"]={tabs:!0,tabsActive:1,group:[{label:"个人信息",prop:"info",column:[{label:"头像",type:"upload",listType:"picture-img",propsHttp:{res:"data",url:"link"},canvasOption:{text:" ",ratio:.1},action:"/api/ubcs-resource/oss/endpoint/put-file",tip:"只能上传jpg/png用户头像,且不超过500kb",span:12,row:!0,prop:"avatar"},{label:"姓名",span:12,row:!0,prop:"realName"},{label:"用户名",span:12,row:!0,prop:"name"},{label:"手机号",span:12,row:!0,prop:"phone"},{label:"邮箱",prop:"email",span:12,row:!0}]},{label:"",prop:"password",column:[{label:"原密码",span:12,row:!0,type:"password",prop:"oldPassword"},{label:"新密码",span:12,row:!0,type:"password",prop:"newPassword"},{label:"确认密码",span:12,row:!0,type:"password",prop:"newPassword1"}]}]}},cb4a:function(e,t,r){"use strict";r.r(t),r.d(t,"referDataGrid",(function(){return s})),r.d(t,"gridAttributesByBtmId",(function(){return l}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-code/referBtmTypeController/referDataGrid",method:"get",params:o(o({},r),{},{page:e,limit:t})})},l=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-code/referBtmTypeController/gridAttributesByBtmId",method:"get",params:o(o({},r),{},{page:e,limit:t})})}},cc5e:function(e,t,r){"use strict";r.r(t),r.d(t,"getList",(function(){return n})),r.d(t,"queryApplyStat",(function(){return i}));var a=r("b5c6"),n=function(e){return Object(a["a"])({url:"/api/ubcs-applyjtcodeservice/DockingPreApplyCode/page",method:"get",params:e})},i=function(e){return Object(a["a"])({url:"/api/ubcs-applyjtcodeservice/DockingPreApplyCode/queryApplyState",method:"get",params:e})}},ccbe:function(e,t,r){"use strict";r.r(t),r.d(t,"getList",(function(){return s})),r.d(t,"getDetail",(function(){return l})),r.d(t,"remove",(function(){return c})),r.d(t,"add",(function(){return u})),r.d(t,"update",(function(){return d})),r.d(t,"setting",(function(){return p})),r.d(t,"datasource",(function(){return f})),r.d(t,"info",(function(){return m})),r.d(t,"packageInfo",(function(){return h})),r.d(t,"packageSetting",(function(){return b}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-system/tenant/list",method:"get",params:o(o({},r),{},{current:e,size:t})})},l=function(e){return Object(n["a"])({url:"/api/ubcs-system/tenant/detail",method:"get",params:{id:e}})},c=function(e){return Object(n["a"])({url:"/api/ubcs-system/tenant/remove",method:"post",params:{ids:e}})},u=function(e){return Object(n["a"])({url:"/api/ubcs-system/tenant/submit",method:"post",data:e})},d=function(e){return Object(n["a"])({url:"/api/ubcs-system/tenant/submit",method:"post",data:e})},p=function(e,t){return Object(n["a"])({url:"/api/ubcs-system/tenant/setting",method:"post",params:o(o({},t),{},{ids:e})})},f=function(e,t){return Object(n["a"])({url:"/api/ubcs-system/tenant/datasource",method:"post",params:{tenantId:e,datasourceId:t}})},m=function(e){return Object(n["a"])({url:"/api/ubcs-system/tenant/info",method:"get",params:{domain:e}})},h=function(e){return Object(n["a"])({url:"/api/ubcs-system/tenant/package-detail",method:"get",params:{tenantId:e}})},b=function(e,t){return Object(n["a"])({url:"/api/ubcs-system/tenant/package-setting",method:"post",params:{tenantId:e,packageId:t}})}},ccf1:function(e,t,r){"use strict";r("3856")},cebe:function(e,t){e.exports=axios},cee8:function(e,t,r){"use strict";r.r(t),r.d(t,"optionParent",(function(){return a})),r.d(t,"optionChild",(function(){return n}));var a={height:"auto",calcHeight:30,tip:!1,searchShow:!0,searchMenuSpan:10,border:!0,index:!0,selection:!0,viewBtn:!0,menuWidth:250,dialogWidth:880,dialogClickModal:!1,column:[{label:"字典编号",prop:"code",search:!0,slot:!0,span:24,rules:[{required:!0,message:"请输入字典编号",trigger:"blur"}]},{label:"字典名称",prop:"dictValue",search:!0,align:"center",rules:[{required:!0,message:"请输入字典名称",trigger:"blur"}]},{label:"字典排序",prop:"sort",type:"number",align:"right",width:100,rules:[{required:!0,message:"请输入字典排序",trigger:"blur"}]},{label:"封存",prop:"isSealed",type:"switch",align:"center",width:100,dicData:[{label:"否",value:0},{label:"是",value:1}],value:0,slot:!0,rules:[{required:!0,message:"请选择封存",trigger:"blur"}]},{label:"字典备注",prop:"remark",hide:!0}]},n={height:"auto",calcHeight:95,tip:!1,searchShow:!0,searchMenuSpan:10,tree:!0,border:!0,index:!0,selection:!0,viewBtn:!0,menuWidth:300,dialogWidth:880,dialogClickModal:!1,column:[{label:"字典编号",prop:"code",addDisabled:!0,editDisabled:!0,search:!0,span:24,rules:[{required:!0,message:"请输入字典编号",trigger:"blur"}]},{label:"字典名称",prop:"dictValue",search:!0,align:"center",rules:[{required:!0,message:"请输入字典名称",trigger:"blur"}]},{label:"上级字典",prop:"parentId",type:"tree",dicData:[],hide:!0,props:{label:"title"},addDisabled:!0,editDisabled:!0,rules:[{required:!1,message:"请选择上级字典",trigger:"click"}]},{label:"字典键值",prop:"dictKey",width:80,rules:[{required:!0,message:"请输入字典键值",trigger:"blur"}]},{label:"字典排序",prop:"sort",type:"number",align:"right",hide:!0,rules:[{required:!0,message:"请输入字典排序",trigger:"blur"}]},{label:"封存",prop:"isSealed",type:"switch",align:"center",width:80,dicData:[{label:"否",value:0},{label:"是",value:1}],value:0,slot:!0,rules:[{required:!0,message:"请选择封存",trigger:"blur"}]},{label:"字典备注",prop:"remark",hide:!0}]}},d08e:function(e,t,r){"use strict";r("3581")},d134:function(e,t,r){},d36b:function(e,t,r){"use strict";r.r(t),r.d(t,"getList",(function(){return s})),r.d(t,"getDetail",(function(){return l})),r.d(t,"remove",(function(){return c})),r.d(t,"add",(function(){return u})),r.d(t,"update",(function(){return d})),r.d(t,"enableData",(function(){return p}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-code/codeButtonController/list",method:"get",params:o(o({},r),{},{current:e,size:t})})},l=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeButtonController/detail",method:"get",params:{id:e}})},c=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeButtonController/remove",method:"post",params:{ids:e}})},u=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeButtonController/submit",method:"post",data:e})},d=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeButtonController/submit",method:"post",data:e})},p=function(e,t){return t?Object(n["a"])({url:"/api/ubcs-code/codeButtonController/enableData",method:"post",params:{oid:e}}):Object(n["a"])({url:"/api/ubcs-code/codeButtonController/disableData",method:"post",params:{oid:e}})}},d4f4:function(e,t,r){"use strict";r.r(t),r.d(t,"optionParent",(function(){return a})),r.d(t,"optionChild",(function(){return n}));var a={height:"auto",calcHeight:30,tip:!1,searchShow:!0,searchMenuSpan:10,border:!0,index:!0,selection:!0,viewBtn:!0,menuWidth:250,dialogWidth:880,dialogClickModal:!1,column:[{label:"字典编号",prop:"code",search:!0,slot:!0,span:24,rules:[{required:!0,message:"请输入字典编号",trigger:"blur"}]},{label:"字典名称",prop:"dictValue",search:!0,align:"center",rules:[{required:!0,message:"请输入字典名称",trigger:"blur"}]},{label:"字典排序",prop:"sort",type:"number",align:"right",width:100,hide:!0,rules:[{required:!0,message:"请输入字典排序",trigger:"blur"}]},{label:"封存",prop:"isSealed",type:"switch",align:"center",width:100,dicData:[{label:"否",value:0},{label:"是",value:1}],value:0,slot:!0,rules:[{required:!0,message:"请选择封存",trigger:"blur"}]},{label:"字典备注",prop:"remark",hide:!0}]},n={height:"auto",calcHeight:95,tip:!1,searchShow:!0,searchMenuSpan:10,tree:!0,border:!0,index:!0,selection:!0,viewBtn:!0,menuWidth:300,dialogWidth:880,dialogClickModal:!1,column:[{label:"字典编号",prop:"code",addDisabled:!0,editDisabled:!0,search:!0,span:24,rules:[{required:!0,message:"请输入字典编号",trigger:"blur"}]},{label:"字典名称",prop:"dictValue",search:!0,align:"center",rules:[{required:!0,message:"请输入字典名称",trigger:"blur"}]},{label:"上级字典",prop:"parentId",type:"tree",dicData:[],hide:!0,props:{label:"title"},addDisabled:!0,editDisabled:!0,rules:[{required:!1,message:"请选择上级字典",trigger:"click"}]},{label:"字典键值",prop:"dictKey",width:80,rules:[{required:!0,message:"请输入字典键值",trigger:"blur"}]},{label:"字典排序",prop:"sort",type:"number",align:"right",hide:!0,rules:[{required:!0,message:"请输入字典排序",trigger:"blur"}]},{label:"封存",prop:"isSealed",type:"switch",align:"center",width:80,dicData:[{label:"否",value:0},{label:"是",value:1}],value:0,slot:!0,rules:[{required:!0,message:"请选择封存",trigger:"blur"}]},{label:"字典备注",prop:"remark",hide:!0}]}},d772:function(e,t,r){"use strict";r.r(t),r.d(t,"initTree",(function(){return s})),r.d(t,"refOnLoad",(function(){return l})),r.d(t,"getDomain",(function(){return c})),r.d(t,"saveFromTable",(function(){return u})),r.d(t,"getDetail",(function(){return d})),r.d(t,"add",(function(){return p})),r.d(t,"update",(function(){return f})),r.d(t,"btmPage",(function(){return m}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(){return Object(n["a"])({url:"/api/ubcs-omd/btm-type/tree-domain",method:"get"})},l=function(e){return Object(n["a"])({url:"/api/ubcs-omd/btm-type/get-from-table",method:"get",params:{domain:e}})},c=function(){return Object(n["a"])({url:"/api/ubcs-omd/btm-type/domain",method:"get"})},u=function(e,t){return Object(n["a"])({url:"/api/ubcs-omd/btm-type/save-from-table/"+t,method:"post",data:e})},d=function(e){return Object(n["a"])({url:"/api/ubcs-omd/btm-type/detail",method:"get",params:{oid:e}})},p=function(e,t){return Object(n["a"])({url:"/api/ubcs-omd/btm-type/submit/"+t,method:"post",data:e})},f=function(e){return Object(n["a"])({url:"/api/ubcs-omd/btm-type/submit/"+auto,method:"post",data:e})},m=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-omd/btm-type/page",method:"get",params:o({current:e,size:t},r)})}},d9a3:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var a=r("53ca"),n=(r("28a5"),r("456d"),r("ac6a"),r("c5f6"),r("ee1d"),r("d4ec")),i=r("bee2"),o=function(){function e(){Object(n["a"])(this,e)}return Object(i["a"])(e,null,[{key:"notEmpty",value:function(e){return!this.isEmpty(e)}},{key:"isUndefined",value:function(e){return null===e||"undefined"===typeof e}},{key:"isEmpty",value:function(e){return null===e||"undefined"===typeof e||"string"===typeof e&&""===e&&"undefined"!==e}},{key:"toInt",value:function(e,t){if(this.isEmpty(e))return void 0===t?-1:t;var r=parseInt(e,0);return Number.isNaN(r)?void 0===t?-1:t:r}},{key:"toFormData",value:function(e){var t=new FormData;return Object.keys(e).forEach((function(r){t.append(r,Array.isArray(e[r])?e[r].join(","):e[r])})),t}},{key:"format",value:function(e){var t=arguments.length>1&&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(a["a"])(e)&&null!==e&&Object.keys(e).length>0}},{key:"downloadFileByBlob",value:function(e,t){var r=URL.createObjectURL(e),a=document.createElement("a");a.href=r,a.download=t,document.body.appendChild(a),a.click(),document.body.removeChild(a)}}]),e}()},dc23:function(e,t,r){},dc8a:function(e,t,r){"use strict";r.r(t);var a=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._t("default")],2)],1)},n=[],i=(r("c5f6"),{name:"basicContainer",props:{radius:{type:[String,Number],default:10},background:{type:String},block:{type:Boolean,default:!1}},computed:{styleName:function(){return{borderRadius:this.setPx(this.radius),background:this.background}}}}),o=i,s=(r("40d6"),r("2877")),l=Object(s["a"])(o,a,n,!1,null,null,null);t["default"]=l.exports},dd3a:function(e,t,r){"use strict";r.r(t),r.d(t,"MasterTable",(function(){return s})),r.d(t,"TableData",(function(){return l})),r.d(t,"FindData",(function(){return c}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e){return Object(n["a"])({url:"api/ubcs-code/mdmEngineController/getUIInfoByClassifyOid",method:"get",params:o({},e)})},l=function(e){return Object(n["a"])({url:"api/ubcs-code/mdmEngineController/gridTableDataByClassifyOid",method:"get",params:o({},e)})},c=function(e){return Object(n["a"])({url:"api/ubcs-code/mdmEngineController/gridTableDataByClassifyOid",method:"get",params:o({},e)})}},e30d:function(e,t,r){"use strict";r.r(t),r.d(t,"getList",(function(){return s})),r.d(t,"getDetail",(function(){return l})),r.d(t,"remove",(function(){return c})),r.d(t,"add",(function(){return u})),r.d(t,"update",(function(){return d}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-system/client/list",method:"get",params:o(o({},r),{},{current:e,size:t})})},l=function(e){return Object(n["a"])({url:"/api/ubcs-system/client/detail",method:"get",params:{id:e}})},c=function(e){return Object(n["a"])({url:"/api/ubcs-system/client/remove",method:"post",params:{ids:e}})},u=function(e){return Object(n["a"])({url:"/api/ubcs-system/client/submit",method:"post",data:e})},d=function(e){return Object(n["a"])({url:"/api/ubcs-system/client/submit",method:"post",data:e})}},e3c4:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"e",(function(){return setStore})),__webpack_require__.d(__webpack_exports__,"c",(function(){return getStore})),__webpack_require__.d(__webpack_exports__,"d",(function(){return removeStore})),__webpack_require__.d(__webpack_exports__,"b",(function(){return getAllStore})),__webpack_require__.d(__webpack_exports__,"a",(function(){return clearStore}));var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("c5f6"),core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0__),C_java_workspace_GIT_VCI_UBCS_ubcs_Source_UBCS_WEB_node_modules_babel_runtime_helpers_esm_typeof_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("53ca"),core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("7f7f"),core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_2__),_util_validate__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("c54a"),_config_website__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("1ca4"),keyName=_config_website__WEBPACK_IMPORTED_MODULE_4__["a"].key+"-",setStore=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,r=e.content,a=e.type;t=keyName+t;var n={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"])(r),content:r,type:a,datetime:(new Date).getTime()};a?window.sessionStorage.setItem(t,JSON.stringify(n)):window.localStorage.setItem(t,JSON.stringify(n))},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,r=e.type;t=keyName+t,r?window.sessionStorage.removeItem(t):window.localStorage.removeItem(t)},getAllStore=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=[],r=e.type;if(r)for(var a=0;a<=window.sessionStorage.length;a++)t.push({name:window.sessionStorage.key(a),content:getStore({name:window.sessionStorage.key(a),type:"session"})});else for(var n=0;n<=window.localStorage.length;n++)t.push({name:window.localStorage.key(n),content:getStore({name:window.localStorage.key(n)})});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,r){},e5c3:function(e,t,r){"use strict";r.r(t);var a=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)},n=[],i={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=i,s=r("2877"),l=Object(s["a"])(o,a,n,!1,null,"5632a16b",null);t["default"]=l.exports},e772:function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e._self._c;return t("div",[t("avue-crud",{ref:"crud",attrs:{"table-loading":e.loading,data:e.data,option:e.option,page:e.page},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(r){var a=r.type,n=r.size,i=r.row,o=r.index;return[t("el-button",{attrs:{icon:"el-icon-check",size:n,type:a},on:{click:function(t){return e.handleMaintenance(i,o)}}},[e._v("维护")])]}}])}),t("el-dialog",{attrs:{title:"模板阶段",width:"50%","append-to-body":"true",visible:e.dialogNode},on:{"update:visible":function(t){e.dialogNode=t}}},[t("avue-crud",{ref:"crud",attrs:{"table-loading":e.loading,data:e.stageData,option:e.stageOption},on:{"on-load":e.getStagelist,"row-click":e.handleRowStageClick},scopedSlots:e._u([{key:"menu",fn:function(r){var a=r.type,n=r.size,i=r.row,o=r.index;return[t("el-button",{attrs:{icon:"el-icon-check",size:n,type:a},on:{click:function(t){return e.handleMaintenanceTransfer(i,o)}}},[e._v("维护")])]}}])})],1),e.flag?t("table-transfer",{attrs:{visible:e.dialogTransfer,dataList:e.attributeData,columns:e.columns,keyName:"oid"},on:{"update:visible":function(t){e.dialogTransfer=t},save:e.handleSave,close:e.handelClose},model:{value:e.attributeValue,callback:function(t){e.attributeValue=t},expression:"attributeValue"}}):e._e()],1)},n=[],i=(r("8e6e"),r("456d"),r("7f7f"),r("96cf"),r("1da1")),o=(r("ac6a"),r("ade3")),s=r("5821"),l=r("7eff");function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){Object(o["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var d={name:"Stage",components:{TableTransfer:l["default"]},props:{code:{typeof:String,required:!0,default:""}},watch:{},data:function(){var e={height:"auto",border:!0,addBtn:!1,align:"center",menuAlign:"center",index:!0,searchMenuSpan:8,searchBtn:!1,emptyBtn:!1,columnBtn:!1,delBtn:!1,refreshBtn:!1,header:!1,editBtn:!1};return{attributeData:[],attributeValue:[],flag:!1,dialogTransfer:!1,dialogNode:!1,visibleTable:!1,loading:!1,page:{currentPage:1,pageSize:10,total:0},modelKey:"",data:[],stageData:[],saveParam:{},columns:[{key:"oid",label:"oid",visible:!1},{key:"id",label:"属性编号",visible:!0},{key:"name",label:"属性名称",visible:!0},{key:"attributeGroup",label:"属性分组",visible:!0}],option:u(u({},e),{},{column:[{label:"模板编号",prop:"modelKey"},{label:"模板名称",prop:"modelName"},{label:"描述",prop:"buttonTypeValue"}]}),stageOption:u(u({},e),{},{height:620,column:[{label:"阶段编号",prop:"taskId"},{label:"阶段名称",prop:"taskName"}]})}},methods:{setTable:function(e,t){return e.map((function(e){return 0!==t.length&&t.forEach((function(t){e.id===t.attrId&&(e.checked=!0)})),e}))},getDataList:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var t,r,a,n,i,o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.loading=!1,t=this.page,r=t.pageSize,a=t.currentPage,n={size:r,current:a},e.next=5,Object(s["getFlowpathList"])(u(u({},n),{templateId:this.code}));case 5:i=e.sent,200===i.status?(console.log(i),this.loading=!1,o=i.data.data,this.data=o.records,this.page.total=o.total):this.loading=!1;case 7:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),getStagelist:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.loading=!1,console.log(this.modelKey),e.next=4,Object(s["stagelist"])({modelKey:this.modelKey});case 4:t=e.sent,200===t.status?(this.loading=!1,console.log(t.data),this.stageData=t.data.data):this.loading=!1;case 6:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),getAttributeList:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var t,r,a,n,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(s["attributeList"])({"conditionMap[classifyTemplateOid]":this.code});case 2:return t=e.sent,e.next=5,Object(s["attributeListRight"])({templateId:this.code,modelKey:this.modelKey,taskId:this.saveParam.taskId});case 5:r=e.sent,200===t.status&&200===r.status&&(a=t.data.data.records,n=r.data.data,a=a.map((function(e){var t=e,r=t.oid,a=t.id,i=t.name,o=t.attributeGroup;return e=u({oid:r,id:a,name:i,attributeGroup:o},{checked:!1}),0!==n.length&&n.forEach((function(t){e.id===t.attrId&&(e.checked=!0)})),e})),console.log(a),i=a.map((function(e){return e.checked?e.oid:void 0})),this.attributeValue=i.filter((function(e){return e})),this.attributeData=a,this.flag=!0);case 7:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),getAttributeListRight:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var t,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(s["attributeListRight"])({templateId:this.code,modelKey:this.modelKey,taskId:this.saveParam.taskId});case 2:t=e.sent,200===t.status&&(r=t.data.data,r=r.map((function(e){var t=e.attrId,r=e.attrName,a=e.attrGroup;return{attrId:t,attrName:r,attrGroup:a}})),this.listRight=r);case 4:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),handleMaintenance:function(e){console.log(e),this.dialogNode=!0,this.modelKey=e.modelKey,this.saveParam.modelKey=e.modelKey,this.getStagelist()},handleMaintenanceTransfer:function(e){var t=this;this.saveParam.taskId=e.taskId,this.saveParam.taskName=e.taskName,this.getAttributeList(),this.$nextTick((function(){t.dialogTransfer=!0}))},handleRowClick:function(e){console.log(e),this.modelKey=e.modelKey,this.saveParam.modelKey=e.modelKey,this.dialogNode=!0},handleRowStageClick:function(e){var t=this;this.saveParam.taskId=e.taskId,this.saveParam.taskName=e.taskName,this.getAttributeList(),this.$nextTick((function(){t.dialogTransfer=!0}))},handleSave:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(t){var r,a,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log(t),r=t.map((function(e){var t=e.id,r=e.name,a=e.attributeGroup;return{attrId:t,attrName:r,attrGroup:a}})),a=u({templateId:this.code,processStageAttr:r},this.saveParam),console.log(this.saveParam),console.log(r),e.next=7,Object(s["attributeSave"])(a);case 7:n=e.sent,200===n.status&&(console.log(n),this.$message({type:"success",message:"新增数据成功!"}),this.flag=!1);case 9:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}(),handelClose:function(){this.flag=!1}}},p=d,f=r("2877"),m=Object(f["a"])(p,a,n,!1,null,null,null);t["default"]=m.exports},ee95:function(e,t,r){"use strict";r.r(t),r.d(t,"getTree",(function(){return s})),r.d(t,"getLazyTree",(function(){return l}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e,t){return Object(n["a"])({url:t,method:"get",params:o({},e)})},l=function(e,t){return Object(n["a"])({url:t,method:"get",params:o({},e)})}},f10a:function(e,t,r){"use strict";r.r(t),r.d(t,"personnelInit",(function(){return n})),r.d(t,"personnelCollect",(function(){return i})),r.d(t,"cancelCollect",(function(){return o})),r.d(t,"personnelSave",(function(){return s})),r.d(t,"personnelDict",(function(){return l}));var a=r("b5c6"),n=function(e){return Object(a["a"])({url:"/api/ubcs-flow/taskUser/list",method:"get",params:e})},i=function(e){return Object(a["a"])({url:"/api/ubcs-flow/taskUser/su",method:"post",data:e})},o=function(e){return Object(a["a"])({url:"/api/ubcs-flow/taskUser/du",method:"post",data:e})},s=function(e){return Object(a["a"])({url:"/api/ubcs-flow/vciflow/start",method:"post",data:e})},l=function(e){return Object(a["a"])({url:"/api/ubcs-user/allPage",method:"get",params:e})}},f2a9:function(e,t,r){"use strict";r.r(t);var a=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,crudArray:e.crudArray,Formlist:e.Formlist,codeClassifyOid:e.codeClassifyOid}})],1):"tab2"===e.type.prop?t("span",[t("FlowPath",{attrs:{code:this.crudOid}})],1):"tab3"===e.type.prop?t("span",[t("stage",{attrs:{code:this.crudOid}})],1):e._e()],1)},n=[],i={name:"TemplatePro.vue",props:["ProData","crudOid","crudArray","Formlist","codeClassifyOid"],data:function(){return{type:{},Taboption:{column:[{label:"模板属性",prop:"tab1"},{label:"模板流程",prop:"tab2"},{label:"模板阶段",prop:"tab3"}]}}},created:function(){this.type=this.Taboption.column[0],this.type.prop="tab1"},methods:{handleChange:function(e){this.type=e}}},o=i,s=(r("8a2d"),r("2877")),l=Object(s["a"])(o,a,n,!1,null,null,null);t["default"]=l.exports},f601:function(e,t,r){"use strict";r.r(t),r.d(t,"gridCodeBasicSec",(function(){return s})),r.d(t,"addSave",(function(){return l})),r.d(t,"editSave",(function(){return c})),r.d(t,"deleteData",(function(){return u})),r.d(t,"getObjectByOid",(function(){return d})),r.d(t,"listDataByOids",(function(){return p})),r.d(t,"refDataGrid",(function(){return f})),r.d(t,"refDataGridClassifySec",(function(){return m})),r.d(t,"cloneCodeBasic",(function(){return h})),r.d(t,"upOrderNum",(function(){return b})),r.d(t,"downOrderNum",(function(){return g}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-code/codeBasicSecController/gridCodeBasicSec",method:"get",params:o(o({},r),{},{page:e,limit:t}),paramsSerializer:function(e){return qs.stringify(e,{encode:!1})}})},l=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeBasicSecController/addSave",method:"post",data:e})},c=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeBasicSecController/editSave",method:"put",data:e})},u=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeBasicSecController/deleteData",method:"delete",data:e})},d=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeBasicSecController/getObjectByOid",method:"get",params:{oid:e}})},p=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeBasicSecController/listDataByOids",method:"get",params:{oid:e}})},f=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-code/codeBasicSecController/refDataGrid",method:"get",params:o(o({},r),{},{page:e,limit:t})})},m=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-code/codeBasicSecController/refDataGridClassifySec",method:"get",params:o(o({},r),{},{page:e,limit:t})})},h=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeBasicSecController/clone",method:"post",data:e})},b=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeBasicSecController/upOrderNum",method:"post",params:{oid:e}})},g=function(e){return Object(n["a"])({url:"/api/ubcs-code/codeBasicSecController/downOrderNum",method:"post",params:{oid:e}})}},f9fa:function(e,t,r){"use strict";r.r(t),r.d(t,"referCodeClassifyTree",(function(){return n})),r.d(t,"listCodeAttributeByClassId",(function(){return i})),r.d(t,"referTree",(function(){return o})),r.d(t,"referTreeByClassId",(function(){return s})),r.d(t,"gridAttrMapping",(function(){return l})),r.d(t,"gridAttrRanges",(function(){return c})),r.d(t,"batchAddSave",(function(){return u})),r.d(t,"syncClassifyModel",(function(){return d}));var a=r("b5c6"),n=function(e){return Object(a["a"])({url:"/api/ubcs-applyjtcodeservice/DockingPreApplyCode/referCodeClassifyTree",method:"get",params:e})},i=function(e){return Object(a["a"])({url:"/api/ubcs-applyjtcodeservice/DockingPreApplyCode/listCodeAttributeByClassId",method:"get",params:e})},o=function(e){return Object(a["a"])({url:"/api/ubcs-applyjtcodeservice/DockingPreApplyCode/referTree",method:"get",params:e})},s=function(e){return Object(a["a"])({url:"/api/ubcs-applyjtcodeservice/DockingPreApplyCode/listViewModelAttributeByClassId",method:"get",params:e})},l=function(e){return Object(a["a"])({url:"/api/ubcs-applyjtcodeservice/DockingPreApplyCode/gridAttrMapping",method:"get",params:e})},c=function(e){return Object(a["a"])({url:"/api/ubcs-applyjtcodeservice/DockingPreApplyCode/gridAttrRanges",method:"get",params:e})},u=function(e){return console.log(e),Object(a["a"])({url:"/api/ubcs-applyjtcodeservice/DockingPreApplyCode/batchAddSave",method:"post",data:e})},d=function(e){return console.log(e),Object(a["a"])({url:"/api/ubcs-applyjtcodeservice/DockingPreApplyCode/syncClassifyModel",method:"post",params:e})}},fc8c:function(e,t,r){"use strict";r.r(t),r.d(t,"historyFlowList",(function(){return n})),r.d(t,"leaveProcess",(function(){return i})),r.d(t,"leaveDetail",(function(){return o}));var a=r("b5c6"),n=function(e){return Object(a["a"])({url:"/api/ubcs-flow/process/history-flow-list",method:"get",params:{processInstanceId:e}})},i=function(e){return Object(a["a"])({url:"/api/ubcs-desk/process/leave/start-process",method:"post",data:e})},o=function(e){return Object(a["a"])({url:"/api/ubcs-desk/process/leave/detail",method:"get",params:{businessId:e}})}},fca2:function(e,t,r){"use strict";r("c25c")},fcb7:function(e,t,r){"use strict";r.r(t),r.d(t,"getList",(function(){return s})),r.d(t,"getLazyList",(function(){return l})),r.d(t,"remove",(function(){return c})),r.d(t,"add",(function(){return u})),r.d(t,"update",(function(){return d})),r.d(t,"getDept",(function(){return p})),r.d(t,"getDeptTree",(function(){return f})),r.d(t,"getDeptLazyTree",(function(){return m}));r("8e6e"),r("ac6a"),r("456d");var a=r("ade3"),n=r("b5c6");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=function(e,t,r){return Object(n["a"])({url:"/api/ubcs-system/dept/list",method:"get",params:o(o({},r),{},{current:e,size:t})})},l=function(e,t,r,a){return Object(n["a"])({url:"/api/ubcs-system/dept/lazy-list",method:"get",params:o(o({},t),{},{parentId:e,current:r,size:a})})},c=function(e){return Object(n["a"])({url:"/api/ubcs-system/dept/remove",method:"post",params:{ids:e}})},u=function(e){return Object(n["a"])({url:"/api/ubcs-system/dept/submit",method:"post",data:e})},d=function(e){return Object(n["a"])({url:"/api/ubcs-system/dept/submit",method:"post",data:e})},p=function(e){return Object(n["a"])({url:"/api/ubcs-system/dept/detail",method:"get",params:{id:e}})},f=function(e){return Object(n["a"])({url:"/api/ubcs-system/dept/tree",method:"get",params:{tenantId:e}})},m=function(e){return Object(n["a"])({url:"/api/ubcs-system/dept/lazy-tree",method:"get",params:{parentId:e}})}},ff4e:function(e,t,r){"use strict";r("c2ef")}});
|