(function(e){function t(t){for(var r,i,s=t[0],l=t[1],c=t[2],u=0,d=[];u<s.length;u++)i=s[u],Object.prototype.hasOwnProperty.call(n,i)&&n[i]&&d.push(n[i][0]),n[i]=0;for(r in l)Object.prototype.hasOwnProperty.call(l,r)&&(e[r]=l[r]);p&&p(t);while(d.length)d.shift()();return o.push.apply(o,c||[]),a()}function a(){for(var e,t=0;t<o.length;t++){for(var a=o[t],r=!0,i=1;i<a.length;i++){var s=a[i];0!==n[s]&&(r=!1)}r&&(o.splice(t--,1),e=l(l.s=a[0]))}return e}var r={},i={app:0},n={app:0},o=[];function s(e){return l.p+"js/"+({page:"page",views:"views"}[e]||e)+"."+{"chunk-2d0e4caf":"c02e3bd1",page:"e7118076",views:"bc3fd1e6","chunk-840aab94":"06d3f7aa"}[e]+".js"}function l(t){if(r[t])return r[t].exports;var a=r[t]={i:t,l:!1,exports:{}};return e[t].call(a.exports,a,a.exports,l),a.l=!0,a.exports}l.e=function(e){var t=[],a={page:1,views:1,"chunk-840aab94":1};i[e]?t.push(i[e]):0!==i[e]&&a[e]&&t.push(i[e]=new Promise((function(t,a){for(var r="css/"+({page:"page",views:"views"}[e]||e)+"."+{"chunk-2d0e4caf":"31d6cfe0",page:"e84a6fd9",views:"cd3521c3","chunk-840aab94":"c31ad170"}[e]+".css",n=l.p+r,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===r||u===n))return t()}var d=document.getElementsByTagName("style");for(s=0;s<d.length;s++){c=d[s],u=c.getAttribute("data-href");if(u===r||u===n)return t()}var p=document.createElement("link");p.rel="stylesheet",p.type="text/css",p.onload=t,p.onerror=function(t){var r=t&&t.target&&t.target.src||n,o=new Error("Loading CSS chunk "+e+" failed.\n("+r+")");o.code="CSS_CHUNK_LOAD_FAILED",o.request=r,delete i[e],p.parentNode.removeChild(p),a(o)},p.href=n;var f=document.getElementsByTagName("head")[0];f.appendChild(p)})).then((function(){i[e]=0})));var r=n[e];if(0!==r)if(r)t.push(r[2]);else{var o=new Promise((function(t,a){r=n[e]=[t,a]}));t.push(r[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 a=n[e];if(0!==a){if(a){var r=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src;d.message="Loading chunk "+e+" failed.\n("+r+": "+i+")",d.name="ChunkLoadError",d.type=r,d.request=i,a[1](d)}n[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=r,l.d=function(e,t,a){l.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},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 a=Object.create(null);if(l.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)l.d(a,r,function(t){return e[t]}.bind(null,r));return a},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"]),a()})({0:function(e,t,a){a("56d7"),a("db4d"),a("ecad"),e.exports=a("245a")},"010b":function(e,t,a){"use strict";a.r(t);var r=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",width:"100%"},attrs:{options:e.option}})],1):t("div",[e.visible?t("wf-design-base",{ref:"bpmn",staticStyle:{height:"50vh",width:"100%"},attrs:{options:e.option}}):e._e()],1)],1)},i=[],n=(a("20d6"),a("ac6a"),a("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(n["modelView"])(e).then((function(e){var a=e.data.data,r=a.xml,i=a.flow;if(t.$set(t.option,"xml",r),i){var n=[];i.forEach((function(e){var t=e.endTime,a={id:e.historyActivityId,class:t||"candidate"===e.historyActivityType?"":"nodePrimary"};"sequenceFlow"===e.historyActivityType?a.class="lineWarn":a.class||"candidate"===e.historyActivityType||(a.class="nodeSuccess");var r=n.findIndex((function(t){return t.id===e.historyActivityId}));-1!==r?n.splice(r,1,a):n.push(a)})),t.$set(t.option,"flows",n)}}))}}},s=o,l=(a("fc5a"),a("2877")),c=Object(l["a"])(s,r,i,!1,null,null,null);t["default"]=c.exports},"0244":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("basic-container",[t("avue-crud",{ref:"crud",attrs:{data:e.data,option:e.option},on:{"on-load":e.getList,"row-update":e.rowUpdate,"row-save":e.rowSave,"row-del":e.rowDel},model:{value:e.form,callback:function(t){e.form=t},expression:"form"}})],1)},i=[],n=(a("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,a){var r=this;add(Object.assign({createUser:this.userInfo.name},e)).then((function(){r.$message.success("新增成功"),t(),r.getList()})).catch((function(){a()}))},rowUpdate:function(e,t,a,r){var i=this;update(Object.assign({updateUser:this.userInfo.name},e)).then((function(){i.$message.success("修改成功"),a(),i.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=n,s=a("2877"),l=Object(s["a"])(o,r,i,!1,null,"7fcdce2c",null);t["default"]=l.exports},"0367":function(e,t,a){"use strict";a("c43a")},"0405":function(e,t,a){"use strict";a.r(t),a.d(t,"getSysInfoList",(function(){return s})),a.d(t,"sysInfoAdd",(function(){return l})),a.d(t,"sysInfoEdit",(function(){return c})),a.d(t,"sysInfoDel",(function(){return u})),a.d(t,"sysInfoTree",(function(){return d})),a.d(t,"batchAddSave",(function(){return p}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-code/dockingManagement/gridDockingSystem",method:"get",params:o({size:e,current:t},a)})},l=function(e){return Object(i["a"])({url:"/api/ubcs-code/dockingManagement/addSaveDockingSystem",method:"post",data:e})},c=function(e){return Object(i["a"])({url:"/api/ubcs-code/dockingManagement/editSaveDockingSystem",method:"put",data:e})},u=function(e){return Object(i["a"])({url:"/api/ubcs-code/dockingManagement/deleteSystemsById",method:"delete",params:e})},d=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeApplyWebManagementController/getSystemClassifyRoleTree",method:"get",params:e})},p=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-code/codeApplyWebManagementController/batchAddSave?systemOid=".concat(e,"&systemId=").concat(t),method:"post",data:a})}},"0499":function(e,t,a){"use strict";a.r(t),a.d(t,"initTree",(function(){return s})),a.d(t,"refOnLoad",(function(){return l})),a.d(t,"getDomain",(function(){return c})),a.d(t,"saveFromTable",(function(){return u})),a.d(t,"getDetail",(function(){return d})),a.d(t,"add",(function(){return p})),a.d(t,"update",(function(){return f})),a.d(t,"linkPage",(function(){return m}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(){return Object(i["a"])({url:"/api/ubcs-omd/link-type/tree-domain",method:"get"})},l=function(e){return Object(i["a"])({url:"/api/ubcs-omd/link-type/get-from-table",method:"get",params:{domain:e}})},c=function(){return Object(i["a"])({url:"/api/ubcs-omd/link-type/domain",method:"get"})},u=function(e,t){return Object(i["a"])({url:"/api/ubcs-omd/link-type/save-from-table/"+t,method:"post",data:e})},d=function(e){return Object(i["a"])({url:"/api/ubcs-omd/link-type/detail",method:"get",params:{oid:e}})},p=function(e,t){return Object(i["a"])({url:"/api/ubcs-omd/link-type/submit/"+t,method:"post",data:e})},f=function(e){return Object(i["a"])({url:"/api/ubcs-omd/link-type/submit/"+auto,method:"post",data:e})},m=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-omd/link-type/page",method:"get",params:o({current:e,size:t},a)})}},"08ae":function(e,t,a){"use strict";a.r(t);var r=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(a){return[t("el-tag",{attrs:{type:"danger",size:"small"}},[e._v(e._s(a.label))])]}},{key:"expand",fn:function(a){return[t("pre",{staticClass:"code"},[e._v(" "+e._s(a.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)},i=[],n=(a("8e6e"),a("ac6a"),a("456d"),a("ade3")),o=a("5880");function s(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function l(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?s(Object(a),!0).forEach((function(t){Object(n["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):s(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,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=(a("65ea"),a("2877")),p=Object(d["a"])(u,r,i,!1,null,"6e8bef7c",null);t["default"]=p.exports},"0a5a":function(e,t,a){"use strict";a.d(t,"a",(function(){return s})),a.d(t,"e",(function(){return l})),a.d(t,"d",(function(){return c})),a.d(t,"c",(function(){return u})),a.d(t,"b",(function(){return d}));var r=a("a78e"),i=a.n(r),n="saber-access-token",o="saber-refresh-token";function s(){return i.a.get(n)}function l(e){return i.a.set(n,e)}function c(e){return i.a.set(o,e)}function u(){return i.a.remove(n)}function d(){return i.a.remove(o)}},"0e0b":function(e,t,a){"use strict";a.d(t,"i",(function(){return r})),a.d(t,"a",(function(){return n})),a.d(t,"j",(function(){return o})),a.d(t,"d",(function(){return s})),a.d(t,"g",(function(){return l})),a.d(t,"h",(function(){return p})),a.d(t,"b",(function(){return f})),a.d(t,"f",(function(){return m})),a.d(t,"e",(function(){return h})),a.d(t,"c",(function(){return b}));a("386d"),a("4917"),a("3b2b"),a("28a5"),a("a481"),a("6b54"),a("456d"),a("ac6a"),a("c54a");var r=function(e){var t=[];return Object.keys(e).forEach((function(a){t.push("".concat(a,"=").concat(e[a]))})),t.join("&")},i=function(e){var t=Object.prototype.toString,a={"[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":a[t.call(e)]},n=function e(t){var a,r=i(t);if("array"===r)a=[];else{if("object"!==r)return t;a={}}if("array"===r)for(var n=0,o=t.length;n<o;n++)a.push(e(t[n]));else if("object"===r)for(var s in t)a[s]=e(t[s]);return a},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 a=document.getElementsByTagName("head")[0];a.appendChild(t)},f=function e(t,a){delete t.close;var r=t instanceof Object,i=a instanceof Object;if(!r||!i)return t===a;if(Object.keys(t).length!==Object.keys(a).length)return!1;for(var n in t){var o=t[n]instanceof Object,s=a[n]instanceof Object;if(o&&s)return e(t[n],a[n]);if(t[n]!==a[n])return!1}return!0},m=function(){return window.location.href.split("/#/")[0]},h=function(e){var t=new RegExp("(^|&)"+e+"=([^&]*)(&|$)","i"),a=window.location.search.substr(1).match(t);return null!=a?unescape(decodeURI(a[2])):null},b=function(e,t){var a=new Blob([e],{type:"application/vnd.ms-excel,charset=utf-8"});if("undefined"!==typeof window.chrome){var r=document.createElement("a");r.href=window.URL.createObjectURL(a),r.download=t,r.click()}else if("undefined"!==typeof window.navigator.msSaveBlob){var i=new Blob([a],{type:"application/force-download"});window.navigator.msSaveBlob(i,t)}else{var n=new File([a],t,{type:"application/force-download"});window.open(URL.createObjectURL(n))}}},"0e37":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("div",[e.hasEditor?t("el-button",{staticStyle:{"margin-bottom":"10px"},attrs:{size:"small",type:"primary"},on:{click:e.HandlerSave}},[e._v("保存")]):e._e(),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:"",label:"序号",type:"index",width:"55"}}),e._l(this.tableHeadData,(function(a){return t("el-table-column",{key:a.id,attrs:{label:a.label,prop:a.prop,sortable:a.sortable,formatter:a.formatter,width:a.width,"show-overflow-tooltip":!0,align:"center"},scopedSlots:e._u([{key:"default",fn:function(r){var i=r.row;return[e.editingRow===i&&e.editShow==a.prop&&"input"==a.edit?t("el-input",{on:{blur:function(t){e.editingRows=null}},model:{value:i[a.prop],callback:function(t){e.$set(i,a.prop,t)},expression:"row[item.prop]"}}):e._e(),e.editingRow===i&&e.editShow==a.prop&&"number"==a.edit?t("el-input-number",{style:{width:a.width-10+"px"},attrs:{size:"small","controls-position":"right"},on:{blur:function(t){e.editingRows=null}},model:{value:i[a.prop],callback:function(t){e.$set(i,a.prop,t)},expression:"row[item.prop]"}}):e._e(),e.editingRow===i&&e.editShow==a.prop&&"select"==a.edit?t("el-select",{attrs:{slot:"prepend",filterable:"","default-first-option":""},on:{change:e.changeSelect,blur:function(t){e.editingRows=null}},slot:"prepend",model:{value:i[a.prop],callback:function(t){e.$set(i,a.prop,t)},expression:"row[item.prop]"}},e._l(a.dicData,(function(e){return t("el-option",{key:e.key,attrs:{label:e.value,value:e.key}})})),1):e._e(),e.editingRow!==i||e.editShow!=a.prop||"switch"!==a.edit&&"truefalse"!==a.edit?e._e():t("el-switch",{attrs:{"active-value":"true","inactive-value":"false"},model:{value:i[a.prop],callback:function(t){e.$set(i,a.prop,t)},expression:"row[item.prop]"}}),e.editingRow!==i||e.editShow!=a.prop||"date"!=a.edit&&"datetime"!=a.edit?e._e():t("el-date-picker",{attrs:{type:a.edit,format:a.dateFormate,"value-format":a.dateFormate,placeholder:"选择日期"},on:{blur:function(t){e.editingRows=null}},model:{value:i[a.prop],callback:function(t){e.$set(i,a.prop,t)},expression:"row[item.prop]"}}),e.editingRow===i&&e.editShow==a.prop&&"refer"==a.edit?t("vciWebRefer",{key:a.prop,attrs:{"data-key":a.prop,referConfig:a.referConfig||{},value:i[a.referConfig.field]||i[a.prop],text:i[a.referConfig.showField],disabled:a.disabled,display:a.display},on:{setReferValue:e.setReferValue}}):t("span",{domProps:{innerHTML:e._s(e.formatter(i,a))}})]}}],null,!0)})}))],2)],1)},i=[],n=a("8ccd"),o=n["a"],s=a("2877"),l=Object(s["a"])(o,r,i,!1,null,"29f26be0",null);t["default"]=l.exports},"0e3d":function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return s})),a.d(t,"getDetail",(function(){return l})),a.d(t,"remove",(function(){return c})),a.d(t,"add",(function(){return u})),a.d(t,"update",(function(){return d}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-system/tenant-package/list",method:"get",params:o(o({},a),{},{current:e,size:t})})},l=function(e){return Object(i["a"])({url:"/api/ubcs-system/tenant-package/detail",method:"get",params:{id:e}})},c=function(e){return Object(i["a"])({url:"/api/ubcs-system/tenant-package/remove",method:"post",params:{ids:e}})},u=function(e){return Object(i["a"])({url:"/api/ubcs-system/tenant-package/submit",method:"post",data:e})},d=function(e){return Object(i["a"])({url:"/api/ubcs-system/tenant-package/submit",method:"post",data:e})}},"0eb9":function(e,t,a){"use strict";a.r(t),a.d(t,"getReferConfigPage",(function(){return s})),a.d(t,"getReferConfigList",(function(){return l})),a.d(t,"editCodeReferConfig",(function(){return c})),a.d(t,"addSaveCodeReferConfig",(function(){return u})),a.d(t,"deleteCodeReferConfig",(function(){return d}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-code/codeReferConfig/getReferConfigPage",method:"get",params:o(o({},a),{},{page:e,limit:t})})},l=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeReferConfig/getReferConfigList",method:"get",params:o({},e)})},c=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeReferConfig/edit",method:"put",data:e})},u=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeReferConfig/addSave",method:"post",data:e})},d=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeReferConfig/del",method:"delete",data:e})}},"0f22":function(e,t,a){"use strict";a.r(t);var r=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)},i=[],n=(a("8e6e"),a("ac6a"),a("456d"),a("ade3")),o=a("5880"),s=a("08ae");function l(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function c(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?l(Object(a),!0).forEach((function(t){Object(n["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):l(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,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=a("2877"),f=Object(p["a"])(d,r,i,!1,null,"4021a100",null);t["default"]=f.exports},"0f7d":function(e,t,a){"use strict";a.r(t),a.d(t,"delCodeClassifyProcessTemp",(function(){return i}));var r=a("b5c6"),i=function(e){return Object(r["a"])({url:"/api/ubcs-code/codeClsProcessTempController/deleteData",method:"delete",data:e})}},"107f":function(e,t,a){"use strict";a.r(t);a("7f7f");var r=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(a,r){return t("el-col",{key:r,attrs:{md:4,xs:12,sm:4}},[t("el-radio",{attrs:{label:a.value}},[e._v(e._s(a.name))])],1)})),1)],1)],1),t("span",[t("i",{staticClass:"icon-zhuti",on:{click:e.open}})])],1)},i=[],n=(a("8e6e"),a("ac6a"),a("456d"),a("ade3")),o=a("0e0b"),s=a("5880");function l(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function c(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?l(Object(a),!0).forEach((function(t){Object(n["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):l(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,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=(a("14e5"),a("2877")),f=Object(p["a"])(d,r,i,!1,null,"34518f89",null);t["default"]=f.exports},"10dc":function(e,t,a){"use strict";a.r(t);a("7f7f");var r=function(){var e=this,t=e._self._c;return t("el-dialog",{staticClass:"avue-dialog avue-dialog--top",staticStyle:{height:"100vh"},attrs:{"close-on-click-modal":!1,visible:e.cloneSettingBox,"append-to-body":"",title:"克隆编码规则",top:"-3%",width:"800px"},on:{"update:visible":function(t){e.cloneSettingBox=t},close:e.closeCloneDialog}},[t("div",[t("el-row",[t("el-form",{ref:"form",attrs:{inline:!0,model:e.form,"label-width":"80px"}},[t("el-form-item",{attrs:{label:"编号",required:""}},[t("el-input",{model:{value:e.cloneCodeRuleForm.id,callback:function(t){e.$set(e.cloneCodeRuleForm,"id",t)},expression:"cloneCodeRuleForm.id"}})],1),t("el-form-item",{attrs:{label:"名称",required:""}},[t("el-input",{model:{value:e.cloneCodeRuleForm.name,callback:function(t){e.$set(e.cloneCodeRuleForm,"name",t)},expression:"cloneCodeRuleForm.name"}})],1),t("el-form-item",{attrs:{label:"依据",required:""}},[t("el-input",{model:{value:e.cloneCodeRuleForm.accordingTo,callback:function(t){e.$set(e.cloneCodeRuleForm,"accordingTo",t)},expression:"cloneCodeRuleForm.accordingTo"}})],1),t("el-form-item",{staticClass:"clone-input-textarea",attrs:{label:"描述"}},[t("el-input",{attrs:{autosize:{minRows:3,maxRows:5},type:"textarea"},model:{value:e.cloneCodeRuleForm.description,callback:function(t){e.$set(e.cloneCodeRuleForm,"description",t)},expression:"cloneCodeRuleForm.description"}})],1)],1)],1),t("el-row",[t("p",{staticStyle:{margin:"0 0px 16px 50%","font-weight":"500","font-size":"20px",color:"#000"}},[e._v("\n 码段管理\n ")]),t("avue-crud",{staticClass:"clone-avue-crud",attrs:{data:e.cloneData,option:e.cloneOption,"table-loading":e.cloneTableLoading},scopedSlots:e._u([{key:"menu",fn:function(a){return[t("el-button",{directives:[{name:"show",rawName:"v-show",value:a.row.orderNum>1,expression:"scope.row.orderNum > 1"}],attrs:{icon:"el-icon-arrow-up",plain:"",size:"small",type:"text"},on:{click:function(t){return e.upOrderNum(a.row)}}},[e._v("上移\n ")]),t("el-button",{attrs:{icon:"el-icon-arrow-down",plain:"",size:"small",type:"text"},on:{click:function(t){return e.downOrderNum(a.row)}}},[e._v("下移\n ")])]}}])})],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary",loading:e.cloneCodeRuleLoading},on:{click:e.saveCloneCodeRule}},[e._v("保 存")]),t("el-button",{on:{click:function(t){e.cloneSettingBox=!1}}},[e._v("取 消")])],1)])},i=[],n=(a("96cf"),a("1da1")),o={height:"350px",calcHeight:30,tip:!1,editBtn:!1,addBtn:!1,delBtn:!1,searchShow:!1,searchMenuSpan:5,disablePage:!1,border:!0,index:!0,viewBtn:!1,selection:!1,menu:!0,refreshBtn:!1,columnBtn:!1,dialogClickModal:!1,highlightCurrentRow:!0,rowKey:"oid",column:[{label:"码段编号",prop:"id",search:!1,searchLabelWidth:80,searchSpan:5},{label:"码段名称",prop:"name",search:!1,searchLabelWidth:80,searchSpan:5},{label:"码段描述",prop:"description",search:!1,span:24},{label:"码段类型",prop:"secTypeText",search:!1}]},s=a("19a0"),l=a("f601"),c={name:"cloneRuleDialog",props:{visible:{type:"Boolean",default:!1},ruleData:{type:"Object"}},data:function(){return{cloneSettingBox:this.visible,cloneTableLoading:!1,cloneCodeRuleLoading:!1,cloneOption:o,cloneData:[],cloneCodeRuleForm:{id:"",name:"",accordingTo:"",description:""}}},watch:{visible:function(){this.visible&&(this.loadBasic(this.ruleData),this.cloneCodeRuleForm.id=this.ruleData.id,this.cloneCodeRuleForm.name=this.ruleData.name,this.cloneCodeRuleForm.accordingTo=this.ruleData.accordingTo,this.cloneCodeRuleForm.description=this.ruleData.description),this.cloneSettingBox=this.visible}},methods:{closeCloneDialog:function(){this.$emit("update:visible",!1),this.cloneData=[]},upOrderNum:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var a=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("Editing"==this.ruleData.lcStatus){e.next=3;break}return this.$message.warning("只有编码规则的状态是 [编辑中] 的时候,才能调整码段顺序!"),e.abrupt("return");case 3:if(null!=t.oid&&""!=t.oid){e.next=6;break}return this.$message.warning("未获取到必填参数!"),e.abrupt("return");case 6:return e.next=8,Object(l["upOrderNum"])(t.oid).then((function(){a.loadBasic(a.ruleData),a.$message({type:"success",message:"操作成功!"})}));case 8:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}(),downOrderNum:function(e){var t=this,a=this.ruleData.oid;"Editing"==this.ruleData.lcStatus?null!=e.oid&&""!=e.oid?Object(l["downOrderNum"])(e.oid).then((function(){t.loadBasic({oid:a}),t.$message({type:"success",message:"操作成功!"})})):this.$message.warning("未获取到必填参数!"):this.$message.warning("只有编码规则的状态是 [编辑中] 的时候,才能调整码段顺序!")},loadBasic:function(e){var t=this;if(this.cloneTableLoading=!0,""!=e||null!=e){var a={};a["conditionMap[pkCodeRule]"]=e.oid.trim(),Object(l["gridCodeBasicSec"])(1,-1,a).then((function(e){var a=e.data.data;t.cloneData=a.records,t.cloneTableLoading=!1}))}},saveCloneCodeRule:function(){var e=this;this.cloneCodeRuleLoading=!0;var t=this.cloneCodeRuleForm;if(""!=t.id.trim())if(""!=t.name.trim()){var a=Object.assign({},t,{oid:"",createTime:(new Date).getTime(),ts:new Date(this.ruleData.ts).getTime(),lcStatus:"Editing",elements:this.cloneData});this.cloneCodeRuleLoading=!0,Object(s["clone"])(a).then((function(){e.cloneSettingBox=!1,e.$emit("refreshRuleTable",{currentPage:1,pageSize:10}),e.$message({type:"success",message:"操作成功!"})}),(function(e){window.console.log(e)}))}else this.$message.warning("码值不能为空!");else this.$message.warning("编号不能为空!")}}},u=c,d=a("2877"),p=Object(d["a"])(u,r,i,!1,null,null,null);t["default"]=p.exports},1249:function(e,t,a){"use strict";a.r(t),t["default"]={height:"auto",calcHeight:30,tip:!1,searchShow:!0,searchMenuSpan:6,border:!0,index:!0,selection:!0,viewBtn:!0,dialogClickModal:!1,column:[{label:"参数名称",prop:"paramName",search:!0,span:24,rules:[{required:!0,message:"请输入参数名称",trigger:"blur"}]},{label:"参数键名",prop:"paramKey",search:!0,span:24,rules:[{required:!0,message:"请输入参数键名",trigger:"blur"}]},{label:"参数键值",prop:"paramValue",type:"textarea",span:24,minRows:6,rules:[{required:!0,message:"请输入参数键值",trigger:"blur"}]}]}},1441:function(e,t,a){"use strict";a("d796")},"14cd":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("span",[t("i",{staticClass:"icon-suoping",on:{click:e.handleLock}}),t("el-dialog",{attrs:{title:"设置锁屏密码",visible:e.box,width:"30%","append-to-body":""},on:{"update:visible":function(t){e.box=t}}},[t("el-form",{ref:"form",attrs:{model:e.form,"label-width":"80px"}},[t("el-form-item",{attrs:{label:"锁屏密码",prop:"passwd",rules:[{required:!0,message:"锁屏密码不能为空"}]}},[t("el-input",{attrs:{placeholder:"请输入锁屏密码"},model:{value:e.form.passwd,callback:function(t){e.$set(e.form,"passwd",t)},expression:"form.passwd"}})],1)],1),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary"},on:{click:e.handleSetLock}},[e._v("确 定")])],1)],1)],1)},i=[],n=(a("8e6e"),a("ac6a"),a("456d"),a("ade3")),o=a("c54a"),s=a("5880");function l(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function c(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?l(Object(a),!0).forEach((function(t){Object(n["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):l(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,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=a("2877"),f=Object(p["a"])(d,r,i,!1,null,"457dd992",null);t["default"]=f.exports},"14e5":function(e,t,a){"use strict";a("8572")},1557:function(e,t,a){"use strict";a("6ea1")},"188d":function(e,t,a){"use strict";a.r(t);a("7f7f");var r=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:"30","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",{staticClass:"referTypeForm",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",{staticClass:"referNameForm",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(a){return t("el-tag",{key:a.itemName,attrs:{type:"info"}},[e._v("\n "+e._s(a.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(a){var r=a.node;a.data;return t("span",{staticClass:"el-tree-node__label"},[t("span",[t("i",{staticClass:"el-icon-star-on"}),e._v("\n "+e._s((r||{}).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(a){var r=a.row;return[t("el-radio",{attrs:{label:r.$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("div",[t("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:e.form,size:"small"}},[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.label,callback:function(t){e.$set(e.form,"label",t)},expression:"form.label"}})],1),t("el-form-item",[t("el-button",{attrs:{type:"primary"},on:{click:e.onSubmit}},[e._v("查询")])],1)],1)],1),t("avue-crud",{ref:"eunmTable",staticClass:"enumTable",attrs:{option:e.enumRefer.option,data:e.enumRefer.data,page:e.enumRefer.enumPage},on:{"on-load":e.enumOnLoad,"row-click":e.enumReferClick,"update:page":function(t){return e.$set(e.enumRefer,"enumPage",t)}},scopedSlots:e._u([{key:"radio",fn:function(a){var r=a.row;return[t("el-radio",{attrs:{label:r.$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)},i=[],n=(a("ac6a"),a("35a0")),o=a("d772"),s=a("6872"),l={name:"originalAdd",props:{attribute:{type:Object}},data:function(){return{form:{name:"",label:""},showSubmitDialog:!1,activeName:"referTab",typeList:[],referToFlag:!0,rules:{id:[{required:!0,message:"请输入属性编号",trigger:"blur"},{pattern:/^[A-Za-z]+$/,message:"属性编号只能为英文",trigger:"blur"},{min:2,max:30,message:"长度在2到30个字符",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,highlightCurrentRow:!0,column:[{label:"",prop:"radio",width:60,hide:!1},{label:"枚举代号",prop:"name",align:"center",searchSpan:8},{label:"枚举名称",prop:"label",align:"center",searchSpan:8}]},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:{onSubmit:function(){var e=this;if(this.form.name||this.form.label){var t={};this.form.name&&(t.name=this.form.name),this.form.label&&(t.label=this.form.label),Object(n["getParentList"])(this.enumRefer.enumPage.currentPage,this.enumRefer.enumPage.pageSize,t).then((function(t){e.enumRefer.enumPage.total=t.data.data.total,e.enumRefer.data=t.data.data.records}))}},enumOnLoad:function(){var e=this;Object(n["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}))},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,a){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(n["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}))},openEnumConfig:function(){var e=this;Object(n["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(n["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(n["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=(a("0367"),a("2877")),d=Object(u["a"])(c,r,i,!1,null,null,null);t["default"]=d.exports},1894:function(e,t,a){"use strict";a.r(t),a.d(t,"getLogoList",(function(){return s}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-code/dockingManagement/gridLoge",method:"get",params:o(o({},a),{},{page:e,limit:t})})}},"18ec":function(e,t,a){"use strict";a.r(t);a("7f7f");var r=function(){var e=this,t=e._self._c;return t("el-dialog",{staticClass:"avue-dialog avue-dialog--top",attrs:{title:e.title,visible:e.dialogVisible,"append-to-body":"true",top:"-3%",width:"30%"},on:{"update:visible":function(t){e.dialogVisible=t}}},[e._l(e.tags,(function(a){return t("el-tag",{key:a,attrs:{closable:"","disable-transitions":"",effect:"Plain",size:"medium"},on:{click:function(t){return e.handleClickTag(a)},close:function(t){return e.handleCloseTag(a)}}},[t("span",[e._v(" "+e._s(a.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(a,r){return t("el-form-item",{key:r,attrs:{label:a.taskName}},[t("el-select",{staticStyle:{width:"100%"},attrs:{filterable:"",placeholder:a.taskName},on:{change:function(t){return e.handleSelect(t,r)}},model:{value:e.collectParam.flowTaskUsers[r]["userId"],callback:function(t){e.$set(e.collectParam.flowTaskUsers[r],"userId",t)},expression:"collectParam.flowTaskUsers[index]['userId']"}},e._l(e.typeName,(function(e,a){return t("el-option",{key:a,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)},i=[],n=(a("8e6e"),a("ac6a"),a("456d"),a("7514"),a("ade3")),o=(a("96cf"),a("1da1")),s=(a("20d6"),a("f10a")),l=a("84df");function c(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function u(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?c(Object(a),!0).forEach((function(t){Object(n["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):c(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var d={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",processName:"processName",code:"code",type:"type",btmtype:"btmtype"}}}},watch:{visible:function(e){this.dialogVisible=e,e&&(this.apiInit(),this.apiDict())},dialogVisible:function(e){this.$emit("update:visible",e)},users:{handler:function(e){this.collectParam.flowTaskUsers=e},deep:!0,immediate:!0},parameter:{handler:function(e,t){this.saveParam=Object.assign({processName:"",processDesc:""},e)},deep:!0,immediate:!0}},data:function(){return{dialogVisible:this.visible,isCollent:!1,initFrom:[],tags:[],typeName:[],collectParam:{},saveParam:{},users:[],rules:{processName:[{required:!0,message:"流程名称不能为空",trigger:"blur"},{min:3,max:50,message:"长度在 3 到 50 个字符",trigger:"blur"}]}}},mounted:function(){},created:function(){},methods:{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,a,r,i,n,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&&(this.initFrom=t.data.data.user,this.tags=t.data.data.collect,a=t.data.data.flow,r=a.modelKey,i=a.templateId,n=a.modelName,o=t.data.data.user,this.collectParam={modelKey:r,templateId:i,flowTaskUsers:o},this.users=t.data.data.user,this.saveParam=u(u({},this.saveParam),{},{modelKey:r,templateId:i,modelName:n}),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,a;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,200===t.status&&(a=t.data.data,this.typeName=a.map((function(e){var t=e.account,a=e.deptName,r=e.id,i=e.realName,n="".concat(a," - ").concat(i," - ").concat(t);return{userId:r,userName:i,userNames:n}})));case 4: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(a){var r,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=a.value,e.collectParam.flowTaskUsers=e.users,e.collectParam=u(u({},e.collectParam),{},{name:r}),t.next=5,Object(s["personnelCollect"])(e.collectParam);case 5:i=t.sent,200===i.status&&e.$nextTick((function(){e.apiInit()}));case 7: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 a;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:a=e.sent,200===a.status&&(this.apiInit(),this.isCollent=!0,this.$message({type:"success",message:a.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,a,r,i,n,o,c,d,p,f,m,h,b;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(e.prev=0,t=this.collectParam.flowTaskUsers.length,0!=t||t==this.initFrom.length){e.next=6;break}this.$message({type:"error",message:"请选择节点!"}),e.next=14;break;case 6:return a=this.saveParam,r=a.modelKey,i=a.modelName,n=a.processDesc,o=a.processName,c=a.templateId,d=a.topName,p=a.vars,f=a.ids,m=a.btmtype,h=u({modelKey:r,modelName:i,processDesc:n,processName:o,templateId:c,topName:d,ids:f,btmtype:m},p),h.oids=f,h.createTime=Object(l["b"])(new Date,"yyyy-MM-dd hh:mm:ss"),e.next=12,Object(s["personnelSave"])({variables:h,flowTaskUsers:this.collectParam.flowTaskUsers});case 12:b=e.sent,200===b.status&&(this.$message({type:"success",message:b.data.msg}),this.$emit("onLoad"),this.done());case 14:e.next=19;break;case 16:e.prev=16,e.t0=e["catch"](0),this.$message.error("接口调用失败");case 19:case"end":return e.stop()}}),e,this,[[0,16]])})));function t(){return e.apply(this,arguments)}return t}(),handleClickTag:function(e){var t=this.collectParam.flowTaskUsers;this.collectParam.flowTaskUsers=t.map((function(t,a){for(var r=0;r<e.flowTaskUsers.length;r++)t.taskId==e.flowTaskUsers[r].taskId&&(t["userName"]=e.flowTaskUsers[r]["userName"],t["userId"]=e.flowTaskUsers[r]["userId"]);return t})),this.users=this.collectParam.flowTaskUsers},handleCloseTag:function(e){this.canCollect(e.name)},handleSelect:function(e,t){var a=this.typeName.find((function(t){return t.userId===e})),r=a.userName;this.$set(this.users,t,u(u({},this.collectParam.flowTaskUsers[t]),{},{userName:r}))},done:function(){this.dialogVisible=!1},handleCancel:function(){this.done()},handleConfirm:function(){this.apiSave()}}},p=d,f=(a("68f1"),a("2877")),m=Object(f["a"])(p,r,i,!1,null,null,null);t["default"]=m.exports},1919:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("basic-container",[t("avue-crud",{ref:"crud",attrs:{option:e.option,"table-loading":e.loading,data:e.data,page:e.page,"before-open":e.beforeOpen,permission:e.permissionList},on:{"update:page":function(t){e.page=t},"row-del":e.rowDel,"search-change":e.searchChange,"search-reset":e.searchReset,"selection-change":e.selectionChange,"row-click":e.selectedRowClick,"current-change":e.currentChange,"size-change":e.sizeChange,"refresh-change":e.refreshChange,"on-load":e.onLoad},scopedSlots:e._u([{key:"menu",fn:function(a){return[e.hasDownload?t("el-button",{attrs:{type:"text",icon:"el-icon-download",size:"small"},on:{click:function(t){return e.handleDownload(a.row)}}},[e._v("下载\n ")]):e._e()]}}]),model:{value:e.form,callback:function(t){e.form=t},expression:"form"}},[t("template",{slot:"menuLeft"},[e.hasUpload?t("el-button",{attrs:{type:"primary",size:"small",plain:"",icon:"el-icon-upload2"},on:{click:e.handleUpload}},[e._v("上 传\n ")]):e._e(),e.hasEdit?t("el-button",{attrs:{type:"primary",size:"small",plain:"",icon:"el-icon-edit"},on:{click:e.handleEdit}},[e._v("修 改\n ")]):e._e(),e.hasDownload?t("el-button",{attrs:{type:"primary",size:"small",icon:"el-icon-download",plain:""},on:{click:e.handleDownload}},[e._v("下 载\n ")]):e._e(),e.hasDel?t("el-button",{attrs:{type:"danger",size:"small",icon:"el-icon-delete",plain:""},on:{click:e.handleDelete}},[e._v("删 除\n ")]):e._e()],1)],2),t("el-dialog",{attrs:{title:"附件管理","append-to-body":"",visible:e.attachBox,width:"555px"},on:{"update:visible":function(t){e.attachBox=t}}},[t("avue-form",{ref:"form",attrs:{option:e.attachOption,"upload-before":e.uploadBefore,"upload-after":e.uploadAfter,"upload-error":e.uploadError},model:{value:e.attachForm,callback:function(t){e.attachForm=t},expression:"attachForm"}})],1)],1)},i=[],n=(a("8e6e"),a("456d"),a("6762"),a("2fdb"),a("28a5"),a("ac6a"),a("ade3")),o=a("36a0"),s=a("5880"),l=a("c54a"),c=a("d9a3");function u(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function d(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?u(Object(a),!0).forEach((function(t){Object(n["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):u(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var p={props:["options","visible","ownbizOid"],data:function(){var e=this;return{form:{},query:{},params:{},loading:!1,hasPage:this.options.hasPage||!1,page:{pageSize:10,currentPage:1,total:0},attachBox:!1,selectionList:[],hasUpload:!!Object(l["b"])(this.options.hasUpload)||this.options.hasUpload,hasEdit:!!Object(l["b"])(this.options.hasEdit)||this.options.hasEdit,hasDel:!!Object(l["b"])(this.options.hasDel)||this.options.hasDel,hasDownload:!!Object(l["b"])(this.options.hasDownload)||this.options.hasDownload,option:{height:this.options.tableHeight?this.options.tableHeight:"400",calcHeight:30,tip:!1,searchShow:!1,searchMenuSpan:6,border:!0,index:!0,viewBtn:!0,selection:!0,dialogClickModal:!1,column:[{label:"文件名称",prop:"name",search:!0},{label:"文件大小",prop:"fileSize",formatter:function(e){if(!e.fileSize||null==e.fileSize||1*e.fileSize==0||isNaN(1*e.fileSize))return"未知大小";var t=1*e.fileSize;return t>1099511627776?parseInt(t/1099511627776)+"TB":t>1073741824?parseInt(t/1073741824)+"GB":t>1048576?parseInt(t/1048576)+"MB":t>1024?parseInt(t/1024)+"KB":t+"B"}},{label:"创建者",prop:"creator"},{label:"创建时间",prop:"createTime"}]},columnType:{text:"input",combox:"select",truefalse:"switch",number:"number",textarea:"textarea",datetime:"datetime",date:"date",refer:"refer"},data:[],attachForm:{},attachOption:{submitBtn:!1,emptyBtn:!1,column:[{prop:"fileDocClassify",label:"文件类型",props:{label:"value",value:"key"},change:function(){e.options.fileDocClassifyCombox&&e.changeFun("fileDocClassify")},blur:function(){!e.options.fileDocClassifyCombox&&e.changeFun("fileDocClassify")},value:this.options.fileDocClassify||"ADMIN_SHARE",type:this.options.fileDocClassifyCombox?"select":"input",dicData:this.options.fileDocClassifyCombox||[],display:!!this.options.fileDocClassifyCombox},{label:"附件上传",prop:"attachFile",type:"upload",dragFile:!0,showFileList:!1,accept:this.options.uploadAccept||"file",loadText:"文件上传中,请稍等",span:24,propsHttp:{res:"data"},data:{ownbizOid:this.options.ownbizOid||"share",ownBtmName:this.options.ownbizBtm||"share",fileDocClassify:this.options.fileDocClassify||"ADMIN_SHARE",fileDocClassifyName:this.options.fileDocClassifyName||"管理员共享文件"},action:"/api/ubcs-resource/fileController/uploadFile"}]}}},computed:d(d({},Object(s["mapGetters"])(["permission"])),{},{permissionList:function(){return{addBtn:!1,viewBtn:!1,delBtn:this.vaildData(this.permission.attach_delete,!1),editBtn:!1}},oids:function(){var e=[];return this.selectionList.forEach((function(t){e.push(t.oid)})),e.join(",")}}),created:function(){this.setFormItem(),this.setParams()},mounted:function(){},watch:{ownbizOid:function(e){this.setParams(),this.refreshChange()}},methods:{setFormItem:function(){var e=this;this.options&&this.options.formItems&&this.options.formItems.forEach((function(t){var a="请选择",r="change";"text"===t.type&&(a="请输入",r="blur"),e.attachOption.column.push(d(d({},t),{},{label:t.title,prop:t.field,display:!t.hidden,value:t.defaultValue,disabled:t.readOnly,type:e.columnType[t.type],dicData:e.getDataList(t.type,t.data),change:function(){"text"!==t.type&&"number"!==t.type&&"textarea"!==t.type&&e.changeFun(t.field)},blur:function(){"text"!=t.type&&"number"!=t.type&&"textarea"!=t.type||e.changeFun(t.field)},rules:[{required:t.required,message:"请".concat(a).concat(t.title),trigger:r},{pattern:t.verify?t.verify:/[\s\S.]*/g,message:t.tooltips,trigger:r}],props:{label:"value",value:"key"}}))}))},changeFun:function(e){this.attachOption.column[1].data[e]=this.attachForm[e]},getDataList:function(e,t){return"truefalse"===e?[{key:!1,value:"否"},{key:!0,value:"是"}]:"combox"===e?t:[]},setParams:function(){var e={currentButtonKey:"VIEW",ownbizOid:this.options.ownbizOid||"share",ownBtmName:this.options.ownbizBtm||"share",fileDocClassify:this.options.fileDocClassify||"ADMIN_SHARE",fileDocClassifyName:this.options.fileDocClassifyName||"管理员共享文件"};this.options.where&&Object.assign(e,this.options.where),this.params=e,this.options.pageObject||(this.options.pageObject={limit:10,page:1}),this.page.pageSize=this.options.pageObject.limit,this.page.currentPage=this.options.pageObject.page,this.attachOption.column[1].data.ownbizOid=this.options.ownbizOid||"share",this.attachOption.column[1].data.ownBtmName=this.options.ownbizBtm||"share",this.attachOption.column[1].data.fileDocClassify=this.options.fileDocClassify||"ADMIN_SHARE",this.attachOption.column[1].data.fileDocClassifyName=this.options.fileDocClassifyName||"管理员共享文件"},handleUpload:function(){this.attachOption.column[1].data.fileOid="",delete this.attachOption.column[1].data.oid,delete this.attachOption.column[1].data.updateFileFlag,this.attachBox=!0},handleEdit:function(){return 0==this.selectionList.length?(this.$message.warning("请选择需要修改的文件"),!1):this.selectionList.length>1?(this.$message.warning("请选择一条数据"),!1):(this.attachOption.column[1].data.fileOid=this.oids,this.attachOption.column[1].data.oid=this.oids,this.attachOption.column[1].data.updateFileFlag=!0,void(this.attachBox=!0))},uploadBefore:function(e,t,a,r){t()},uploadAfter:function(e,t,a,r){this.attachBox=!1,this.$message.success("文件上传成功"),this.refreshChange(),t()},uploadError:function(e,t){this.$message.error(e||"上传文件出现了异常")},handleDownload:function(e){var t=new FormData;if(e&&e.oid)t.append("fileOids",e.oid),this.downloadFile(t);else{if(0===this.selectionList.length)return void this.$message.warning("请选择至少一条数据");t.append("fileOids",this.oids),this.downloadFile(t)}},downloadFile:function(e){Object(o["download"])(e).then((function(e){e&&c["a"].downloadFileByBlobHandler(e)}))},rowDel:function(e){var t=this;this.$confirm("确定将选择文件删除?",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return Object(o["remove"])([e.oid])})).then((function(){t.onLoad(t.page),t.$message({type:"success",message:"操作成功!"})}))},handleDelete:function(){var e=this;0!==this.selectionList.length?this.$confirm("确定将选择数据删除?",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return Object(o["remove"])(e.oids.split(","))})).then((function(){e.onLoad(e.page),e.$message({type:"success",message:"操作成功!"}),e.$refs.crud.toggleSelection()})):this.$message.warning("请选择至少一条数据")},beforeOpen:function(e,t){var a=this;["edit","view"].includes(t)&&getDetail(this.form.id).then((function(e){a.form=e.data.data})),e()},searchReset:function(){this.query={},this.onLoad(this.page)},searchChange:function(e,t){this.query=e,this.page.currentPage=1,this.onLoad(this.page),t()},selectionChange:function(e){this.selectionList=e,this.$refs.crud.setCurrentRow(this.selectionList[e.length-1])},selectedRowClick:function(e){this.selectionList=e,this.$refs.crud.toggleSelection(),this.$refs.crud.setCurrentRow(e),this.$refs.crud.toggleRowSelection(e)},selectionClear:function(){this.selectionList=[],this.$refs.crud.toggleSelection()},currentChange:function(e){this.page.currentPage=e},sizeChange:function(e){this.page.pageSize=e},refreshChange:function(){this.onLoad(this.page)},onLoad:function(e){var t=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.loading=!0;var r={};if(this.query)for(var i in this.query)r['conditionMap["'+i+'"]']=this.query[i];Object(o["getList"])(e.currentPage,e.pageSize,Object.assign(a,this.params,r,this.query)).then((function(e){var a=e.data.data;t.page.total=a.total,t.options.fileDocClassifyCombox?t.data=a.records.map((function(e){return Object(l["b"])(e.fileDocClassifyName)&&!Object(l["b"])(e.fileDocClassify)&&(e.fileDocClassifyName=t.options.fileDocClassifyCombox[e.fileDocClassify]||""),d({},e)})):t.data=a.records,t.loading=!1,t.selectionClear()})).catch((function(e){t.$message.error(e),t.loading=!1}))}}},f=p,m=a("2877"),h=Object(m["a"])(f,r,i,!1,null,null,null);t["default"]=h.exports},"195f":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("div",{staticClass:"avue-top"},[t("div",{staticClass:"top-bar__left"},[e.showCollapse?t("div",{staticClass:"avue-breadcrumb",class:[{"avue-breadcrumb--active":e.isCollapse}]},[t("i",{staticClass:"icon-navicon",on:{click:e.setCollapse}})]):e._e()]),t("div",{staticClass:"top-bar__title"},[e.showMenu?t("div",{staticClass:"top-bar__item top-bar__item--show"},[t("top-menu",{ref:"topMenu"})],1):e._e(),e.showSearch?t("span",{staticClass:"top-bar__item"},[t("top-search")],1):e._e()]),t("div",{staticClass:"top-bar__right"},[e.showColor?t("el-tooltip",{attrs:{effect:"dark",content:e.$t("navbar.color"),placement:"bottom"}},[t("div",{staticClass:"top-bar__item"},[t("top-color")],1)]):e._e(),e.showDebug?t("el-tooltip",{attrs:{effect:"dark",content:e.logsFlag?e.$t("navbar.bug"):e.logsLen+e.$t("navbar.bugs"),placement:"bottom"}},[t("div",{staticClass:"top-bar__item"},[t("top-logs")],1)]):e._e(),e.showLock?t("el-tooltip",{attrs:{effect:"dark",content:e.$t("navbar.lock"),placement:"bottom"}},[t("div",{staticClass:"top-bar__item"},[t("top-lock")],1)]):e._e(),e.showTheme?t("el-tooltip",{attrs:{effect:"dark",content:e.$t("navbar.theme"),placement:"bottom"}},[t("div",{staticClass:"top-bar__item top-bar__item--show"},[t("top-theme")],1)]):e._e(),t("el-tooltip",{attrs:{effect:"dark",content:e.$t("navbar.notice"),placement:"bottom"}},[t("div",{staticClass:"top-bar__item top-bar__item--show"},[t("top-notice")],1)]),t("el-tooltip",{attrs:{effect:"dark",content:e.$t("navbar.language"),placement:"bottom"}},[t("div",{staticClass:"top-bar__item top-bar__item--show"},[t("top-lang")],1)]),e.showFullScren?t("el-tooltip",{attrs:{effect:"dark",content:e.isFullScren?e.$t("navbar.screenfullF"):e.$t("navbar.screenfull"),placement:"bottom"}},[t("div",{staticClass:"top-bar__item"},[t("i",{class:e.isFullScren?"icon-tuichuquanping":"icon-quanping",on:{click:e.handleScreen}})])]):e._e(),t("img",{staticClass:"top-bar__img",attrs:{src:e.userInfo.avatar}}),t("el-dropdown",[t("span",{staticClass:"el-dropdown-link"},[e._v("\n "+e._s(e.userInfo.userName)+"\n "),t("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),t("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[t("el-dropdown-item",[t("router-link",{attrs:{to:"/"}},[e._v(e._s(e.$t("navbar.dashboard")))])],1),t("el-dropdown-item",[t("router-link",{attrs:{to:"/info/index"}},[e._v(e._s(e.$t("navbar.userinfo")))])],1),this.website.switchMode?t("el-dropdown-item",{nativeOn:{click:function(t){return e.switchDept.apply(null,arguments)}}},[e._v(e._s(e.$t("navbar.switchDept"))+"\n ")]):e._e(),t("el-dropdown-item",{attrs:{divided:""},nativeOn:{click:function(t){return e.logout.apply(null,arguments)}}},[e._v(e._s(e.$t("navbar.logOut"))+"\n ")])],1)],1),t("el-dialog",{attrs:{title:"用户信息选择","append-to-body":"",visible:e.userBox,width:"350px"},on:{"update:visible":function(t){e.userBox=t}}},[t("avue-form",{ref:"form",attrs:{option:e.userOption},on:{submit:e.submitSwitch},model:{value:e.userForm,callback:function(t){e.userForm=t},expression:"userForm"}})],1)],1)])},i=[],n=(a("8e6e"),a("ac6a"),a("456d"),a("ade3")),o=a("9883"),s=a("5880"),l=a("0e0b"),c=a("14cd"),u=a("286c"),d=a("9812"),p=a("107f"),f=a("0f22"),m=a("44b2"),h=a("ad51"),b=a("c7cc");function g(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function y(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?g(Object(a),!0).forEach((function(t){Object(n["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):g(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,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 a=this.findObject(this.userOption.column,"roleId");a.dicUrl="/api/ubcs-system/role/select?userId=".concat(e),a.display=!0,this.userBox=!0},submitSwitch:function(e,t){var a=this;this.$store.dispatch("refreshToken",e).then((function(){a.userBox=!1,a.$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"})})),localStorage.removeItem("pageFlag")}))}}},O=v,_=a("2877"),w=Object(_["a"])(O,r,i,!1,null,"60440ac7",null);t["default"]=w.exports},"196f":function(e,t,a){},"19a0":function(e,t,a){"use strict";a.r(t),a.d(t,"gridCodeRule",(function(){return s})),a.d(t,"getDetail",(function(){return l})),a.d(t,"remove",(function(){return c})),a.d(t,"add",(function(){return u})),a.d(t,"update",(function(){return d})),a.d(t,"listUseRange",(function(){return p})),a.d(t,"clearAllCode",(function(){return f})),a.d(t,"updateStatus",(function(){return m})),a.d(t,"clone",(function(){return h})),a.d(t,"getObjectByOid",(function(){return b})),a.d(t,"listDataByOids",(function(){return g})),a.d(t,"checkLikeCodeRule",(function(){return y}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-code/mdmRule/gridCodeRule",method:"get",params:o({page:e,limit:t},a)})},l=function(e){return Object(i["a"])({url:"/api/ubcs-code/mdmRule/detail",method:"get",params:{oid:e}})},c=function(e){return Object(i["a"])({url:"/api/ubcs-code/mdmRule/deleteData",method:"delete",data:e})},u=function(e){return Object(i["a"])({url:"/api/ubcs-code/mdmRule/addCode",method:"post",data:e})},d=function(e){return Object(i["a"])({url:"/api/ubcs-code/mdmRule/update",method:"post",data:e})},p=function(e){return Object(i["a"])({url:"/api/ubcs-code/mdmRule/listUseRange",method:"get",params:{oid:e}})},f=function(e){return Object(i["a"])({url:"/api/ubcs-code/mdmRule/clearAllCode",method:"delete",params:{oid:e}})},m=function(e){return Object(i["a"])({url:"/api/ubcs-code/mdmRule/updateStatus",method:"post",data:e})},h=function(e){return Object(i["a"])({url:"/api/ubcs-code/mdmRule/clone",method:"post",data:e})},b=function(e){return Object(i["a"])({url:"/api/ubcs-code/mdmRule/getObjectByOid",method:"get",params:{oid:e}})},g=function(e){return Object(i["a"])({url:"/api/ubcs-code/mdmRule/listDataByOids",method:"get",params:{oids:e}})},y=function(e){return Object(i["a"])({url:"/api/ubcs-code/mdmRule/checkLikeCodeRule",method:"get",params:{oid:e}})}},"1a5b":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__),core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("7f7f"),core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_4__),regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("96cf"),regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_5__),C_java_workspace_GIT_VCI_UBCS_ubcs_Source_UBCS_WEB_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("1da1"),core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("ac6a"),core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_7___default=__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_7__),_api_GetItem__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("dd3a"),_api_template_setPersonnel__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("f10a"),_api_integration_integration_js__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("f9fa"),_views_integration_integrationTransfer__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__("76e7"),_components_template_SetPersonnel__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__("18ec"),_components_FormTemplate_ResembleQueryDialog_vue__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__("2746"),_components_BatchImport__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__("aa51"),_util_validate__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__("c54a"),_components_file_inHtml_vue__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__("4b55"),_api_system_user__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__("c0c7");function ownKeys(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(a),!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,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ownKeys(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}__webpack_exports__["a"]={components:{integrationTransfer:_views_integration_integrationTransfer__WEBPACK_IMPORTED_MODULE_11__["default"],SetPersonnel:_components_template_SetPersonnel__WEBPACK_IMPORTED_MODULE_12__["default"],ResembleQueryDialog:_components_FormTemplate_ResembleQueryDialog_vue__WEBPACK_IMPORTED_MODULE_13__["default"],BatchImport:_components_BatchImport__WEBPACK_IMPORTED_MODULE_14__["default"],fileInHtml:_components_file_inHtml_vue__WEBPACK_IMPORTED_MODULE_16__["default"]},name:"Crud.vue",props:{page:{type:Object,default:function(){return{}}},codeClassifyOid:{type:String,default:""},coderuleoid:{type:String,default:""},tableDataArray:{type:Array},TreeValue:{type:String,default:""},total:{type:String,default:""},templateOid:{type:String,default:""},tableHeadDataFateher:{type:Array},isLoading:{type:Boolean,default:!1},tableHeadFindData:{type:Array},tableHeadBtnData:{type:Array},Treedata:{type:Array}},data:function(){return{statusSelect:"all",keyWordFind:"",searchResults:[],WupinFindValue:"",similarVisible:!1,parameter:{ids:[],btmtype:"",code:"",type:"",processName:"",vars:{codeClassifyOid:"",templateOid:""}},visibleNames:[],visibleFlow:!1,visibleDeactivate:!1,visibleEnable:!1,visibleRecovery:!1,title:"",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:[],tableHeight:"calc(100vh - 350px)",DataVisible:!1,tableHeadData:[],items:{},seniorQueryColumns:[],selectRow:[],userName:"",batchImportData:{visible:!1,type:"",codeClassifyOid:""},masterVrBtnList:[],fileOptions:{ownbizOid:"0",ownbizBtm:"0",fileDocClassify:"!=processAuditSuggest",fileDocClassifyName:"",hasDownload:!0,hasUpload:!0,height:110},result:""}},computed:{oids:function(){var e=[];return this.selectRow.forEach((function(t){e.push(t.oid)})),e}},created:function(){var e=this;Object(_api_system_user__WEBPACK_IMPORTED_MODULE_17__["getUserInfo"])().then((function(t){e.result=t.data.data.realName}))},mounted:function(){},activated:function(){this.doLayout()},updated:function(){this.doLayout()},watch:{tableHeadDataFateher:{handler:function(e,t){this.options=e.tableDefineVO.seniorQueryColumns}},codeClassifyOid:{handler:function(e,t){this.codeClassifyOid=e},deep:!0},tableDataArray:{handler:function(e,t){this.tableData=e,this.searchResults=e,this.doLayout()}},tableHeadFindData:{handler:function handler(newval,oldval){var _this2=this;newval.forEach((function(record,_index){"id"==record.field&&Object(_util_validate__WEBPACK_IMPORTED_MODULE_15__["b"])(record.templet)?record.formatter="":record.templet&&"string"==typeof record.templet&&!Object(_util_validate__WEBPACK_IMPORTED_MODULE_15__["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]?"是":"否"}),0==_index&&(_this2.keyWordFind=record.field)})),this.tableHeadFindDatas=newval,this.WupinFindValue=""}},total:{handler:function(e,t){this.page.total=e}},templateOid:{handler:function(e,t){this.fileOptions.ownbizOid="0"},deep:!0},tableHeadBtnData:{handler:function(e){0!==e.length&&(this.masterVrBtnList=e)},deep:!0}},methods:{cellSelectHandler:function(e){"all"===e?this.cellStatusFind():this.cellStatusFind(e)},cellStatusFind:function(e){var t=this;Object(_api_GetItem__WEBPACK_IMPORTED_MODULE_8__["TableData"])({templateOid:this.templateOid,codeClassifyOid:this.codeClassifyOid,page:this.page.currentPage,limit:this.page.pageSize,"conditionMap[lcstatus]":e}).then((function(e){t.tableData=e.data.data}))},handleCollapse:function(e){e.length>0?(this.tableHeight="calc(100vh - 630px)",this.$refs.dataTable.doLayout()):(this.tableHeight="calc(100vh - 350px)",this.$refs.dataTable.doLayout())},openVis:function(e){this[e]=!0},handelBtnClick:function(e){var t=this,a=e.uniqueFlag;this.$nextTick((function(){return"CODEADD"===a?t.addvisible=!0:"CODEEDIT"===a?t.editHandler():"CODEBATCHADD"===a?t.openBatchImport("batchImportApply"):"CODEIMPORTHISTORY"===a?t.openBatchImport("historyImport"):"batchApplyCode"===a?t.openBatchImport("batchApplyCode"):"CODESTARTPROCESS"===a?t.setHandler():"CODEUPREVISION"===a?t.DataChange():"CODEEXPORT"===a?t.openD():"CODEQUERY"===a?t.findHandler():"CODEDISABLE"===a?t.Deactivate():"CODEENABLE"===a?t.Enable():"CODERECYCLE"===a?t.Recovery():"CODEDELETE"===a?t.enumDeleteRow():"applyGroupCode"===a?t.applyGroupCode():"receiveEditApply"===a?t.receiveEditApply():void 0}))},applyGroupCode:function(){var e=this;if(this.selectRow.length<=0)this.$message.warning("请选择一条数据模板!");else{var t=this.selectRow.map((function(e){return e.oid})).join(",");Object(_api_GetItem__WEBPACK_IMPORTED_MODULE_8__["applyGroupCode"])({oids:t,btmName:this.selectRow[0].btmname}).then((function(t){200==t.data.code&&e.$message.success("申请成功"),e.onLoad()}))}},receiveEditApply:function(){var e=this;if(this.selectRow.length<=0)this.$message.warning("请选择一条数据模板!");else{var t=this.selectRow.map((function(e){return e.oid})).join(",");Object(_api_GetItem__WEBPACK_IMPORTED_MODULE_8__["receiveEditApply"])({oids:t,btmName:this.selectRow[0].btmname}).then((function(t){200==t.data.code&&(e.$message.success("更新成功"),e.onLoad())}))}},openD:function(){this.getListCodeByClassId()},getListCodeByClassId:function(){var e=Object(C_java_workspace_GIT_VCI_UBCS_ubcs_Source_UBCS_WEB_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_6__["a"])(regeneratorRuntime.mark((function e(){var t,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.dialogPush=!0,this.transferData=[],e.next=4,Object(_api_integration_integration_js__WEBPACK_IMPORTED_MODULE_10__["listCodeAttributeByClassId"])({codeClassifyId:this.codeClassifyOid});case 4:t=e.sent,200===t.status&&(a=t.data.data,this.transferData=a);case 6:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),rend:function(){this.tableData=this.tableHeadData},setHandler:function(){var e={processUse:"PUBLIC",processUseText:"申请",allowStatus:"Editing",allowStatusText:"已编辑",startStatus:"Auditing",resetStatus:"Editing",batchTitle:"批量提交编码数据到流程审批",title:"提交编码数据到流程审批"};this.checkStatusAndSubmitProcess(e,"Released")},Deactivate:function(){var e={processUse:"DISABLE",processUseText:"停用",allowStatus:"Released",allowStatusText:"已发布",resetStatus:"Released",batchTitle:"批量停用(冻结)的编码数据",title:"停用(冻结)编码数据",confirmMsg:"是否要停用这些数据"};this.checkStatusAndSubmitProcess(e,"Disabled")},Enable:function(){var e={processUse:"ENABLE",processUseText:"启用",allowStatus:"Disabled",allowStatusText:"已停用",resetStatus:"Disabled",batchTitle:"批量启用(解冻)的编码数据",title:"启用(解冻)编码数据",confirmMsg:"是否要启用(解冻)这些数据"};this.checkStatusAndSubmitProcess(e,"Released")},Recovery:function(){var e={processUse:"ROLLBACK",processUseText:"回收",allowStatus:"Released,Disabled",allowStatusText:"已发布,已停用",batchTitle:"批量回收的编码数据",title:"回收编码数据",confirmMsg:"是否要回收这些数据"};this.checkStatusAndSubmitProcess(e,"TakeBack")},checkStatusAndSubmitProcess:function(e,t){var a=this;if(this.selectRow.length<=0)this.$message.warning("请选择数据");else if(this.selectRow.length>1e3)this.$message.warning("每次提交到流程的数量请不要超过1000条");else{var r=this.selectRow[0].lcstatus,i=this.selectRow.every((function(e){return e.lcstatus==r}));if(!i)return this.$message.warning("您选择的数据的状态不相同"),!1;if(r==t)return this.$message.warning("选择的数据中状态无需再执行当前操作"),!1;"申请"!=e.processUseText||Object(_util_validate__WEBPACK_IMPORTED_MODULE_15__["b"])(this.selectRow[0].copyfromversion)||(e.processUseText="修改",e.processUse="EDIT");var n=this.selectRow.every((function(t){return-1!=e.allowStatus.indexOf(t.lcstatus)}));if(!n)return this.$message.warning("只有状态是【"+e.allowStatusText+"】的数据才可以发起流程"),!1;Object(_api_template_setPersonnel__WEBPACK_IMPORTED_MODULE_9__["processTS"])({templateId:this.templateOid,buttonTypeKey:e.processUse}).then((function(r){r.data.data.records&&0!=r.data.data.records.length?(a.parameter.ids=a.oids,a.parameter.processName=a.result+"-"+e.processUseText+"["+a.Treedata[0].name+"-"+a.selectRow[0].name+"]",a.parameter.type=e.processUse,a.parameter.code=a.templateOid,a.parameter.btmtype=a.selectRow[0].btmname||a.selectRow[0].btmtype,a.parameter.vars={codeClassifyOid:a.codeClassifyOid,templateOid:a.templateOid},a.title=a.selectRow.length>1?e.batchTitle:e.title,a.visibleDeactivate=!0):a.$confirm("当前分类没有添加流程模板,是否不用流程审批直接执行?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){Object(_api_template_setPersonnel__WEBPACK_IMPORTED_MODULE_9__["changeStatus"])({oid:a.oids.join(","),btmname:a.selectRow[0].btmname,lcStatus:t}).then((function(t){200==t.data.code&&(a.$message.success(e.processUseText+"成功"),a.onLoad())}))})).catch((function(){a.$message({type:"info",message:"已取消"})}))}))}},handleSizeChange:function(e){var t=this;this.isLoading=!0,setTimeout((function(){t.page.pageSize=e,t.$emit("pageSize",e),t.CrudRend()}),3e3)},handleCurrentChange:function(e){var t=this;this.isLoading=!0,setTimeout((function(){t.page.currentPage=e,t.$emit("currentPage",e),t.CrudRend()}),3e3)},handleCellClick:function(e,t){this.editingRow=e,this.editShow=t.property,this.rowOid=e.oid},handleRowClick:function(e,t){this.fileOptions.ownbizOid=e.oid,this.fileOptions.ownbizBtm=e.btmname,this.$refs.dataTable.toggleRowSelection(e)},enumDeleteRow:function(e){var t=this;this.$confirm("是否删除选中数据?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){var e=[];t.selectRow.forEach((function(t){e.push(t.oid)})),Object(_api_GetItem__WEBPACK_IMPORTED_MODULE_8__["deleteCode"])({codeClassifyOid:t.codeClassifyOid,oidList:e}).then((function(e){200===e.data.code&&t.$message({type:"success",message:"删除成功!"}),t.onLoad()}))})).catch((function(){t.$message({type:"info",message:"已取消删除"})}))},saveRow:function(){this.editingRow=null},doLayout:function(){var e=this;this.$nextTick((function(){e.$refs.dataTable&&e.$refs.dataTable.doLayout&&e.$refs.dataTable.doLayout()}))},CrudHeaderRend:function(){var e=this;""!=this.codeClassifyOid&&Object(_api_GetItem__WEBPACK_IMPORTED_MODULE_8__["MasterTable"])({codeClassifyOid:this.codeClassifyOid}).then((function(t){e.options=t.data.tableDefineVO.seniorQueryColumns,e.List=t.data.tableDefineVO.cols[0],e.List.forEach((function(a){var r={label:a.title,prop:a.field,type:e.columnType[a.type],sortable:a.sort,width:a.minWidth};e.option.column.push(r),e.option.column=e.tableHeadData,e.templateOid=t.data.tableDefineVO.oid,e.$emit("templateOid",e.templateOid)}))}))},CrudRend:function(){var e=this;Object(_api_GetItem__WEBPACK_IMPORTED_MODULE_8__["TableData"])({templateOid:this.templateOid,codeClassifyOid:this.codeClassifyOid,page:this.page.currentPage,limit:this.page.pageSize}).then((function(t){e.page.total=t.data.total,e.data=t.data.data,e.tableData=t.data.data}))},sortChange:function(e){var t=this;this.isLoading=!0;var a="";a="ascending"==e.order?"asc":"desc",Object(_api_GetItem__WEBPACK_IMPORTED_MODULE_8__["TableData"])({templateOid:this.templateOid,codeClassifyOid:this.codeClassifyOid,order:a,sort:e.prop,page:this.page.currentPage,limit:this.page.pageSize}).then((function(e){setTimeout((function(){t.data=e.data.data,t.isLoading=!1}),100)}))},onLoad:function(){var e=Object(C_java_workspace_GIT_VCI_UBCS_ubcs_Source_UBCS_WEB_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_6__["a"])(regeneratorRuntime.mark((function e(t){var a=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(_api_GetItem__WEBPACK_IMPORTED_MODULE_8__["TableData"])({templateOid:this.templateOid,codeClassifyOid:this.codeClassifyOid,page:this.page.currentPage,limit:this.page.pageSize}).then((function(e){a.tableData=e.data.data,a.doLayout()}));case 2:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}(),handleSelectionChange:function(e){this.selectRow=e},handleSelection:function(e,t){this.fileOptions.ownbizOid=t.oid,this.fileOptions.ownbizBtm=t.btmname},handleSelectionAll:function(){this.fileOptions.ownbizOid="0",this.fileOptions.ownbizBtm="0"},editHandler:function(){this.selectRow.length<=0?this.$message.warning("请选择一条数据"):this.selectRow.length>1?this.$message.warning("只能选择一条数据"):"Editing"!=this.selectRow[0].lcstatus?this.$message.warning("编码状态不是“编辑中”,不可编辑"):(this.editvisible=!0,this.rowOid=this.selectRow[0]["oid"])},findHandler:function(){this.findvisible=!0},echoContion:function(e){var t=this;Object(_api_GetItem__WEBPACK_IMPORTED_MODULE_8__["FindData"])(_objectSpread({templateOid:this.templateOid,codeClassifyOid:this.codeClassifyOid},e)).then((function(e){t.tableData=e.data.data,t.page.total=e.data.total}))},similarHandler:function(){this.selectRow.length<=0?this.$message.warning("请选择一条数据"):this.selectRow.length>1?this.$message.warning("只能选择一条数据"):this.similarVisible=!0},DataChange:function(){this.selectRow.length<=0?this.$message.warning("请选择一条数据"):this.selectRow.length>1?this.$message.warning("只能选择一条数据"):"Released"!=this.selectRow[0].lcstatus?this.$message.warning("只有状态为已发布的数据才能进行数据更改"):(this.DataVisible=!0,this.rowOid=this.selectRow[0]["oid"])},AddSumbit:function(e){var t=this;Object(_api_GetItem__WEBPACK_IMPORTED_MODULE_8__["addSaveCode"])(e).then((function(e){t.$nextTick((function(){t.addvisible=!1,t.$message.success("保存成功"),t.onLoad()}))}))},EditSumbit:function(e){var t=this;Object(_api_GetItem__WEBPACK_IMPORTED_MODULE_8__["editSaveCode"])(e).then((function(e){t.$nextTick((function(){t.editvisible=!1,t.$message.success("保存成功"),t.onLoad()}))}))},updataSumbit:function(e){var t=this;e.copyFromVersion=this.rowOid,e.oid="",Object(_api_GetItem__WEBPACK_IMPORTED_MODULE_8__["upSaveCode"])(e).then((function(e){t.$nextTick((function(){t.DataVisible=!1,t.$message.success("保存成功"),t.onLoad()}))}))},openBatchImport:function(e){this.batchImportData.visible=!0,this.batchImportData.type=e,this.batchImportData.codeClassifyOid=this.codeClassifyOid},tableFindInp:function(){var e=this;Object(_api_GetItem__WEBPACK_IMPORTED_MODULE_8__["TableData"])(Object(C_java_workspace_GIT_VCI_UBCS_ubcs_Source_UBCS_WEB_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_2__["a"])({templateOid:this.templateOid,codeClassifyOid:this.codeClassifyOid,page:this.page.currentPage,limit:this.page.pageSize},"conditionMap["+this.keyWordFind+"]","*"+this.WupinFindValue+"*")).then((function(t){e.tableData=t.data.data}))}}}},"1af7":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("basic-container",[t("avue-crud",{ref:"crud",attrs:{data:e.data,option:e.option},on:{"on-load":e.getList,"row-del":e.rowDel,"refresh-change":e.refreshChange,"search-change":e.searchChange,"row-click":e.handleRowClick},model:{value:e.form,callback:function(t){e.form=t},expression:"form"}},[t("template",{slot:"menuLeft"},[t("span",[e._v("当前选择生命周期:"+e._s(this.lifeList))])])],2),t("div")],1)},i=[],n=(a("7f7f"),{name:"Businpackage.vue",data:function(){return{lifeList:"",data:[{name:"测试1"},{name:"测试2"},{name:"测试3"},{name:"测试4"}],form:{},option:{height:300,headerAlign:"center",align:"center",border:!0,editBtn:!1,index:!0,searchMenuSpan:8,searchSpan:9,searchBtnText:"查找",searchLabelWidth:100,addBtn:!1,indexFixed:!1,menuFixed:!1,column:[{label:"生命周期名称",prop:"name",search:!0,searchWidth:170}]}}},methods:{handleRowClick:function(e){console.log(e),this.lifeList=e.name},searchChange:function(e,t){t&&t(),this.params=e,this.page.currentPage=1,this.getList(),this.$message.success("搜索成功")},rowDel:function(e){var t=this;this.$confirm("此操作将永久删除, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return del(e.id)})).then((function(){t.$message.success("删除成功"),t.getList()}))}}}),o=n,s=a("2877"),l=Object(s["a"])(o,r,i,!1,null,"16826a12",null);t["default"]=l.exports},"1be0":function(e,t,a){},"1ca4":function(e,t,a){"use strict";t["a"]={title:"VCI-CODE",logo:"S",key:"saber",indexTitle:"VCI-CODE",image:"../public/img/bg/img-logo.png",clientId:"saber",clientSecret:"saber_secret",tenantMode:!0,tenantId:"000000",captchaMode:!0,switchMode:!1,lockPage:"/lock",tokenTime:3e3,tokenHeader:"Blade-Auth",statusWhiteList:[],isFirstPage:!1,fistPage:{label:"首页",value:"/wel/index",params:{},query:{},meta:{i18n:"dashboard"},group:[],close:!1},menu:{iconDefault:"iconfont icon-caidan",props:{label:"name",path:"path",icon:"source",children:"children"}},authUrl:"http://localhost:38000/ubcs-auth/oauth/render",reportUrl:"http://localhost:8108/ureport",ssoUrl:"http://localhost:37000/ubcs-auth/oauth/authorize?client_id=sword&response_type=111&redirect_uri=",redirectUri:"http://localhost:38000"}},"1e69":function(e,t,a){"use strict";a.r(t),a.d(t,"startList",(function(){return s})),a.d(t,"claimList",(function(){return l})),a.d(t,"todoList",(function(){return c})),a.d(t,"sendList",(function(){return u})),a.d(t,"doneList",(function(){return d})),a.d(t,"claimTask",(function(){return p})),a.d(t,"completeTask",(function(){return f}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-flow/work/start-list",method:"get",params:o(o({},a),{},{current:e,size:t})})},l=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-flow/work/claim-list",method:"get",params:o(o({},a),{},{current:e,size:t})})},c=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-flow/work/todo-list",method:"get",params:o(o({},a),{},{current:e,size:t})})},u=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-flow/work/send-list",method:"get",params:o(o({},a),{},{current:e,size:t})})},d=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-flow/work/done-list",method:"get",params:o(o({},a),{},{current:e,size:t})})},p=function(e){return Object(i["a"])({url:"/api/ubcs-flow/work/claim-task",method:"post",params:{taskId:e}})},f=function(e){return Object(i["a"])({url:"/api/ubcs-flow/work/complete-task",method:"post",data:e})}},"1ef8":function(e,t,a){"use strict";a.r(t),a.d(t,"gridCodeFixedValue",(function(){return s})),a.d(t,"addSaveCodeFixedValue",(function(){return l})),a.d(t,"editCodeFixedValue",(function(){return c})),a.d(t,"deleteCodeFixedValue",(function(){return u})),a.d(t,"saveOrder",(function(){return d}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-code/codeFixedValueController/gridCodeFixedValue",method:"get",params:o(o({},a),{},{current:e,size:t})})},l=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeFixedValueController/addSave",method:"post",data:e})},c=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeFixedValueController/editSave",method:"put",data:e})},u=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeFixedValueController/deleteData",method:"delete",data:e})},d=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeFixedValueController/saveOrder",method:"post",data:e})}},"20bf":function(e,t,a){"use strict";a.r(t);var r=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)},i=[],n=(a("8e6e"),a("ac6a"),a("456d"),a("ade3")),o=a("5880"),s=a("7d3a"),l=a("7505");function c(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function u(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?c(Object(a),!0).forEach((function(t){Object(n["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):c(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,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=(a("22ef"),a("2877")),m=Object(f["a"])(p,r,i,!1,null,"275f073a",null);t["default"]=m.exports},"22ef":function(e,t,a){"use strict";a("61f2")},"245a":function(e,t,a){"use strict";a.r(t);var r=a("96eb"),i=a.n(r),n=function(e){var t=e.mock;t&&(i.a.mock("/user/login","post",{data:(new Date).getTime()+""}),i.a.mock("/user/logout","get",{data:!0}),i.a.mock("/user/refesh","post",{data:(new Date).getTime()+""}),i.a.mock("/user/getTable","get",(function(){for(var e=[],t=0;t<5;t++)e.push(i.a.mock({id:"@increment",name:i.a.mock("@cname"),username:i.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:i.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&&i.a.mock("/user/getTopMenu","get",(function(){return{data:o}}))},l=function(e){var t=e.mock;t&&i.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&&(i.a.mock(/\/api\/ubcs-system\/param\/list/,"get",c),i.a.mock(/\/api\/ubcs-system\/param\/detail/,"get",u),i.a.mock(/\/api\/ubcs-system\/param\/submit/,"post",d),i.a.mock(/\/api\/ubcs-system\/param\/remove/,"post",d))},f={mock:!1};n(f),s(f),l(f),p(f)},2499:function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return s})),a.d(t,"getDetail",(function(){return l})),a.d(t,"remove",(function(){return c})),a.d(t,"add",(function(){return u})),a.d(t,"update",(function(){return d})),a.d(t,"enable",(function(){return p})),a.d(t,"send",(function(){return f}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-resource/sms/list",method:"get",params:o(o({},a),{},{current:e,size:t})})},l=function(e){return Object(i["a"])({url:"/api/ubcs-resource/sms/detail",method:"get",params:{id:e}})},c=function(e){return Object(i["a"])({url:"/api/ubcs-resource/sms/remove",method:"post",params:{ids:e}})},u=function(e){return Object(i["a"])({url:"/api/ubcs-resource/sms/submit",method:"post",data:e})},d=function(e){return Object(i["a"])({url:"/api/ubcs-resource/sms/submit",method:"post",data:e})},p=function(e){return Object(i["a"])({url:"/api/ubcs-resource/sms/enable",method:"post",params:{id:e}})},f=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-resource/sms/endpoint/send-message",method:"post",params:{code:e,phones:t,params:a}})}},2666:function(e,t,a){var r={"./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 i(e){var t=n(e);return a(t)}function n(e){if(!a.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=n,e.exports=i,i.id="2666"},2746:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"avue-dialog avue-dialog--top",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)},i=[],n=a("902d"),o=a("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(n["getFormDetail"])({templateOid:this.templateOid,oid:this.rowOid}).then((function(t){return e.detailData=t.data.data[0]||{},Object(n["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=a("2877"),u=Object(c["a"])(l,r,i,!1,null,"4c1d99af",null);t["default"]=u.exports},"276d":function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return s})),a.d(t,"getLazyList",(function(){return l})),a.d(t,"getTableDefinedUrl",(function(){return c}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t,a,r,n){return Object(i["a"])({url:r,method:n,params:o(o({},e),{},{page:t,limit:a})})},l=function(e,t){return Object(i["a"])({url:t,method:"get",params:o({},e)})},c=function(e,t){return Object(i["a"])({url:t,method:"get",params:o({},e)})}},"286c":function(e,t,a){"use strict";a.r(t);var r=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(a,r){return[t("el-menu-item",{key:r,attrs:{index:a.id+""},nativeOn:{click:function(t){return e.openMenu(a)}}},[t("template",{slot:"title"},[t("i",{class:a.source,staticStyle:{"padding-right":"5px"}}),t("span",[e._v(e._s(e.generateTitle(a)))])])],2)]}))],2)],1)},i=[],n=(a("8e6e"),a("ac6a"),a("456d"),a("7f7f"),a("ade3")),o=a("5880");function s(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function l(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?s(Object(a),!0).forEach((function(t){Object(n["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):s(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,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=a("2877"),p=Object(d["a"])(u,r,i,!1,null,null,null);t["default"]=p.exports},"28c5":function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return s})),a.d(t,"getDetail",(function(){return l})),a.d(t,"remove",(function(){return c})),a.d(t,"add",(function(){return u})),a.d(t,"update",(function(){return d}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-code/codeSynonym/list",method:"get",params:o(o({},a),{},{current:e,size:t})})},l=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeSynonym/detail",method:"get",params:{oid:e}})},c=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeSynonym/remove",method:"post",params:{oids:oids}})},u=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeSynonym/submit",method:"post",data:e})},d=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeSynonym/submit",method:"post",data:e})}},2905:function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return s})),a.d(t,"remove",(function(){return l})),a.d(t,"add",(function(){return c})),a.d(t,"update",(function(){return u})),a.d(t,"getNotice",(function(){return d}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-desk/notice/list",method:"get",params:o(o({},a),{},{current:e,size:t})})},l=function(e){return Object(i["a"])({url:"/api/ubcs-desk/notice/remove",method:"post",params:{ids:e}})},c=function(e){return Object(i["a"])({url:"/api/ubcs-desk/notice/submit",method:"post",data:e})},u=function(e){return Object(i["a"])({url:"/api/ubcs-desk/notice/submit",method:"post",data:e})},d=function(e){return Object(i["a"])({url:"/api/ubcs-desk/notice/detail",method:"get",params:{id:e}})}},2934:function(e,t,a){"use strict";a.r(t),a.d(t,"exportBlob",(function(){return i}));var r=a("b5c6"),i=function(e){return Object(r["a"])({url:e,method:"get",responseType:"blob"})}},"2a0a":function(e,t,a){},"2c6a":function(e,t,a){"use strict";a("2f4b")},"2c75":function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return s})),a.d(t,"remove",(function(){return l})),a.d(t,"add",(function(){return c})),a.d(t,"update",(function(){return u}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-system/param/list",method:"get",params:o(o({},a),{},{current:e,size:t})})},l=function(e){return Object(i["a"])({url:"/api/ubcs-system/param/remove",method:"post",params:{ids:e}})},c=function(e){return Object(i["a"])({url:"/api/ubcs-system/param/submit",method:"post",data:e})},u=function(e){return Object(i["a"])({url:"/api/ubcs-system/param/submit",method:"post",data:e})}},"2f4b":function(e,t,a){},"2fa1":function(e,t,a){},"2fee":function(e,t,a){"use strict";a("8a50")},3474:function(e,t,a){},3528:function(e,t,a){"use strict";a.r(t),a.d(t,"getPage",(function(){return s})),a.d(t,"grantTree",(function(){return l})),a.d(t,"grant",(function(){return c})),a.d(t,"remove",(function(){return u})),a.d(t,"add",(function(){return d})),a.d(t,"update",(function(){return p})),a.d(t,"getRole",(function(){return f})),a.d(t,"getRoleTree",(function(){return m})),a.d(t,"getRoleTreeById",(function(){return h}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-system/role/page",method:"get",params:o(o({},a),{},{current:e,size:t})})},l=function(){return Object(i["a"])({url:"/api/ubcs-system/menu/grant-tree",method:"get"})},c=function(e,t,a,r){return Object(i["a"])({url:"/api/ubcs-system/role/grant",method:"post",data:{roleIds:e,menuIds:t,dataScopeIds:a,apiScopeIds:r}})},u=function(e){return Object(i["a"])({url:"/api/ubcs-system/role/remove",method:"post",params:{ids:e}})},d=function(e){return Object(i["a"])({url:"/api/ubcs-system/role/submit",method:"post",data:e})},p=function(e){return Object(i["a"])({url:"/api/ubcs-system/role/submit",method:"post",data:e})},f=function(e){return Object(i["a"])({url:"/api/ubcs-system/menu/role-tree-keys",method:"get",params:{roleIds:e}})},m=function(e){return Object(i["a"])({url:"/api/ubcs-system/role/tree",method:"get",params:{tenantId:e}})},h=function(e){return Object(i["a"])({url:"/api/ubcs-system/role/tree-by-id",method:"get",params:{roleId:e}})}},3562:function(e,t,a){"use strict";a("c35b")},"35a0":function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return s})),a.d(t,"getParentList",(function(){return l})),a.d(t,"getChildList",(function(){return c})),a.d(t,"remove",(function(){return u})),a.d(t,"removeChild",(function(){return d})),a.d(t,"add",(function(){return p})),a.d(t,"addChild",(function(){return f})),a.d(t,"update",(function(){return m})),a.d(t,"updateChild",(function(){return h})),a.d(t,"getDict",(function(){return b})),a.d(t,"getDictChild",(function(){return g})),a.d(t,"getDictTree",(function(){return y})),a.d(t,"getDictionary",(function(){return v}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-omd/enum/list",method:"get",params:o(o({},a),{},{current:e,size:t})})},l=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-omd/enum/parent-list",method:"get",params:o(o({},a),{},{current:e,size:t})})},c=function(e,t,a,r){return Object(i["a"])({url:"/api/ubcs-omd/enumItem/listAll",method:"get",params:o(o({},r),{},{current:e,size:t,parentoid:a})})},u=function(e){return Object(i["a"])({url:"/api/ubcs-omd/enum/remove",method:"post",params:{ids:e}})},d=function(e){return Object(i["a"])({url:"/api/ubcs-omd/enumItem/remove",method:"post",params:{ids:e}})},p=function(e){return Object(i["a"])({url:"/api/ubcs-omd/enum/submit",method:"post",data:e})},f=function(e){return Object(i["a"])({url:"/api/ubcs-omd/enumItem/submit",method:"post",data:e})},m=function(e){return Object(i["a"])({url:"/api/ubcs-omd/enum/submit",method:"post",data:e})},h=function(e){return Object(i["a"])({url:"/api/ubcs-omd/enumItem/submit",method:"post",data:e})},b=function(e){return Object(i["a"])({url:"/api/ubcs-omd/enum/detail",method:"get",params:{oid:e}})},g=function(e){return Object(i["a"])({url:"/api/ubcs-omd/enumItem/detail",method:"get",params:{oid:e}})},y=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-omd/enum/tree",method:"get",params:o(o({},a),{},{current:e,size:t})})},v=function(e){return Object(i["a"])({url:"/api/ubcs-omd/enum/dictionary",method:"get",params:e})}},"368f":function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return s})),a.d(t,"getPage",(function(){return l})),a.d(t,"getDetail",(function(){return c})),a.d(t,"remove",(function(){return u})),a.d(t,"add",(function(){return d})),a.d(t,"update",(function(){return p})),a.d(t,"enable",(function(){return f}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-resource/oss/list",method:"get",params:o(o({},a),{},{current:e,size:t})})},l=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-resource/oss/page",method:"get",params:o(o({},a),{},{current:e,size:t})})},c=function(e){return Object(i["a"])({url:"/api/ubcs-resource/oss/detail",method:"get",params:{id:e}})},u=function(e){return Object(i["a"])({url:"/api/ubcs-resource/oss/remove",method:"post",params:{ids:e}})},d=function(e){return Object(i["a"])({url:"/api/ubcs-resource/oss/submit",method:"post",data:e})},p=function(e){return Object(i["a"])({url:"/api/ubcs-resource/oss/submit",method:"post",data:e})},f=function(e){return Object(i["a"])({url:"/api/ubcs-resource/oss/enable",method:"post",params:{id:e}})}},"36a0":function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return s})),a.d(t,"remove",(function(){return l})),a.d(t,"upload",(function(){return c})),a.d(t,"update",(function(){return u})),a.d(t,"download",(function(){return d})),a.d(t,"getFile",(function(){return p})),a.d(t,"listFilesByOids",(function(){return f}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-resource/fileController/listFiles",method:"get",params:o(o({},a),{},{page:e,limit:t})})},l=function(e){return Object(i["a"])({url:"/api/ubcs-resource/fileController/deleteFile",method:"delete",data:e})},c=function(e){return Object(i["a"])({url:"/api/ubcs-resource/fileController/uploadFile",method:"post",data:e})},u=function(e){return Object(i["a"])({url:"/api/ubcs-resource/fileController/uploadFile",method:"post",data:e})},d=function(e){return Object(i["a"])({url:"/api/ubcs-resource/fileController/downloadFilesByOids",method:"post",headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},responseType:"blob",data:e})},p=function(e){return Object(i["a"])({url:"/api/ubcs-resource/fileController/get",method:"get",params:{oid:e}})},f=function(e){return Object(i["a"])({url:"/api/ubcs-resource/fileController/listFilesByOids",method:"get",params:{oids:e}})}},"36d2":function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return s})),a.d(t,"getDetail",(function(){return l})),a.d(t,"remove",(function(){return c})),a.d(t,"add",(function(){return u})),a.d(t,"update",(function(){return d})),a.d(t,"getTableList",(function(){return p})),a.d(t,"getTableInfo",(function(){return f})),a.d(t,"getTableInfoByName",(function(){return m})),a.d(t,"getModelPrototype",(function(){return h})),a.d(t,"submitModelPrototype",(function(){return b})),a.d(t,"prototypeDetail",(function(){return g}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-develop/model/list",method:"get",params:o(o({},a),{},{current:e,size:t})})},l=function(e){return Object(i["a"])({url:"/api/ubcs-develop/model/detail",method:"get",params:{id:e}})},c=function(e){return Object(i["a"])({url:"/api/ubcs-develop/model/remove",method:"post",params:{ids:e}})},u=function(e){return Object(i["a"])({url:"/api/ubcs-develop/model/submit",method:"post",data:e})},d=function(e){return Object(i["a"])({url:"/api/ubcs-develop/model/submit",method:"post",data:e})},p=function(e){return Object(i["a"])({url:"/api/ubcs-develop/model/table-list",method:"get",params:{datasourceId:e}})},f=function(e,t){return Object(i["a"])({url:"/api/ubcs-develop/model/table-info",method:"get",params:{modelId:e,datasourceId:t}})},m=function(e,t){return Object(i["a"])({url:"/api/ubcs-develop/model/table-info",method:"get",params:{tableName:e,datasourceId:t}})},h=function(e,t){return Object(i["a"])({url:"/api/ubcs-develop/model/model-prototype",method:"get",params:{modelId:e,datasourceId:t}})},b=function(e){return Object(i["a"])({url:"/api/ubcs-develop/model-prototype/submit-list",method:"post",data:e})},g=function(e){return Object(i["a"])({url:"/api/ubcs-develop/model-prototype/select",method:"get",params:{modelId:e}})}},"371f":function(e,t,a){"use strict";a.r(t),a.d(t,"modelList",(function(){return s})),a.d(t,"managerList",(function(){return l})),a.d(t,"followList",(function(){return c})),a.d(t,"removeModel",(function(){return u})),a.d(t,"deployModel",(function(){return d})),a.d(t,"changeState",(function(){return p})),a.d(t,"deployUpload",(function(){return f})),a.d(t,"deleteDeployment",(function(){return m})),a.d(t,"deleteProcessInstance",(function(){return h})),a.d(t,"submitModel",(function(){return b})),a.d(t,"detail",(function(){return g})),a.d(t,"modelView",(function(){return y}));a("8e6e"),a("456d"),a("ac6a");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-flow/model/list",method:"get",params:o(o({},a),{},{current:e,size:t})})},l=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-flow/manager/list",method:"get",params:o(o({},a),{},{current:e,size:t})})},c=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-flow/follow/list",method:"get",params:o(o({},a),{},{current:e,size:t})})},u=function(e){return Object(i["a"])({url:"/api/ubcs-flow/model/remove",method:"post",params:{ids:e}})},d=function(e){return Object(i["a"])({url:"/api/ubcs-flow/model/deploy",method:"post",params:e})},p=function(e){return Object(i["a"])({url:"/api/ubcs-flow/manager/change-state",method:"post",params:e})},f=function(e,t,a){var r=new FormData;return r.append("category",e),r.append("tenantIds",t),a.forEach((function(e){r.append("files",e)})),Object(i["a"])({headers:{"Content-Type":"multipart/form-data"},url:"/api/ubcs-flow/manager/deploy-upload",method:"post",data:r})},m=function(e){return Object(i["a"])({url:"/api/ubcs-flow/manager/delete-deployment",method:"post",params:{deploymentIds:e}})},h=function(e){return Object(i["a"])({url:"/api/ubcs-flow/follow/delete-process-instance",method:"post",params:e})},b=function(e){return Object(i["a"])({url:"/api/ubcs-flow/model/submit",method:"post",data:e})},g=function(e){return Object(i["a"])({url:"/api/ubcs-flow/model/detail",method:"get",params:e})},y=function(e){return Object(i["a"])({url:"/api/ubcs-flow/process/model-view",method:"get",params:e})}},"3b40":function(e,t,a){},"3c60":function(e,t,a){"use strict";a("dea5")},"3dfd":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("div",{attrs:{id:"app"}},[t("router-view")],1)},i=[],n={name:"app",data:function(){return{}},watch:{},created:function(){},methods:{},computed:{}},o=n,s=(a("3e40"),a("2877")),l=Object(s["a"])(o,r,i,!1,null,null,null);t["default"]=l.exports},"3e40":function(e,t,a){"use strict";a("4a63")},4360:function(e,t,a){"use strict";var r=a("8bbf"),i=a.n(r),n=a("5880"),o=a.n(n),s=(a("7514"),a("ac6a"),a("0a5a")),l=a("5f72"),c=a("e3c4"),u=a("c54a"),d=a("0e0b"),p=a("1ca4"),f=a("c24f"),m=a("c0c7"),h=a("a6dc"),b=a("8237"),g=a.n(b);function y(e,t){var a=p["a"].menu,r=a.props,i={label:r.label||"name",path:r.path||"path",icon:r.icon||"icon",children:r.children||"children"},n=e[i.icon];e[i.icon]=Object(u["b"])(n)?a.iconDefault:n;var o=e[i.children]&&0!==e[i.children].length;o||(e[i.children]=[]),o||!t||Object(u["a"])(e[i.path])?e[i.children].forEach((function(e){y(e)})):e[i.path]=e[i.path]+"/index"}var v={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 a=e.commit;return new Promise((function(e,r){Object(f["loginByUsername"])(t.tenantId,t.deptId,t.roleId,t.username,g()(t.password),t.type,t.key).then((function(t){var r=t.data;r.error_description?Object(l["Message"])({message:r.error_description,type:"error"}):(a("SET_TOKEN",r.access_token),a("SET_REFRESH_TOKEN",r.refresh_token),a("SET_TENANT_ID",r.tenant_id),a("SET_USER_INFO",r),a("DEL_ALL_TAG"),a("CLEAR_LOCK")),e()})).catch((function(e){r(e)}))}))},LoginByPhone:function(e,t){var a=e.commit;return new Promise((function(e){Object(f["loginByUsername"])(t.phone).then((function(t){var r=t.data.data;a("SET_TOKEN",r),a("DEL_ALL_TAG"),a("CLEAR_LOCK"),e()}))}))},LoginBySocial:function(e,t){var a=e.commit;return new Promise((function(e){Object(f["loginBySocial"])(t.tenantId,t.source,t.state).then((function(t){var r=t.data;r.error_description?Object(l["Message"])({message:r.error_description,type:"error"}):(a("SET_TOKEN",r.access_token),a("SET_REFRESH_TOKEN",r.refresh_token),a("SET_USER_INFO",r),a("SET_TENANT_ID",r.tenant_id),a("DEL_ALL_TAG"),a("CLEAR_LOCK")),e()}))}))},LoginBySso:function(e,t){var a=e.commit,r=t.PathString;return new Promise((function(e){Object(m["ssoLogin"])(r).then((function(t){var r=t.data;r.error_description?Object(l["Message"])({message:r.error_description,type:"error"}):(a("SET_TOKEN",r.access_token),a("SET_REFRESH_TOKEN",r.refresh_token),a("SET_USER_INFO",r),a("SET_TENANT_ID",r.tenant_id),a("DEL_ALL_TAG"),a("CLEAR_LOCK")),e()}))}))},GetUserInfo:function(e){var t=e.commit;return new Promise((function(e,a){Object(f["getUserInfo"])().then((function(a){var r=a.data.data;t("SET_ROLES",r.roles),e(r)})).catch((function(e){a(e)}))}))},refreshToken:function(e,t){var a=e.state,r=e.commit;return window.console.log("handle refresh token"),new Promise((function(e,i){Object(f["refreshToken"])(a.refreshToken,a.tenantId,Object(u["b"])(t)?a.userInfo.dept_id:t.deptId,Object(u["b"])(t)?a.userInfo.role_id:t.roleId).then((function(t){var a=t.data;r("SET_TOKEN",a.access_token),r("SET_REFRESH_TOKEN",a.refresh_token),r("SET_USER_INFO",a),e()})).catch((function(e){i(e)}))}))},LogOut:function(e){var t=e.commit;return new Promise((function(e,a){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){a(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(h["getTopMenu"])().then((function(t){var a=t.data.data||[];e(a)}))}))},GetMenu:function(e,t){var a=e.commit,r=e.dispatch;return new Promise((function(e){Object(h["getRoutes"])(t).then((function(t){var i=t.data.data,n=Object(d["a"])(i);n.forEach((function(e){y(e,!0)})),a("SET_MENU_ALL",n),a("SET_MENU",n),r("GetButtons"),e(n)}))}))},GetButtons:function(e){var t=e.commit;return new Promise((function(e){Object(f["getButtons"])().then((function(a){var r=a.data.data;t("SET_PERMISSION",r),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 a=e.menuAll;t.forEach((function(e){a.find((function(t){return t.label===e.label&&t.path===e.path}))||a.push(e)})),e.menuAll=a,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}}},O=v,_={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=_,C=p["a"].isFirstPage,j=p["a"].fistPage,S={label:"",value:"",params:"",query:"",meta:{},group:[]};function k(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 D={state:{tagList:Object(c["c"])({name:"tagList"})||[],tag:Object(c["c"])({name:"tag"})||S,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),k(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)})),k(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)})),k(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})}}},T=D,x=(a("6b54"),a("84df")),P={state:{logsList:Object(c["c"])({name:"logsList"})||[]},actions:{SendLogs:function(e){var t=e.state,a=e.commit;return new Promise((function(e,r){Object(f["sendLogs"])(t.logsList).then((function(){a("CLEAR_LOGS"),e()})).catch((function(e){r(e)}))}))}},mutations:{ADD_LOGS:function(e,t){var a=t.type,r=t.message,i=t.stack,n=t.info;e.logsList.push(Object.assign({url:window.location.href,time:Object(x["b"])(new Date)},{type:a,message:r,stack:i,info:n.toString()})),Object(c["e"])({name:"logsList",content:e.logsList})},CLEAR_LOGS:function(e){e.logsList=[],Object(c["e"])({name:"logsList",content:e.logsList})}}},R=P,E=a("7754"),L={state:{flowRoutes:Object(c["c"])({name:"flowRoutes"})||{}},actions:{FlowRoutes:function(e){var t=e.commit;return new Promise((function(e,a){Object(E["getDictionary"])({code:"flow"}).then((function(a){t("SET_FLOW_ROUTES",a.data.data),e()})).catch((function(e){a(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,A={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}},B=A,I={state:{codeClassifyOid:""},actions:{},mutations:{codeClassifyOid:function(e,t){e.codeClassifyOid=t,console.log(e.codeClassifyOid)}}},$=I;i.a.use(o.a);var M=new o.a.Store({modules:{user:O,common:w,logs:R,tags:T,dict:F,master:$},getters:B});t["a"]=M},"44b2":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("el-color-picker",{staticClass:"theme-picker",staticStyle:{"padding-top":"18px"},attrs:{size:"mini","popper-class":"theme-picker-dropdown"},model:{value:e.themeVal,callback:function(t){e.themeVal=t},expression:"themeVal"}})},i=[],n=(a("8e6e"),a("456d"),a("c5f6"),a("6b54"),a("3b2b"),a("6762"),a("2fdb"),a("ac6a"),a("a481"),a("ade3")),o=a("5880");function s(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function l(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?s(Object(a),!0).forEach((function(t){Object(n["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):s(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var c=a("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 a=this;if("string"===typeof e){var r=document.getElementsByTagName("head")[0],i=this.getThemeCluster(e.replace("#","")),n=this.getThemeCluster(t.replace("#","")),o=function(e,t){return function(){var n=a.getThemeCluster(u.replace("#","")),o=a.updateStyle(a[e],n,i),s=document.getElementById(t);s||(s=document.createElement("style"),s.setAttribute("id",t),r.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")&&a.getCSSString(t.href,(function(t){var n=a.getThemeCluster(u.replace("#","")),o=a.updateStyle(t,n,i),s=document.getElementById(e);s||(s=document.createElement("style"),s.id=e,s.innerText=o,r.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=a.updateStyle(t,n,i))}))}},updateStyle:function(e,t,a){var r=e;return t.forEach((function(e,t){r=r.replace(new RegExp(e,"ig"),a[t])})),r},getCSSString:function(e,t,a){var r=this,i=new XMLHttpRequest;i.onreadystatechange=function(){4===i.readyState&&200===i.status&&(a&&(r[a]=i.responseText.replace(/@font-face{[^}]+}/,"")),t(i.responseText))},i.open("GET",e),i.send()},getThemeCluster:function(e){for(var t=function(e,t){var a=parseInt(e.slice(0,2),16),r=parseInt(e.slice(2,4),16),i=parseInt(e.slice(4,6),16);return 0===t?[a,r,i].join(","):(a+=Math.round(t*(255-a)),r+=Math.round(t*(255-r)),i+=Math.round(t*(255-i)),a=a.toString(16),r=r.toString(16),i=i.toString(16),"#".concat(a).concat(r).concat(i))},a=function(e,t){var a=parseInt(e.slice(0,2),16),r=parseInt(e.slice(2,4),16),i=parseInt(e.slice(4,6),16);return a=Math.round((1-t)*a),r=Math.round((1-t)*r),i=Math.round((1-t)*i),a=a.toString(16),r=r.toString(16),i=i.toString(16),"#".concat(a).concat(r).concat(i)},r=[e],i=0;i<=9;i++)r.push(t(e,Number((i/10).toFixed(2))));return r.push(a(e,.1)),r}}}},p={name:"topColor",mixins:[d()],data:function(){return{chalk:""}}},f=p,m=(a("2fee"),a("2877")),h=Object(m["a"])(f,r,i,!1,null,null,null);t["default"]=h.exports},4509:function(e,t,a){"use strict";a("196f")},4661:function(module,__webpack_exports__,__webpack_require__){"use strict";var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("8e6e"),core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__),core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("456d"),core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_1__),core_js_modules_es6_regexp_split__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("28a5"),core_js_modules_es6_regexp_split__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(core_js_modules_es6_regexp_split__WEBPACK_IMPORTED_MODULE_2__),core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("ac6a"),core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_3__),core_js_modules_es6_array_sort__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("55dd"),core_js_modules_es6_array_sort__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(core_js_modules_es6_array_sort__WEBPACK_IMPORTED_MODULE_4__),C_java_workspace_GIT_VCI_UBCS_ubcs_Source_UBCS_WEB_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("ade3"),core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("7f7f"),core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_6__),core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("a481"),core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_7___default=__webpack_require__.n(core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_7__),_util_validate__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("c54a"),_api_refer_table__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("276d");function ownKeys(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(a),!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_5__["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ownKeys(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}__webpack_exports__["a"]={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,reserveSelection:!0,dialogClickModal:!1,highlightCurrentRow:!0,column:[]}}},created:function(){this.getParams()},mounted:function(){this.referConfig.options.tableConfig.page?(this.page.pageSize=this.referConfig.options.tableConfig.page.limit||this.referConfig.options.tableConfig.page.pageSize,this.page.currentPage=this.referConfig.options.tableConfig.page.page||this.referConfig.options.tableConfig.page.currentPage):Object(_util_validate__WEBPACK_IMPORTED_MODULE_8__["b"])(this.referConfig.options.limit)?Object(_util_validate__WEBPACK_IMPORTED_MODULE_8__["b"])(this.referConfig.options.tableConfig.limit)||(this.page.pageSize=this.referConfig.options.tableConfig.limit):this.page.pageSize=this.referConfig.options.limit},computed:{valueInfo:function(){return this.text?"已设置的值为["+this.text+"]":"未设置值"}},methods:{getParams:function getParams(){var _this=this,queryParams={};if(this.options.extraParams&&(queryParams=this.options.extraParams),this.options.useFormKey&&this.options.formValues&&(queryParams['conditionMap["'+(this.options.paramForFormKey?this.options.paramForFormKey:this.options.useFormKey)+'"]']=this.options.formValues[this.options.useFormKey]),this.options.where)for(var key in this.options.where)queryParams['conditionMap["'+key+'"]']=this.options.where[key];for(var i=0;i<this.copyParam.length;i++)queryParams[this.copyParam[i]]=this.options[this.copyParam[i]];if(queryParams["isMuti"]=this.isMuti,queryParams.muti=this.isMuti,queryParams["referBo"]||(queryParams["referBo"]=this.options["referBo"]||this.options["referType"]),queryParams["referType"]=queryParams["referBo"],this.options.initSort&&(queryParams["order"]=this.options.initSort.type,queryParams["sort"]=this.options.initSort.field),this.options.sortField&&(queryParams["sort"]=this.options.sortField),this.options.sortType&&(queryParams["order"]=this.options.sortType),this.options.conditionParams)for(var key in this.options.conditionParams)queryParams['conditionMap["'+key+'"]']=this.options.conditionParams[key];if(this.options.sourceDataParams)for(var key in this.options.sourceDataParams){if(key&&key.constructor===Object)return;queryParams['sourceData["'+key+'"]']=this.options.sourceDataParams[key]}if(this.options.replaceParams)for(var key in this.options.replaceParams){if(key&&key.constructor===Object)return;queryParams['replaceMap["'+key+'"]']=this.options.replaceParams[key]}var paramsData={};if(queryParams)for(var key in queryParams)paramsData[key.replace(/"/g,"'")]=queryParams[key];this.options.tableConfig&&this.options.tableConfig.cols&&0!=this.options.tableConfig.cols.length?this.option.column=this.options.tableConfig.cols.map((function(item){if("LAY_TABLE_INDEX"!=item.field&&"LAY_CHECKED"!=item.field){var formatter=item.template||item.templet;return formatter="string"==typeof formatter&&""!=formatter?eval("("+formatter+")"):function(e){return void 0!=e[item.field]?e[item.field]:void 0!=e.data[item.field]?e.data[item.field]:""},_objectSpread(_objectSpread({},item),{},{label:item.title,prop:item.field,formatter:formatter,sortable:item.sort,hide:item.hidden,search:_this.options.tableConfig.queryColumns.some((function(e){return e.field==item.field}))})}})):this.option.column=[{prop:"id",label:"英文名称",sortable:!0,width:150,search:!0,formatter:function(e){return e.id||e.data.id}},{prop:"name",label:"中文名称",sortable:!0,width:150,search:!0,formatter:function(e){return e.name||e.data.name}},{prop:"description",label:"描述",width:250,formatter:function(e){return e.description||e.data.description}},{prop:"secretGradeText",label:"密级",width:60,hidden:!this.controllerSecret,hide:!this.controllerSecret,formatter:function(e){return e.secretGradeText||e.data.secretGradeText}}],paramsData?(paramsData["currentUserReferModelKey"]=this.options.currentUserReferModelKey,paramsData["currentUserReferMethodKey"]=this.options.currentUserReferMethodKey):paramsData={currentUserReferModelKey:this.options.currentUserReferModelKey,currentUserReferMethodKey:this.options.currentUserReferMethodKey},this.params=paramsData},setValue:function(){if(0==this.selectionList.length)return this.$message.warning("没有选择数据"),!1;if(this.selectionList.length>1&&!this.isMuti)return this.$message.warning("每次只能选择一条数据"),!1;var e=[],t=[],a=this.props.value.indexOf(",")>-1,r=this.props.label.indexOf(",")>-1,i=this;this.selectionList.forEach((function(n,o){if(a){var s=i.props.value.split(",");s.forEach((function(t,a){var r=n[t];void 0!=r&&null!=r||(r=n["data"][t]),e.push(r+(i.referConfig.valueSep?i.referConfig.valueSep:" "))}))}else{var l=n[i.props.value];void 0!=l&&null!=l||(l=n["data"][i.props.value]),e.push(l)}if(r){var c=i.props.label.split(",");c.forEach((function(e,a){var r=n[e];void 0!=r&&null!=r||(r=n["data"][e]),t.push(r+(i.referConfig.textSep?i.referConfig.textSep:" "))}))}else{var u=n[i.props.label];void 0!=u&&null!=u||(u=n["data"][i.props.label]),t.push(u)}}));var n=this.referConfig.fieldMap||{};try{Object(_util_validate__WEBPACK_IMPORTED_MODULE_8__["b"])(this.options.mapFields)||(n=Object.assign(this.referConfig.fieldMap,JSON.parse(this.options.mapFields)))}catch(o){}this.value=e.join(","),this.text=t.join(","),this.$emit("setValue",{field:this.referConfig.field,showField:this.referConfig.showField,value:this.value,text:this.text,rawData:this.selectionList,fieldMap:n}),this.visible=!1},searchReset:function(){this.query={},this.onLoad(this.page)},searchChange:function(e,t){this.query=e,this.page.currentPage=1,this.onLoad(this.page),t()},currentChange:function(e){this.page.currentPage=e},sizeChange:function(e){this.page.pageSize=e},rowClick:function(e){this.$refs.referDefalutCrud.toggleSelection(),this.$refs.referDefalutCrud.toggleRowSelection(e),this.selectionList=[e]},selectionChange:function(e){if(!this.isMuti&&e.length>1){var t=e.shift();this.$refs.referDefalutCrud.toggleRowSelection(t,!1)}this.selectionList=e},selectionClear:function(){this.selectionList=[],this.$refs.referDefalutCrud.toggleSelection()},refreshChange:function(){this.onLoad(this.page,this.query)},onLoad:function(e){var t=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.url){this.loading=!0;var r={};if(this.query)for(var i in this.query)r['conditionMap["'+i+'"]']=this.query[i];Object(_api_refer_table__WEBPACK_IMPORTED_MODULE_9__["getList"])(Object.assign(a,this.params,this.query,r),e.currentPage,e.pageSize,this.url,this.method).then((function(e){var a=[];e.data.records?(a=e.data.records,t.page.total=e.data.total):(a=e.data.data.records,t.page.total=e.data.data.total),t.data=a.map((function(e){return e.data=e.data||{},_objectSpread({},e)})),t.loading=!1,t.selectionClear()})).catch((function(e){t.$message.error(e),t.loading=!1}))}}}}},4678:function(e,t,a){var r={"./af":"2bfb","./af.js":"2bfb","./ar":"8e73","./ar-dz":"a356","./ar-dz.js":"a356","./ar-kw":"423e","./ar-kw.js":"423e","./ar-ly":"1cfd","./ar-ly.js":"1cfd","./ar-ma":"0a84","./ar-ma.js":"0a84","./ar-sa":"8230","./ar-sa.js":"8230","./ar-tn":"6d83","./ar-tn.js":"6d83","./ar.js":"8e73","./az":"485c","./az.js":"485c","./be":"1fc1","./be.js":"1fc1","./bg":"84aa","./bg.js":"84aa","./bm":"a7fa","./bm.js":"a7fa","./bn":"9043","./bn-bd":"9686","./bn-bd.js":"9686","./bn.js":"9043","./bo":"d26a","./bo.js":"d26a","./br":"6887","./br.js":"6887","./bs":"2554","./bs.js":"2554","./ca":"d716","./ca.js":"d716","./cs":"3c0d","./cs.js":"3c0d","./cv":"03ec","./cv.js":"03ec","./cy":"9797","./cy.js":"9797","./da":"0f14","./da.js":"0f14","./de":"b469","./de-at":"b3eb","./de-at.js":"b3eb","./de-ch":"bb71","./de-ch.js":"bb71","./de.js":"b469","./dv":"598a","./dv.js":"598a","./el":"8d47","./el.js":"8d47","./en-au":"0e6b","./en-au.js":"0e6b","./en-ca":"3886","./en-ca.js":"3886","./en-gb":"39a6","./en-gb.js":"39a6","./en-ie":"e1d3","./en-ie.js":"e1d3","./en-il":"73332","./en-il.js":"73332","./en-in":"ec2e","./en-in.js":"ec2e","./en-nz":"6f50","./en-nz.js":"6f50","./en-sg":"b7e9","./en-sg.js":"b7e9","./eo":"65db","./eo.js":"65db","./es":"898b","./es-do":"0a3c","./es-do.js":"0a3c","./es-mx":"b5b7","./es-mx.js":"b5b7","./es-us":"55c9","./es-us.js":"55c9","./es.js":"898b","./et":"ec18","./et.js":"ec18","./eu":"0ff2","./eu.js":"0ff2","./fa":"8df4","./fa.js":"8df4","./fi":"81e9","./fi.js":"81e9","./fil":"d69a","./fil.js":"d69a","./fo":"0721","./fo.js":"0721","./fr":"9f26","./fr-ca":"d9f8","./fr-ca.js":"d9f8","./fr-ch":"0e49","./fr-ch.js":"0e49","./fr.js":"9f26","./fy":"7118","./fy.js":"7118","./ga":"5120","./ga.js":"5120","./gd":"f6b4","./gd.js":"f6b4","./gl":"8840","./gl.js":"8840","./gom-deva":"aaf2","./gom-deva.js":"aaf2","./gom-latn":"0caa","./gom-latn.js":"0caa","./gu":"e0c5","./gu.js":"e0c5","./he":"c7aa","./he.js":"c7aa","./hi":"dc4d","./hi.js":"dc4d","./hr":"4ba9","./hr.js":"4ba9","./hu":"5b14","./hu.js":"5b14","./hy-am":"d6b6","./hy-am.js":"d6b6","./id":"5038","./id.js":"5038","./is":"0558","./is.js":"0558","./it":"6e98","./it-ch":"6f12","./it-ch.js":"6f12","./it.js":"6e98","./ja":"079e","./ja.js":"079e","./jv":"b540","./jv.js":"b540","./ka":"201b","./ka.js":"201b","./kk":"6d79","./kk.js":"6d79","./km":"e81d","./km.js":"e81d","./kn":"3e92","./kn.js":"3e92","./ko":"22f8","./ko.js":"22f8","./ku":"2421","./ku.js":"2421","./ky":"9609","./ky.js":"9609","./lb":"440c","./lb.js":"440c","./lo":"b29d","./lo.js":"b29d","./lt":"26f9","./lt.js":"26f9","./lv":"b97c","./lv.js":"b97c","./me":"293c","./me.js":"293c","./mi":"688b","./mi.js":"688b","./mk":"6909","./mk.js":"6909","./ml":"02fb","./ml.js":"02fb","./mn":"958b","./mn.js":"958b","./mr":"39bd","./mr.js":"39bd","./ms":"ebe4","./ms-my":"6403","./ms-my.js":"6403","./ms.js":"ebe4","./mt":"1b45","./mt.js":"1b45","./my":"8689","./my.js":"8689","./nb":"6ce3","./nb.js":"6ce3","./ne":"3a39","./ne.js":"3a39","./nl":"facd","./nl-be":"db29","./nl-be.js":"db29","./nl.js":"facd","./nn":"b84c","./nn.js":"b84c","./oc-lnc":"167b","./oc-lnc.js":"167b","./pa-in":"f3ff","./pa-in.js":"f3ff","./pl":"8d57","./pl.js":"8d57","./pt":"f260","./pt-br":"d2d4","./pt-br.js":"d2d4","./pt.js":"f260","./ro":"972c","./ro.js":"972c","./ru":"957c","./ru.js":"957c","./sd":"6784","./sd.js":"6784","./se":"ffff","./se.js":"ffff","./si":"eda5","./si.js":"eda5","./sk":"7be6","./sk.js":"7be6","./sl":"8155","./sl.js":"8155","./sq":"c8f3","./sq.js":"c8f3","./sr":"cf1e","./sr-cyrl":"13e9","./sr-cyrl.js":"13e9","./sr.js":"cf1e","./ss":"52bd","./ss.js":"52bd","./sv":"5fbd","./sv.js":"5fbd","./sw":"74dc","./sw.js":"74dc","./ta":"3de5","./ta.js":"3de5","./te":"5cbb","./te.js":"5cbb","./tet":"576c","./tet.js":"576c","./tg":"3b1b","./tg.js":"3b1b","./th":"10e8","./th.js":"10e8","./tk":"5aff","./tk.js":"5aff","./tl-ph":"0f38","./tl-ph.js":"0f38","./tlh":"cf75","./tlh.js":"cf75","./tr":"0e81","./tr.js":"0e81","./tzl":"cf51","./tzl.js":"cf51","./tzm":"c109","./tzm-latn":"b53d","./tzm-latn.js":"b53d","./tzm.js":"c109","./ug-cn":"6117","./ug-cn.js":"6117","./uk":"ada2","./uk.js":"ada2","./ur":"5294","./ur.js":"5294","./uz":"2e8c","./uz-latn":"010e","./uz-latn.js":"010e","./uz.js":"2e8c","./vi":"2921","./vi.js":"2921","./x-pseudo":"fd7e","./x-pseudo.js":"fd7e","./yo":"7f33","./yo.js":"7f33","./zh-cn":"5c3a","./zh-cn.js":"5c3a","./zh-hk":"49ab","./zh-hk.js":"49ab","./zh-mo":"3a6c","./zh-mo.js":"3a6c","./zh-tw":"90ea","./zh-tw.js":"90ea"};function i(e){var t=n(e);return a(t)}function n(e){if(!a.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=n,e.exports=i,i.id="4678"},4760:function(e,t,a){"use strict";a.r(t);var r=function(e,t){return e("div",{staticClass:"divider",style:{backgroundColor:t.props.bgkColor,color:t.props.color}},[e("span",{style:{left:t.props.left}},[t._v(t._s(t.props.text))]),t._v(t._s(t.$props)+"\n")])},i=[],n=(a("4ce4"),a("2877")),o={},s=Object(n["a"])(o,r,i,!0,null,"c59a064a",null);t["default"]=s.exports},"47d0":function(e,t,a){"use strict";a.r(t),a.d(t,"executeCode",(function(){return i}));var r=a("b5c6");function i(e){return Object(r["a"])({url:"api/ubcs-code/uiDataController/defaultReferDataGrid",method:"get",params:e})}},4805:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("basic-container",[t("avue-crud",{ref:"crud",attrs:{data:e.data,option:e.option},on:{"on-load":e.getList,"refresh-change":e.refreshChange,"search-change":e.searchChange,"current-row-change":e.handleCurrentRowChange},model:{value:e.form,callback:function(t){e.form=t},expression:"form"}})],1)},i=[],n={name:"originalLink.vue",data:function(){return{data:[{name:"链接测试1"},{name:"链接测试2"},{name:"链接测试3"},{name:"链接测试4"}],form:{},option:{highlightCurrentRow:!0,height:300,headerAlign:"center",align:"center",border:!0,menu:!1,index:!0,searchMenuSpan:6,searchSpan:10,addBtn:!1,indexFixed:!1,menuFixed:!1,searchLabelWidth:130,column:[{label:"链接类型名",prop:"name",search:!0}]}}},methods:{handleCurrentRowChange:function(e){this.$emit("rowLinkchange",e)},searchChange:function(e,t){t&&t(),this.params=e,this.page.currentPage=1,this.getList(),this.$message.success("搜索成功")}}},o=n,s=a("2877"),l=Object(s["a"])(o,r,i,!1,null,"2f262cf4",null);t["default"]=l.exports},"49c2":function(e,t,a){"use strict";a("c370")},"49ce":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("div",{staticClass:"el-transfer"},[t("transfer-panel",e._b({ref:"leftPanel",attrs:{data:e.sourceData,title:e.titles[0]||e.t("el.transfer.titles.0"),"default-checked":e.leftDefaultChecked,placeholder:e.filterPlaceholder||e.t("el.transfer.filterPlaceholder")},on:{"checked-change":e.onSourceCheckedChange}},"transfer-panel",e.$props,!1),[e._t("left-footer")],2),t("div",{staticClass:"el-transfer__buttons"},[t("el-button",{class:["el-transfer__button",e.hasButtonTexts?"is-with-texts":""],attrs:{type:"primary",disabled:0===e.rightChecked.length},nativeOn:{click:function(t){return e.addToLeft.apply(null,arguments)}}},[t("i",{staticClass:"el-icon-arrow-left"}),void 0!==e.buttonTexts[0]?t("span",[e._v(e._s(e.buttonTexts[0]))]):e._e()]),t("el-button",{class:["el-transfer__button",e.hasButtonTexts?"is-with-texts":""],attrs:{type:"primary",disabled:0===e.leftChecked.length},nativeOn:{click:function(t){return e.addToRight.apply(null,arguments)}}},[void 0!==e.buttonTexts[1]?t("span",[e._v(e._s(e.buttonTexts[1]))]):e._e(),t("i",{staticClass:"el-icon-arrow-right"})])],1),t("transfer-panel",e._b({ref:"rightPanel",attrs:{data:e.targetData,title:e.titles[1]||e.t("el.transfer.titles.1"),"default-checked":e.rightDefaultChecked,placeholder:e.filterPlaceholder||e.t("el.transfer.filterPlaceholder")},on:{"checked-change":e.onTargetCheckedChange}},"transfer-panel",e.$props,!1),[e._t("right-footer")],2)],1)},i=[],n=(a("ac6a"),a("ad53")),o=a("f6f4"),s=a("d4b4"),l=a("64c4"),c=a("6725"),u={name:"ElTransfer",mixins:[o["a"],s["a"],c["a"]],components:{TransferPanel:l["default"],ElButton:n["a"]},props:{data:{type:Array,default:function(){return[]}},titles:{type:Array,default:function(){return[]}},buttonTexts:{type:Array,default:function(){return[]}},filterPlaceholder:{type:String,default:""},filterMethod:Function,leftDefaultChecked:{type:Array,default:function(){return[]}},rightDefaultChecked:{type:Array,default:function(){return[]}},renderContent:Function,value:{type:Array,default:function(){return[]}},format:{type:Object,default:function(){return{}}},filterable:Boolean,props:{type:Object,default:function(){return{label:"label",key:"key",disabled:"disabled"}}},targetOrder:{type:String,default:"original"}},data:function(){return{leftChecked:[],rightChecked:[]}},computed:{dataObj:function(){var e=this.props.key;return this.data.reduce((function(t,a){return(t[a[e]]=a)&&t}),{})},sourceData:function(){var e=this;return this.data.filter((function(t){return-1===e.value.indexOf(t)}))},targetData:function(){var e=this;return"original"===this.targetOrder?this.data.filter((function(t){return e.value.indexOf(t)>-1})):this.value.reduce((function(t,a){var r=e.dataObj[a];return r&&t.push(r),t}),[])},hasButtonTexts:function(){return 2===this.buttonTexts.length}},watch:{value:{handler:function(e){this.dispatch("ElFormItem","el.form.change",e)},immediate:!0,deep:!0}},methods:{getMigratingConfig:function(){return{props:{"footer-format":"footer-format is renamed to format."}}},onSourceCheckedChange:function(e,t){this.leftChecked=e,void 0!==t&&this.$emit("left-check-change",e,t)},onTargetCheckedChange:function(e,t){this.rightChecked=e,void 0!==t&&this.$emit("right-check-change",e,t)},addToLeft:function(){var e=this.value.slice();this.rightChecked.forEach((function(t){var a=e.indexOf(t);a>-1&&e.splice(a,1)})),this.$emit("input",e),this.$emit("change",e,"left",this.rightChecked)},addToRight:function(){var e=this,t=this.value.slice(),a=[],r=this.props.key;this.data.forEach((function(t){var i=t[r];e.leftChecked.indexOf(i)>-1&&-1===e.value.indexOf(i)&&(a=[t])})),t=a,this.$emit("input",t),this.$emit("change",t,"right",this.leftChecked)},clearQuery:function(e){"left"===e?this.$refs.leftPanel.query="":"right"===e&&(this.$refs.rightPanel.query="")}}},d=u,p=a("2877"),f=Object(p["a"])(d,r,i,!1,null,null,null);t["default"]=f.exports},"4a22":function(e,t,a){"use strict";a("63cb")},"4a63":function(e,t,a){},"4b55":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("fileContent",{attrs:{options:e.options,ownbizOid:e.options.ownbizOid}})},i=[],n=a("1919"),o={name:"inHtml",components:{fileContent:n["default"]},props:["options"],data:function(){return{}},computed:{}},s=o,l=a("2877"),c=Object(l["a"])(s,r,i,!1,null,"b9a5ab9a",null);t["default"]=c.exports},"4b94":function(e,t,a){"use strict";a.r(t);a("6762"),a("2fdb"),a("7f7f");var r=function(){var e=this,t=e._self._c;return t("el-container",[t("el-aside",[t("basic-container",{staticStyle:{overflow:"hidden"}},[t("div",[t("div",[t("div",{staticStyle:{display:"flex","flex-direction":"column"}},[t("div",{staticStyle:{display:"flex"}},[t("el-button",{attrs:{plain:"",size:"small",type:"primary"},on:{click:e.TreeAdd}},[e._v("添加")]),t("el-button",{attrs:{plain:"",size:"small",type:"primary"},on:{click:e.TreeEdit}},[e._v("修改")]),t("el-button",{attrs:{plain:"",size:"small",type:"primary"},on:{click:e.TreeDel}},[e._v("删除")]),t("el-button",{attrs:{plain:"",size:"small",type:"primary"},on:{click:e.flushed}},[e._v("刷新")])],1),t("div",{staticStyle:{display:"flex","margin-top":"10px"}},[t("el-button",{attrs:{plain:"",size:"small",type:"primary"},on:{click:e.Enable}},[e._v("启用")]),t("el-button",{attrs:{plain:"",size:"small",type:"primary"},on:{click:e.Deactivate}},[e._v("停用")]),t("el-button",{attrs:{plain:"",size:"small",type:"primary"},nativeOn:{click:function(t){return e.ImportExcel.apply(null,arguments)}}},[e._v("导入")]),t("el-button",{attrs:{plain:"",size:"small",type:"primary"},on:{click:e.ExportExcel}},[e._v("导出")])],1)]),t("div",{staticStyle:{display:"flex","justify-content":"space-around","margin-top":"5px","margin-bottom":"5px"}})]),t("el-dialog",{directives:[{name:"loading",rawName:"v-loading",value:e.AddLoading,expression:"AddLoading"}],staticStyle:{width:"1700px",margin:"auto"},attrs:{"before-close":e.TreeEscHandler,title:this.TreeFlag?"添加分类":"添加主题库",visible:e.TreeAddFormVisible,"append-to-body":""},on:{"update:visible":function(t){e.TreeAddFormVisible=t}}},[t("el-form",{ref:"myForm",attrs:{model:e.TreeAddform,rules:e.rules}},[t("el-form-item",{staticStyle:{display:"inline-block"},attrs:{label:this.TreeFlag?"分类编号:":"主题库编号:","label-width":"150px",prop:"id"}},[t("el-input",{staticStyle:{width:"170px"},attrs:{autocomplete:"off"},model:{value:e.TreeAddform.id,callback:function(t){e.$set(e.TreeAddform,"id",t)},expression:"TreeAddform.id"}})],1),t("el-form-item",{staticStyle:{display:"inline-block"},attrs:{label:this.TreeFlag?"分类名称:":"主题库名称:","label-width":"110px",prop:"name"}},[t("el-input",{staticStyle:{width:"170px"},attrs:{autocomplete:"off"},model:{value:e.TreeAddform.name,callback:function(t){e.$set(e.TreeAddform,"name",t)},expression:"TreeAddform.name"}})],1),e.TreeFlagCode?t("el-form-item",{attrs:{label:"存储的业务类型:","label-width":"150px",prop:"btmTypeName"}},[t("el-input",{staticStyle:{width:"585px"},attrs:{autocomplete:"off"},on:{focus:e.btmFoucus},model:{value:e.TreeAddform.btmTypeName,callback:function(t){e.$set(e.TreeAddform,"btmTypeName",t)},expression:"TreeAddform.btmTypeName"}})],1):e._e(),t("el-form-item",{attrs:{label:"描述:","label-width":"150px"}},[t("el-input",{staticStyle:{width:"585px"},attrs:{autocomplete:"off"},model:{value:e.TreeAddform.description,callback:function(t){e.$set(e.TreeAddform,"description",t)},expression:"TreeAddform.description"}})],1),t("el-form-item",{attrs:{label:"编码规则:","label-width":"150px"}},[t("el-input",{staticStyle:{width:"585px"},attrs:{autocomplete:"off"},on:{focus:e.CodeFoucus},model:{value:e.TreeAddform.codeRuleOidName,callback:function(t){e.$set(e.TreeAddform,"codeRuleOidName",t)},expression:"TreeAddform.codeRuleOidName"}})],1),t("el-form-item",{attrs:{label:"关键属性查询规则:","label-width":"150px"}},[t("el-input",{staticStyle:{width:"585px"},attrs:{autocomplete:"off"},on:{focus:e.Keyfouce},model:{value:e.TreeAddform.codeKeyAttrRepeatOidName,callback:function(t){e.$set(e.TreeAddform,"codeKeyAttrRepeatOidName",t)},expression:"TreeAddform.codeKeyAttrRepeatOidName"}})],1),t("el-form-item",{attrs:{label:"相似查询规则:","label-width":"150px"}},[t("el-input",{staticStyle:{width:"585px"},attrs:{autocomplete:"off"},on:{focus:e.simFouce},model:{value:e.TreeAddform.codeResembleRuleOidName,callback:function(t){e.$set(e.TreeAddform,"codeResembleRuleOidName",t)},expression:"TreeAddform.codeResembleRuleOidName"}})],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:e.TreeEscHandler}},[e._v("取 消")]),t("el-button",{attrs:{type:"primary"},on:{click:e.TreeAddHandler}},[e._v("确 定")])],1)],1),t("el-dialog",{attrs:{visible:e.TreeEditFormVisible,"append-to-body":"",title:"修改分类"},on:{"update:visible":function(t){e.TreeEditFormVisible=t}}},[t("classifyTreeform",{ref:"childForm",attrs:{Editclose:function(){e.TreeEditFormVisible=!1},TreeFlag:e.editTreeFLagCode,flag:"edit",loneTreeNewForm:e.TreeList,nodeClickList:e.nodeClickList,nodeList:e.nodeList},on:{MasterHandler:e.MasterHandler,flushed:e.flushed,referTreeForm:e.referTreeForm}})],1),t("avue-tree",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"tree",staticClass:"classifyTree",staticStyle:{height:"calc(100vh - 230px)"},attrs:{data:e.CloneTreedata,defaultExpandAll:!1,option:e.Treeoption},on:{"node-click":e.nodeClick},model:{value:e.CloneTreeAvueform,callback:function(t){e.CloneTreeAvueform=t},expression:"CloneTreeAvueform"}})],1)])],1),t("el-main",[t("basic-container",{staticStyle:{height:"calc(100vh - 150px)"}},[t("avue-tabs",{attrs:{option:e.tabOption},on:{change:e.handleChange}}),"tab1"===e.type.prop?t("span",[t("classifyTreeform",{ref:"childForm",attrs:{flag:"renonly",loneTreeNewForm:e.TreeList,nodeList:e.nodeList}})],1):"tab2"===e.type.prop?t("span",[t("basic-container",[t("avue-crud",{directives:[{name:"loading",rawName:"v-loading",value:e.FormLoing,expression:"FormLoing"}],ref:"textCrud",attrs:{data:this.Formlist,option:this.crudTreeOption},on:{"row-save":e.CrudRowSave,"row-del":e.CrudRowDel,"row-update":e.CrudRowUpdata,"row-click":e.rowHandle},scopedSlots:e._u([{key:"radio",fn:function(a){var r=a.row;return[t("el-radio",{staticStyle:{"padding-left":"10px !important"},attrs:{label:r.$index},model:{value:e.selectRow,callback:function(t){e.selectRow=t},expression:"selectRow"}},[e._v(e._s(""))])]}},{key:"menu",fn:function(a){var r=a.size,i=a.row,n=a.index;return["Editing"==i.lcStatus?t("el-button",{attrs:{size:r,icon:"el-icon-edit-outline ",type:"text"},on:{click:function(t){return e.$refs.textCrud.rowEdit(i)}}},[e._v("编辑")]):e._e(),"Editing"==i.lcStatus?t("el-button",{attrs:{size:r,icon:"el-icon-delete",type:"text"},on:{click:function(t){return e.$refs.textCrud.rowDel(i,n)}}},[e._v("删除")]):e._e(),t("el-button",{directives:[{name:"show",rawName:"v-show",value:"Released"===i.lcStatus,expression:"row.lcStatus === 'Released'"}],attrs:{loading:i.upVersionLoad,size:r,icon:"el-icon-upload2",type:"text"},on:{click:function(t){return e.upAndStopAndStart(i,"upVersion")}}},[e._v("升版")]),t("el-button",{directives:[{name:"show",rawName:"v-show",value:"Released"===i.lcStatus,expression:"row.lcStatus === 'Released'"}],attrs:{loading:i.stopLoseLoad,size:r,icon:"el-icon-circle-close",type:"text"},on:{click:function(t){return e.upAndStopAndStart(i,"stopLose")}}},[e._v("停用/失效")]),t("el-button",{directives:[{name:"show",rawName:"v-show",value:["Disabled","Editing"].includes(i.lcStatus),expression:"['Disabled', 'Editing'].includes(row.lcStatus)"}],attrs:{loading:i.startReleaseLoad,size:r,icon:"el-icon-circle-check",type:"text"},on:{click:function(t){return e.upAndStopAndStart(i,"startRelease")}}},[e._v("启用/发布")])]}}]),model:{value:e.crudForm,callback:function(t){e.crudForm=t},expression:"crudForm"}},[t("template",{slot:"menuLeft"},[t("el-button",{attrs:{plain:"",size:"small",type:"primary"},on:{click:e.FindeHanler}},[e._v("查询")]),t("el-button",{attrs:{plain:"",size:"small",type:"primary"},on:{click:e.TemRefresh}},[e._v("刷新")]),t("el-button",{attrs:{plain:"",size:"small",type:"primary"},on:{click:e.CloneBtn}},[e._v("从其它模板克隆")]),t("el-dialog",{attrs:{visible:e.FindFormVisible,"append-to-body":"",title:"高级查询"},on:{"update:visible":function(t){e.FindFormVisible=t}}},[t("div",[t("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.AdvQueries}},[e._v("查询")]),t("el-button",{attrs:{size:"small",type:"primary"}},[e._v("重置")])],1),t("div",{staticStyle:{"padding-left":"80px","margin-top":"15px"}},[e._l(e.FindSelect,(function(a,r){return[t("div",{staticStyle:{display:"flex","justify-content":"space-around",width:"85%","margin-bottom":"15px"}},[t("el-select",{staticStyle:{width:"28%"},attrs:{placeholder:"请选择"},on:{change:function(t){return e.handleSelectChange(r)}},model:{value:e.FindSelect[r],callback:function(t){e.$set(e.FindSelect,r,t)},expression:"FindSelect[key]"}},[t("el-option",{attrs:{label:"模板编号",value:"0"}}),t("el-option",{attrs:{label:"模板名称",value:"1"}}),t("el-option",{attrs:{label:"模板描述",value:"2"}}),t("el-option",{attrs:{label:"版本号",value:"3"}}),t("el-option",{attrs:{label:"状态",value:"4"}})],1),t("el-select",{staticStyle:{width:"15%"},attrs:{placeholder:"请选择"},model:{value:e.condition[0],callback:function(t){e.$set(e.condition,0,t)},expression:"condition[0]"}},[t("el-option",{attrs:{label:"包含",value:"0"}}),t("el-option",{attrs:{label:"等于",value:"1"}})],1),t("el-input",{staticStyle:{width:"49%"},model:{value:e.QueryArray[r],callback:function(t){e.$set(e.QueryArray,r,t)},expression:"QueryArray[key]"}}),t("span",[t("i",{staticClass:"el-icon-delete",staticStyle:{"font-size":"22px","margin-top":"8px","margin-left":"10px"}})])],1)]}))],2)]),t("el-dialog",{attrs:{"before-close":e.cloneClose,visible:e.CloneVisible,"append-to-body":"",title:"克隆模板"},on:{"update:visible":function(t){e.CloneVisible=t}}},[t("el-container",[t("el-aside",{attrs:{width:"300px"}},[t("div",{staticStyle:{"margin-bottom":"5px"}},[t("el-tag",[e._v("主题库分类")])],1),t("avue-tree",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"cloneTree",staticStyle:{height:"50.5vh","margin-right":"10px",width:"300px"},attrs:{data:e.Treedata,defaultExpandAll:!1,option:e.Treeoption},on:{"node-click":e.ClonenodeClick},model:{value:e.TreeAvueform,callback:function(t){e.TreeAvueform=t},expression:"TreeAvueform"}})],1),t("el-container",[t("el-main",[t("div",{staticStyle:{"padding-left":"10px",height:"50.5vh"}},[t("div",{staticStyle:{margin:"8px 0",display:"flex"}},[t("el-select",{staticStyle:{width:"130px"},attrs:{size:"small"},model:{value:e.Clonevalue,callback:function(t){e.Clonevalue=t},expression:"Clonevalue"}},e._l(this.CloneSelectOptions,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1),t("el-input",{staticStyle:{width:"40%","margin-left":"15px"},attrs:{placeholder:"输入值后按回车进行模糊查询",size:"small"},model:{value:e.CloneFind,callback:function(t){e.CloneFind=t},expression:"CloneFind"}}),t("el-button",{staticStyle:{"margin-left":"10px"},attrs:{plain:"",size:"small",type:"primary"},on:{click:e.CloneEnterFind},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.CloneEnterFind.apply(null,arguments)}}},[e._v("查询")])],1),t("avue-crud",{directives:[{name:"loading",rawName:"v-loading",value:e.FormLoing,expression:"FormLoing"}],attrs:{data:this.CloneFormlist,option:this.ClonecrudTreeOption},on:{"selection-change":e.selectionChange},model:{value:e.ClonecrudForm,callback:function(t){e.ClonecrudForm=t},expression:"ClonecrudForm"}})],1)])],1)],1),t("div",{staticStyle:{display:"flex","justify-content":"flex-end","align-items":"center","margin-top":"10px"}},[t("el-button",{attrs:{size:"small ",type:"primary"},on:{click:e.Clonehandler}},[e._v("确定")]),t("el-button",{attrs:{size:"small"},on:{click:e.cloneClose}},[e._v("取消")])],1),t("el-dialog",{attrs:{visible:e.CloneinnerVisible,"append-to-body":"",title:"克隆模板",width:"30%"},on:{"update:visible":function(t){e.CloneinnerVisible=t}}},[t("div",[t("avue-form",{attrs:{option:e.CloneOption},on:{submit:e.Clonesubmit},model:{value:e.CloneModel,callback:function(t){e.CloneModel=t},expression:"CloneModel"}})],1)])],1)],1)],2)],1),t("templatePro",{attrs:{Formlist:this.Formlist,ProData:this.ProData,codeClassifyOid:this.codeClassifyOid,crudArray:this.crudArray,crudLCStatus:this.crudLCStatus,crudOid:this.crudOid,rowIndex:this.selectRow}})],1):e._e(),t("el-dialog",{attrs:{"before-close":e.masterEscHandler,visible:e.MasterdialogVisible,"append-to-body":"",title:"为【编码规则】选取值"},on:{"update:visible":function(t){e.MasterdialogVisible=t}}},[[t("el-select",{staticStyle:{width:"135px"},attrs:{placeholder:"请选择"},model:{value:e.SelectValue,callback:function(t){e.SelectValue=t},expression:"SelectValue"}},e._l(e.SelectOption,(function(e){return t("el-option",{key:e.value,staticStyle:{width:"150px"},attrs:{label:e.label,value:e.value}})})),1),t("el-input",{staticStyle:{width:"260px","margin-left":"15px"},attrs:{placeholder:"输入值后进行模糊查询"},model:{value:e.SelectFInd,callback:function(t){e.SelectFInd=t},expression:"SelectFInd"}}),t("el-button",{staticStyle:{"margin-left":"20px"},attrs:{plain:"",size:"small",type:"primary"},on:{click:e.SelectFindeHandler}},[e._v("查询\n ")])],t("avue-crud",{attrs:{data:e.masterData,option:e.Option},on:{"row-click":e.masterSelect},scopedSlots:e._u([{key:"radio",fn:function(a){var r=a.row;return[t("el-radio",{staticStyle:{"padding-left":"10px !important"},attrs:{label:r.$index},model:{value:e.masterRow,callback:function(t){e.masterRow=t},expression:"masterRow"}},[e._v(e._s("")+"\n ")])]}}])}),t("div",{staticStyle:{height:"30px"}},[t("div",{staticStyle:{display:"inline-block",float:"left",border:"1px solid #eeeeee",padding:"5px","margin-top":"5px","font-size":"14px"}},[e._v("\n 已设置的值为:["+e._s(""==this.TreeAddform.coderuleoidName?"未设置值":this.TreeAddform.coderuleoidName)+"]\n ")]),t("div",{staticStyle:{"padding-top":"10px",display:"flex","justify-content":"flex-end",float:"right",overflow:"hidden"}},[t("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.MasterHandlerClick}},[e._v("确定")]),t("el-button",{attrs:{size:"small"},on:{click:e.masterEscHandler}},[e._v("取消")])],1)])],2),t("el-dialog",{attrs:{"before-close":e.KeyEscHandler,visible:e.KeydialogVisible,"append-to-body":"",title:"为【关键属性查询规则】选取值"},on:{"update:visible":function(t){e.KeydialogVisible=t}}},[[t("el-select",{staticStyle:{width:"135px"},attrs:{placeholder:"请选择"},model:{value:e.SelectValue,callback:function(t){e.SelectValue=t},expression:"SelectValue"}},e._l(e.SelectOption,(function(e){return t("el-option",{key:e.value,staticStyle:{width:"150px"},attrs:{label:e.label,value:e.value}})})),1),t("el-input",{staticStyle:{width:"260px","margin-left":"15px"},attrs:{placeholder:"输入值后进行模糊查询"},model:{value:e.SelectFInd,callback:function(t){e.SelectFInd=t},expression:"SelectFInd"}}),t("el-button",{staticStyle:{"margin-left":"20px"},attrs:{plain:"",size:"small",type:"primary"},on:{click:e.KeySelectFindeHandler}},[e._v("查询\n ")])],t("avue-crud",{attrs:{data:e.KeyData,option:e.Option},on:{"row-click":e.KeySelect},scopedSlots:e._u([{key:"radio",fn:function(a){var r=a.row;return[t("el-radio",{staticStyle:{"padding-left":"10px !important"},attrs:{label:r.$index},model:{value:e.masterRow,callback:function(t){e.masterRow=t},expression:"masterRow"}},[e._v(e._s("")+"\n ")])]}}])}),t("div",{staticStyle:{height:"30px"}},[t("div",{staticStyle:{display:"inline-block",float:"left",border:"1px solid #eeeeee",padding:"5px","margin-top":"5px","font-size":"14px"}},[e._v("\n 已设置的值为:["+e._s(""==this.TreeAddform.codeKeyAttrRepeatOidName?"未设置值":this.TreeAddform.codekeyattrrepeatoidName)+"]\n ")]),t("div",{staticStyle:{"padding-top":"10px",display:"flex","justify-content":"flex-end",float:"right",overflow:"hidden"}},[t("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.KeyHandlerClick}},[e._v("确定")]),t("el-button",{attrs:{size:"small"},on:{click:e.KeyEscHandler}},[e._v("取消")])],1)])],2),t("el-dialog",{attrs:{"before-close":e.simEscHandler,visible:e.SimidialogVisible,"append-to-body":"",title:"为【相似项查询规则】选取值"},on:{"update:visible":function(t){e.SimidialogVisible=t}}},[[t("el-select",{staticStyle:{width:"135px"},attrs:{placeholder:"请选择"},model:{value:e.SelectValue,callback:function(t){e.SelectValue=t},expression:"SelectValue"}},e._l(e.SelectOption,(function(e){return t("el-option",{key:e.value,staticStyle:{width:"150px"},attrs:{label:e.label,value:e.value}})})),1),t("el-input",{staticStyle:{width:"260px","margin-left":"15px"},attrs:{placeholder:"输入值后进行模糊查询"},model:{value:e.SelectFInd,callback:function(t){e.SelectFInd=t},expression:"SelectFInd"}}),t("el-button",{staticStyle:{"margin-left":"20px"},attrs:{plain:"",size:"small",type:"primary"},on:{click:e.SimSelectFindeHandler}},[e._v("查询\n ")])],t("avue-crud",{attrs:{data:e.simData,option:e.Option},on:{"row-click":e.simSelect},scopedSlots:e._u([{key:"radio",fn:function(a){var r=a.row;return[t("el-radio",{staticStyle:{"padding-left":"10px !important"},attrs:{label:r.$index},model:{value:e.masterRow,callback:function(t){e.masterRow=t},expression:"masterRow"}},[e._v(e._s("")+"\n ")])]}}])}),t("div",{staticStyle:{height:"30px"}},[t("div",{staticStyle:{display:"inline-block",float:"left",border:"1px solid #eee",padding:"5px","margin-top":"5px","font-size":"14px"}},[e._v("\n 已设置的值为:["+e._s(""==this.TreeAddform.codeResembleRuleOidName?"未设置值":this.TreeAddform.codeResembleRuleOidName)+"]\n ")]),t("div",{staticStyle:{"padding-top":"10px",display:"flex","justify-content":"flex-end",float:"right",overflow:"hidden"}},[t("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.simHandlerClick}},[e._v("确定")]),t("el-button",{attrs:{size:"small"},on:{click:e.simEscHandler}},[e._v("取消")])],1)])],2),t("el-dialog",{attrs:{"before-close":e.BtmEscHandler,visible:e.BtmdialogVisible,"append-to-body":"",title:"为【业务类型规则】选取值"},on:{"update:visible":function(t){e.BtmdialogVisible=t}}},[[t("el-select",{staticStyle:{width:"135px !important"},attrs:{placeholder:"请选择"},model:{value:e.SelectValue,callback:function(t){e.SelectValue=t},expression:"SelectValue"}},e._l(e.masterSelectOption,(function(e){return t("el-option",{key:e.value,staticStyle:{width:"130px"},attrs:{label:e.label,value:e.value}})})),1),t("el-input",{staticStyle:{width:"260px","margin-left":"15px"},attrs:{placeholder:"输入值后进行模糊查询"},model:{value:e.SelectFInd,callback:function(t){e.SelectFInd=t},expression:"SelectFInd"}}),t("el-button",{staticStyle:{"margin-left":"20px"},attrs:{plain:"",size:"small",type:"primary"},on:{click:e.BtmSelectFindeHandler}},[e._v("查询\n ")])],t("avue-crud",{attrs:{data:e.BtmData,option:e.masterOption},on:{"row-click":e.btmSelect},scopedSlots:e._u([{key:"radio",fn:function(a){var r=a.row;return[t("el-radio",{staticStyle:{"padding-left":"10px !important"},attrs:{label:r.$index},model:{value:e.masterRow,callback:function(t){e.masterRow=t},expression:"masterRow"}},[e._v(e._s("")+"\n ")])]}}])}),t("div",{staticStyle:{height:"30px"}},[t("div",{staticStyle:{display:"inline-block",float:"left",border:"1px solid #eee",padding:"5px","margin-top":"5px","font-size":"14px"}},[e._v("\n 已设置的值为:["+e._s(this.TreeAddform.btmTypeName)+"]\n ")]),t("div",{staticStyle:{"padding-top":"10px",display:"flex","justify-content":"flex-end",float:"right",overflow:"hidden"}},[t("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.btmHandlerClick}},[e._v("确定")]),t("el-button",{attrs:{size:"small"},on:{click:e.BtmEscHandler}},[e._v("取消")])],1)])],2),t("ThemeImport",{attrs:{codeClassifyOid:this.codeClassifyOid,visible:e.ThemeImportVisible},on:{"update:visible":function(t){e.ThemeImportVisible=t}}})],1)],1)],1)},i=[],n=(a("8e6e"),a("8615"),a("5df3"),a("3835")),o=(a("456d"),a("96cf"),a("1da1")),s=a("53ca"),l=(a("ac6a"),a("ade3")),c=a("8e19"),u=a("b761"),d=a("d9a3");function p(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function f(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?p(Object(a),!0).forEach((function(t){Object(l["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):p(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var m={name:"classifyTrees.vue",inject:["crudTreeData"],data:function(){return{masterRow:null,AddLoading:!1,requestCount:null,ThemeImportVisible:!1,selectRow:"",selectList:[],TreeFlagCode:!0,editTreeFLagCode:!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,menu:!1,height:380,column:[{label:"",prop:"radio",width:60,display:!1},{label:"业务类型编号",prop:"id"},{label:"业务类型名称",prop:"name"},{label:"描述",prop:"description"}]},Option:{addBtn:!1,index:!0,border:!0,menu:!1,height:380,column:[{label:"",prop:"radio",width:60,display:!1},{label:"英文名称",prop:"id"},{label:"中文名称",prop:"name"},{label:"描述",prop:"description"}]},SelectOption:[{value:"name",label:"中文名称"},{value:"id",label:"英文名称"}],masterSelectOption:[{value:"id",label:"业务类型编号"},{value:"name",label:"业务类型名称"}],SelectValue:"id",SelectFInd:"",addFlag:!1,crudOid:"",crudLCStatus:"",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:"",TreeFlag:!1,loading:!1,FormLoing:!1,TreeAddform:{id:"",name:"",description:"",codeResembleRuleOidName:"",codeKeyAttrRepeatOidName:"",codeRuleOidName:"",btmTypeName:""},rules:{id:[{required:!0,message:"请输入编号",trigger:"blur"}],name:[{required:!0,message:"请输入名称",trigger:"blur"}],btmTypeName:[{required:!0,message:"请选择业务类型",trigger:"blur"}]},TreeAvueform:{},CloneTreeAvueform:{},Treedata:[],CloneTreedata:[],Treeoption:{addBtn:!1,editBtn:!1,delBtn:!1,defaultExpandAll:!1,menu:!1},crudForm:"",ClonecrudForm:"",Formlist:[],CloneFormlist:[],Clonevalue:"0",CloneFind:"",CloneSelectOptions:[{value:"0",label:"模板编号"},{value:"1",label:"模板名称"}],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}]},CloneModel:[],CloneSelect:[],ClonecrudTreeOption:{index:!0,border:!0,menu:!1,addBtn:!1,selection:!0,header:!1,height:430,column:[{label:"模板编号",prop:"id",rules:[{required:!0,message:"模板编号",trigger:"blur"}]},{label:"模板名称",prop:"name",rules:[{required:!0,message:"模板名称",trigger:"blur"}]},{label:"模板描述",prop:"description"},{label:"版本号",prop:"revisionSeq",display:!1},{label:"状态",prop:"lcStatusText",display:!1}]},type:{},tabOption:{column:[{label:"基本信息",prop:"tab1"},{label:"模板管理",prop:"tab2"}]},Treeform:[{name:"测试1",sex:"男",value:0},{name:"测试2",sex:"女",value:1}],TreeList:{},codeClassifyOid:"",upAndStopAndStartData:{upVersion:{tip:"是否进行升版?",typeText:"升版",funAPi:c["upVersion"],load:"upVersionLoad"},stopLose:{tip:"模板只有发布状态才能被使用,是否确定停用?",typeText:"停用",funAPi:c["stopLose"],load:"stopLoseLoad"},startRelease:{tip:"是否确定启用/发布这个模板,模板只有发布状态才能被使用,是否继续?",typeText:"启用",funAPi:c["startRelease"],load:"startReleaseLoad"}},showEditBtn:!1}},watch:{},mounted:function(){var e=this;this.type=this.tabOption.column[0],this.getAttr();var t=this.$refs.tree.$el;t.addEventListener("click",(function(t){"SPAN"!==t.target.nodeName&&(e.$refs.tree.setCurrentKey(null),e.nodeClickList={},e.TreeList=[],e.TreeFlagCode=!0)}),!0)},computed:{crudTreeOption:function(){return{index:!0,border:!0,height:180,addBtn:this.Formlist.length<=0&&""!=this.nodeClickList,editBtn:!1,delBtn:!1,column:[{label:"",prop:"radio",width:60,display:!1},{label:"模板编号",prop:"id",rules:[{required:!0,message:"模板编号",trigger:"blur"}]},{label:"模板名称",prop:"name",rules:[{required:!0,message:"模板名称",trigger:"blur"}]},{label:"模板描述",prop:"description"},{label:"版本号",prop:"revisionSeq",display:!1},{label:"状态",prop:"lcStatusText",display:!1}],batchImportData:{visible:!1,type:"",codeClassifyOid:""}}}},created:function(){},methods:{BtmEscHandler:function(){this.SelectFInd="",this.SelectValue="id",this.masterRow=null,this.BtmdialogVisible=!1},simEscHandler:function(){this.SelectFInd="",this.SelectValue="id",this.masterRow=null,this.SimidialogVisible=!1},KeyEscHandler:function(){this.SelectFInd="",this.SelectValue="id",this.masterRow=null,this.KeydialogVisible=!1},masterEscHandler:function(){this.SelectFInd="",this.SelectValue="id",this.masterRow=null,this.MasterdialogVisible=!1},ImportExcel:function(){this.ThemeImportVisible=!0},ExportExcel:function(){this.nodeClickList?Object(c["exportClassify"])({oid:this.nodeClickList.oid}).then((function(e){d["a"].downloadFileByBlobHandler(e)})):this.$message.warning("请先选择要导出的主题库分类")},CodeFoucus:function(){this.MasterdialogVisible=!0,this.MasterdefaultRend()},masterSelect:function(e){this.masterRow=e.$index,this.masterSelectList=e,this.masterName=e.name,this.masterOid=e.oid},SelectFindeHandler:function(){var e={};e["conditionMap['".concat(this.SelectValue,"']")]=this.SelectFInd,this.MasterdefaultRend(e)},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))},MasterdefaultRend:function(e){var t=this;Object(u["defaultReferDataGrid"])(f({referType:"coderule",isMuti:"false",'conditionMap["lcstatus"]':"Released",limit:"-1"},e)).then((function(e){t.masterData=e.data.records}))},Keyfouce:function(){this.KeydialogVisible=!0,this.KeydefaultRend()},KeyHandlerClick:function(){this.KeySelectLIst.length>1?this.$message.warning("只能选择一条数据"):this.KeySelectLIst.length<=0?this.$message.warning("请选择一条数据"):(this.KeydialogVisible=!1,this.KeySelectLIst=[],this.$set(this.TreeAddform,"codeKeyAttrRepeatOidName",this.KeyName),this.$set(this.TreeAddform,"codeKeyAttrRepeatOid",this.KeyOid))},KeySelectFindeHandler:function(){var e={};e["conditionMap['".concat(this.SelectValue,"']")]=this.SelectFInd,this.KeydefaultRend(e)},KeydefaultRend:function(e){var t=this;Object(u["defaultReferDataGrid"])(f({referType:"codekeyattrrepeat",isMuti:"false",'conditionMap["lcstatus"]':"Enabled",limit:"-1"},e)).then((function(e){t.KeyData=e.data.records}))},KeySelect:function(e){this.masterRow=e.$index,this.KeySelectLIst=e,this.KeyName=e.name,this.KeyOid=e.oid},simFouce:function(){this.SimidialogVisible=!0,this.simdefaultRend()},simHandlerClick:function(){this.simSelectList.length>1?this.$message.warning("只能选择一条数据"):this.simSelectList.length<=0?this.$message.warning("请选择一条数据"):(this.SimidialogVisible=!1,this.simSelectList=[],this.$set(this.TreeAddform,"codeResembleRuleOidName",this.simName),this.$set(this.TreeAddform,"codeResembleRuleOid",this.simOid),this.$emit("MasterHandler",this.loneTreeNewForm))},SimSelectFindeHandler:function(){var e={};e["conditionMap['".concat(this.SelectValue,"']")]=this.SelectFInd,this.simdefaultRend(e)},simSelect:function(e){this.masterRow=e.$index,this.simSelectList=e,this.simName=e.name,this.simOid=e.oid},simdefaultRend:function(e){var t=this;Object(u["defaultReferDataGrid"])(f({referType:"coderesemblerule",isMuti:"false",'conditionMap["lcstatus"]':"Enabled",limit:"-1"},e)).then((function(e){t.simData=e.data.records}))},btmFoucus:function(){this.BtmdialogVisible=!0,this.btmdefaultRend()},btmHandlerClick:function(){this.btmSelectList.length>1?this.$message.warning("只能选择一条数据"):this.btmSelectList.length<=0?this.$message.warning("请选择一条数据"):(this.$refs.myForm.clearValidate(),this.BtmdialogVisible=!1,this.btmSelectList=[],this.$set(this.TreeAddform,"btmTypeName",this.btmName),this.$set(this.TreeAddform,"btmTypeId",this.btmOid),this.$emit("MasterHandler",this.loneTreeNewForm))},BtmSelectFindeHandler:function(){var e={};e["conditionMap['".concat(this.SelectValue,"']")]=this.SelectFInd,this.btmdefaultRend(e)},btmSelect:function(e){this.masterRow=e.$index,this.btmSelectList=e,this.btmName=e.name,this.btmOid=e.id},btmdefaultRend:function(e){var t=this;Object(u["referDataGrid"])(f({valueField:"id",isMuti:"false",limit:"-1"},e)).then((function(e){t.BtmData=e.data.data.records}))},MasterHandler:function(e){this.TreeList=e},rowHandle:function(e,t){this.selectRow=e.$index,this.crudOid=e.oid,this.crudLCStatus=e.lcStatus,this.crudArray.push(e),this.gridCode()},getAttr:function(){var e=this;Object(c["getAtrrList"])().then((function(t){e.Treedata=t.data,e.CloneTreedata=t.data,e.Treedata.forEach((function(){for(var t=0;t<e.Treedata.length;t++)e.Treedata[t].value=t})),e.ModifyProperties(e.CloneTreedata,"name","label"),e.CloneTreedata=e.CloneTreedata.map((function(e){return"Disabled"===e.attributes.lcStatus&&(e.label+="【停用】"),e}))})).catch((function(t){e.$message.error(t)}))},ModifyProperties:function(e,t,a){for(var r in e)r===t&&(e[a]=e[r],delete e[r]),"object"===Object(s["a"])(e[r])&&this.ModifyProperties(e[r],t,a)},TreeAdd:function(){var e=Object(o["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=this.$loading({lock:!0,text:"Loading",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.3)"}),e.prev=1,this.TreeFlag=!this.nodeClickList,e.next=5,new Promise((function(e){return setTimeout(e,500)}));case 5:this.TreeAddFormVisible=!0,t.close(),e.next=13;break;case 9:e.prev=9,e.t0=e["catch"](1),this.$message.error(e.t0),t.close();case 13:case"end":return e.stop()}}),e,this,[[1,9]])})));function t(){return e.apply(this,arguments)}return t}(),TreeEscHandler:function(){this.TreeAddform={},this.TreeAddFormVisible=!1,this.$refs.myForm.clearValidate()},TreeAddHandler:function(){var e=this;if(!this.TreeAddform.id||!this.TreeAddform.name||this.TreeFlagCode&&!this.TreeAddform.btmTypeName)this.$message.warning("请输入内容!");else{var t=this.TreeAddform;this.$set(t,"parentCodeClassifyOid",this.nodeClickList.oid),Object(c["TreeSave"])(t).then((function(){e.$message({type:"success",message:"添加成功!"}),Object.keys(e.TreeAddform).forEach((function(t){e.TreeAddform[t]=""})),e.getAttr(),e.TreeAddFormVisible=!1,e.ProData=[],e.Formlist=[]})).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(c["TreeCheckDel"])(e.nodeClickList).then((function(t){t.data.data?Object(c["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(c["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(){Object.keys(this.nodeClickList).length<1?this.$message({type:"warning",message:"请先从树上选择一条数据!"}):this.TreeEditFormVisible=!0},flushed:function(){var e=this;this.loading=!0,this.getAttr(),setTimeout((function(){e.loading=!1,e.nodeClickList=""}),600)},Enable:function(){var e=this;Object.keys(this.nodeClickList).length<1?this.$message.warning("请先从树上选择一条数据"):"Enabled"==this.FlagObj.lcStatus?this.$message({type:"warning",message:"当前分类不是停用状态"}):this.$confirm("是否将子分类一并启用?","提示",{confirmButtonText:"是",cancelButtonText:"取消",type:"warning"}).then((function(){Object(c["TreeEnable"])(e.nodeClickList).then((function(){e.$message({type:"success",message:"启用成功!"}),e.getAttr()}))})).catch((function(){e.$message({type:"info",message:"已取消启用"})}))},Deactivate:function(){var e=this;Object.keys(this.nodeClickList).length<1?this.$message.warning("请先从树上选择一条数据"):"Disabled"===this.FlagObj.lcStatus?this.$message({type:"warning",message:"当前分类不是启用状态!"}):this.$confirm("是否停用当前分类,停用后,子分类也将不能被使用,是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){Object(c["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(o["a"])(regeneratorRuntime.mark((function e(t){var a,r,i,o,s,l=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.TreeFlagCode=!t,this.editTreeFLagCode=!t.parentId,this.nodeClickList=t,this.selectRow=0,this.crudArray=[],e.prev=5,this.requestCount+=1,e.next=9,Promise.all([Object(c["TreeObjcet"])(t.oid),Object(c["gridCodeClassifyTemplate"])({"conditionMap[codeclassifyoid]":t.oid}),Object(c["getObjectByOid"])(t.oid)]);case 9:if(a=e.sent,r=Object(n["a"])(a,3),i=r[0],o=r[1],s=r[2],this.FlagObj=i.data.data,this.Formlist=o.data.data.filter((function(e){if(""!=e.codeclassifyoid)return l.codeClassifyOid=e.codeclassifyoid,e.codeclassifyoid==l.nodeClickList.oid})),!(this.Formlist.length>=1)){e.next=24;break}return this.crudLCStatus=this.Formlist[this.selectRow].lcStatus,this.crudArray.push(this.Formlist[this.selectRow]),this.crudOid=this.Formlist[this.selectRow].oid,e.next=22,this.gridCode();case 22:e.next=26;break;case 24:this.ProData=[],this.crudOid="";case 26:this.TreeList=s.data.data,e.next=32;break;case 29:e.prev=29,e.t0=e["catch"](5),this.$message.error(e.t0);case 32:case"end":return e.stop()}}),e,this,[[5,29]])})));function t(t){return e.apply(this,arguments)}return t}(),gridCode:function(){var e=Object(o["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(c["gridCodeClassifyTemplateAttr"])({"conditionMap[classifyTemplateOid]":this.Formlist[this.selectRow].oid,limit:-1});case 3:t=e.sent,this.ProData=t.data.data.map((function(e){return""!==e.classifyInvokeAttr&&(e.hasOwnProperty("classifyInvokeText")||(e.classifyInvokeText={"注入类型":e.classifyInvokeAttr,"注入类型名称":e.classifyInvokeAttrName,"层级设置":e.classifyInvokeLevel,"是否可修改":e.classifyInvokeEditFlag})),e})),e.next=10;break;case 7:e.prev=7,e.t0=e["catch"](0),this.$message.error(e.t0);case 10:case"end":return e.stop()}}),e,this,[[0,7]])})));function t(){return e.apply(this,arguments)}return t}(),treeClick:function(e){console.log(e)},referTreeForm:function(){var e=this;Object(c["getObjectByOid"])(this.nodeClickList.oid).then((function(t){e.TreeList=t.data.data})).catch((function(t){e.$message.error(t)}))},ClonenodeClick:function(){var e=Object(o["a"])(regeneratorRuntime.mark((function e(t){var a=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.ClonenodeClickList=t,e.next=3,Object(c["gridCodeClassifyTemplate"])({"conditionMap[codeclassifyoid]":t.oid}).then((function(e){a.CloneFormlist=e.data.data.filter((function(e){if(""!=e.codeclassifyoid)return a.codeClassifyOid=e.codeclassifyoid,e.codeclassifyoid==a.ClonenodeClickList.oid}))}));case 3:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}(),handleChange:function(e){this.type=e},AdvQueries:function(){var e=this;this.FindFormVisible=!1;var t=Object.values(this.QueryArray).every((function(e){return!e}));t?Object(c["gridCodeClassifyTemplate"])().then((function(t){e.Formlist=t.data.data})):Object(c["gridCodeClassifyFindTemplate"])({"conditionMap[id]":this.QueryArray.id},{"conditionMap[name]":this.QueryArray.name},{"conditionMap[description]":this.QueryArray.description},{"conditionMap[revisionValue]":this.QueryArray.revisionValue},{"conditionMap[lcStatus]":this.QueryArray.lcStatus}).then((function(t){e.Formlist=t.data.data}))},CrudRend:function(){var e=this;Object(c["gridCodeClassifyTemplate"])({"conditionMap[codeclassifyoid]":this.nodeClickList.oid}).then((function(t){e.Formlist=t.data.data}))},CrudRowSave:function(e,t){var a=this;this.nodeClickList.length<=0?this.$message({type:"warning",message:"请先从树上选择一条数据!"}):(this.$set(e,"codeclassifyoid",this.nodeClickList.oid),Object(c["addSave"])(e).then((function(){a.$message({type:"success",message:"添加成功!"}),t(e),a.TemRefresh()})).catch((function(e){a.$message({type:"info",message:e})})))},CrudRowUpdata:function(e,t,a){var r=this;Object(c["editSave"])(e).then((function(){r.TemRefresh(),r.$message({type:"success",message:"操作成功!"}),a()})).catch((function(e){r.$message.error(e)}))},CrudRowDel:function(e){var t=this;Object(c["deleteData"])(e).then((function(){t.TemRefresh()})).catch((function(e){t.$message({type:"info",message:e})}))},cloneClose:function(){this.$refs.cloneTree.setCurrentKey(null),this.ClonenodeClickList={},this.CloneFormlist=[],this.CloneVisible=!1},CloneEnterFind:function(){var e=this;Object(c["gridCodeClassifyTemplate"])().then((function(t){e.CloneFormlist=t.data.data.filter((function(t){return 0==e.Clonevalue?t.id.includes(e.CloneFind):1==e.Clonevalue?t.name.includes(e.CloneFind):void 0}))}))},FindeHanler:function(){""!=this.nodeClickList?this.FindFormVisible=!0:this.$message.warning("请从树上选择一条数据")},Clonehandler:function(){this.CloneSelect.length<=0?this.$message({type:"warning",message:"请选择要克隆的模板!"}):this.CloneSelect.length>1?this.$message({type:"warning",message:"只能选择一条数据!"}):this.CloneinnerVisible=!0},CloneBtn:function(){this.nodeClickList.length<=0?this.$message({type:"warning",message:"请先从[主题库分类】树上选择一条数据!"}):this.CloneVisible=!0},selectionChange:function(e){this.CloneSelect=e;var t=e[0],a=t.id,r=t.name;this.CloneModel={id:a,name:r},this.CloneSelect[0].codeclassifyoid=this.nodeClickList.oid},Clonesubmit:function(e,t){var a=this;Object.assign(this.CloneSelect[0],this.CloneModel),Object(c["copy"])(this.CloneSelect[0]).then((function(){a.CloneinnerVisible=!1,a.CloneVisible=!1,a.$message.success("复制成功"),a.TemRefresh(),t(e)})).catch((function(e){t(e)}))},TemRefresh:function(){var e=this;this.FormLoing=!0,""!=this.nodeClickList.oid?Object(c["gridCodeClassifyTemplate"])({"conditionMap[codeclassifyoid]":this.nodeClickList.oid}).then((function(t){e.Formlist=t.data.data.filter((function(t){return t.codeclassifyoid==e.nodeClickList.oid})),e.crudLCStatus=e.Formlist[e.selectRow].lcStatus,e.crudArray.push(e.Formlist[e.selectRow]),Object(c["gridCodeClassifyTemplateAttr"])({"conditionMap[classifyTemplateOid]":t.data.data[e.selectRow].oid,limit:-1}).then((function(t){e.ProData=t.data.data,e.ProData=t.data.data.map((function(e){return""!==e.classifyInvokeAttr&&(e.hasOwnProperty("classifyInvokeText")||(e=f(f({},e),{},{classifyInvokeText:{"注入类型":e.classifyInvokeAttr,"注入类型名称":e.classifyInvokeAttrName,"层级设置":e.classifyInvokeLevel,"是否可修改":e.classifyInvokeEditFlag}}))),e}))})).catch((function(t){e.$message.error(t)}))})):this.FormLoing=!0,setTimeout((function(){e.FormLoing=!1}),600)},upAndStopAndStart:function(e,t){var a=this;this.$confirm(this.upAndStopAndStartData[t]["tip"],"提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){a.$set(e,a.upAndStopAndStartData[t]["load"],!0);var r=e.ts,i=e.oid;a.upAndStopAndStartData[t]["funAPi"]({ts:r,oid:i}).then((function(r){200===r.data.code&&(a.$set(e,a.upAndStopAndStartData[t]["load"],!1),a.TemRefresh(),a.$message.success(a.upAndStopAndStartData[t]["typeText"]+"成功!"))})).catch((function(){a.$set(e,a.upAndStopAndStartData[t]["load"],!1)}))}))}}},h=m,b=(a("7416"),a("2877")),g=Object(b["a"])(h,r,i,!1,null,"7a473649",null);t["default"]=g.exports},"4ce4":function(e,t,a){"use strict";a("b2cc")},"4d0c":function(e,t,a){"use strict";a.r(t),a.d(t,"getDataList",(function(){return s}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-code/dockingManagement/gridDockingData",method:"get",params:o(o({},a),{},{page:e,limit:t})})}},"4d0f":function(e,t,a){"use strict";a.r(t);a("7f7f");var r=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%",top:"6vh"},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(a){return t("el-option-group",{key:a.id,attrs:{label:a.name}},e._l(a.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(a){return t("el-option-group",{key:a.id,attrs:{label:a.name}},e._l(a.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(a){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(a){return[t("el-tag",[e._v(e._s(a.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)},i=[],n=(a("ac6a"),a("0499")),o=a("6872"),s=(a("b1ca"),a("d772")),l={name:"LinkTypeAdd",props:{linkType:{type:Object},domainOption:{type:Array},icons:{type:Array}},data:function(){return{form:{},showSubmitDialog:!1,option:{height:"330px",tip:!1,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 a=t.data.data;e.attrRef.page.total=a.total,e.attrRef.data=a.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(n["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="",a="";e.forEach((function(e){t+=e.name+",",a+=e.id+","})),this.linkType.fromBtmTypeName=t,this.linkType.fromBtmType=a,console.log(this.linkType)},toSelectChange:function(e){console.log(e),this.linkType.toBtmTypes=[];var t="",a="";e.forEach((function(e){t+=e.name+",",a+=e.id+","})),this.linkType.toBtmTypeName=t,this.linkType.toBtmType=a,console.log(this.linkType)},resetForm:function(){this.linkType={},this.$refs.form.resetFields()}}},c=l,u=(a("ffe6"),a("2877")),d=Object(u["a"])(c,r,i,!1,null,null,null);t["default"]=d.exports},"4d92":function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return s})),a.d(t,"getDetail",(function(){return l})),a.d(t,"remove",(function(){return c})),a.d(t,"add",(function(){return u})),a.d(t,"update",(function(){return d}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-code/plCodeKeyattrrepeat/list",method:"get",params:o(o({},a),{},{current:e,size:t})})},l=function(e){return Object(i["a"])({url:"/api/ubcs-code/plCodeKeyattrrepeat/detail",method:"get",params:{oid:e}})},c=function(e){return Object(i["a"])({url:"/api/ubcs-code/plCodeKeyattrrepeat/remove",method:"post",params:{ids:e}})},u=function(e){return Object(i["a"])({url:"/api/ubcs-code/plCodeKeyattrrepeat/submit",method:"post",data:e})},d=function(e){return Object(i["a"])({url:"/api/ubcs-code/plCodeKeyattrrepeat/submit",method:"post",data:e})}},"512c":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("div",{staticStyle:{overflow:"auto",height:"calc(100vh - 150px)"}},[t("avue-tree",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"tree",staticStyle:{width:"fit-content"},attrs:{data:e.Treedata,defaultExpandAll:!1,option:e.Treeoption},on:{"node-click":e.nodeClick},scopedSlots:e._u([{key:"default",fn:function(a){var r=a.node;return[t("span",{staticStyle:{display:"inline-block"}},[e._v(e._s(r.label))])]}}]),model:{value:e.CloneTreeAvueform,callback:function(t){e.CloneTreeAvueform=t},expression:"CloneTreeAvueform"}})],1)},i=[],n=(a("8e6e"),a("456d"),a("28a5"),a("96cf"),a("1da1")),o=(a("55dd"),a("ac6a"),a("6762"),a("53ca")),s=a("3835"),l=a("ade3"),c=a("b761"),u=a("dd3a");function d(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function p(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?d(Object(a),!0).forEach((function(t){Object(l["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):d(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var f={name:"MasterTree",props:{pageSize:{type:String,default:"100"},currentPage:{type:String,default:"1"},templateOid:{type:String,default:""}},data:function(){return{TreeValue:"",idData:"",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 a=0===e.level?0:e.data.oid,r=e.data.attributes.btmname;Object(c["getTreeList"])({parentOid:a,parentBtmName:r}).then((function(e){t(e.data.map((function(e){return p(p({},e),{},{label:e.text})})))}))}}}}},created:function(){this.getTreeLists()},computed:{},methods:{getTreeLists:function(){var e=this,t=this.$route.query.id.indexOf("@"),a=this.$route.query.id.substring(0,t);this.idData=a,Object(c["getTreeList"])({"conditionMap[id]":this.idData}).then((function(t){if(t)if(0===t.data.length)e.$message.error("主数据分类查询为空!");else{e.Treedata=t.data;var a=Object(s["a"])(t.data,1),r=a[0];e.ModifyProperties(e.Treedata,"text","label"),e.codeClassifyOid=r.oid,e.coderuleoid=r.attributes.coderuleoid,e.$emit("coderuleoid",e.coderuleoid),e.$emit("Treedata",e.Treedata)}})).catch((function(t){e.$message.error(t)}))},ModifyProperties:function(e,t,a){for(var r in e)r===t&&(e[a]=e[r],delete e[r]),"object"===Object(o["a"])(e[r])&&this.ModifyProperties(e[r],t,a)},TableRend:function(){var e=this;Object(u["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)}))},TableHeadRend:function(){var e=this,t=this.$route.query.id.indexOf("@"),a=this.$route.query.id.substring(0,t);return new Promise((function(t,r){Object(u["MasterTable"])({codeClassifyOid:e.nodeClickList.oid,functionId:a}).then((function(a){var r=["CODEIMPORTHISTORY","CODEEXPORT","CODEQUERY","batchApplyCode"];a.data.leaf?e.masterVrBtnList=a.data.buttons:e.masterVrBtnList=a.data.buttons.filter((function(e){return r.includes(e.uniqueFlag)})),e.tableHeadDataFateher=a.data,e.templateOids=a.data.tableDefineVO.oid;var i=Object(s["a"])(a.data.tableDefineVO.cols,1),n=i[0];n.forEach((function(t){var a={label:t.title,prop:t.field,sortable:t.sort,width:t.minWidth};e.tableHeadFindData.push(Object.assign(t,a))})),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(n["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.TreeValue=t.label.split(" ")[0].trim(),this.$emit("TreeValue",this.TreeValue),this.nodeClickList=t,this.tableHeadDataFateher=[],this.tableHeadFindData=[],e.next=8,this.TableHeadRend();case 8:this.TableRend(),this.$emit("nodeClick",this.templateOids),this.$emit("codeClassifyOid",this.nodeClickList.oid),e.next=16;break;case 13:e.prev=13,e.t0=e["catch"](0),this.$message.error(e.t0);case 16:case"end":return e.stop()}}),e,this,[[0,13]])})));function t(t){return e.apply(this,arguments)}return t}()}},m=f,h=a("2877"),b=Object(h["a"])(m,r,i,!1,null,"5221e97c",null);t["default"]=b.exports},5384:function(e,t,a){var r={"./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/maxSerialNum":"e345","./code/maxSerialNum.js":"e345","./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","./docking/data":"4d0c","./docking/data.js":"4d0c","./docking/info":"608a","./docking/info.js":"608a","./docking/loge":"1894","./docking/loge.js":"1894","./docking/task":"7a96","./docking/task.js":"7a96","./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/statistic":"8a8b","./system/statistic.js":"8a8b","./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 i(e){var t=n(e);return a(t)}function n(e){if(!a.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=n,e.exports=i,i.id="5384"},"539b":function(e,t,a){"use strict";a.r(t),a.d(t,"getPage",(function(){return s})),a.d(t,"getDetail",(function(){return l})),a.d(t,"add",(function(){return c})),a.d(t,"batchAdd",(function(){return u})),a.d(t,"update",(function(){return d})),a.d(t,"batchUpdate",(function(){return p})),a.d(t,"remove",(function(){return f})),a.d(t,"refList",(function(){return m})),a.d(t,"getApplyRange",(function(){return h}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-omd/status/page",method:"get",params:o(o({},a),{},{current:e,size:t})})},l=function(e){return Object(i["a"])({url:"/api/ubcs-omd/status/detail",method:"get",params:{oid:e}})},c=function(e){return Object(i["a"])({url:"/api/ubcs-omd/status/submit",method:"post",data:e})},u=function(e){return Object(i["a"])({url:"/api/ubcs-omd/status/batch-submit",method:"post",data:e})},d=function(e){return Object(i["a"])({url:"/api/ubcs-omd/status/submit",method:"post",data:e})},p=function(e){return Object(i["a"])({url:"/api/ubcs-omd/status/batch-submit",method:"post",data:e})},f=function(e){return Object(i["a"])({url:"/api/ubcs-omd/status/remove",method:"post",data:e})},m=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-omd/status/ref",method:"get",params:o(o({},a),{},{currentPage:e,pageSize:t})})},h=function(e){return Object(i["a"])({url:"/api/ubcs-omd/status/get-apply-range",method:"get",params:{id:e}})}},"53f1":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("el-dialog",{staticStyle:{width:"1550px",margin:"auto"},attrs:{"close-on-click-modal":!1,visible:e.dialogPush,"append-to-body":"",title:"导出"},on:{"update:visible":function(t){e.dialogPush=t},close:e.escHandler}},[t("div",{staticStyle:{"margin-bottom":"20px"}},[t("div",[t("span",[e._v("导出方式:")]),t("el-radio-group",{model:{value:e.radio,callback:function(t){e.radio=t},expression:"radio"}},[t("el-radio",{attrs:{label:0}},[e._v("选择")]),t("el-radio",{attrs:{label:1}},[e._v("全部")]),t("el-radio",{attrs:{label:2}},[e._v("页码")])],1),2===e.radio?t("span",{staticStyle:{"margin-left":"20px"}},[t("el-input",{staticStyle:{width:"150px"},model:{value:e.pageExport,callback:function(t){e.pageExport=t},expression:"pageExport"}}),e._v(" (输入页码或者页面范围,如:1-10))")],1):e._e()],1)]),t("div",{staticStyle:{"text-align":"center"}},[t("el-transfer",{staticStyle:{"text-align":"left",display:"inline-block",height:"400px"},attrs:{data:e.data,"filter-method":e.filterMethod,titles:["未选属性","已选属性"],"filter-placeholder":"关键词搜索",filterable:""},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}})],1),t("div",{staticStyle:{display:"flex","justify-content":"flex-end"}},[t("el-button",{attrs:{plain:"",size:"small",type:"success"},on:{click:e.handleExcel}},[e._v("确定")]),t("el-button",{attrs:{plain:"",size:"small"},on:{click:e.escHandler}},[e._v("取消")])],1)])},i=[],n=(a("8e6e"),a("456d"),a("c5f6"),a("28a5"),a("6762"),a("2fdb"),a("ade3")),o=(a("ac6a"),a("dd3a")),s=a("d9a3");function l(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function c(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?l(Object(a),!0).forEach((function(t){Object(n["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):l(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var u={name:"MasterTransfer",props:["visible","tableHeadData","codeClassifyOid","tableData","selectRow","templateOid","limit"],data:function(){return{pageExport:"",data:[],value:[],filterMethod:function(e,t){return t.label.indexOf(e)>-1},dialogPush:this.visible,radio:0,tableHeadFindData:[],tableExportData:[],option:{title:"文档标题",column:[{label:"主数据",prop:"header",children:[]}],data:[]},exportArr:{},exportArrTwo:{},ids:""}},watch:{visible:function(){this.dialogPush=this.visible},tableHeadData:{handler:function(e,t){var a=this;e&&(this.data=[],this.tableHeadFindData=e.map((function(e){return e.label})),this.tableHeadFindData.forEach((function(e,t){a.data.push({label:e,key:t})})),this.option.column[0].children=e.map((function(e){return{label:e.label,prop:e.prop}})))}},tableData:function(){this.option.data=this.tableData.map((function(e){for(var t in e)"true"===e[t]?e[t]="是":"false"===e[t]&&(e[t]="否");return e}))},codeClassifyOid:{handler:function(e,t){}},value:{handler:function(e,t){console.log("value",e)}}},computed:{},mounted:function(){},methods:{escHandler:function(){this.$emit("update:visible",!1),this.value=[],this.radio=0},recoverPage:function(){this.$emit("update:visible",!1)},handleExcel:function(){var e=this;if(this.value.map((function(t){return e.tableHeadData[t].prop})).forEach((function(t,a){e.exportArr["attrIdIndexMap[".concat(a,"]")]=t})),0===this.radio)if(this.selectRow.length<=0)this.$message.warning("请选择要导出的模板");else{var t=[];this.ids=this.selectRow.map((function(e){return e.oid})).join(","),this.selectRow.forEach((function(e){t.push(e.oid)})),this.value<=0?(this.tableHeadData.map((function(e){return e.prop})).forEach((function(t,a){e.exportArrTwo["attrIdIndexMap[".concat(a,"]")]=t})),Object(o["exportCode"])(c(c({codeClassifyOid:this.codeClassifyOid,"conditionMap[oid]":this.ids},this.exportArrTwo),{},{limit:-1})).then((function(t){t&&(s["a"].downloadFileByBlobHandler(t),e.escHandler())}))):Object(o["exportCode"])(c({codeClassifyOid:this.codeClassifyOid,"conditionMap[oid]":this.ids},this.exportArr)).then((function(t){t&&(s["a"].downloadFileByBlobHandler(t),e.escHandler())}))}else if(1===this.radio)this.value<=0?(this.tableHeadData.map((function(e){return e.prop})).forEach((function(t,a){e.exportArrTwo["attrIdIndexMap[".concat(a,"]")]=t})),Object(o["exportCode"])(c(c({codeClassifyOid:this.codeClassifyOid},this.exportArrTwo),{},{limit:-1})).then((function(t){t&&(s["a"].downloadFileByBlobHandler(t),e.escHandler())}))):Object(o["exportCode"])(c(c({codeClassifyOid:this.codeClassifyOid},this.exportArr),{},{limit:-1})).then((function(t){t&&(s["a"].downloadFileByBlobHandler(t),e.escHandler())}));else if(2===this.radio){var a,r,i=this.pageExport.trim();if(i.includes("-")){if(i.indexOf("-")!==i.lastIndexOf("-"))return void this.$message.warning("输入格式错误:只能输入一个 - 号隔开");var n=i.split("-");if(a=Number(n[0]),r=Number(n[1]),isNaN(a)||isNaN(r))return void this.$message.warning("输入格式错误")}else if(a=Number(i),r=a,isNaN(a))return void this.$message.warning("输入格式错误");this.value>=1?Object(o["exportCode"])(c(c({codeClassifyOid:this.codeClassifyOid},this.exportArr),{},{limit:this.limit,page:a,endPage:r})).then((function(t){t&&(s["a"].downloadFileByBlobHandler(t),e.escHandler())})):(this.tableHeadData.map((function(e){return e.prop})).forEach((function(t,a){e.exportArrTwo["attrIdIndexMap[".concat(a,"]")]=t})),Object(o["exportCode"])(c(c({codeClassifyOid:this.codeClassifyOid},this.exportArrTwo),{},{limit:this.limit,page:a,endPage:r})).then((function(t){t&&(s["a"].downloadFileByBlobHandler(t),e.escHandler())})))}}}},d=u,p=a("2877"),f=Object(p["a"])(d,r,i,!1,null,"da1f4a60",null);t["default"]=f.exports},"56d7":function(e,t,a){"use strict";a.r(t);var r={};a.r(r),a.d(r,"baseUrl",(function(){return O})),a.d(r,"iconfontUrl",(function(){return v})),a.d(r,"iconfontVersion",(function(){return y})),a.d(r,"codeUrl",(function(){return _})),a.d(r,"env",(function(){return w}));a("a481"),a("456d"),a("ac6a"),a("cadf"),a("551c"),a("f751"),a("097d");var i=a("8bbf"),n=a.n(i),o=a("b5c6"),s=a("a7fe"),l=a.n(s),c=a("3dfd"),u=a("9883"),d=(a("7f7f"),a("28a5"),a("4360")),p=a("c54a"),f=a("0a5a"),m=a("323e"),h=a.n(m);a("a5d8");h.a.configure({showSpinner:!1});var b=d["a"].getters.website.lockPage;u["a"].beforeEach((function(e,t,a){var r=e.meta||{},i=void 0===r.menu?e.query.menu:r.menu,n=JSON.parse(localStorage.getItem("updataid"));if(d["a"].commit("SET_IS_MENU",void 0===i),Object(f["a"])())if(d["a"].getters.isLock&&e.path!==b)a({path:b});else if("/login"===e.path&&0!=n.strategyUpdateStatus)a({path:"/"});else if(0===d["a"].getters.token.length)d["a"].dispatch("FedLogOut").then((function(){a({path:"/login"})}));else{var o=JSON.parse(JSON.stringify(e.query));for(var s in e.query)-1!=e.query[s].indexOf("@name=")&&(o[s]=e.query[s].split("@name=")[0],o["name"]=e.query[s].split("@name=")[1]);var l=o.src||e.fullPath||e.path,c=o.name||e.name,m=e.meta||u["a"].$avueRouter.meta||{},h=e.query.i18n;e.query.target?window.open(l):!1===m.isTab||Object(p["b"])(l)||Object(p["b"])(c)||d["a"].commit("ADD_TAG",{label:c,value:l,params:e.params,query:e.query,meta:function(){return h?{i18n:h}:m}(),group:u["a"].$avueRouter.group||[]}),a()}else!1===r.isAuth?a():a("/login")})),u["a"].afterEach((function(){h.a.done();var e=d["a"].getters.tag.label,t=d["a"].getters.tag.meta.i18n;e=u["a"].$avueRouter.generateTitle(e,t),"/login"===u["a"].history.current.fullPath&&(e="登录"),u["a"].$avueRouter.setTitle(e)})),n.a.config.errorHandler=function(e,t,a){n.a.nextTick((function(){d["a"].commit("ADD_LOGS",{type:"error",message:e.message,stack:e.stack,info:a})}))},n.a.mixin({beforeRouteEnter:function(e,t,a){a((function(){var t=document.getElementById("avue-view");t&&e.meta.savedPosition&&(t.scrollTop=e.meta.savedPosition)}))},beforeRouteLeave:function(e,t,a){var r=this,i=document.getElementById("avue-view");if(t&&t.meta.keepAlive){i&&(t.meta.savedPosition=i.scrollTop);var n=!0===this.$route.meta.keepAlive&&d["a"].state.tags.tagList.some((function(e){return e.value===r.$route.fullPath}));if(this.$vnode&&!n&&(t.meta.savedPosition=0,this.$vnode.parent&&this.$vnode.parent.componentInstance&&this.$vnode.parent.componentInstance.cache&&this.$vnode.componentOptions)){var o=null==this.$vnode.key?this.$vnode.componentOptions.Ctor.cid+(this.$vnode.componentOptions.tag?"::".concat(this.$vnode.componentOptions.tag):""):this.$vnode.key,s=this.$vnode.parent.componentInstance.cache,l=this.$vnode.parent.componentInstance.keys;if(s[o]){if(l.length){var c=l.indexOf(o);c>-1&&l.splice(c,1)}delete s[o]}}}a()}});var g=a("0e0b"),y=["567566_pwc3oottzol"],v="../../public/css/fontSize.css",O="",_="".concat(O,"/code"),w=Object({NODE_ENV:"production",BASE_URL:"/"});("development"===w.NODE_ENV||"production"===w.NODE_ENV||"test"===w.NODE_ENV)&&(O="");var C=a("5f72"),j=a.n(C),S=a("9923"),k=(a("1be0"),a("c0fb")),D=a("dc8a"),T=a("63e7"),x=a("010b"),P=a("78fd"),R=a("1ca4"),E=(a("8e6e"),a("6762"),a("2fdb"),a("ade3")),L=a("5880");function F(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function A(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?F(Object(a),!0).forEach((function(t){Object(E["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):F(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var B=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={data:function(){return{selectionList:[],data:[],form:{},params:{},loading:!1,api:a("5384")("./".concat(t.name)),option:a("2666")("./".concat(t.name)).default,page:{pageSizes:[10,30,50,100,200],pageSize:10}}},computed:A(A({},Object(L["mapGetters"])(["userInfo","permission","roles"])),{},{ids:function(){var e=this,t=[];return this.selectionList.forEach((function(a){t.push(a[e.rowKey])})),t.join(",")},bindVal:function(){return{ref:"crud",option:this.option,data:this.data,tableLoading:this.loading}},onEvent:function(){return{"on-load":this.getList,"row-save":this.rowSave,"row-update":this.rowUpdate,"row-del":this.rowDel,"selection-change":this.selectionChange,"refresh-change":this.refreshChange,"date-change":this.dateChange,"search-change":this.searchChange,"search-reset":this.searchChange}},rowKey:function(){return this.option.rowKey||t.rowKey||"id"}}),methods:{getList:function(){var e=this,a=function(){e.loading=!0,e.api[t.list||"getList"](e.page.currentPage,e.page.pageSize,e.params).then((function(a){var r;r=t.res?t.res(a.data):a.data.data,e.page.total=r[t.total||"total"]||0,e.data=r[t.records||"records"],e.listAfter&&e.listAfter(r),e.loading=!1}))};this.listBefore&&this.listBefore(),a()},rowSave:function(e,a,r){var i=this,n=function(){delete i.form.params,i.api[t.add||"add"](i.form).then((function(e){i.getList(),i.addAfter?i.addAfter(e):i.$message.success("新增成功"),a()})).catch((function(){r()}))};this.addBefore&&this.addBefore(),n()},rowUpdate:function(e,a,r,i){var n=this,o=function(){delete n.form.params,n.api[t.update||"update"](n.form).then((function(e){n.getList(),n.updateAfter?n.updateAfter(e):n.$message.success("更新成功"),r()})).catch((function(){i()}))};this.updateBefore&&this.updateBefore(),o()},rowDel:function(e,a){var r=this,i=function(){r.api[t.del||"remove"](e[r.rowKey],e).then((function(t){r.getList(),r.delAfter?r.delAfter(t,e,a):r.$message.success("删除成功")}))};this.delBefore?(this.delBefore(),i()):this.$confirm("确定将选择数据删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){i()}))},handleDelete:function(){var e=this;0!==this.selectionList.length?this.$confirm("确定将选择数据删除?",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){e.api[t.del||"remove"](e.ids).then((function(t){e.getList(),e.delMultiAfter?e.delMultiAfter(t,e.ids):e.$message.success("删除成功")}))})):this.$message.warning("请选择至少一条数据")},searchChange:function(e,t){var a=this;t&&t(),this.validatenull(e)?Object.keys(this.params).forEach((function(e){["createTime_dategt","createTime_datelt"].includes(e)||delete a.params[e]})):Object.keys(e).forEach((function(t){a.validatenull(e[t])&&(delete a.params[t],delete e[t])})),this.params=Object.assign(this.params,e),this.page.currentPage=1,this.getList()},dateChange:function(e){e?(this.params.createTime_dategt=e[0],this.params.createTime_datelt=e[1]):(delete this.params.createTime_dategt,delete this.params.createTime_datelt),this.page.currentPage=1,this.getList()},selectionChange:function(e){this.selectionList=e},selectionClear:function(){this.selectionList=[],this.$refs.crud.toggleSelection()},refreshChange:function(){this.getList()}}};return e.mixins=e.mixins||[],e.mixins.push(r),e},I=a("4760"),$=a("6ab1"),M=a("0244"),V=a("bcc5"),N=a("1af7"),z=a("9053"),K=a("c7a0"),U=a("e5c3"),q=a("4805"),W=a("4b94"),H=a("a03c"),G=a("b1bb"),Q=a("800e"),X=a("ac45"),J=a("6eca"),Y=a("91c4"),Z=a("85ad"),ee=a("10dc"),te=a("c7a4"),ae=a("832b"),re=a("7f21"),ie=a("f23e"),ne=a("188d"),oe=a("bf9e"),se=a("4d0f"),le=a("512c"),ce=a("882c"),ue=a("e772"),de=a("0e37"),pe=a("53f1"),fe=a("a815"),me=a("ea0e"),he=a("d4b6"),be=a("d9a3"),ge=a("4eb5"),ye=a.n(ge),ve=a("c1df"),Oe=a.n(ve);n.a.prototype.$utilFunc=be["a"],window.$crudCommon=B,n.a.use(u["a"]),n.a.use(l.a,o["a"]),n.a.use(j.a,{i18n:function(e,t){return S["a"].t(e,t)}}),n.a.use(window.AVUE,{size:"small",tableSize:"small",calcHeight:65,i18n:function(e,t){return S["a"].t(e,t)}}),n.a.use(ye.a),n.a.prototype.$moment=Oe.a,n.a.component("basicContainer",D["default"]),n.a.component("basicBlock",k["default"]),n.a.component("thirdRegister",T["default"]),n.a.component("avueUeditor",P["a"]),n.a.component("flowDesign",x["default"]),n.a.component("tenantPackage",$["default"]),n.a.component("enupackage",M["default"]),n.a.component("Versionpackage",V["default"]),n.a.component("Businpackage",N["default"]),n.a.component("Relationpackage",z["default"]),n.a.component("Torelationpackage",K["default"]),n.a.component("originalRange",U["default"]),n.a.component("originalLink",q["default"]),n.a.component("classifyTrees",W["default"]),n.a.component("classifyTreeform",H["default"]),n.a.component("TemplatePro",G["default"]),n.a.component("formulaEditor",X["default"]),n.a.component("referConfigDialog",J["default"]),n.a.component("advancedQuery",ae["default"]),n.a.component("businessAdd",re["default"]),n.a.component("attrCrud",Q["default"]),n.a.component("VciMasterCrud",ie["default"]),n.a.component("originalAdd",ne["default"]),n.a.component("referBtmTypeCrudDialog",Y["default"]),n.a.component("referSelectBtmAttrDialog",Z["default"]),n.a.component("cloneOtherBasicSecDialog",te["default"]),n.a.component("cloneRuleDialog",ee["default"]),n.a.component("FormTemplateDialog",oe["default"]),n.a.component("LinkTypeAdd",se["default"]),n.a.component("MasterTree",le["default"]),n.a.component("FlowPath",ce["default"]),n.a.component("Stage",ue["default"]),n.a.component("Divider",I["default"]),n.a.component("businesswork",de["default"]),n.a.component("MasterTransfer",pe["default"]),n.a.component("ThemeImport",fe["default"]),n.a.component("maxSerialnumDialog",me["default"]),n.a.component("VciDockingSearch",he["default"]),Object.keys(r).forEach((function(e){n.a.prototype[e]=r[e]})),n.a.use(window.WfDesignBase),n.a.prototype.website=R["a"],y.forEach((function(e){Object(g["h"])(v.replace("$key",e))})),n.a.config.productionTip=!1,new n.a({router:u["a"],store:d["a"],i18n:S["a"],render:function(e){return e(c["default"])}}).$mount("#app")},5821:function(e,t,a){"use strict";a.r(t),a.d(t,"getFlowpathList",(function(){return i})),a.d(t,"getStartList",(function(){return n})),a.d(t,"flowpathSave",(function(){return o})),a.d(t,"flowpathDelete",(function(){return s})),a.d(t,"stagelist",(function(){return l})),a.d(t,"attributeList",(function(){return c})),a.d(t,"attributeListRight",(function(){return u})),a.d(t,"attributeSave",(function(){return d})),a.d(t,"getBtnTask",(function(){return p})),a.d(t,"ExamineTask",(function(){return f}));var r=a("b5c6"),i=function(e){return Object(r["a"])({url:"/api/ubcs-flow/processTS/tlist",method:"get",params:e})},n=function(){return Object(r["a"])({url:"/api/ubcs-flow/work/start-list",method:"get",params:{mode:"1",current:1,size:100}})},o=function(e){return Object(r["a"])({url:"/api/ubcs-flow/processTS/tsou",method:"post",data:e})},s=function(e){return Object(r["a"])({url:"/api/ubcs-flow/processTS/dt",method:"delete",params:e})},l=function(e){return Object(r["a"])({url:"/api/ubcs-flow/processTS/sslist",method:"get",params:e})},c=function(e){return Object(r["a"])({url:"/api/ubcs-code/codeTempPhaseController/gridUnUsedAttribute",method:"get",params:e})},u=function(e){return Object(r["a"])({url:"/api/ubcs-flow/processTS/ssslist",method:"get",params:e})},d=function(e){return Object(r["a"])({url:"/api/ubcs-flow/processTS/sasou",method:"post",data:e})},p=function(e){return Object(r["a"])({url:"/api/ubcs-flow/vciflow/next",method:"post",data:e})},f=function(e){return Object(r["a"])({url:"/api/ubcs-flow/work/complete-task",method:"post",data:e})}},5880:function(e,t){e.exports=Vuex},"58fc":function(e,t,a){},"5a04":function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return s})),a.d(t,"getLazyTree",(function(){return l})),a.d(t,"getDetail",(function(){return c})),a.d(t,"remove",(function(){return u})),a.d(t,"submit",(function(){return d}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-system/region/list",method:"get",params:o(o({},a),{},{current:e,size:t})})},l=function(e,t){return Object(i["a"])({url:"/api/ubcs-system/region/lazy-tree",method:"get",params:o(o({},t),{},{parentCode:e})})},c=function(e){return Object(i["a"])({url:"/api/ubcs-system/region/detail",method:"get",params:{code:e}})},u=function(e){return Object(i["a"])({url:"/api/ubcs-system/region/remove",method:"post",params:{id:e}})},d=function(e){return Object(i["a"])({url:"/api/ubcs-system/region/submit",method:"post",data:e})}},"5a04d":function(e,t,a){"use strict";a("db03")},"5a17":function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return s})),a.d(t,"getDetail",(function(){return l})),a.d(t,"remove",(function(){return c})),a.d(t,"add",(function(){return u})),a.d(t,"update",(function(){return d})),a.d(t,"grantTree",(function(){return p})),a.d(t,"getTopTree",(function(){return f})),a.d(t,"grant",(function(){return m}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-system/topmenu/list",method:"get",params:o(o({},a),{},{current:e,size:t})})},l=function(e){return Object(i["a"])({url:"/api/ubcs-system/topmenu/detail",method:"get",params:{id:e}})},c=function(e){return Object(i["a"])({url:"/api/ubcs-system/topmenu/remove",method:"post",params:{ids:e}})},u=function(e){return Object(i["a"])({url:"/api/ubcs-system/topmenu/submit",method:"post",data:e})},d=function(e){return Object(i["a"])({url:"/api/ubcs-system/topmenu/submit",method:"post",data:e})},p=function(){return Object(i["a"])({url:"/api/ubcs-system/menu/grant-top-tree",method:"get"})},f=function(e){return Object(i["a"])({url:"/api/ubcs-system/menu/top-tree-keys",method:"get",params:{topMenuIds:e}})},m=function(e,t){return Object(i["a"])({url:"/api/ubcs-system/topmenu/grant",method:"post",data:{topMenuIds:e,menuIds:t}})}},"5ddc":function(e,t,a){"use strict";a.r(t);var r=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(a){return t("el-tab-pane",{key:a.value,attrs:{label:e.generateTitle(a),name:a.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()},i=[],n=(a("8e6e"),a("ac6a"),a("456d"),a("7f7f"),a("ade3")),o=a("5880"),s=a("c24f");function l(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function c(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?l(Object(a),!0).forEach((function(t){Object(n["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):l(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,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,a=!1;t.className.indexOf("el-tabs__item")>-1?a=!0:t.parentNode.className.indexOf("el-tabs__item")>-1&&(t=t.parentNode,a=!0),a&&(e.preventDefault(),e.stopPropagation(),this.contentmenuX=e.clientX,this.contentmenuY=e.clientY,this.tagName=t.getAttribute("aria-controls").slice(5),this.contextmenuFlag=!0)},setActive:function(){this.active=this.tag.value},menuTag:function(e,t){if("remove"===t){var a=this.findTag(e),r=a.tag,i=a.key;this.$store.commit("DEL_TAG",r),r.value===this.tag.value&&(r=this.tagList[0===i?i:i-1],this.openTag(r))}},openTag:function(e){var t;t=e.name?this.findTag(e.name).tag:e,this.$router.push({path:this.$router.$avueRouter.getPath({name:t.label,src:t.value},t.meta),query:t.query})},closeOthersTags:function(){this.contextmenuFlag=!1,this.$store.commit("DEL_TAG_OTHER")},findTag:function(e){var t,a;return this.tagList.map((function(r,i){r.value===e&&(t=r,a=i)})),{tag:t,key:a}},closeAllTags:function(){this.contextmenuFlag=!1,this.$store.commit("DEL_ALL_TAG"),this.$router.push({path:this.$router.$avueRouter.getPath({src:this.tagWel.value}),query:this.tagWel.query})},clearCacheTags:function(){var e=this;this.$confirm("是否需要清除缓存?",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){Object(s["clearCache"])().then((function(){e.contextmenuFlag=!1,e.$message.success("清除完毕")}))}))}}},d=u,p=a("2877"),f=Object(p["a"])(d,r,i,!1,null,null,null);t["default"]=f.exports},"5f72":function(e,t){e.exports=ELEMENT},6044:function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return s})),a.d(t,"getDetail",(function(){return l})),a.d(t,"remove",(function(){return c})),a.d(t,"add",(function(){return u})),a.d(t,"update",(function(){return d}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-resource/attach/list",method:"get",params:o(o({},a),{},{current:e,size:t})})},l=function(e){return Object(i["a"])({url:"/api/ubcs-resource/attach/detail",method:"get",params:{id:e}})},c=function(e){return Object(i["a"])({url:"/api/ubcs-resource/attach/remove",method:"post",params:{ids:e}})},u=function(e){return Object(i["a"])({url:"/api/ubcs-resource/attach/submit",method:"post",data:e})},d=function(e){return Object(i["a"])({url:"/api/ubcs-resource/attach/submit",method:"post",data:e})}},"608a":function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return s})),a.d(t,"add",(function(){return l})),a.d(t,"edit",(function(){return c})),a.d(t,"del",(function(){return u})),a.d(t,"push",(function(){return d})),a.d(t,"updateStatus",(function(){return p}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-code/dockingManagement/gridSystemConfig",method:"get",params:o(o({},a),{},{page:e,size:t})})},l=function(e){return Object(i["a"])({url:"/api/ubcs-code/dockingManagement/addSaveSystemConfig",method:"post",data:e})},c=function(e){return Object(i["a"])({url:"/api/ubcs-code/dockingManagement/editSystemConfig",method:"post",data:e})},u=function(e){var t="/api/ubcs-code/dockingManagement/deleteSystemConfigsById";return Object(i["a"])({url:t,method:"delete",params:o({},e)})},d=function(e){return Object(i["a"])({url:"/api/ubcs-code/dockingManagement/pushData",method:"post",data:e})},p=function(e){return Object(i["a"])({url:"/api/ubcs-code/dockingManagement/updateStatus",method:"post",data:e})}},"61f2":function(e,t,a){},6216:function(e,t,a){},6279:function(e,t,a){},"62ed":function(e,t,a){"use strict";a.r(t),a.d(t,"getUsualList",(function(){return i})),a.d(t,"getApiList",(function(){return n})),a.d(t,"getErrorList",(function(){return o})),a.d(t,"getUsualLogs",(function(){return s})),a.d(t,"getApiLogs",(function(){return l})),a.d(t,"getErrorLogs",(function(){return c}));var r=a("b5c6"),i=function(e,t){return Object(r["a"])({url:"/api/ubcs-log/usual/list",method:"get",params:{current:e,size:t}})},n=function(e,t){return Object(r["a"])({url:"/api/ubcs-log/api/list",method:"get",params:{current:e,size:t}})},o=function(e,t){return Object(r["a"])({url:"/api/ubcs-log/error/list",method:"get",params:{current:e,size:t}})},s=function(e){return Object(r["a"])({url:"/api/ubcs-log/usual/detail",method:"get",params:{id:e}})},l=function(e){return Object(r["a"])({url:"/api/ubcs-log/api/detail",method:"get",params:{id:e}})},c=function(e){return Object(r["a"])({url:"/api/ubcs-log/error/detail",method:"get",params:{id:e}})}},6389:function(e,t){e.exports=VueRouter},"63cb":function(e,t,a){},"63e7":function(e,t,a){"use strict";a.r(t);a("7f7f");var r=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)},i=[],n=(a("8e6e"),a("ac6a"),a("456d"),a("ade3")),o=a("5880"),s=a("c54a"),l=a("c24f"),c=a("0e0b"),u=a("ccbe"),d=a("9883");function p(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function f(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?p(Object(a),!0).forEach((function(t){Object(n["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):p(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,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 a=t.data;a.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(a.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 a=t.data;a.success&&a.data.tenantId&&(e.form.tenantId=a.data.tenantId,e.tenantMode=!1)}))}}},h=m,b=a("2877"),g=Object(b["a"])(h,r,i,!1,null,null,null);t["default"]=g.exports},"64c4":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("div",{staticClass:"el-transfer-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(a){return t("el-radio",{key:a[e.keyProp],staticClass:"el-transfer-panel__item",attrs:{label:a[e.keyProp],disabled:a[e.disabledProp]}},[t("option-content",{attrs:{option:a}})],1)})),1),t("p",{directives:[{name:"show",rawName:"v-show",value:e.hasNoMatch,expression:"hasNoMatch"}],staticClass:"el-transfer-panel__empty"},[e._v(e._s(e.t("el.transfer.noMatch")))]),t("p",{directives:[{name:"show",rawName:"v-show",value:0===e.data.length&&!e.hasNoMatch,expression:"data.length === 0 && !hasNoMatch"}],staticClass:"el-transfer-panel__empty"},[e._v(e._s(e.t("el.transfer.noData")))])],1),e.hasFooter?t("p",{staticClass:"el-transfer-panel__footer"},[e._t("default")],2):e._e()])},i=[],n=(a("a481"),a("6b54"),a("ac6a"),a("73d7")),o=a("9c1a"),s=a("ffa3"),l=a("d4b4"),c={mixins:[l["a"]],name:"ElTransferPanel",componentName:"ElTransferPanel",components:{ElCheckboxGroup:n["a"],ElCheckbox:o["a"],ElInput:s["a"],OptionContent:{props:{option:Object},render:function(e){var t=function e(t){return"ElTransferPanel"===t.$options.componentName?t:t.$parent?e(t.$parent):t},a=t(this),r=a.$parent||a;return a.renderContent?a.renderContent(e,this.option):r.$scopedSlots.default?r.$scopedSlots.default({option:this.option}):e("span",[this.option[a.labelProp]||this.option[a.keyProp]])}}},props:{data:{type:Array,default:function(){return[]}},renderContent:Function,placeholder:String,title:String,filterable:Boolean,format:Object,filterMethod:Function,defaultChecked:Array,props:Object},data:function(){return{checked:[],allChecked:!1,query:"",inputHover:!1,checkChangeByUser:!0}},watch:{checked:function(e,t){this.updateAllChecked();var a=Array.isArray(e)?e:[e],r=Array.isArray(t)?t:[t];if(this.checkChangeByUser){var i=a.concat(r).filter((function(e){return-1===a.indexOf(e)||-1===r.indexOf(e)}));this.$emit("checked-change",a,i)}else this.$emit("checked-change",a),this.checkChangeByUser=!0},data:function(){var e=this,t=[],a=this.filteredData.map((function(t){return t[e.keyProp]})),r=Array.isArray(this.checked)?this.checked:[this.checked];r.forEach((function(e){a.indexOf(e)>-1&&t.push(e)})),this.checkChangeByUser=!1,this.checked=t},checkableData:function(){this.updateAllChecked()},defaultChecked:{immediate:!0,handler:function(e,t){var a=this;if(!t||e.length!==t.length||!e.every((function(e){return t.indexOf(e)>-1}))){var r=[],i=this.checkableData.map((function(e){return e[a.keyProp]}));e.forEach((function(e){i.indexOf(e)>-1&&r.push(e)})),this.checkChangeByUser=!1,this.checked=r}}}},computed:{filteredData:function(){var e=this;return this.data.filter((function(t){if("function"===typeof e.filterMethod)return e.filterMethod(e.query,t);var a=t[e.labelProp]||t[e.keyProp].toString();return a.toLowerCase().indexOf(e.query.toLowerCase())>-1}))},checkableData:function(){var e=this;return this.filteredData.filter((function(t){return!t[e.disabledProp]}))},checkedSummary:function(){var e=this.checked.length,t=this.data.length,a=this.format,r=a.noChecked,i=a.hasChecked;return r&&i?e>0?i.replace(/\${checked}/g,e).replace(/\${total}/g,t):r.replace(/\${total}/g,t):"".concat(e,"/").concat(t)},isIndeterminate:function(){var e=this.checked.length;return e>0&&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=a("2877"),p=Object(d["a"])(u,r,i,!1,null,null,null);t["default"]=p.exports},"65ea":function(e,t,a){"use strict";a("e50c")},6612:function(e,t,a){},6657:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("div",[t("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{data:e.tableData,height:"250",border:!0,size:"small"}},[e.column.length>0?t("el-table-column",{attrs:{type:"index",width:"60",label:"序号",align:"center"}}):e._e(),e._l(e.column[0],(function(a){return t("el-table-column",{key:a.field,attrs:{prop:a.field,label:a.title,"min-width":a.width,align:"center"},scopedSlots:e._u(["id"===a.field?{key:"default",fn:function(a){var r=a.row;return[t("el-button",{attrs:{type:"text"},on:{click:function(t){return e.openFormTemlpate(r)}}},[e._v(e._s(r.id))])]}}:{key:"default",fn:function(r){var i=r.row;return[t("span",[e._v(e._s(i[a.field]))])]}}],null,!0)})}))],2),t("FormTemplateDialog",{ref:"FormTemplateDialog",attrs:{type:"detail",visible:e.formTemplateVisible,templateOid:e.resembleTemplateOid,rowOid:e.rowOid,title:"查看详细信息",codeClassifyOid:this.resembleCodeClassifyOid},on:{"update:visible":function(t){e.formTemplateVisible=t}}})],1)},i=[],n=(a("6762"),a("2fdb"),a("96cf"),a("1da1")),o=a("902d"),s={name:"ResembleQuery",components:{FormTemplateDialog:function(){return Promise.resolve().then(a.bind(null,"bf9e"))}},props:{column:{type:Array,default:function(){return[]}},codeClassifyOid:{type:String,default:""},templateOid:{type:String,default:""},codeRuleOid:{type:String,default:""},type:{type:String,default:"add"}},data:function(){return{formTemplateVisible:!1,activeName:"findlike",tableData:[],loading:!1,resembleTemplateOid:"",resembleCodeClassifyOid:"",rowOid:"",defaultValue:{},secVOList:[],defaultKeys:["oid","id","name","description","revisionoid","nameoid","btmname","lastr","firstr","lastv","firstv","creator","createtime","lastModifier","lastmodifytime","revisionrule","revisionseq","revisionvalue","versionrule","versionseq","versionvalue","lcstatus","ts","owner","checkinby","checkintime","checkoutby","checkouttime","copyfromversion","secretgrade"],formItems:[]}},methods:{resembleQuery:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var a,r,i,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.loading=!0,this.activeName="findlike",a=this.getDefaultValueAndFormValues(t),r=a.defaultValue,i=a.formValue,n={codeClassifyOid:this.codeClassifyOid,codeRuleOid:this.codeRuleOid,templateOid:this.templateOid,data:i},n=Object.assign(n,r),e.next=7,Object(o["findLike"])(n);case 7:if(e.t0=e.sent.data.data,e.t0){e.next=10;break}e.t0=[];case 10:return this.tableData=e.t0,this.loading=!1,e.abrupt("return",this.tableData);case 13:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}(),openFormTemlpate:function(e){this.resembleTemplateOid=e.codetemplateoid,this.resembleCodeClassifyOid=e.codeClassifyOid,this.rowOid=e.oid,this.formTemplateVisible=!0},getDefaultValueAndFormValues:function(e){var t={},a={};for(var r in e)if(Object.hasOwnProperty.call(e,r)){var i=e[r];this.defaultKeys.includes(r)?t[r]=i:a[r]=i}return{defaultValue:t,formValue:a}}}},l=s,c=a("2877"),u=Object(c["a"])(l,r,i,!1,null,null,null);t["default"]=u.exports},6868:function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return i})),a.d(t,"add",(function(){return n})),a.d(t,"edit",(function(){return o})),a.d(t,"detail",(function(){return s})),a.d(t,"del",(function(){return l})),a.d(t,"getEventList",(function(){return c}));var r=a("b5c6"),i=function(e){return Object(r["a"])({url:"/api/ubcs-omd/lifeCycle/page",method:"get",params:e})},n=function(e){return Object(r["a"])({url:"/api/ubcs-omd/lifeCycle/submit",method:"post",data:e})},o=function(e){return Object(r["a"])({url:"/api/ubcs-omd/lifeCycle/edit-save",method:"put",data:e})},s=function(e){return Object(r["a"])({url:"/api/ubcs-omd/lifeCycle/detail",method:"get",params:e})},l=function(e,t){var a="/api/ubcs-omd/lifeCycle/remove";return t&&(a="/api/ubcs-omd/lifeCycle/batch-remove"),Object(r["a"])({url:a,method:"post",data:e})},c=function(e){return Object(r["a"])({url:"/api/ubcs-omd/lifeCycle/page-event",method:"get",params:e})};t["default"]={getList:i,add:n,detail:s,del:l,edit:o,getEventList:c}},6872:function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return s})),a.d(t,"getPage",(function(){return l})),a.d(t,"remove",(function(){return c})),a.d(t,"add",(function(){return u})),a.d(t,"update",(function(){return d})),a.d(t,"queryPage",(function(){return p})),a.d(t,"getApplyRange",(function(){return f}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-omd/attribute/list",method:"get",params:o(o({},a),{},{current:e,size:t})})},l=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-omd/attribute/page",method:"get",params:o(o({},a),{},{current:e,size:t})})},c=function(e){return Object(i["a"])({url:"/api/ubcs-omd/attribute/remove",method:"post",params:{oid:e}})},u=function(e){return Object(i["a"])({url:"/api/ubcs-omd/attribute/submit",method:"post",data:e})},d=function(e){return Object(i["a"])({url:"/api/ubcs-omd/attribute/submit",method:"post",data:e})},p=function(e,t,a,r){return Object(i["a"])({url:"/api/ubcs-omd/attribute/query-page",method:"get",params:{key:e,notInStr:t,current:a,size:r}})},f=function(e){return Object(i["a"])({url:"/api/ubcs-omd/attribute/apply-range",method:"get",params:{oid:e}})}},"68f1":function(e,t,a){"use strict";a("c8c6")},"6ab1":function(e,t,a){"use strict";a.r(t);var r=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)},i=[],n=(a("8e6e"),a("456d"),a("6762"),a("2fdb"),a("ac6a"),a("ade3")),o=a("0e3d"),s=a("5880"),l=a("a6dc");function c(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function u(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?c(Object(a),!0).forEach((function(t){Object(n["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):c(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,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 a=e.findObject(e.option.column,"menuId");a.dicData=t.data.data}))},rowSave:function(e,t,a){var r=this;e.menuId=e.menuId.join(","),Object(o["add"])(e).then((function(){r.onLoad(r.page),r.$message({type:"success",message:"操作成功!"}),t()}),(function(e){a(),window.console.log(e)}))},rowUpdate:function(e,t,a,r){var i=this;Object(o["update"])(e).then((function(){i.onLoad(i.page),i.$message({type:"success",message:"操作成功!"}),a()}),(function(e){r(),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 a=this;["add","edit"].includes(t)&&this.initData(),["edit","view"].includes(t)&&Object(o["getDetail"])(this.form.id).then((function(e){a.form=e.data.data})),e()},searchReset:function(){this.query={},this.onLoad(this.page)},searchChange:function(e,t){this.query=e,this.page.currentPage=1,this.onLoad(this.page,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,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.loading=!0,Object(o["getList"])(e.currentPage,e.pageSize,Object.assign(a,this.query)).then((function(e){var a=e.data.data;t.page.total=a.total,t.data=a.records,t.loading=!1,t.selectionClear()}))}}},p=d,f=a("2877"),m=Object(f["a"])(p,r,i,!1,null,null,null);t["default"]=m.exports},"6e8c":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return e.display?t("div",["tree"==e.refertype?t("vciWebReferTree",{key:e.key,ref:"vciWebReferTree",attrs:{"data-key":e.key,value:e.value,text:e.text,title:e.title,disabled:e.disabled,referConfig:e.referConfig},on:{setValue:e.setValue}}):"table"==e.refertype?t("vciWebReferTable",{key:e.key,attrs:{"data-key":e.key,value:e.value,text:e.text,title:e.title,disabled:e.disabled,referConfig:e.referConfig},on:{setValue:e.setValue}}):t("vciWebReferDefalut",{key:e.key,attrs:{"data-key":e.key,value:e.value,text:e.text,title:e.title,disabled:e.disabled,referConfig:e.referConfig},on:{setValue:e.setValue}})],1):e._e()},i=[],n=(a("a481"),a("bd80")),o=a("b12a"),s=a("89bb"),l={name:"vciWebRefer",props:["referConfig","value","text","disabled","display","key"],components:{vciWebReferTree:n["default"],vciWebReferTable:o["default"],vciWebReferDefalut:s["default"]},data:function(){return{reterTypeLeavl:"213",refertype:this.referConfig.options.type,emitData:{},title:"",display:this.display||!0,disabled:this.disabled||!1}},created:function(){this.referConfig.options||void 0!=this.referConfig.options.isMuti||(this.referConfig.options={isMuti:this.referConfig.options.muti||!1})},mounted:function(){var e=this.referConfig.title||"";e=e.replace(":",""),e=e?"为【"+e+"】选取值":"为【"+this.referConfig.showField+"】选取值",this.title=e},methods:{setValue:function(e){this.emitData=e}},watch:{emitData:{deep:!0,immediate:!0,handler:function(e){this.text=e.text,this.value=e.value,this.$emit("setReferValue",e)}}}},c=l,u=a("2877"),d=Object(u["a"])(c,r,i,!1,null,"2f2bd934",null);t["default"]=d.exports},"6ea1":function(e,t,a){},"6eca":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return e.display?t("div",[t("refer-config-form-dialog",{ref:"referConfigFormDialog",on:{echoReferConfig:e.echoReferConfig}}),t("refer-config-crud-dialog",{ref:"referConfigCrudDialog",on:{openReconfigInterFace:e.openReconfigInterFace,echoReferConfig:e.echoReferConfig}})],1):e._e()},i=[],n=a("baf2"),o=a("c5e0"),s=a("d9a3"),l={name:"referConfigDialog",props:["referConfigOption","display"],components:{referConfigFormDialog:n["default"],referConfigCrudDialog:o["default"]},data:function(){return{}},watch:{referConfigOption:function(){s["a"].notEmpty(this.referConfigOption.referConfig)||s["a"].notEmpty(this.referConfigOption.referBtmId)?this.openReconfigInterFace(this.referConfigOption):this.openTipsChooseOrCust()}},methods:{openReconfigInterFace:function(e){var t=this,a=e,r={referTypeName:a.referBtmName||"",referType:a.referBtmId||""};if(this.referConfigOption.referConfig){var i=JSON.parse(a.referConfig);i.referType!=a.referBtmId&&r.referType&&(i.referType=a.referBtmId||"",i.referTypeName=a.referBtmName||a.referBtmId,this.referConfigOption.referConfig=JSON.stringify(i)),this.$set(r,"referConfig",this.referConfigOption.referConfig)}this.$nextTick((function(){t.$refs.referConfigFormDialog.isShowReferConfigForm=!0,t.$refs.referConfigFormDialog.initPageData(r)}))},openTipsChooseOrCust:function(){var e=this;this.$confirm("请选择参照配置的定义方式?","参照配置的方式",{distinguishCancelAndClose:!0,closeOnClickModal:!1,confirmButtonText:"自定义参照配置",cancelButtonText:"直接选择参照配置"}).then((function(){e.$refs.referConfigFormDialog.isShowReferConfigForm=!0})).catch((function(t){"cancel"===t&&(e.$refs.referConfigCrudDialog.isShowReferConfigCrud=!0)}))},echoReferConfig:function(e){this.$emit("setReferConfigValue",e)}}},c=l,u=a("2877"),d=Object(u["a"])(c,r,i,!1,null,null,null);t["default"]=d.exports},"6f18":function(e,t,a){"use strict";a("7d47")},"736a":function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return s})),a.d(t,"build",(function(){return l})),a.d(t,"remove",(function(){return c})),a.d(t,"add",(function(){return u})),a.d(t,"update",(function(){return d})),a.d(t,"copy",(function(){return p})),a.d(t,"getCode",(function(){return f}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-develop/code/list",method:"get",params:o(o({},a),{},{current:e,size:t})})},l=function(e){return Object(i["a"])({url:"/api/ubcs-develop/code/gen-code",method:"post",params:{ids:e,system:"saber"}})},c=function(e){return Object(i["a"])({url:"/api/ubcs-develop/code/remove",method:"post",params:{ids:e}})},u=function(e){return Object(i["a"])({url:"/api/ubcs-develop/code/submit",method:"post",data:e})},d=function(e){return Object(i["a"])({url:"/api/ubcs-develop/code/submit",method:"post",data:e})},p=function(e){return Object(i["a"])({url:"/api/ubcs-develop/code/copy",method:"post",params:{id:e}})},f=function(e){return Object(i["a"])({url:"/api/ubcs-develop/code/detail",method:"get",params:{id:e}})}},7416:function(e,t,a){"use strict";a("daf0")},"741a":function(e,t,a){"use strict";a("7f7f"),a("6762");var r=a("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(r["getCodeRule"])({codeClassifyOid:this.localCodeClassifyOid||this.codeClassifyOid}).then((function(t){if(t.data&&200===t.data.code){var a=["codefixedsec","codeclassifysec","codevariablesec","coderefersec"];e.secVOList=t.data.data.secVOList||[],e.localSecVOList=(t.data.data.secVOList||[]).filter((function(e){return a.includes(e.secType)})),e.localSecVOList.length>0?(e.showCodeApply=!0,e.$nextTick((function(){e.batchApplyCodeTableData&&(e.batchApplyCodeTableData[e.codeRuleOid]["localSecVOList"]=e.localSecVOList),e.$refs.CodeApply.templateRender(e.localSecVOList)}))):e.showCodeApply=!1}}))},getCodeApplyFormData:function(e){this.codeApplyForm=e,this.batchApplyCodeTableData&&(this.batchApplyCodeTableData[this.codeRuleOid]["codeApply"]=e)},getType:function(e){return console.log(e.secType,"item.secType"),this.selfColumnType[e.secType]},getReferConfig:function(e){var t={};return"codeclassifysec"==e.secType?t={isMuti:!1,type:"grid",tableConfig:{limit:-1,cols:[{field:"id",title:"英文名称",sort:!0,width:150},{field:"name",title:"中文名称",sort:!0,width:150},{field:"description",title:"描述",width:250}],queryColumns:[{field:"id",title:"英文名称"},{field:"name",title:"中文名称"}]},url:"api/ubcs-code/ubcs-code/mdmEngineController/listCodeClassifyValueBySecOid",extraParams:{classifySecOid:e.oid,parentClassifyValueOid:e.parentClassifySecOid?this.codeApplyForm[e.parentClassifySecOid]:""}}:"coderefersec"==e.secType&&(t=JSON.parse(e.referValueInfo)),t},getDisabled:function(e){if("codeclassifysec"===e.secType&&e.parentClassifySecOid)return!this.codeApplyForm[e.parentClassifySecOid]},isRequired:function(e){return"true"!=e.nullableFlag},getOptionList:function(e){if(Array.isArray(e.fixedValueVOList)&&e.fixedValueVOList.length>0){var t={key:"id",value:"id"},a=e.fixedValueVOList.map((function(e){for(var a in t)if(Object.hasOwnProperty.call(t,a)){var r=t[a];e[a]=e[r]}return e}));return a}return[]},referConfigDataUpdate:function(e){var t=this,a=e.field;this.localSecVOList=this.localSecVOList.map((function(e){return e.parentClassifySecOid===a&&(t.$refs.CodeApply.form[e.oid]=void 0,t.$refs.CodeApply.form[e.name]=void 0),e})),this.$refs.CodeApply.templateRender(this.localSecVOList)}}}},"74b1":function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return s})),a.d(t,"getPostList",(function(){return l})),a.d(t,"getDetail",(function(){return c})),a.d(t,"remove",(function(){return u})),a.d(t,"add",(function(){return d})),a.d(t,"update",(function(){return p}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-system/post/list",method:"get",params:o(o({},a),{},{current:e,size:t})})},l=function(e){return Object(i["a"])({url:"/api/ubcs-system/post/select",method:"get",params:{tenantId:e}})},c=function(e){return Object(i["a"])({url:"/api/ubcs-system/post/detail",method:"get",params:{id:e}})},u=function(e){return Object(i["a"])({url:"/api/ubcs-system/post/remove",method:"post",params:{ids:e}})},d=function(e){return Object(i["a"])({url:"/api/ubcs-system/post/submit",method:"post",data:e})},p=function(e){return Object(i["a"])({url:"/api/ubcs-system/post/submit",method:"post",data:e})}},7505:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("div",{staticClass:"menu-wrapper"},[e._l(e.menu,(function(a){return[e.validatenull(a[e.childrenKey])&&e.vaildRoles(a)?t("el-menu-item",{key:a[e.labelKey],class:{"is-active":e.vaildActive(a)},attrs:{index:a[e.pathKey]},on:{click:function(t){return e.open(a)}}},[t("i",{class:a[e.iconKey]}),t("span",{attrs:{slot:"title",alt:a[e.pathKey]},slot:"title"},[e._v(e._s(e.generateTitle(a)))])]):!e.validatenull(a[e.childrenKey])&&e.vaildRoles(a)?t("el-submenu",{key:a[e.labelKey],attrs:{index:a[e.pathKey]}},[t("template",{slot:"title"},[t("i",{class:a[e.iconKey]}),t("span",{class:{"el-menu--display":e.collapse&&e.first},attrs:{slot:"title"},slot:"title"},[e._v(e._s(e.generateTitle(a)))])]),e._l(a[e.childrenKey],(function(a,r){return[e.validatenull(a[e.childrenKey])?t("el-menu-item",{key:a[e.labelKey],class:{"is-active":e.vaildActive(a)},attrs:{index:a[e.pathKey],cindex:r},on:{click:function(t){return e.open(a)}}},[t("i",{class:a[e.iconKey]}),t("span",{attrs:{slot:"title"},slot:"title"},[e._v(e._s(e.generateTitle(a)))])]):t("sidebar-item",{key:r,attrs:{menu:[a],props:e.props,screen:e.screen,collapse:e.collapse}})]}))],2):e._e()]}))],2)},i=[],n=(a("8e6e"),a("ac6a"),a("456d"),a("6762"),a("2fdb"),a("ade3")),o=(a("c5f6"),a("5880")),s=a("c54a"),l=a("b297");function c(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function u(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?c(Object(a),!0).forEach((function(t){Object(n["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):c(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,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 a=(e["group"]||[]).some((function(e){return t.$route.path.includes(e)}));return this.nowTagValue===e[this.pathKey]||a},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=a("2877"),m=Object(f["a"])(p,r,i,!1,null,null,null);t["default"]=m.exports},7596:function(e,t,a){"use strict";a("2fa1")},"76c2":function(e,t,a){"use strict";a.r(t);var r=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(a,r){return t("div",{key:r,staticClass:"avue-searchs__item",on:{click:function(t){return e.handleSelect(a)}}},[t("i",{class:[a[e.iconKey],"avue-searchs__item-icon"]}),t("span",{staticClass:"avue-searchs__item-title"},[e._v(e._s(a[e.labelKey]))]),t("div",{staticClass:"avue-searchs__item-path"},[e._v("\n "+e._s(a[e.pathKey])+"\n ")])])})),0)],1)])])},i=[],n=(a("8e6e"),a("ac6a"),a("456d"),a("7f7f"),a("ade3")),o=a("b297"),s=a("5880");function l(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function c(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?l(Object(a),!0).forEach((function(t){Object(n["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):l(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,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(a){for(var r=0;r<a.length;r++){var i=Object.assign({},a[r]);e.validatenull(i[e.childrenKey])?e.menuList.push(i):t(i[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=(a("1557"),a("2877")),f=Object(p["a"])(d,r,i,!1,null,"47d73e63",null);t["default"]=f.exports},"76e7":function(e,t,a){"use strict";a.r(t);var r=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:"35%"},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)},i=[],n=(a("8e6e"),a("456d"),a("20d6"),a("7f7f"),a("ac6a"),a("ade3")),o=a("49ce"),s=a("b0b8"),l=a.n(s);function c(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function u(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?c(Object(a),!0).forEach((function(t){Object(n["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):c(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,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,a=this.props.key,r=this.data.map((function(a){var r=u({disabled:!1},a);return 0!==e.disabledData.length&&e.disabledData.forEach((function(e){r[t]===e&&(r.disabled=!0)})),r}));return r.map((function(r){var i,o=l.a.getFullChars(r[e.props.label]),s=l.a.getCamelChars(r[e.props.label]),c=(i={pinyins:o,renPing:s},Object(n["a"])(i,t,r[e.props.label]),Object(n["a"])(i,a,r[e.props.key]),Object(n["a"])(i,"disabled",r.disabled),i);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,a=t.findIndex((function(t){return t.oid===e.transferValue[0].oid}));t[a].disabled=!0;var r={value:this.transferValue,data:t};e.$emit("save",r),e.transferValue=[],e.inputVal=""}}},p=d,f=(a("9d2d"),a("2877")),m=Object(f["a"])(p,r,i,!1,null,"1c728115",null);t["default"]=m.exports},7754:function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return s})),a.d(t,"getParentList",(function(){return l})),a.d(t,"getChildList",(function(){return c})),a.d(t,"remove",(function(){return u})),a.d(t,"add",(function(){return d})),a.d(t,"update",(function(){return p})),a.d(t,"getDict",(function(){return f})),a.d(t,"getDictTree",(function(){return m})),a.d(t,"getDictionary",(function(){return h}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-system/dict/list",method:"get",params:o(o({},a),{},{current:e,size:t})})},l=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-system/dict/parent-list",method:"get",params:o(o({},a),{},{current:e,size:t})})},c=function(e,t,a,r){return Object(i["a"])({url:"/api/ubcs-system/dict/child-list",method:"get",params:o(o({},r),{},{current:e,size:t,parentId:a})})},u=function(e){return Object(i["a"])({url:"/api/ubcs-system/dict/remove",method:"post",params:{ids:e}})},d=function(e){return Object(i["a"])({url:"/api/ubcs-system/dict/submit",method:"post",data:e})},p=function(e){return Object(i["a"])({url:"/api/ubcs-system/dict/submit",method:"post",data:e})},f=function(e){return Object(i["a"])({url:"/api/ubcs-system/dict/detail",method:"get",params:{id:e}})},m=function(){return Object(i["a"])({url:"/api/ubcs-system/dict/tree?code=DICT",method:"get"})},h=function(e){return Object(i["a"])({url:"/api/ubcs-system/dict/dictionary",method:"get",params:e})}},"78e2":function(e,t,a){"use strict";a.r(t),a.d(t,"downloadHistoryImportTemplate",(function(){return i})),a.d(t,"downloadBatchApplyCodeTemplate",(function(){return n})),a.d(t,"downloadBatchImportApplyTemplate",(function(){return o})),a.d(t,"downloadErrorFile",(function(){return s})),a.d(t,"importDataShow",(function(){return l})),a.d(t,"getSuccessTable",(function(){return c})),a.d(t,"getResembleTable",(function(){return u})),a.d(t,"getFormTemplate",(function(){return d})),a.d(t,"getCurretnSelectedRowResemble",(function(){return p})),a.d(t,"submitHistoryimport",(function(){return f})),a.d(t,"addSaveCode",(function(){return m}));var r=a("b5c6"),i=function(e){return Object(r["a"])({url:"/api/ubcs-code/mdmEngineController/downloadImportExcelHistory",method:"get",params:e,responseType:"blob"})},n=function(e){return Object(r["a"])({url:"/api/ubcs-code/mdmEngineController/downloadTopImportExcel",method:"get",params:e,responseType:"blob"})},o=function(e){return Object(r["a"])({url:"/api/ubcs-code/mdmEngineController/downloadImportExcel",method:"get",params:e,responseType:"blob"})},s=function(e){return Object(r["a"])({url:"/api/ubcs-code/mdmEngineController/downloadErrorFile",method:"get",params:e,responseType:"blob"})},l=function(e){return Object(r["a"])({url:"/api/ubcs-code/mdmEngineController/gridclassifys",method:"get",params:{redisOid:e+"-class"}})},c=function(e){return Object(r["a"])({url:"/api/ubcs-code/mdmEngineController/gridValidata",method:"get",params:e})},u=function(e){return Object(r["a"])({url:"/api/ubcs-code/mdmEngineController/gridResemble",method:"get",params:e})};function d(e){return Object(r["a"])({url:"api/ubcs-code/ubcs-code/mdmEngineController/getFormDefineByTemplateOid",method:"get",params:e})}function p(e){return Object(r["a"])({url:"api/ubcs-code/ubcs-code/mdmEngineController/gridRowResemble",method:"get",params:e})}function f(e){return Object(r["a"])({url:"api/ubcs-code/ubcs-code/mdmEngineController/batchImportData",method:"post",data:e})}function m(e){return Object(r["a"])({url:"api/ubcs-code/ubcs-code/mdmEngineController/addSaveCode",method:"post",data:e})}},"7a90":function(e,t,a){"use strict";a.r(t),a.d(t,"getadd",(function(){return s})),a.d(t,"getupdata",(function(){return l})),a.d(t,"allList",(function(){return c})),a.d(t,"getremove",(function(){return u})),a.d(t,"getPage",(function(){return d}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e){return Object(i["a"])({url:"/api/ubcs-system/value-range/submit",method:"post",data:e})},l=function(e){return Object(i["a"])({url:"/api/ubcs-system/value-range/submit",method:"post",data:e})},c=function(){return Object(i["a"])({url:"/api/ubcs-system/value-range/list",method:"get"})},u=function(e){return Object(i["a"])({url:"/api/ubcs-system/value-range/remove",method:"post",data:e})},d=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-system/value-range/page",method:"get",params:o(o({},a),{},{current:e,size:t})})}},"7a96":function(e,t,a){"use strict";a.r(t),a.d(t,"getTaskList",(function(){return s})),a.d(t,"sendData",(function(){return l}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-code/dockingManagement/gridDockingTask",method:"get",params:o(o({},a),{},{page:e,limit:t})})},l=function(e){return Object(i["a"])({url:"/api/ubcs-code/dockingManagement/sendData",method:"post",data:e})}},"7c41":function(e,t,a){"use strict";a.r(t),a.d(t,"getPage",(function(){return s})),a.d(t,"getOnesearch",(function(){return l})),a.d(t,"getadd",(function(){return c})),a.d(t,"getupdata",(function(){return u})),a.d(t,"getremove",(function(){return d})),a.d(t,"combination",(function(){return p}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-system/strategy/page",method:"get",params:o(o({},a),{},{current:e,size:t})})},l=function(e){return Object(i["a"])({url:"/api/ubcs-system/strategy/one",method:"post",params:{id:e}})},c=function(e){return Object(i["a"])({url:"/api/ubcs-system/strategy/submit",method:"post",data:e})},u=function(e){return Object(i["a"])({url:"/api/ubcs-system/strategy/submit",method:"post",data:e})},d=function(e){return Object(i["a"])({url:"/api/ubcs-system/strategy/remove",method:"post",params:{ids:e}})},p=function(){return Object(i["a"])({url:"/api/ubcs-system/combination/select",method:"get"})}},"7d3a":function(e,t,a){"use strict";a.r(t);var r=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",{staticStyle:{"font-size":"17px","margin-left":"27px"}},[e._v("编码资源管理系统")])])]],2)],1)},i=[],n=(a("8e6e"),a("ac6a"),a("456d"),a("ade3")),o=a("5880"),s=a("b0c50"),l=a.n(s);function c(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function u(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?c(Object(a),!0).forEach((function(t){Object(n["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):c(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,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=(a("3c60"),a("2877")),m=Object(f["a"])(p,r,i,!1,null,null,null);t["default"]=m.exports},"7d47":function(e,t,a){},"7e26":function(e,t,a){"use strict";a.r(t),a.d(t,"getListDataScope",(function(){return s})),a.d(t,"removeDataScope",(function(){return l})),a.d(t,"addDataScope",(function(){return c})),a.d(t,"updateDataScope",(function(){return u})),a.d(t,"getMenuDataScope",(function(){return d})),a.d(t,"getListApiScope",(function(){return p})),a.d(t,"removeApiScope",(function(){return f})),a.d(t,"addApiScope",(function(){return m})),a.d(t,"updateApiScope",(function(){return h})),a.d(t,"getMenuApiScope",(function(){return b}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-system/data-scope/list",method:"get",params:o(o({},a),{},{current:e,size:t})})},l=function(e){return Object(i["a"])({url:"/api/ubcs-system/data-scope/remove",method:"post",params:{ids:e}})},c=function(e){return Object(i["a"])({url:"/api/ubcs-system/data-scope/submit",method:"post",data:e})},u=function(e){return Object(i["a"])({url:"/api/ubcs-system/data-scope/submit",method:"post",data:e})},d=function(e){return Object(i["a"])({url:"/api/ubcs-system/data-scope/detail",method:"get",params:{id:e}})},p=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-system/api-scope/list",method:"get",params:o(o({},a),{},{current:e,size:t})})},f=function(e){return Object(i["a"])({url:"/api/ubcs-system/api-scope/remove",method:"post",params:{ids:e}})},m=function(e){return Object(i["a"])({url:"/api/ubcs-system/api-scope/submit",method:"post",data:e})},h=function(e){return Object(i["a"])({url:"/api/ubcs-system/api-scope/submit",method:"post",data:e})},b=function(e){return Object(i["a"])({url:"/api/ubcs-system/api-scope/detail",method:"get",params:{id:e}})}},"7eff":function(e,t,a){"use strict";a.r(t);var r=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(a,r){return t("div",{key:r},[a.visible?t("el-table-column",{attrs:{label:a.label,align:"center",prop:a.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(a,r){return t("div",{key:r},[a.visible?t("el-table-column",{attrs:{label:a.label,align:"center",prop:a.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)},i=[],n=(a("6762"),a("2fdb"),a("20d6"),a("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()},methods:{init:function(){var e=this;e.rightIds=e.value;for(var t=function(t){e.value.some((function(a){return a==e.dataList[t][e.keyName]}))&&e.rightDataList.push(e.dataList[t]),e.leftDataList.push(e.dataList[t])},a=0;a<e.dataList.length;a++)t(a);e.leftData=Object(n["a"])(e.leftDataList),e.rightData=Object(n["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 a=e.leftIds.findIndex((function(a){return a==e.leftDataList[t][e.keyName]}));if(-1!==a){for(var r=e.leftDataList[t],i=r["id"],n=!0,o=0;o<e.rightDataList.length;o++){var s=e.rightDataList[o],l=s["id"];if(l==i){n=!1;break}}n&&(e.rightDataList.push(e.leftDataList[t]),e.leftDataList[t].checked=!0)}},a=0;a<this.leftDataList.length;a++)t(a);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 r=e.rightIds.findIndex((function(a){return a==e.rightDataList[t][e.keyName]}));-1!==r&&(e.leftDataList[t].checked=!1,e.$delete(e.rightDataList,t),t--),a=t},a=0;a<this.rightDataList.length;a++)t(a);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 a=this;if(null!=t||""!=t){for(var r=[],i=function(i){a.columns.some((function(a){return e[i][a.key].toLowerCase().includes(t.toLowerCase())}))&&r.push(e[i])},n=0;n<e.length;n++)i(n);return r}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=(a("4a22"),a("2877")),c=Object(l["a"])(s,r,i,!1,null,"0ce78a4c",null);t["default"]=c.exports},"7f21":function(e,t,a){"use strict";a.r(t);a("7f7f");var r=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%",top:"6vh"},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",{staticClass:"domainSelect",attrs:{label:"所属领域","label-width":"100px",prop:"domain"}},[t("el-select",{attrs:{placeholder:"请选择领域","prefix-icon":e.icons.domain},model:{value:e.btmType.bizDomain,callback:function(t){e.$set(e.btmType,"bizDomain",t)},expression:"btmType.bizDomain"}},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:"","suffix-icon":e.icons.referType,placeholder:"请选择,留空则不进行管理"},on:{focus:e.openRevision,clear:e.clearRevision},model:{value:e.btmType.revisionRuleName,callback:function(t){e.$set(e.btmType,"revisionRuleName",t)},expression:"btmType.revisionRuleName"}})],1),t("el-form-item",{attrs:{label:"生命周期","label-width":"100px"}},[t("el-input",{staticClass:"lifeCycle",attrs:{"prefix-icon":e.icons.lifeCycle,clearable:"","suffix-icon":e.icons.referType,placeholder:"请选择,留空则不进行管理"},on:{focus:e.openLifeCycle,clear:e.clearLifeCycle},model:{value:e.btmType.lifeCycleName,callback:function(t){e.$set(e.btmType,"lifeCycleName",t)},expression:"btmType.lifeCycleName"}})],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",{staticClass:"viewInput",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(a){return[t("el-button",{attrs:{type:"danger",icon:"el-icon-plus",size:"small"},on:{click:function(t){return e.rowAdd()}}},[e._v("属性选择\n ")])]}},{key:"attrDataTypeText",fn:function(a){var r=a.row;return[t("el-tag",[e._v(e._s(r.attrDataTypeText))])]}},{key:"menu",fn:function(a){var r=a.row,i=a.index;return[r.$cellEdit?e._e():t("el-button",{attrs:{icon:"el-icon-edit",size:"small",type:"text"},on:{click:function(t){return e.cellEditClick(r,i)}}},[e._v("编辑\n ")]),r.$cellEdit?e._e():t("el-button",{attrs:{icon:"el-icon-delete",size:"small",type:"text"},on:{click:function(t){return e.removeFormAttrTable(r,i)}}},[e._v("移除\n ")]),r.$cellEdit?t("el-button",{attrs:{icon:"el-icon-check",size:"small",type:"text"},on:{click:function(t){return e.cellEditSave(r,i)}}},[e._v("\n 保存\n ")]):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(a){return[t("el-tag",[e._v(e._s(a.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",{directives:[{name:"loading",rawName:"v-loading",value:e.revisionRef.loading,expression:"revisionRef.loading"}],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,"search-change":e.searchRevisionRule,"search-reset":e.clearSearchRevisionRule},scopedSlots:e._u([{key:"radio",fn:function(a){var r=a.row;return[t("el-radio",{attrs:{label:r.$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),t("el-dialog",{attrs:{title:"请选择生命周期",visible:e.lifeCycleRef.visible,"append-to-body":"",width:"80%"},on:{"update:visible":function(t){return e.$set(e.lifeCycleRef,"visible",t)}}},[t("avue-crud",{directives:[{name:"loading",rawName:"v-loading",value:e.lifeCycleRef.loading,expression:"lifeCycleRef.loading"}],ref:"lifeCycleRef",staticClass:"lifeCycleRef",attrs:{option:e.lifeCycleRef.option,data:e.lifeCycleRef.data,page:e.lifeCycleRef.page},on:{"update:page":function(t){return e.$set(e.lifeCycleRef,"page",t)},"row-click":e.lifeCycleClick,"search-change":e.searchLifeCycle,"search-reset":e.clearSearchLifeCycle},scopedSlots:e._u([{key:"radio",fn:function(a){var r=a.row;return[t("el-radio",{attrs:{label:r.$index},model:{value:e.lifeCycleRef.selectRow,callback:function(t){e.$set(e.lifeCycleRef,"selectRow",t)},expression:"lifeCycleRef.selectRow"}},[e._v(" \n ")])]}}])}),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary"},on:{click:e.confirmLifeCycle}},[e._v("确定")]),t("el-button",{on:{click:e.cancelLifeCycle}},[e._v("取消")])],1)],1)],1)},i=[],n=(a("ac6a"),a("96cf"),a("1da1")),o=a("d772"),s=a("6872"),l=a("b1ca"),c=a("6868"),u={name:"BusinessAdd",props:{btmType:{type:Object},domainOption:{type:Array},icons:{type:Array}},watch:{btmType:{handler:function(e,t){console.log("监听",e,t)},deep:!0,immediate:!0}},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,columnBtn:!1,menuWidth:150,addBtn:!1,highlightCurrentRow:!0,column:[{label:"英文名称",prop:"id",align:"center"},{label:"中文名称",prop:"name",align:"center",cell:!0},{label:"类型",prop:"attrDataTypeText",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},loading:!1,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"}]}},lifeCycleRef:{visible:!1,page:{currentPage:1,pageSize:10},loading:!1,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"}],name:[{required:!0,message:"请输入业务类型中文名称",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(n["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.queryNotIn&&void 0!==this.btmType.attributes&&this.btmType.attributes.length>0&&(this.attrRef.queryNotIn="",this.btmType.attributes.forEach((function(t){e.attrRef.queryNotIn+=t.id+","}))),this.attrRef.loading=!0,Object(s["queryPage"])(this.attrRef.key,this.attrRef.queryNotIn,this.attrRef.page.currentPage,this.attrRef.page.pageSize).then((function(t){var a=t.data.data;e.attrRef.page.total=a.total,e.attrRef.data=a.records})),setTimeout((function(){e.attrRef.loading=!1}),600),this.$nextTick((function(){e.$refs.attrRef.refreshTable()}))},attrRefSearch:function(e,t){this.attrRef.key=e.id,this.attrRefOnLoad(),t(),this.attrRef.key=null},removeFormAttrTable:function(e,t){var a=this;this.btmType.attributes.splice(t,1),this.attrRef.queryNotIn="",this.btmType.attributes.forEach((function(e){a.attrRef.queryNotIn+=e.id+","}))},selectionChange:function(e){this.attrRef.selectData=e},confirmSelectAttr:function(){var e=this;this.btmType.attributes||(this.btmType.attributes=[]),this.attrRef.selectData.forEach((function(t){e.btmType.attributes.push({id:t.id,name:t.name,attrDataType:t.typeKey,attrDataTypeText:t.typeValue,defaultValue:t.defaultValue,description:t.description,attributeLength:t.maxLength,referBtmTypeId:t.referTypeCode,referBtmTypeName:t.referToName,enumId:t.dictCode}),e.attrRef.queryNotIn+=t.id+","})),this.attrRef.data=[],this.closeAttrDialog()},cancleSelectAttr:function(){this.attrRef.selectData=[],this.closeAttrDialog()},submitBtmType:function(){var e=this;if(console.log(this.btmType),this.btmType.attributes){var t=!1;this.btmType.attributes.forEach((function(a){if(!a.name)return e.$message.warning("第"+(a.$index+1)+"行的中文名称不能为空"),void(t=!0)})),t||Object(o["add"])(this.btmType,!0).then((function(t){e.$message.success("保存成功"),e.cancleSubmitBtmType(),e.$emit("refreshTable")}))}else this.$message.warning("还没有为业务类型选择属性")},cancleSubmitBtmType:function(){this.btmType={},this.btmType.attributes=[],this.showSubmitDialog=!1},refreshAttrTable:function(){var e=this;this.$nextTick((function(){e.$refs.attrTable.refreshTable()}))},viewChange:function(){},cellEditClick:function(e){e.$cellEdit=!0},cellEditSave:function(e,t){this.btmType.attributes[t].name=e.name,this.btmType.attributes[t].defaultValue=e.defaultValue,this.btmType.attributes[t].description=e.description,e.$cellEdit=!1,this.$refs.attrTable.refreshTable()},openRevision:function(){this.revisionRef.visible=!0,this.revisionRuleOnLoad()},revisionRuleOnLoad:function(){var e=this;this.revisionRef.loading=!0,Object(l["getPage"])().then((function(t){e.revisionRef.data=t.data.data.records})),setTimeout((function(){e.revisionRef.loading=!1}),600),this.$nextTick((function(){e.$refs.revisionRef.refreshTable()}))},openLifeCycle:function(){this.lifeCycleRef.visible=!0,this.lifeCycleOnLoad()},lifeCycleOnLoad:function(){var e=this;this.lifeCycleRef.loading=!0,Object(c["getList"])().then((function(t){e.lifeCycleRef.data=t.data.data.records})),setTimeout((function(){e.lifeCycleRef.loading=!1}),600),this.$nextTick((function(){e.$refs.lifeCycleRef.refreshTable()}))},closeRevisionDialog:function(){this.revisionRef.visible=!1},closeLifeCycleDialog:function(){this.lifeCycleRef.visible=!1},confirmRevision:function(){this.btmType.revisionFlag=!0,this.btmType.revisionRuleId=this.revisionRef.selectData.id,this.btmType.revisionRuleName=this.revisionRef.selectData.name,this.btmType.inputRevisionFlag=!1,this.cancelRevision()},confirmLifeCycle:function(){this.btmType.lifeCycleFlag=!0,this.btmType.lifeCycleId=this.lifeCycleRef.selectData.id,this.btmType.lifeCycleName=this.lifeCycleRef.selectData.name,this.cancelLifeCycle()},cancelRevision:function(){this.revisionRef.selectRow="",this.revisionRef.selectData={},this.closeRevisionDialog()},cancelLifeCycle:function(){this.lifeCycleRef.selectRow="",this.lifeCycleRef.selectData={},this.closeLifeCycleDialog()},revisionClick:function(e){this.revisionRef.selectRow=e.$index,this.revisionRef.selectData={id:e.id,name:e.name}},lifeCycleClick:function(e){this.lifeCycleRef.selectRow=e.$index,this.lifeCycleRef.selectData={id:e.id,name:e.name}},clearRevision:function(){this.$delete(this.btmType,"revisionFlag"),this.$delete(this.btmType,"revisionRuleId"),this.$delete(this.btmType,"revisionRuleName"),this.$delete(this.btmType,"inputRevisionFlag")},clearLifeCycle:function(){this.$delete(this.btmType,"lifeCycleFlag"),this.$delete(this.btmType,"lifeCycleId"),this.$delete(this.btmType,"lifeCycleName")},resetForm:function(){this.btmType={},this.$refs.form.resetFields()},searchRevisionRule:function(e,t){var a=this,r={};e.id&&(r["id_like"]=e.id),e.name&&(r["name_like"]=e.name),this.revisionRef.loading=!0,Object(l["getPage"])(this.revisionRef.page.currentPage,this.revisionRef.page.pageSize,r).then((function(e){a.revisionRef.data=e.data.data.records})),setTimeout((function(){t(),a.revisionRef.loading=!1}),600),this.$nextTick((function(){a.$refs.revisionRef.refreshTable()}))},searchLifeCycle:function(e,t){var a=this,r={};e.id&&(r["id_like"]=e.id),e.name&&(r["name_like"]=e.name),this.lifeCycleRef.loading=!0,Object(c["getList"])(this.lifeCycleRef.page.currentPage,this.lifeCycleRef.page.pageSize,r).then((function(e){a.lifeCycleRef.data=e.data.data.records})),setTimeout((function(){t(),a.lifeCycleRef.loading=!1}),600),this.$nextTick((function(){a.$refs.lifeCycleRef.refreshTable()}))},clearSearchRevisionRule:function(e){this.revisionRuleOnLoad()},clearSearchLifeCycle:function(e){this.lifeCycleOnLoad(),console.log(e)}}},d=u,p=(a("8776"),a("2877")),f=Object(p["a"])(d,r,i,!1,null,null,null);t["default"]=f.exports},"800e":function(e,t,a){"use strict";a.r(t);a("d263");var r=function(){var e=this,t=e._self._c;return t("div",[this.crudArrayFlag?t("div",{staticClass:"app",staticStyle:{display:"inline-block","flex-wrap":"wrap"}},[t("el-button-group",[0!=e.attrEditVisible||0!=e.attrFlagChiledren||!e.editOpenFlag||e.checkStatus&&"Editing"!=e.crudLCStatus?e._e():t("el-button",{attrs:{icon:"el-icon-plus",plain:"",size:"small",type:"primary"},on:{click:e.busineHandle}},[e._v("添加 "+e._s(e.msg)+"\n ")]),0!=e.attrEditVisible||0!=e.attrFlagChiledren||!e.editOpenFlag||e.checkStatus&&"Editing"!=e.crudLCStatus?e._e():t("el-button",{attrs:{icon:"el-icon-full-screen",size:"small"},on:{click:e.fullscreenHandle}},[e._v("全屏编辑\n ")]),e.checkStatus&&"Editing"!=e.crudLCStatus||!e.editOpenFlag?e._e():t("el-button",{attrs:{icon:"el-icon-info",size:"small"},on:{click:e.ruleAddHandler}},[e._v("验证规则\n ")]),e.checkStatus&&"Editing"!=e.crudLCStatus||!e.editOpenFlag?e._e():t("el-button",{attrs:{icon:"el-icon-menu",size:"small"},on:{click:e.attrVisibleHandle}},[e._v("属性分组\n ")])],1),t("el-button-group",[e.checkStatus&&"Editing"!=e.crudLCStatus||!e.editOpenFlag?e._e():t("el-button",{attrs:{icon:"el-icon-check",plain:"",size:"small",type:"success"},on:{click:function(t){return t.preventDefault(),e.addsHandler.apply(null,arguments)}}},[e._v("保存\n ")]),t("el-button",{attrs:{icon:"el-icon-arrow-down",size:"small"},on:{click:e.orderHandle}},[e._v("预览排序")]),e.checkStatus&&"Editing"!=e.crudLCStatus||!e.editOpenFlag?e._e():t("el-button",{attrs:{icon:"el-icon-delete",size:"small"},on:{click:e.CrudRemove}},[e._v("删除\n ")]),t("el-button",{attrs:{icon:"el-icon-refresh-right",size:"small"},on:{click:e.reset}},[e._v("重置")])],1),t("el-button-group",[e.checkStatus&&"Editing"!=e.crudLCStatus||!e.editOpenFlag?e._e():t("el-button",{attrs:{icon:"el-icon-magic-stick",size:"small"},on:{click:e.injectBtn}},[e._v("分类注入\n ")]),e.checkStatus&&"Editing"!=e.crudLCStatus||!e.editOpenFlag?e._e():t("el-button",{attrs:{icon:"el-icon-film",size:"small"},on:{click:e.isShowHandler}},[e._v("组合规则\n ")]),e.checkStatus&&"Editing"!=e.crudLCStatus||!e.editOpenFlag?e._e():t("el-button",{attrs:{icon:"el-icon-c-scale-to-original",size:"small"},on:{click:e.enmuVisHandle}},[e._v("枚举注入\n ")]),e.checkStatus&&"Editing"!=e.crudLCStatus||!e.editOpenFlag?e._e():t("el-button",{attrs:{icon:"el-icon-coin",size:"small"},on:{click:e.CascadeHandle}},[e._v("级联属性\n ")])],1),t("el-button-group",[t("el-button",{attrs:{icon:"el-icon-share",size:"small"},on:{click:e.syncHandle}},[e._v("同步到其他模板")])],1),t("el-button-group",[t("el-button",{attrs:{icon:"el-icon-view",size:"small"},on:{click:e.applicationHandle}},[e._v("编码申请预览")])],1),t("el-button-group",[e.checkStatus&&"Editing"!=e.crudLCStatus||e.editOpenFlag||0!=e.attrEditVisible||0!=e.attrFlagChiledren?e._e():t("el-button",{attrs:{icon:"el-icon-view",plain:"",size:"small"},on:{click:e.editOpen}},[e._v("开启编辑\n ")]),e.checkStatus&&"Editing"!=e.crudLCStatus||!e.editOpenFlag?e._e():t("el-select",{attrs:{placeholder:"请选择",size:"small"},model:{value:e.selectvalue,callback:function(t){e.selectvalue=t},expression:"selectvalue"}},e._l(e.selectoptions,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1),e.checkStatus&&"Editing"!=e.crudLCStatus||!e.editOpenFlag?e._e():t("el-switch",{staticStyle:{margin:"6px 0 0 10px"},attrs:{"active-value":"true"},on:{change:e.batchSetFlag},model:{value:e.switchvalue,callback:function(t){e.switchvalue=t},expression:"switchvalue"}})],1)],1):e._e(),t("div",[t("FormTemplateDialog",{attrs:{codeClassifyOid:this.codeClassifyOid,templateOid:this.crudOid,type:e.add,visible:e.addvisible},on:{"update:visible":function(t){e.addvisible=t}}}),t("el-dialog",{attrs:{visible:e.CascadeVisible,"append-to-body":"",title:"请选择级联属性"},on:{"update:visible":function(t){e.CascadeVisible=t}}},[t("avue-crud",{ref:"crud",attrs:{data:e.CascadeData,option:e.CascadeOption},on:{"row-click":e.CascaderowClick},scopedSlots:e._u([{key:"radio",fn:function(a){var r=a.row;return[t("el-radio",{attrs:{label:r.$index},model:{value:e.selectRow,callback:function(t){e.selectRow=t},expression:"selectRow"}})]}}])}),t("div",{staticStyle:{display:"flex","padding-top":"18px","justify-content":"right"}},[t("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.CascadeAddHandle}},[e._v("确定")]),t("el-button",{staticStyle:{"margin-left":"10px"},attrs:{size:"small"},on:{click:e.casRemove}},[e._v("清除内容")]),t("el-button",{staticStyle:{"margin-left":"10px"},attrs:{size:"small"},on:{click:function(t){e.CascadeVisible=!1}}},[e._v("取消")])],1)],1),t("el-dialog",{attrs:{"before-close":this.enumBeforeClose,visible:e.enumVisible,"append-to-body":"",title:"枚举注入"},on:{"update:visible":function(t){e.enumVisible=t}}},[t("el-alert",{staticStyle:{"margin-bottom":"10px",display:"inline-block"},attrs:{closable:!1,title:"请新增后点击单元格输入枚举数据",type:"success"}}),t("div",[t("el-button",{attrs:{icon:"el-icon-plus",type:"primary"},on:{click:e.addRow}},[e._v("新增")]),t("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData},on:{"cell-click":e.handleCellClick,"selection-change":e.handleSelectionChange}},[t("el-table-column",{attrs:{label:"选项值",prop:"key"},scopedSlots:e._u([{key:"default",fn:function(a){var r=a.row;return[e.editingRow===r&&"key"==e.editShow?t("el-input",{on:{blur:e.saveRow},model:{value:r.key,callback:function(t){e.$set(r,"key",t)},expression:"row.key"}}):t("span",[e._v(e._s(r.key))])]}}])}),t("el-table-column",{attrs:{label:"选项中文标签",prop:"value"},scopedSlots:e._u([{key:"default",fn:function(a){var r=a.row;return[e.editingRow===r&&"value"==e.editShow?t("el-input",{on:{blur:e.saveRow},model:{value:r.value,callback:function(t){e.$set(r,"value",t)},expression:"row.value"}}):t("span",[e._v(e._s(r.value))])]}}])}),t("el-table-column",{attrs:{fixed:"right",label:"操作",width:"120"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-button",{attrs:{plain:"",size:"small",type:"text"},on:{click:e.enumDeleteRow}},[e._v("\n 移除\n ")])]}}])})],1),[t("div",{staticStyle:{display:"flex","justify-content":"right","margin-top":"15px"}},[t("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.enumAddHandle}},[e._v("保存")]),t("el-button",{attrs:{size:"small"},on:{click:e.enumCancell}},[e._v("取消")])],1)]],2)],1),t("el-dialog",{staticClass:"mydialog",staticStyle:{width:"1400px",left:"14vw",top:"10vh"},attrs:{visible:e.injectVisible,"append-to-body":"",title:"分类注入"},on:{"update:visible":function(t){e.injectVisible=t}}},[t("div",{staticClass:"injectBox"},[t("div",{staticStyle:{color:"#FF5722",margin:"1px 0 5px 20px"}},[e._v("分类层级关联说明:")]),t("div",{staticStyle:{color:"#01aaed",margin:"0 10px 0 45px","line-height":"20px"}},[e._v("1:主要是设置模板属性和分类的关系"),t("br"),e._v("2:如分类层级设置为2 "),t("br"),e._v("3:录入资源数据时,该属性对应的值根据层级关系去对应的分类里取\n "),t("br"),e._v("4:层级必须是大于0的整数值\n ")]),t("div",{staticStyle:{"padding-top":"15px","padding-left":"35px"}},[t("el-form",{ref:"injectForm",attrs:{"label-width":"80px"}},[t("el-form-item",{attrs:{label:"注入类型"}},[t("el-radio-group",{model:{value:e.injectOption.classifyInvokeAttr,callback:function(t){e.$set(e.injectOption,"classifyInvokeAttr",t)},expression:"injectOption.classifyInvokeAttr"}},[t("el-radio",{attrs:{label:"name"}},[e._v("分类名称")]),t("el-radio",{attrs:{label:"id"}},[e._v("分类代号")])],1)],1),t("el-form-item",{attrs:{label:"层级设置"}},[t("el-radio-group",{model:{value:e.injectOption.classifyInvokeLevel,callback:function(t){e.$set(e.injectOption,"classifyInvokeLevel",t)},expression:"injectOption.classifyInvokeLevel"}},[t("el-radio",{attrs:{label:"min"}},[e._v("最小层")]),t("el-radio",{attrs:{label:"max"}},[e._v("指定层")]),"max"==this.injectOption.classifyInvokeLevel?t("el-input-number",{attrs:{max:10,min:0,"controls-position":"right"},model:{value:e.injectOption.classifyNumber,callback:function(t){e.$set(e.injectOption,"classifyNumber",t)},expression:"injectOption.classifyNumber"}}):e._e()],1)],1),t("el-form-item",{attrs:{label:"可修改"}},[t("el-radio-group",{model:{value:e.injectOption.classifyInvokeEditFlag,callback:function(t){e.$set(e.injectOption,"classifyInvokeEditFlag",t)},expression:"injectOption.classifyInvokeEditFlag"}},[t("el-radio",{attrs:{label:"true"}},[e._v("是")]),t("el-radio",{attrs:{label:"false"}},[e._v("否")])],1)],1)],1)],1)]),t("div",{staticStyle:{display:"flex","justify-content":"flex-end"}},[t("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.injectAddHandle}},[e._v("确定")]),t("el-button",{attrs:{size:"small"},on:{click:e.injectHandleReset}},[e._v("清除内容")]),t("el-button",{attrs:{size:"small"},on:{click:e.injectRemove}},[e._v("取消")])],1)]),t("el-dialog",{staticStyle:{width:"800px",left:"30vw",top:"10vh"},attrs:{"before-close":e.attrClose,visible:e.attrVisible,"append-to-body":"",title:"输入分组的名称"},on:{"update:visible":function(t){e.attrVisible=t}}},[t("el-form",{ref:"form",attrs:{"label-width":"70px"}},[t("el-form-item",{attrs:{label:"属性分组"}},[t("el-input",{attrs:{autofocus:""},model:{value:e.attrModel,callback:function(t){e.attrModel=t},expression:"attrModel"}})],1),t("div",{staticStyle:{display:"flex","justify-content":"flex-end"}},[t("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.attrHandle}},[e._v("提交")]),t("el-button",{attrs:{size:"small"},on:{click:e.attrRemove}},[e._v("清空")])],1)],1)],1),t("el-dialog",{attrs:{visible:e.rulesVisible,"append-to-body":"",title:"属性验证规则"},on:{"update:visible":function(t){e.rulesVisible=t}}},[t("el-container",{staticStyle:{border:"1px solid #9e3333",padding:"10px"}},[t("el-aside",{staticStyle:{width:"330px"}},[t("div",{staticStyle:{display:"flex"}},[t("p",{staticStyle:{display:"inline-block",width:"160px"}},[e._v(" 正则表达式:")]),t("el-input",{staticStyle:{display:"inline-block"},attrs:{rows:6,placeholder:"请输入内容",type:"textarea"},model:{value:e.RulesForm.expressionText,callback:function(t){e.$set(e.RulesForm,"expressionText",t)},expression:"RulesForm.expressionText"}})],1),t("div",{staticStyle:{display:"flex","margin-top":"15px"}},[t("p",{staticStyle:{display:"inline-block",width:"160px"}},[e._v(" 测试内容:")]),t("el-input",{staticStyle:{display:"inline-block"},attrs:{rows:6,placeholder:"请输入内容",type:"textarea"},model:{value:e.RulesForm.TestContent,callback:function(t){e.$set(e.RulesForm,"TestContent",t)},expression:"RulesForm.TestContent"}})],1),t("div",{staticStyle:{display:"flex","margin-left":"113px","margin-top":"15px"}},[t("el-button",{attrs:{type:"mini"},on:{click:e.rulesExamine}},[e._v("检查")]),t("el-button",{attrs:{type:"mini"},on:{click:e.rulesremove}},[e._v("清除内容")]),t("el-button",{attrs:{type:"mini"},on:{click:e.rulesHandle}},[e._v("确定")])],1)]),t("el-main",{staticStyle:{padding:"10px","margin-left":"10px"}},[t("avue-crud",{ref:"rulsecrud",staticStyle:{height:"450px"},attrs:{data:e.rulesData,option:e.rulesOption},on:{"row-dblclick":e.handleRulesRowDBLClick}})],1)],1)],1),t("el-dialog",{attrs:{"before-close":e.escEdit,visible:e.attrEditVisible,"append-to-body":"",fullscreen:"true"},on:{"update:visible":function(t){e.attrEditVisible=t}}},[t("attrCrud",{attrs:{ProData:this.ProData,attrFlagChiledren:this.attrFlag,crudArrayFlag:this.crudArrayFlag,editOpenFlag:e.editOpenFlag,editStyleFlag:e.editStyleFlag},on:{editCloseChildren:e.editClose}})],1),t("formula-editor",{attrs:{componentRuleText:e.componentRuleText,systemVariableTableData:e.systemVariableTableData,thisSceneTableData:e.thisSceneTableData,visible:e.isShowformulaEdit},on:{"update:visible":function(t){e.isShowformulaEdit=t},updateFormulaContent:e.updataFormlaContent}}),t("el-dialog",{attrs:{visible:e.addVisible,"append-to-body":"",title:"从业务类型中选择属性"},on:{"update:visible":function(t){e.addVisible=t}}},[t("avue-crud",{ref:"AddOriginPlace",attrs:{data:e.businessData,option:e.businessOption},on:{"selection-change":e.businessSelect}},[t("template",{slot:"menuLeft"},[t("div",{staticStyle:{display:"flex"}},[t("el-select",{staticStyle:{width:"150px !important"},attrs:{placeholder:"请选择"},model:{value:e.SelectValue,callback:function(t){e.SelectValue=t},expression:"SelectValue"}},e._l(e.SelectOption,(function(e){return t("el-option",{key:e.value,staticStyle:{width:"150px"},attrs:{label:e.label,value:e.value}})})),1),t("el-input",{staticStyle:{width:"400px","margin-left":"20px"},model:{value:e.SelectFInd,callback:function(t){e.SelectFInd=t},expression:"SelectFInd"}}),t("el-button",{staticStyle:{"margin-left":"10px"},attrs:{size:"small"},on:{click:e.AddFindHandler}},[e._v("查询")])],1)])],2),t("div",{staticStyle:{display:"flex","justify-content":"flex-end","margin-top":"15px"}},[t("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.busineAddHandle}},[e._v("保存")]),t("el-button",{attrs:{size:"small",type:"primary"},on:{click:function(t){e.addVisible=!1}}},[e._v("取消")])],1)],1),t("refer-config-dialog",{attrs:{display:e.referConfigVisble,referConfigOption:e.referConfigOption},on:{setReferConfigValue:e.setReferConfigValue}})],1),this.crudArrayFlag?t("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"referAttrCrud",staticStyle:{width:"100%"},attrs:{data:e.ProData,height:this.editStyleFlag?800:343},on:{select:e.selectHandle,"cell-click":e.handleCellClicks,"selection-change":e.selectionChange,"row-click":e.rowClick}},[t("el-table-column",{attrs:{fixed:"",type:"selection",width:"55"}}),e._l(this.option.column,(function(a,r){return"referName"!=a.edit?t("el-table-column",{key:a.id,attrs:{fixed:a.fixed,formatter:e.formAttr,label:a.label,prop:a.prop,"show-overflow-tooltip":!0,sortable:a.sortable,width:a.width||(a.label.length>=4?"160":3==a.label.length?"130":"100"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(i){var n=i.row;return[e.editingRows!==n||e.editShows!=a.prop||"codeDateFormat"==a.prop||"text"!=a.edit&&"refer"!=a.edit?e._e():t("el-input",{directives:[{name:"show",rawName:"v-show",value:!e.AddCellFlag,expression:"!AddCellFlag"}],ref:"input"+n.oid,refInFor:!0,on:{blur:function(t){return e.saveRows(n)}},model:{value:n[a.prop],callback:function(t){e.$set(n,a.prop,t)},expression:"row[item.prop]"}}),e.editingRows===n&&e.editShows==a.prop&&"number"==a.edit?t("el-input-number",{style:{width:a.width-10+"px"},attrs:{"controls-position":"right",size:"small"},on:{blur:e.saveRows},model:{value:n[a.prop],callback:function(t){e.$set(n,a.prop,t)},expression:"row[item.prop]"}}):e._e(),e.editingRows===n&&e.editShows==a.prop&&"select"==a.edit?t("el-select",{attrs:{slot:"prepend","allow-create":"","default-first-option":"",filterable:""},on:{blur:function(t){return e.selectChangeHandler(a.editConfig,r)}},slot:"prepend",model:{value:n[a.prop],callback:function(t){e.$set(n,a.prop,t)},expression:"row[item.prop]"}},e._l(a.data,(function(e){return t("el-option",{key:e.dictValue,attrs:{label:e.dictValue,value:e.dictValue}})})),1):e._e(),"switch"===a.edit?t("el-switch",{attrs:{disabled:!e.editOpenFlag,"active-value":"true","inactive-value":"false"},model:{value:n[a.prop],callback:function(t){e.$set(n,a.prop,t)},expression:"row[item.prop]"}}):t("span",[e._v(e._s(n[a.prop]))])]}}],null,!0)}):e._e()})),t("el-table-column",{attrs:{fixed:"right",label:"操作",width:"70"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-button",{attrs:{size:"small",type:"text"},nativeOn:{click:function(t){return t.preventDefault(),e.CrudRowDel(a.$index)}}},[e._v("\n 移除\n ")])]}}],null,!1,455070573)})],2):e._e()],1)},i=[],n=(a("8e6e"),a("456d"),a("a481"),a("3b2b"),a("6b54"),a("55dd"),a("7f7f"),a("ade3")),o=(a("ac6a"),a("8e19"));a("276d"),a("d9a3"),a("8bbf");function s(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function l(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?s(Object(a),!0).forEach((function(t){Object(n["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):s(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var c={name:"attrCrud .vue",props:{ProData:{type:Array},crudOid:{type:String,default:""},checkStatus:{type:Boolean,default:!1},editOpenFlag:{type:Boolean,default:!1},editStyleFlag:{type:Boolean,default:!1},crudLCStatus:{type:String,default:"Editing"},crudArray:{type:Array},Formlist:{type:Array},codeClassifyOid:{type:String,default:""},attrFlagChiledren:{type:Boolean,default:!1},crudArrayFlag:{type:Boolean,default:!1}},watch:{crudOid:{handler:function(e,t){e&&(this.editOpenFlag=!1)}},crudArrayFlag:{handler:function(e,t){}},crudArray:{handler:function(e,t){void 0!=e&&(e.length>=1?this.crudArrayFlag=!0:this.crudArrayFlag=!1)},deep:!0,immediate:!0},Formlist:{handler:function(e,t){0!==e.length||(this.crudArrayFlag=!1)}},ProData:{handler:function(e,t){var a=this;e&&(this.loading=!0,setTimeout((function(){a.loading=!1}),1e3))}},"injectOption.classifyInvokeAttr":function(e){return"name"===e?this.injectOption.classifyInvokeAttrName="分类名称":"id"===e&&(this.injectOption.classifyInvokeAttrName="分类代号"),""},editOpenFlag:{handler:function(e,t){},deep:!0,immediate:!0}},data:function(){return{AddCellFlag:!1,editStyleFlag:!1,loading:!1,referConfigText:"",referConfigVisble:!1,referConfigOption:{referConfig:""},screenWidth:document.documentElement.clientWidth,CurrentCell:"",SelectValue:"",SelectFInd:"",SelectOption:[{value:"name",label:"属性中文名称"},{value:"id",label:"属性英文名称"}],referVisible:!1,crudArrayFlag:!1,editingRows:null,editShows:"",attrFlag:!1,referObject:{},applicationoption:{column:[]},applicationData:[],busineSelectList:[],busineAddList:{},attrSelectList:[],attrOid:"",thisSceneTableData:[{formula:"lcstatus",desc:"状态"},{formula:"name",desc:"集团码"},{formula:"materialname",desc:"部门名称"},{formula:"parentcode",desc:"上级部门编号"},{formula:"parentname",desc:"上级部门名称"},{formula:"description",desc:"描述"}],systemVariableTableData:[{formula:"#CURRENTUSER.OID#",desc:"当前用户的主键"},{formula:"#CURRENTUSER.ID",desc:"当前用户的账户"},{formula:"#CURRENTTIME#",desc:"当前时间"},{formula:"#CURRENTDATE#",desc:"当前日期"},{formula:"#CURRENTDATETIME#",desc:"当前日期时间"},{formula:"#CURRENTUSER_NAME#",desc:"当前用户的姓名"},{formula:"#CURRENTUSER.SECRETARIAT#",desc:"当前用户密级"},{formula:"#CURRENTUSER.IPSECRET#",desc:"当前用户的IP密级"},{formula:"#CURRENTUSER.BUSINESSUNIT#",desc:"当前用户所属业务单元"},{formula:"#CURRENTUSER.BUSINESSUNITNAME#",desc:"当前用户所属业务单元名称"},{formula:"#CURRENTUSER.GROUPOID#",desc:"当前用户的部门主键"},{formula:"#CURRENTUSER.GROUPNAME#",desc:"当前用户所属部门名称"},{formula:"#CURRENTUSER.EMAIL#",desc:"当前用户邮件地址"},{formula:"#CURRENTUSER.ROLENAME#",desc:"当前用户所属角色名称 "}],CascadeVisible:!1,attrEditVisible:!1,isShowformulaEdit:!1,selectRow:"",selectRowArr:[],CascadeData:[],CascadeOption:{menu:!1,addBtn:!1,header:!1,align:"center",menuAlign:"center",column:[{label:"",prop:"radio",width:60,hide:!1},{label:"属性英文编号",prop:"id"},{label:"属性中文名称",prop:"name"},{label:"属性分组",prop:"attributeGroup"},{label:"类型",prop:"attributeDataTypeText"},{label:"列表宽度",prop:"attrTableWidth"},{label:"关键属性",prop:"keyAttrFlag",type:"text",dicData:[{label:"是",value:"true"},{label:"否",value:"false"}]},{label:"查询属性",prop:"queryAttrFlag",type:"text",dicData:[{label:"是",value:"true"},{label:"否",value:"false"}]},{label:"高级查询属性",prop:"seniorQueryAttrFlag",type:"text",dicData:[{label:"是",value:"true"},{label:"否",value:"false"}]},{label:"相似查重属性",prop:"sameRepeatAttrFlag",type:"text",dicData:[{label:"是",value:"true"},{label:"否",value:"false"}]},{label:"一维码",prop:"OneDimensional"},{label:"二维码",prop:"TwoDimensional"},{label:"必输",prop:"requireFlag",type:"text",dicData:[{label:"是",value:"true"},{label:"否",value:"false"}]},{label:"表单显示",prop:"formDisplayFlag",type:"text",dicData:[{label:"是",value:"true"},{label:"否",value:"false"}]},{label:"列表显示",prop:"tableDisplayFlag",type:"text",dicData:[{label:"是",value:"true"},{label:"否",value:"false"}]},{label:"只读",prop:"readonlyFlag"},{label:"列表排序",prop:"sortAttrFlag",type:"text",dicData:[{label:"是",value:"true"},{label:"否",value:"false"}]},{label:"多行文本",prop:"textAreaFlag",type:"text",dicData:[{label:"是",value:"true"},{label:"否",value:"false"}]},{label:"默认值",prop:"defaultValue"},{label:"前缀",prop:"prefixValue"},{label:"后缀",prop:"suffixValue"},{label:"组合规则",prop:"componentRule"},{label:"验证规则",prop:"verifyRule"},{label:"时间格式",prop:"codeDateFormat"},{label:"分类注入",prop:"classifyInvokeLevel"},{label:"枚举注入",prop:"enumString"},{label:"级联属性",prop:"parentCode"},{label:"参照配置",prop:"referConfig",width:105},{label:"级联查询属性",prop:"parentQueryAttr"},{label:"选择库标识",prop:"libraryIdentification"},{label:"填写提示",prop:"explain"},{label:"表单显示样式",prop:"formDisplayStyle"},{label:"表格显示样式",prop:"tableDisplayStyle"},{label:"表单超链接",prop:"formHref"},{label:"表格超链接",prop:"tableHref"},{label:"表格显示js",prop:"tableDisplayJs"},{label:"长度",prop:"controlLength"},{label:"小数精度",prop:"precisionLength"},{label:"取值范围",prop:"valueArea"}]},tableData:[],editingRow:null,editShow:"",enumVisible:!1,enumRow:[],injectVisible:!1,addVisible:!1,rulesVisible:!1,attrVisible:!1,attrModel:"",attrRow:{},addvisible:!1,injectOption:{classifyInvokeAttrName:"分类名称",classifyInvokeAttr:"name",classifyInvokeEditFlag:"true",classifyInvokeLevel:"min",classifyNumber:0},RulesForm:{expressionText:"",TestContent:"",ruleRowBds:""},rulesOption:{border:!0,menu:!1,addBtn:!1,refreshBtn:!1,columnBtn:!1,header:!1,toolBtn:[],column:[{label:"表达式",prop:"bds"},{label:"使用说明",prop:"description"}]},rulesData:[{bds:"[ !-⦅]+",description:"全角符号"},{bds:"[^ !-⦅]+",description:"半角符号"},{bds:"(([-|+]{1}[\\d]+℃~[-|+]{1}[\\d]+℃)|无)",description:"温度范围,示例 -55℃~+125℃"},{bds:"[\\d]{15}|[\\d]{18}|[\\d]{17}X",description:"身份证号码(15或18位数字、17位数字X) "},{bds:"男|女|男性|女性",description:"中文性别"},{bds:"[\\d]+",description:"数字"},{bds:"[a-zA-Z]+",description:"字母"},{bds:"[A-Z]+",description:"大写字母"},{bds:"[a-z]+",description:"小写字母"},{bds:"[0-9a-zA-Z]+",description:"字母、数字组合"},{bds:"((0[\\d]{3}-[\\d]{7})|(0[\\d]{2}-[\\d]{8})|([\\d]{7,8}))",description:"电话号码"},{bds:"-?[1-9]\\d*",description:"整数"},{bds:"[1-9]\\d*",description:"正整数"},{bds:"-[1-9]\\d*",description:"负整数"},{bds:"-[1-9]\\d*|0",description:"非正整数(负整数+0)"},{bds:"[1-9]\\d*|0",description:"非负整数(正整数+0)"},{bds:"-?([1-9]\\d*\\.\\d*|0\\.\\d*[1-9]\\d*|0?\\.0+|0)",description:"浮点数"},{bds:"[1-9]\\d*\\.\\d*|0\\.\\d*[1-9]\\d*",description:"正浮点数"},{bds:"-[1-9]\\d*\\.\\d*|0\\.\\d*[1-9]\\d*",description:"负浮点数"},{bds:"[(-([1-9]\\d*\\.\\d*|0\\.\\d*[1-9]\\d*))|0?\\.0+|0",description:"非正浮点数(负浮点数 + 0)"},{bds:"[1-9]\\d*\\.\\d*|0\\.\\d*[1-9]\\d*|0?\\.0+|0",description:"非负浮点数(正浮点数 + 0)"},{bds:"x",description:"字符 x"},{bds:"\\\\",description:"反斜线字符"},{bds:"\\0n",description:"带有八进制值 0 的字符 n (0 <= n <= 7)"},{bds:"\\0nn",description:"带有八进制值 0 的字符 nn (0 <= n <= 7)"},{bds:"\\0mnn",description:"带有八进制值 0 的字符 mnn(0 <= m <= 3、0 <= n <= 7)"},{bds:"\\xhh",description:"带有十六进制值 0x 的字符 hh"},{bds:"\\uhhhh",description:"带有十六进制值 0x 的字符 hhhh"},{bds:"\\t",description:"制表符 ('\t')"},{bds:"\\n",description:"新行(换行)符 ('\n')"},{bds:"\\r",description:"回车符 ('\r')"},{bds:"\\f",description:"换页符 ('\f')"},{bds:"\\a",description:"报警 (bell) 符 ('')"},{bds:"\\e",description:"转义符 ('')"},{bds:"\\cx",description:"对应于 x 的控制符"},{bds:"[abc]",description:"a、b 或 c(简单类)"},{bds:"[^abc]",description:"任何字符,除了 a、b 或 c(否定)"},{bds:"[a-zA-Z]",description:"a 到 z 或 A 到 Z,两头的字母包括在内(范围)"},{bds:"[a-d[m-p]]",description:"a 到 d 或 m 到 p:[a-dm-p](并集)"},{bds:"[a-z&&[def]]",description:"\td、e 或 f(交集)"},{bds:"[a-z&&[^bc]]",description:"a 到 z,除了 b 和 c:[ad-z](减去)"},{bds:"[a-z&&[^m-p]]",description:"a 到 z,而非 m 到 p:[a-lq-z](减去)"},{bds:".",description:"任何字符(与行结束符可能匹配也可能不匹配)"},{bds:"\\d",description:"数字:[0-9]"},{bds:"\\D",description:"非数字: [^0-9]"},{bds:"\\s",description:"空白字符:[ \\t\\n\v\\f\\r]"},{bds:"\\S",description:"非空白字符:[^\\s]"},{bds:"\\w",description:"单词字符:[a-zA-Z_0-9]"},{bds:"\\W",description:"非单词字符:[^\\w]"},{bds:"\\p{Lower}",description:"小写字母字符:[a-z]"},{bds:"\\p{Upper}",description:"大写字母字符:[A-Z]"},{bds:"\\p{ASCII}",description:"所有 ASCII:[\0-]"},{bds:"\\p{Alpha}",description:"字母字符:[\\p{Lower}\\p{Upper}]"},{bds:"\\p{Digit}",description:"十进制数字:[0-9]"},{bds:"\\p{Alnum}",description:"字母数字字符:[\\p{Alpha}\\p{Digit}]"},{bds:"\\p{Punct}",description:"标点符号:!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~"},{bds:"\\p{Graph}",description:"可见字符:[\\p{Alnum}\\p{Punct}]"},{bds:"\\p{Print}",description:"可打印字符:[\\p{Graph} ]"},{bds:"\\p{Blank}",description:"空格或制表符:[ \\t]"},{bds:"\\p{Cntrl}",description:"控制字符:[\0-]"},{bds:"\\p{XDigit}",description:"十六进制数字:[0-9a-fA-F]"},{bds:"\\p{Space}",description:"空白字符:[ \\t\\n\v\\f\\r]"},{bds:"\\p{javaLowerCase}",description:"等效于 java.lang.Character.isLowerCase()"},{bds:"\\p{javaUpperCase}",description:"等效于 java.lang.Character.isUpperCase()"},{bds:"\\p{javaWhitespace}",description:"等效于 java.lang.Character.isWhitespace()"},{bds:"\\p{javaMirrored}",description:"等效于 java.lang.Character.isMirrored()"},{bds:"\\p{InGreek}",description:"Greek 块(简单块)中的字符"},{bds:"\\p{Lu}",description:"大写字母(简单类别)"},{bds:"\\p{Sc}",description:"货币符号"},{bds:"\\P{InGreek}",description:"所有字符,Greek 块中的除外(否定)"},{bds:"[\\p{L}&&[^\\p{Lu}]]",description:"所有字母,大写字母除外(减去)"},{bds:"^",description:"行的开头"},{bds:"$",description:"行的结尾"},{bds:"\\b",description:"单词边界"},{bds:"\\B",description:"非单词边界"},{bds:"\\A",description:"输入的开头"},{bds:"\\G",description:"上一个匹配的结尾"},{bds:"\\Z",description:"输入的结尾,仅用于最后的结束符(如果有的话)"},{bds:"\\z",description:"输入的结尾"},{bds:"X ?",description:"X,一次或一次也没有"},{bds:"X *",description:"X,零次或多次"},{bds:"X +",description:"X,一次或多次"},{bds:"X {n }",description:"X,恰好 n 次"},{bds:"X {n ,}",description:"X,至少 n 次"},{bds:"X {n ,m }",description:"X,至少 n 次,但是不超过 m 次"},{bds:"X ??",description:"X,一次或一次也没有"},{bds:"X *?",description:"X,零次或多次"},{bds:"X +?",description:"X,一次或多次"},{bds:"X {n }?",description:"X,恰好 n 次"},{bds:"X {n ,}?",description:"X,至少 n 次"},{bds:"X {n ,m }?",description:"X,至少 n 次,但是不超过 m 次"},{bds:"X ?+",description:"X,一次或一次也没有"},{bds:"X *+",description:"X,零次或多次"},{bds:"X ++",description:"X,一次或多次"},{bds:"X {n }+",description:"X,恰好 n 次"},{bds:"X {n ,}+",description:"X,至少 n 次"},{bds:"X {n ,m }+",description:"X,至少 n 次,但是不超过 m 次"},{bds:"XY",description:"X 后跟 Y"},{bds:"X |Y",description:"X 或 Y"},{bds:"(X )",description:"X,作为捕获组"},{bds:"\\n",description:"任何匹配的 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",width:100},{label:"属性中文名称",prop:"name",width:100},{label:"长度",prop:"attributeLength"},{label:"数据类型",prop:"attrDataType",formatter:function(e,t){var a={VTBoolean:"布尔型",VTClob:"长文本",VTDate:"日期",VTDateTime:"日期时间",VTTime:"时间",VTLong:"长整型",VTDouble:"金额/双精度",VTInteger:"整形",VTFilePath:"文件",VTString:"字符串"};return a[e.attrDataType]}},{label:"可空",prop:"nullableFlag",formatter:function(e,t){return"true"==e.nullableFlag||"1"==e.nullableFlag?"是":"否"}},{label:"默认值",prop:"defaultValue"},{label:"小数精度",prop:"precisionLength"},{label:"小数刻度",prop:"scaleLength"},{label:"取值范围",prop:"range"},{label:"参照",prop:"referFlag",formatter:function(e){return e.referFlag?e.referBtmTypeId:""}},{label:"枚举",prop:"enumFlag",formatter:function(e){return e.enumFlag?e.enumId:""}}]},data:[],rowList:[],rowCellList:[],List:[],option:{index:!1,border:!0,editBtn:!1,selection:!0,labelWidth:110,cellBtn:!0,cancelBtn:!1,addBtn:!1,width:300,defaultSort:{prop:"name",order:"descending"},column:[{prop:"orderNum",label:"排序号",sortable:!0,edit:"number",width:90,fixed:!0},{label:"属性英文编号",prop:"id",fixed:!0,cell:!1,labelWidth:110,width:125,sortable:!1},{label:"属性中文名称",prop:"name",fixed:!0,cell:!1,width:145,edit:"text",sortable:!0},{label:"属性分组",prop:"attributeGroup",cell:!1,sortable:!0,edit:"text",width:125},{label:"类型",prop:"attributeDataTypeText",cell:!1,sortable:!0},{label:"列表宽度",prop:"attrTableWidth",cell:!1,sortable:!0,width:105,edit:"number"},{label:"关键属性",prop:"keyAttrFlag",cell:!1,edit:"switch"},{label:"查询属性",prop:"queryAttrFlag",cell:!1,edit:"switch"},{label:"高级查询属性",prop:"seniorQueryAttrFlag",width:110,cell:!1,edit:"switch"},{label:"相似查重属性",prop:"sameRepeatAttrFlag",width:110,cell:!1,edit:"switch"},{label:"必输",prop:"requireFlag",cell:!1,edit:"switch"},{label:"表单显示",prop:"formDisplayFlag",cell:!1,edit:"switch"},{label:"列表显示",prop:"tableDisplayFlag",cell:!1,edit:"switch"},{label:"只读",prop:"readonlyFlag",cell:!1,edit:"switch"},{label:"列表排序",prop:"sortAttrFlag",cell:!1,edit:"switch"},{label:"多行文本",prop:"textareaFlag",cell:!1,edit:"switch"},{label:"默认值",prop:"defaultValue",sortable:!0,cell:!1,edit:"text",width:95},{label:"前缀",prop:"prefixValue",sortable:!0,edit:"select",width:110,editConfig:{extraParams:{code:"codeclstempattr",dictKey:"prefix"}},cell:!1},{label:"后缀",prop:"suffixValue",sortable:!0,edit:"select",width:110,editConfig:{extraParams:{code:"codeclstempattr",dictKey:"suffix"}},cell:!1},{label:"组合规则",prop:"componentRule",sortable:!0,cell:!1,edit:"refer",width:105},{label:"验证规则",prop:"verifyRule",sortable:!0,cell:!1,edit:"refer",width:105},{label:"时间格式",prop:"codeDateFormat",sortable:!0,width:135,edit:"select",editConfig:{extraParams:{code:"codeclstempattr",dictKey:"dateFormates"}},cell:!1},{label:"分类注入",prop:"classifyInvokeText",cell:!1,edit:"refer"},{label:"枚举注入",prop:"enumString",cell:!1,edit:"refer"},{label:"级联属性",prop:"parentCode",cell:!1,edit:"refer"},{label:"参照配置",prop:"referConfig",cell:!1,edit:"refer"},{label:"级联查询属性",prop:"parentQueryAttr",width:105,cell:!1,edit:"text"},{label:"选择库标识",prop:"libraryIdentification",width:105,cell:!1,edit:"text"},{label:"填写提示",prop:"explain",cell:!1,edit:"text"},{label:"表单显示样式",prop:"formDisplayStyle",width:105,cell:!1,edit:"text"},{label:"表格显示样式",prop:"tableDisplayStyle",width:105,cell:!1,edit:"text"},{label:"表单超链接",prop:"formHref",width:95,cell:!1,edit:"text"},{label:"表格超链接",prop:"tableHref",width:95,cell:!1,edit:"text"},{label:"表格显示js",prop:"tableDisplayJs",width:95,cell:!1,edit:"text"},{label:"长度",prop:"controlLength",cell:!1},{label:"小数精度",prop:"precisionLength",cell:!1},{label:"取值范围",prop:"valueArea",sortable:!0,cell:!1,width:105,edit:"text"}],List:[]},vciFieldTypeMap:{VTBoolean:"布尔型",VTClob:"长文本",VTDate:"日期",VTDateTime:"日期时间",VTTime:"时间",VTLong:"长整型",VTDouble:"金额/双精度",VTInteger:"整形",VTFilePath:"文件",VTString:"字符串"},codeDataFlag:!1,componentRuleText:"",selectoptions:[{value:"keyAttrFlag",label:"关键属性"},{value:"queryAttrFlag",label:"查询属性"},{value:"seniorQueryAttrFlag",label:"高级查询属性"},{value:"sameRepeatAttrFlag",label:"相似查重属性"},{value:"barcodeFlag",label:"一维码"},{value:"qrcodeFlag",label:"二维码"},{value:"requireFlag",label:"必输"},{value:"formDisplayFlag",label:"表单显示"},{value:"tableDisplayFlag",label:"列表显示"},{value:"readonlyFlag",label:"只读"},{value:"sortAttrFlag",label:"列表排序"},{value:"textareaFlag",label:"多行文本"},{value:"imageFlag",label:"预览图"}],selectvalue:"keyAttrFlag",switchvalue:"false"}},computed:{attrOids:function(){var e=[];return this.attrSelectList.forEach((function(t){e.push(t.oid)})),e.join(",")},busineOids:function(){var e=[];return this.busineSelectList.forEach((function(t){e.push(t.oid)})),e.join(",")}},mounted:function(){},created:function(){var e=this;this.option.column.forEach((function(t,a){"select"==t.edit&&e.selectChangeHandler(t.editConfig,a)}))},methods:{AddFindHandler:function(){if("id"==this.SelectValue){var e={"conditionMap[id]":this.SelectFInd};this.BuineAttrByBtm(e),this.SelectValue="",this.SelectFInd=""}else if("name"==this.SelectValue){var t={"conditionMap[name]":this.SelectFInd};this.BuineAttrByBtm(t),this.SelectValue="",this.SelectFInd=""}},echoReferConfig:function(e){this.referObject=e,this.$set(this.CurrentCell,"referConfig",JSON.stringify(e))},selectChangeHandler:function(e,t){var a=this;Object(o["listByFlag"])(e.extraParams).then((function(e){a.option.column[t].data=e.data.data}))},attrVisibleHandle:function(){this.attrSelectList<1?this.$message.warning("请选择模板属性"):this.attrVisible=!0},attrHandle:function(){var e=this;this.attrSelectList.forEach((function(t){t.attributeGroup=e.attrModel})),this.CurrentCell?this.$set(this.CurrentCell,"attributeGroup",this.attrModel):this.$set(this.attrSelectList[0],"attributeGroup",this.attrModel),this.attrClose()},attrRemove:function(){this.attrModel=""},attrClose:function(){this.attrModel="",this.attrVisible=!1},CrudRend:function(){var e=this;""!=this.crudOid&&Object(o["gridCodeClassifyTemplateAttr"])({"conditionMap[classifyTemplateOid]":this.crudOid,limit:-1}).then((function(t){e.loading=!0,setTimeout((function(){e.ProData=t.data.data,e.loading=!1}),1e3)})).catch((function(t){e.$message.error(t)}))},busineAddHandle:function(){var e=this;if(0==this.busineSelectList.length)return this.$message.warning("请选择属性集"),!1;var t=this.ProData.length;this.busineSelectList.forEach((function(a){var r=!1;e.ProData.forEach((function(e){if(a.id==e.id)return r=!0,!1})),r||(a.oid="",e.busineAddList=Object.assign(a,{orderNum:++t,attributeDataType:a.attrDataType,attributeDataTypeText:e.vciFieldTypeMap[a.attrDataType],controlLength:a.attributeLength,valueArea:a.range,referbtmid:a.referBtmTypeId,referbtmname:a.referBtmTypeName,referConfig:"",enumid:a.enumId,precisionLength:(a.precisionLength?a.precisionLength:"")+(a.scaleLength?"("+a.scaleLength+")":""),classifyTemplateOid:e.crudOid,classifytemplateoid:e.crudOid,formDisplayFlag:"true",tableDisplayFlag:"true",sortAttrFlag:"false",queryAttrFlag:"true",seniorQueryAttrFlag:"true",attrTableWidth:120,ts:""}),e.ProData.push(JSON.parse(JSON.stringify(e.busineAddList))))})),this.addVisible=!1},businessSelect:function(e,t){this.busineSelectList=e},busineHandle:function(){var e=this;this.addVisible=!0,this.busineSelectList=[],this.busineAddList=[],this.BuineAttrByBtm(),this.$nextTick((function(){e.$refs.AddOriginPlace.doLayout()}))},BuineAttrByBtm:function(e){var t=this;Object(o["AttrByBtm"])(l({"conditionMap[oid]":this.crudOid},e)).then((function(e){t.businessData=e.data.data}))},CascadeHandle:function(){var e=this;this.attrSelectList.length>1?this.$message.warning("只能选择一条模板属性"):this.attrSelectList.length<1?this.$message.warning("请选择一条模板属性"):1===this.attrSelectList.length&&(this.CascadeVisible=!0,Object(o["gridCodeClassifyTemplateAttr"])({"conditionMap[classifyTemplateOid]":this.Formlist[0].oid,"conditionMap[oid_notequal]":this.attrOid}).then((function(t){e.CascadeData=t.data.data})))},CascadeAddHandle:function(){var e="";e=this.selectRowArr.id+this.selectRowArr.name,this.CurrentCell?this.$set(this.CurrentCell,"parentCode",e):this.$set(this.attrSelectList[0],"parentCode",e),this.CascadeVisible=!1},casRemove:function(){this.selectRow="",this.$set(this.CurrentCell,"parentCode",this.selectRow),this.CascadeVisible=!1},CascaderowClick:function(e){this.selectRow=e.$index,this.selectRowArr=e},orderHandle:function(){this.$refs.referAttrCrud.sort("orderNum")},selectHandle:function(e,t){this.attrOid=t.oid,this.attrRow=t},selectionChange:function(e){this.attrSelectList=e},rowClick:function(e){this.$refs.referAttrCrud.clearSelection(),this.attrSelectList=[e],this.$refs.referAttrCrud.setCurrentRow(e),this.$refs.referAttrCrud.toggleRowSelection(e),this.attrOid=e.oid,this.attrRow=e},addsHandler:function(e){var t=this;this.$refs.referAttrCrud.sort("orderNum");var a=!0;if(this.ProData.forEach((function(e,r){if(e.requireFlag&&"true"==e.requireFlag.toString()&&e.readOnlyFlag&&"true"==e.readOnlyFlag.toString())return t.$message.warning(e.name+"("+e.id+")必输的属性不能是只读"),void(a=!1);var i=0;return e.componentRule&&i++,(e.enumString||e.enumId)&&i++,(e.referConfig||e.referBtmId)&&i++,e.codeDateFormat&&i++,e.classifyInvokeLevel&&"none"!=e.classifyInvokeLevel&&i++,i>1&&a?(t.$message({showClose:!0,message:e.name+"("+e.id+") 属性只能是组合规则,枚举,参照,时间格式,分类注入中的一种",type:"warning"}),void(a=!1)):void 0})),a){var r=function(){Object(o["batchAddSave"])(JSON.parse(JSON.stringify(t.ProData))).then((function(e){t.$message.success("保存成功"),t.editOpenFlag=!1,t.$emit("editCloseChildren"),t.AddCellFlag=!0})).catch((function(){t.$message.warning("保存失败,请查看控制台输出!")}))};r()}},handleCellClicks:function(e,t){var a=this;if(this.editOpenFlag){this.editingRows=e,this.editShows=t.property,this.rowOid=e.oid,this.CurrentCell=e,this.$nextTick((function(){var t=a.$refs["input"+e.oid],r=t&&t.length>0?t[0].$el:null;r&&r.focus()}));var r={referConfig:function(){a.referConfigVisble=!0,a.referConfigOption={referConfig:a.CurrentCell.referConfig||""},""==a.CurrentCell.referConfig&&(a.referConfigOption={referConfig:""})},classifyInvokeText:function(){a.injectVisible=!0,""!=a.CurrentCell.classifyInvokeAttr&&(a.injectOption={classifyInvokeAttr:a.CurrentCell.classifyInvokeAttr,classifyInvokeAttrName:a.CurrentCell.classifyInvokeAttrName,classifyInvokeEditFlag:a.CurrentCell.classifyInvokeEditFlag,classifyInvokeLevel:"min"==a.CurrentCell.classifyInvokeLevel?"min":"max",classifyNumber:"min"==a.CurrentCell.classifyInvokeLevel?"":a.CurrentCell.classifyInvokeLevel})},componentRule:function(){a.isShowformulaEdit=!0},enumString:function(){a.enumVisible=!0,a.tableData=[],""==a.CurrentCell.enumString||(a.tableData=JSON.parse(a.CurrentCell.enumString))},parentCode:function(){Object(o["gridCodeClassifyTemplateAttr"])({"conditionMap[classifyTemplateOid]":a.Formlist[0].oid,"conditionMap[oid_notequal]":a.CurrentCell.oid,limit:-1}).then((function(e){a.CascadeData=e.data.data})),a.CascadeVisible=!0},verifyRule:function(){a.RulesForm.expressionTextt=a.CurrentCell.verifyRule,a.rulesVisible=!0},attributeGroup:function(){a.attrVisible=!0,""!==a.CurrentCell.attributeGroup&&(a.attrModel=a.CurrentCell.attributeGroup)}};t.property in r&&r[t.property]()}},saveRows:function(){this.editingRows=null,this.editShows=null},addRow:function(){this.tableData.push(JSON.parse(JSON.stringify({key:"",value:""})))},handleCellClick:function(e,t){this.editingRow=e,this.editShow=t.property},enumDeleteRow:function(e){this.tableData.splice(e.$index,1)},enmuVisHandle:function(){if(this.attrSelectList.length>1)this.$message.warning("只能选择一条模板属性");else if(this.attrSelectList<1)this.$message.warning("请选择一条模板属性");else if(1===this.attrSelectList.length&&(this.enumVisible=!0,""!=this.attrSelectList[0].enumString))return void(this.tableData=JSON.parse(this.attrSelectList[0].enumString))},enumBeforeClose:function(e){this.tableData=[],e()},enumCancell:function(){this.tableData=[],this.enumVisible=!1},handleSelectionChange:function(e){this.enumRow=JSON.parse(JSON.stringify(e))},enumAddHandle:function(){var e=this;if(this.tableData.length>=1){var t=!1;this.tableData.forEach((function(a,r){return""===a.key?(e.$message.warning("第".concat(r+1,"行的选项值不能为空")),void(t=!0)):""===a.value?(e.$message.warning("第".concat(r+1,"行的选项中文标签不能为空")),void(t=!0)):void 0})),t||(this.CurrentCell?(this.$set(this.CurrentCell,"enumString",JSON.stringify(this.tableData)),this.enumVisible=!1):(this.$set(this.attrSelectList[0],"enumString",JSON.stringify(this.tableData)),this.tableData=[],this.enumVisible=!1))}else this.$message.warning("请添加枚举注入数据!")},saveRow:function(){this.editingRow=null},ruleAddHandler:function(){this.attrSelectList<1?this.$message.warning("请选择模板属性"):this.rulesVisible=!0},handleRulesRowDBLClick:function(e){this.ruleRowBds=e.bds,this.RulesForm.expressionText=e.bds},rulesremove:function(){this.RulesForm.expressionText="",this.RulesForm.TestContent="",this.$set(this.CurrentCell,"verifyRule",""),this.rulesVisible=!1},rulesHandle:function(){var e=this;this.CurrentCell?(this.$set(this.CurrentCell,"verifyRule",this.RulesForm.expressionText),this.AddCellFlag=!this.AddCellFlag):(this.attrSelectList.forEach((function(t){e.$set(t,"verifyRule",e.RulesForm.expressionText)})),this.rulesremove()),this.rulesVisible=!1},rulesExamine:function(){var e=new RegExp(this.rulesData.ruleRowBds);e.test(this.RulesForm.TestContent)&&this.$message.success("校验成功")},injectBtn:function(){this.attrSelectList.length>1?this.$message.warning("只能选择一条模板数据"):this.attrSelectList.length<1?this.$message.warning("请选择一条模板数据"):1===this.attrSelectList.length&&(this.injectVisible=!0)},injectAddHandle:function(){var e=this.injectOption,t=e.classifyInvokeAttr,a=e.classifyInvokeAttrName,r=e.classifyInvokeLevel,i=e.classifyInvokeEditFlag,n=e.classifyNumber,o={"注入类型":t,"注入类型名称":a,"层级设置":"max"===r?n:"min","是否可修改":i};for(var s in this.injectOption)this.attrSelectList[0][s]=this.injectOption[s],this.attrSelectList[0].classifyInvokeLevel="min"!==r?n:"min",this.$set(this.attrSelectList[0],"classifyInvokeText",o);"min"!==r?this.injectOption.classifyInvokeLevel=n:this.injectOption.classifyNumber=0,this.injectVisible=!1},injectHandleReset:function(){this.$set(this.CurrentCell,"classifyInvokeText",""),this.$set(this.CurrentCell,"classifyInvokeAttr:",""),this.$set(this.CurrentCell,"classitwInvokeAttrName",""),this.$set(this.CurrentCell,"classifyInvokeEditFlag","false"),this.$set(this.CurrentCell,"classifyInvokeLevel","none"),this.injectVisible=!1},injectRemove:function(){this.injectVisible=!1,this.injectHandleReset()},CrudRowDel:function(e){this.ProData.splice(e,1)},CrudRemove:function(){var e=this;this.attrSelectList.forEach((function(t){var a=e.ProData.indexOf(t);e.ProData.splice(a,1)}))},reset:function(){this.CrudRend()},syncHandle:function(){var e=this;this.attrSelectList.length>1?this.$message.warning("只能选择一条模板属性数据"):this.attrSelectList.length<1?this.$message.warning("请选择一条模板属性数据"):1===this.attrSelectList.length&&Object(o["copyto"])({oid:this.attrRow.oid}).then((function(t){e.$message.success("同步成功")}))},applicationHandle:function(){this.addvisible=!0},isShowHandler:function(){this.attrSelectList.length>1?this.$message.warning("只能选择一条模板属性数据"):this.attrSelectList.length<1?this.$message.warning("请选择一条模板属性数据"):1===this.attrSelectList.length&&(this.isShowformulaEdit=!0)},fullscreenHandle:function(){this.crudArray.length<1?this.$message.warning("请选择一个模板"):(this.editStyleFlag=!0,this.attrEditVisible=!0,this.attrFlag=!0,this.AddCellFlag=!0)},escEdit:function(){this.attrFlagChiledren=!1,this.attrEditVisible=!1,this.editStyleFlag=!1},updataFormlaContent:function(e){this.CurrentCell?(this.$set(this.CurrentCell,"componentRule",e.replace(/"/g,"")),this.componentRuleText=this.CurrentCell.componentRule):this.$set(this.attrRow,"componentRule",e.replace(/"/g,""))},setReferConfigValue:function(e){var t=JSON.stringify(e);this.referConfigText=t,this.CurrentCell?this.$set(this.CurrentCell,"referConfig",JSON.stringify(e)):this.$set(this.attrRow,"referConfig",JSON.stringify(e))},sortChange:function(e){},editOpen:function(){this.editOpenFlag=!0,this.AddCellFlag=!1},editClose:function(){this.editOpenFlag=!1},batchSetFlag:function(e){var t=this;this.attrSelectList.forEach((function(a){a[t.selectvalue]=e}))}}},u=c,d=(a("8ee3"),a("2877")),p=Object(d["a"])(u,r,i,!1,null,"121462c8",null);t["default"]=p.exports},"81b9":function(e,t,a){"use strict";a.r(t),a.d(t,"businese",(function(){return s}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e){return Object(i["a"])({url:"/api/ubcs-code/mdmEngineController/getTableDataByOids",method:"get",params:o({},e)})}},8294:function(e,t,a){"use strict";a.r(t);var r=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",loading:e.submitLoading},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",{directives:[{name:"loading",rawName:"v-loading",value:e.tab1Loading,expression:"tab1Loading"}],staticStyle:{width:"100%"},attrs:{border:"",data:e.tab1Table,height:"40vh","highlight-current-row":""},on:{"current-change":e.resembleRowChange,"selection-change":e.tab1TableSelectChange}},["batchApplyCode"!==e.type?t("el-table-column",{attrs:{type:"selection",width:"100px",align:"center"}}):t("el-table-column",{attrs:{type:"operate",width:"100px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(a){var r=a.row;return[t("el-button",{attrs:{type:"text"},on:{click:function(t){return e.reEdit(r)}}},[e._v("重新编辑")])]}}],null,!1,176171522)}),t("el-table-column",{attrs:{type:"index",label:"序号",width:"100px",align:"center"}}),e._l(e.cloNamesList,(function(e){return t("el-table-column",{key:e.field,attrs:{prop:e.field,label:e.title,width:e.width,align:"center"}})}))],2):t("div",{staticStyle:{height:"400px"}}),t("div",[t("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.tab1BottomTableLoading,expression:"tab1BottomTableLoading"}],staticStyle:{width:"100%"},attrs:{border:"",data:e.currentSelectedResemble,height:"20vh"}},[e._l(e.resembleColumList,(function(a){return t("el-table-column",{key:a.field,attrs:{prop:a.field,label:a.title,minWidth:a.minWidth,align:"center"},scopedSlots:e._u([{key:"default",fn:function(r){var i=r.row;return["id"===a.field?t("span",[t("el-link",{attrs:{type:"primary"},on:{click:function(t){return e.openFormTemlpate(i)}}},[e._v(e._s(i[a.field]))])],1):t("span",[e._v("\n "+e._s(i[a.field])+"\n ")])]}}],null,!0)})})),t("el-table-column",{directives:[{name:"show",rawName:"v-show",value:e.resembleColumList.length>0,expression:"resembleColumList.length > 0"}],attrs:{prop:"rowIndex",label:"excel行数",align:"center"}})],2)],1)],1),t("el-tab-pane",{attrs:{label:e.tab2Name,name:"tab2"}},[t("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.tab2Loading,expression:"tab2Loading"}],attrs:{border:"",data:e.tab2Table,height:"60vh"}},e._l(e.successTableColumns,(function(e){return t("el-table-column",{key:e.field,attrs:{prop:e.field,label:e.title,width:e.width,align:"center"}})})),1),"batchApplyCode"===e.type&&e.tab2Table.length>0?t("el-card",{staticStyle:{"min-height":"200px",margintop:"10px"}},[t("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[t("h4",[e._v("编码申请")])]),"batchApplyCode"===e.type?t("FormTemplate",{ref:"CodeApply",attrs:{type:"add",selfColumnType:e.selfColumnType,selfColumnConfig:e.selfColumnConfig},on:{getFormData:e.getCodeApplyFormData,referConfigDataUpdate:e.referConfigDataUpdate}}):e._e()],1):e._e()],1)],1)],1)])]),t("FormTemplateDialog",e._b({ref:"FormTemplateDialog",attrs:{visible:e.currentSelectedResembleRow.formTemplateVisible},on:{"update:visible":function(t){return e.$set(e.currentSelectedResembleRow,"formTemplateVisible",t)},submit:e.FormTemplateSubmit}},"FormTemplateDialog",e.currentSelectedResembleRow,!1))],1)},i=[],n=(a("7514"),a("ac6a"),a("456d"),a("6762"),a("2fdb"),a("96cf"),a("1da1")),o=(a("7f7f"),a("78e2")),s=a("6657"),l=a("8cf2"),c=a("741a"),u={name:"ShowImportData",components:{ResembleQuery:s["default"],FormTemplate:l["default"]},mixins:[c["a"]],props:{title:{type:String,default:"历史数据导入"},visible:!1,leftTree:{type:Array,default:function(){return[]}},redisOid:{type:String,default:""},classifyAttr:{type:String,default:"id"},codeClassifyOid:{type:String,default:""},type:String,secDTOList:{type:Array,default:function(){return{}}},resetTable:Function},computed:{dialogVisible:{get:function(){return this.visible},set:function(e){this.$emit("update:visible",e)}},successTableColumns:function(){return"batchApplyCode"===this.type?this.cloNamesList.slice(1):this.cloNamesList}},data:function(){return{isExpand:!0,filterText:"",leftWidth:200,templateOid:null,tab1Name:"相似项",tab2Name:"正确数据",tab1Table:[],selectedTab1Table:[],tab2Table:[],activeTab:"tab1",cloNamesList:[],localCodeClassifyOid:"",codeRuleOid:"",resembleColumList:[],currentSelectedResemble:[],currentSelectedResembleRow:{templateOid:"",codeClassifyOid:"",rowOid:"",formTemplateVisible:!1,type:"detail",title:"查看详细信息",setForm:{}},batchSelectTableData:{},savedList:[],tab1Loading:!1,tab2Loading:!1,tab1BottomTableLoading:!1,submitLoading:!1}},methods:{filterNode:function(e,t){return!e||-1!==t.name.indexOf(e)},hideTree:function(){this.isExpand?this.leftWidth=50:this.leftWidth=200,this.isExpand=!this.isExpand},treeNodeClick:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t,a){var r=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("batchApplyCode"!==this.type){e.next=19;break}if(!0!==a){e.next=6;break}this.codeRuleOid=t.codeRuleOid,this.batchSelectTableData[t.codeRuleOid]={name:t.name,templateOid:t.oid,cloNamesList:t.cloNamesList,codeClassifyOid:t.codeClassifyOid,codeRuleOid:t.codeRuleOid},e.next=18;break;case 6:if(this.localCodeClassifyOid!==t.codeClassifyOid){e.next=10;break}console.log("重复点击"),e.next=18;break;case 10:if(!this.$refs.CodeApply){e.next=18;break}return e.next=13,this.$refs.CodeApply.validate();case 13:if(e.sent){e.next=18;break}return this.$message.warning("请填写便编码申请!"),this.activeTab="tab2",this.$refs.tree.setCurrentKey(this.localCodeClassifyOid),e.abrupt("return",!1);case 18:this.batchSelectTableData[t.codeRuleOid]||(this.batchSelectTableData[t.codeRuleOid]={name:t.name,templateOid:t.oid,cloNamesList:t.cloNamesList,codeClassifyOid:t.codeClassifyOid,codeRuleOid:t.codeRuleOid});case 19:"historyImport"===this.type&&(!0===a?this.batchSelectTableData[t.codeClassifyOid]={name:t.name,templateOid:t.oid,cloNamesList:t.cloNamesList,codeClassifyOid:t.codeClassifyOid,codeRuleOid:t.codeRuleOid}:this.localCodeClassifyOid===t.codeClassifyOid&&console.log("重复点击"),this.batchSelectTableData[t.codeClassifyOid]||(this.batchSelectTableData[t.codeClassifyOid]={name:t.name,templateOid:t.oid,cloNamesList:t.cloNamesList,codeClassifyOid:t.codeClassifyOid,tab1Selected:[]}),this.selection=this.batchSelectTableData[this.localCodeClassifyOid]["tab1Selected"]),this.localCodeClassifyOid=t.codeClassifyOid,this.cloNamesList=t.cloNamesList,this.templateOid=t.oid,this.tab1Loading=!0,Object(o["getResembleTable"])({codeClassifyOid:"batchApplyCode"===this.type?t.codeRuleOid:this.templateOid,redisOid:this.redisOid+"-resemble"}).then((function(e){r.tab1Loading=!1,r.tab1Table=e.data.data.filter((function(e){return!r.savedList.includes(e.oid)})),"batchApplyCode"===r.type&&(r.batchSelectTableData[t.codeRuleOid]["tab1"]=r.tab1Table),"historyImport"===r.type&&(r.batchSelectTableData[t.codeClassifyOid]["tab1"]=r.tab1Table)})),this.tab2Loading=!0,Object(o["getSuccessTable"])({codeClassifyOid:"batchApplyCode"===this.type?t.codeRuleOid:this.templateOid,redisOid:this.redisOid+"-ok"}).then((function(e){r.tab2Loading=!1,r.tab2Table=e.data.data,r.tab2Table.length>0&&"batchApplyCode"===r.type&&(r.batchSelectTableData[t.codeRuleOid]["codeApply"]={},r.batchSelectTableData[t.codeRuleOid]["tab2"]=r.tab2Table,r.$refs.CodeApply&&(r.$refs.CodeApply.loading=!0),r.getCodeRule()),"historyImport"===r.type&&(r.batchSelectTableData[t.codeClassifyOid]["tab2"]=r.tab2Table)})),Object(o["getFormTemplate"])({templateOid:t.oid,codeClassifyOid:this.localCodeClassifyOid}).then((function(e){r.resembleColumList=e.data.resembleTableVO.cols[0]}));case 28:case"end":return e.stop()}}),e,this)})));function t(t,a){return e.apply(this,arguments)}return t}(),tab1TableSelectChange:function(e){this.selectedTab1Table=e,this.batchSelectTableData[this.localCodeClassifyOid]&&(this.batchSelectTableData[this.localCodeClassifyOid]["tab1Selected"]=e)},resembleRowChange:function(e){var t=this;e&&e.oid&&(this.tab1BottomTableLoading=!0,Object(o["getCurretnSelectedRowResemble"])({redisOid:this.redisOid+"-resemble-data",dataOid:e.oid}).then((function(e){t.tab1BottomTableLoading=!1,t.currentSelectedResemble=e.data.data})))},openFormTemlpate:function(e){this.currentSelectedResembleRow={formTemplateVisible:!0,templateOid:e.codetemplateoid,codeClassifyOid:this.localCodeClassifyOid,rowOid:e.rowOid,type:"detail",title:"查看详细信息",setForm:{}}},submit:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,a,r,i,n,s,l,c,u,d,p,f=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t={classifyAttr:"historyImport"===this.type||"batchApplyCode"===this.type?this.classifyAttr:void 0,improt:"historyImport"===this.type},"batchApplyCode"!==this.type){e.next=27;break}if(!this.$refs.CodeApply){e.next=9;break}return e.next=5,this.$refs.CodeApply.validate();case 5:if(e.sent){e.next=9;break}return this.$message.warning("请填写便编码申请!"),this.activeTab="tab2",e.abrupt("return",!1);case 9:if(a=Object.keys(this.batchSelectTableData),r=this.leftTree.filter((function(e){return!a.includes(e.codeRuleOid)})),i=r.map((function(e){return e.name})),!(i.length>0)){e.next=15;break}return this.$message.warning("数据".concat(i,"还未曾查看,请先查看!")),e.abrupt("return",!1);case 15:for(l in n=[],s=[],this.batchSelectTableData)Object.hasOwnProperty.call(this.batchSelectTableData,l)&&(c=this.batchSelectTableData[l],c.tab1.length>0&&n.push(c),c.tab2.length>0&&s.push(c));if(0!==s.length){e.next=21;break}return this.$message.warning("导入的数据中没有正确的数据!"),e.abrupt("return");case 21:if(!(n.length>0)){e.next=24;break}return e.next=24,this.$confirm(n.map((function(e){return e.name})).join("、")+",这几个编码规则下的有错误数据和相似项数据没有处理,您如果继续保存的话,这些数据将会被自动舍弃,是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"});case 24:t.codeImprotSaveDatVOList=s.map((function(e){return{Clos:e.cloNamesList,dataList:e.tab2,orderDTO:{codeClassifyOid:e.codeClassifyOid,templateOid:e.templateOid,secDTOList:e.localSecVOList.map((function(t){return{secOid:t.oid,secValue:e.codeApply[t.oid]}}))}}})),e.next=38;break;case 27:if("historyImport"!==this.type){e.next=37;break}if(u=Object.keys(this.batchSelectTableData),d=this.leftTree.filter((function(e){return!u.includes(e.codeClassifyOid)})),p=d.map((function(e){return e.name})),!(p.length>0)){e.next=34;break}return this.$message.warning("数据".concat(p,"还未曾查看,请先查看!")),e.abrupt("return",!1);case 34:t.codeImprotSaveDatVOList=this.batchSelectTableData.map((function(e){return{Clos:e.cloNamesList,dataList:e.tab2.concat(e.tab1Selected),orderDTO:{codeClassifyOid:e.codeClassifyOid,templateOid:e.templateOid,secDTOList:f.secDTOList}}})),e.next=38;break;case 37:t.codeImprotSaveDatVOList=[{Clos:this.cloNamesList.map((function(e){return e.title})),dataList:this.tab2Table.concat(this.selectedTab1Table),orderDTO:{codeClassifyOid:this.codeClassifyOid,templateOid:this.templateOid,secDTOList:this.secDTOList}}];case 38:this.submitLoading=!0,Object(o["submitHistoryimport"])(t).then((function(e){f.submitLoading=!1,200===e.data.code&&(f.$message.success(e.data.msg),f.$parent.dialogVisible=!1,f.resetTable())}));case 40:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),reEdit:function(e){this.currentSelectedResembleRow={templateOid:e.codetemplateoid,codeClassifyOid:e.codeclassifyid,rowOid:e.oid,formTemplateVisible:!0,type:"add",title:"编辑数据后重新入库",setForm:e}},FormTemplateSubmit:function(e){var t=this;Object(o["addSaveCode"])(e).then((function(a){200===a.data.code&&(t.savedList.push(e.oid),t.$message.success("新增成功!"),t.treeNodeClick(t.leftTree.find((function(e){return e.codeRuleOid===t.codeRuleOid}))),t.currentSelectedResembleRow={templateOid:"",codeClassifyOid:"",rowOid:"",formTemplateVisible:!1,type:"detail",title:"查看详细信息",setForm:{}})}))}},watch:{filterText:function(e){this.$refs.tree.filter(e)},leftTree:{immediate:!0,deep:!0,handler:function(e){var t=this;e.length>0&&(this.treeNodeClick(e[0],!0),this.$nextTick((function(){t.$refs.tree.setCurrentKey(e[0]["codeClassifyOid"])})),"batchImportApply"===this.type?this.leftWidth=0:"batchApplyCode"===this.type&&(this.tab1Name="有相似项或错误数据",this.tab2Name="正确数据",this.leftWidth=200))}}}},d=u,p=(a("5a04d"),a("2877")),f=Object(p["a"])(d,r,i,!1,null,"8c9c1e18",null);t["default"]=f.exports},"832b":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"avue-dialog avue-dialog--top",staticStyle:{height:"100vh",overflow:"hidden"},attrs:{title:"高级查询","append-to-body":"",width:"46vw",visible:e.isShowDialog,"lock-scroll":"",top:"-3%","destroy-on-close":""},on:{"update:visible":function(t){e.isShowDialog=t},close:e.recoverPage}},[t("div",{staticClass:"search-total"},[t("div",{staticClass:"dialog-search-button",attrs:{slot:"title"},slot:"title"},[t("el-button",{attrs:{type:"primary",size:"small",icon:"el-icon-search"},on:{click:e.searchSubmit}},[e._v("\n 查询\n ")]),t("el-button",{attrs:{type:"warning",size:"small",icon:"el-icon-refresh"},on:{click:e.resetInput}},[e._v("\n 重置\n ")])],1),t("div",{staticClass:"search-content"},e._l(e.initOptions,(function(a,r){return t("el-row",{key:a.queryField,attrs:{span:24}},[t("el-col",{attrs:{span:6}},[t("div",{staticClass:"grid-content"},[t("el-select",{attrs:{disabled:"",placeholder:"请选择"},model:{value:e.searchFormArrays[r].queryField,callback:function(t){e.$set(e.searchFormArrays[r],"queryField",t)},expression:"searchFormArrays[index].queryField"}},e._l(e.options,(function(e){return t("el-option",{key:e.queryField,attrs:{label:e.title,value:e.queryField}})})),1)],1)]),t("el-col",{attrs:{span:4}},[t("div",{staticClass:"grid-content"},[t("el-select",{attrs:{placeholder:"请选择"},model:{value:e.searchFormArrays[r].condition,callback:function(t){e.$set(e.searchFormArrays[r],"condition",t)},expression:"searchFormArrays[index].condition"}},e._l(a.conditions,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)]),t("el-col",{attrs:{span:12}},[t("div",{staticClass:"grid-content"},["text"===a.fieldType||""===a.fieldType?t("el-input",{attrs:{type:"text",placeholder:"请输入"},model:{value:e.searchFormArrays[r].fieldValue,callback:function(t){e.$set(e.searchFormArrays[r],"fieldValue",t)},expression:"searchFormArrays[index].fieldValue"}}):"combox"===a.fieldType?t("el-select",{attrs:{placeholder:"请选择"},model:{value:e.searchFormArrays[r].fieldValue,callback:function(t){e.$set(e.searchFormArrays[r],"fieldValue",t)},expression:"searchFormArrays[index].fieldValue"}},e._l(a.data,(function(e){return t("el-option",{key:e.itemValue||e.value,attrs:{label:e.itemName||e.label,value:e.itemValue||e.value}})})),1):"truefalse"===a.fieldType?t("el-switch",{model:{value:e.searchFormArrays[r].fieldValue,callback:function(t){e.$set(e.searchFormArrays[r],"fieldValue",t)},expression:"searchFormArrays[index].fieldValue"}}):"datetime"===a.fieldType?t("el-date-picker",{attrs:{type:"date",placeholder:"选择日期"},model:{value:e.searchFormArrays[r].fieldValue,callback:function(t){e.$set(e.searchFormArrays[r],"fieldValue",t)},expression:"searchFormArrays[index].fieldValue"}}):"refer"===a.fieldType?t("vci-web-refer",{attrs:{referConfig:a.referConfigData||{},value:e.searchFormArrays[r].fieldValue,text:a.showField,display:!a.hidden},on:{setReferValue:function(t){return e.setReferValue(t,r)}}}):e._e()],1)]),t("el-col",{attrs:{span:1}},[t("div",{staticClass:"grid-content"},[t("i",{staticClass:"el-icon-close",on:{click:function(t){return e.removeInput(r)}}})])])],1)})),1)])])},i=[],n=(a("ac6a"),a("35a0")),o=a("6e8c"),s={components:{vciWebRefer:o["default"]},name:"advancedQuery",props:{visible:{type:"Boolean",default:!1},options:{type:"Object",default:{}}},data:function(){return{isShowDialog:this.visible,initOptions:[],searchConditions:[{value:"_equal",label:"等于"},{value:"_notequal",label:"不等于"},{value:"_like",label:"包含"},{value:"_notlike",label:"不包含"}],switchSearchConditions:[{value:"_equal",label:"等于"},{value:"_notequal",label:"不等于"}],referSearchConditions:[{value:"_equal",label:"等于"},{value:"_notequal",label:"不等于"},{value:"_like",label:"包含"},{value:"_notlike",label:"不包含"}],dateConditions:[{value:"_equal",label:"等于"},{value:"_notequal",label:"不等于"},{value:"_ge",label:"大于"},{value:"_le",label:"小于"}],searchFormArrays:[],fieldValue:""}},watch:{visible:function(){this.isShowDialog=this.visible},options:function(){this.initData()}},methods:{initData:function(){var e=this,t=JSON.stringify(this.options);if(this.initOptions=JSON.parse(t),this.initOptions.length>0){var a=[];this.initOptions.forEach((function(t,r){if("combox"===t.fieldType){var i=t.data||JSON.parse(localStorage.getItem(t.comboxKey));null!=i&&i.length>0?t.data=i:Object(n["getDictionary"])({code:t.comboxKey}).then((function(e){t.data=e.data.data,localStorage.setItem(t.comboxKey,JSON.stringify(e.data.data))}))}else"refer"===t.fieldType&&e.$set(t,"referConfigData",{title:t.title,showField:t.showField||t.field,field:t.field,placeholder:t.inputTip||"",options:Object.assign(t.referConfig,{width:"80%"})});var o=[];o="text"===t.fieldType?e.searchConditions:"combox"===t.fieldType||"truefalse"===t.fieldType?e.switchSearchConditions:"datetime"===t.fieldType?e.dateConditions:e.referSearchConditions,e.$set(t,"conditions",o);var s={queryField:String(t.queryField),condition:"text"===t.fieldType?String("_like"):String("_equal"),fieldValue:"truefalse"===t.fieldType?Boolean(!1):String("")};a.push(s)})),this.searchFormArrays=a}},setReferValue:function(e,t){e.field&&(this.searchFormArrays[t][e.fieldValue]=e.value||"",this.initOptions[t][e.showField]=e.text||"")},removeInput:function(e){this.$delete(this.initOptions,e),this.$delete(this.searchFormArrays,e)},resetInput:function(){this.initData()},recoverPage:function(){this.resetInput(),this.$emit("update:visible",!1)},searchSubmit:function(){for(var e={},t=this.searchFormArrays,a=0;a<t.length;a++)if(t[a].fieldValue+""!=""||t[a].fieldValue+""==="false"){if(e["conditionMap["+t[a].queryField+"]"]+""!="undefined")return this.$message.warning("存在重复查询条件,请仔细核对!"),console.log(e["conditionMap["+t[a].queryField+"]"]),!1;e["conditionMap["+t[a].queryField+t[a].condition+"]"]=t[a].fieldValue}console.log(e),this.$emit("echoContion",e),this.isShowDialog=!1}}},l=s,c=(a("e75a"),a("2877")),u=Object(c["a"])(l,r,i,!1,null,"0446bcc7",null);t["default"]=u.exports},"84df":function(e,t,a){"use strict";a.d(t,"a",(function(){return r})),a.d(t,"b",(function(){return i})),a.d(t,"c",(function(){return n}));a("3b2b"),a("a481");var r=function(e,t){var a=t-e,r=Math.floor(a/864e5),i=a%864e5,n=Math.floor(i/36e5),o=i%36e5,s=Math.floor(o/6e4),l=o%6e4,c=Math.round(a/1e3);return{leave1:i,leave2:o,leave3:l,days:r,hours:n,minutes:s,seconds:c}};function i(e,t){if(t=t||"yyyy-MM-dd hh:mm:ss","Invalid Date"!==e){var a={"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 r in/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(e.getFullYear()+"").substr(4-RegExp.$1.length))),a)new RegExp("("+r+")").test(t)&&(t=t.replace(RegExp.$1,1===RegExp.$1.length?a[r]:("00"+a[r]).substr((""+a[r]).length)));return t}return""}function n(){return i(new Date,"yyyyMMddhhmmss")}},8572:function(e,t,a){},"85ad":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("el-dialog",{staticClass:"avue-dialog avue-dialog--top",staticStyle:{height:"110vh","margin-top":"-12vh","overflow-y":"hidden"},attrs:{"close-on-click-modal":!1,title:e.options.title,"append-to-body":"",visible:e.crudParams.isShowDialog,width:"65%",top:"0","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)},i=[],n=(a("456d"),a("ac6a"),a("ade3")),o=a("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(n["a"])(e,"border",!0),Object(n["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 a={};this.crudParams.crudQuery&&Object.keys(this.crudParams.crudQuery).forEach((function(e){a["conditionMap["+e+"]"]=t.crudParams.crudQuery[e]})),a["conditionMap[btmTypeId]"]=this.options.btmTypeId,Object(o["gridAttributesByBtmId"])(1,-1,a).then((function(e){var a=e.data;t.crudParams.crudData=a.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=a("2877"),u=Object(c["a"])(l,r,i,!1,null,null,null);t["default"]=u.exports},8776:function(e,t,a){"use strict";a("ef2c")},"882c":function(e,t,a){"use strict";a.r(t);a("386d");var r=function(){var e=this,t=e._self._c;return e.Formlist.length>0?t("avue-crud",{ref:"crud",attrs:{data:e.data,option:e.option,page:e.page,search:e.search,"table-loading":e.loading},on:{"update:page":function(t){e.page=t},"update:search":function(t){e.search=t},"on-load":e.getDataList,"row-save":e.handleSave,"row-del":e.handleDelete,"row-update":e.handleEdit,"refresh-change":e.handleRefresh,"size-change":e.handleSizePage,"current-change":e.handleCurrentPage},model:{value:e.form,callback:function(t){e.form=t},expression:"form"}}):e._e()},i=[],n=(a("8e6e"),a("ac6a"),a("456d"),a("ade3")),o=(a("96cf"),a("1da1")),s=(a("7f7f"),a("5821"));function l(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function c(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?l(Object(a),!0).forEach((function(t){Object(n["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):l(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var u={name:"FlowPath",props:{checkStatus:{type:Boolean,default:!1},crudLCStatus:{type:String,default:"Editing"},code:{typeof:String,required:!0,default:""},Formlist:{type:Array,default:[]}},data:function(){var e=this;return{loading:!1,page:{currentPage:1,pageSize:10,total:0},search:{},delIds:[],data:[],startData:[],form:{},option:{height:340,border:!0,align:"center",menu:!this.checkStatus||"Editing"==this.crudLCStatus,menuAlign:"center",index:!0,searchMenuSpan:8,searchBtn:!1,refreshBtn:!1,emptyBtn:!1,columnBtn:!1,editBtn:!this.checkStatus||"Editing"==this.crudLCStatus,delBtn:!this.checkStatus||"Editing"==this.crudLCStatus,addBtn:!this.checkStatus||"Editing"==this.crudLCStatus,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){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()},watch:{code:{handler:function(e,t){this.getDataList()}},checkStatus:{handler:function(e,t){this.option.delBtn=!this.checkStatus||"Editing"==this.crudLCStatus,this.option.editBtn=!this.checkStatus||"Editing"==this.crudLCStatus,this.option.addBtn=!this.checkStatus||"Editing"==this.crudLCStatus}},crudLCStatus:{handler:function(e,t){this.option.delBtn=!this.checkStatus||"Editing"==this.crudLCStatus,this.option.editBtn=!this.checkStatus||"Editing"==this.crudLCStatus,this.option.addBtn=!this.checkStatus||"Editing"==this.crudLCStatus}}},methods:{getStart:function(){var e=Object(o["a"])(regeneratorRuntime.mark((function e(){var t,a,r;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&&(a=t.data.data.records,r=a.map((function(e){var t=e.key,a=e.name,r=e.version;return{key:t,name:a,version:r}})),this.option.column[0].dicData=r);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,a,r,i,n,o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(this.loading=!1,!this.code){e.next=10;break}return t=this.page,a=t.pageSize,r=t.currentPage,i={size:a,current:r},e.next=6,Object(s["getFlowpathList"])(c(c({},i),{templateId:this.code}));case 6:n=e.sent,200===n.status?(this.loading=!1,o=n.data.data,this.data=o.records,this.page.total=o.total):this.loading=!1,e.next=11;break;case 10:this.data=[];case 11: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,a,r){var i=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(s["flowpathSave"])(c(c({},t),{templateId:this.code})).then((function(e){200===e.status&&(i.$message({type:"success",message:"新增数据成功!"}),a(),i.getDataList())})).catch((function(e){r()}));case 2:case"end":return e.stop()}}),e,this)})));function t(t,a,r){return e.apply(this,arguments)}return t}(),handleEdit:function(){var e=Object(o["a"])(regeneratorRuntime.mark((function e(t,a,r,i){var n,o,l,u,d,p,f=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=t.modelName,o=t.modelKey,l=t.buttonTypeKey,u=t.id,d=t.description,p={modelName:n,modelKey:o,buttonTypeKey:l,id:u,description:d},e.next=4,Object(s["flowpathSave"])(c(c({},p),{templateId:this.code})).then((function(e){200===e.status&&(f.$message({type:"success",message:"修改数据成功!"}),r(),f.getDataList())})).catch((function(){i()}));case 4:case"end":return e.stop()}}),e,this)})));function t(t,a,r,i){return e.apply(this,arguments)}return t}(),handleDelete:function(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 a(){var r;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,Object(s["flowpathDelete"])(e);case 2:r=a.sent,200===r.status&&(t.$message({type:"success",message:"删除成功!"}),t.getDataList());case 4:case"end":return a.stop()}}),a)}))))},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=a("2877"),f=Object(p["a"])(d,r,i,!1,null,null,null);t["default"]=f.exports},"888e":function(e,t,a){"use strict";a.r(t),a.d(t,"treeCodeClassifyValue",(function(){return s})),a.d(t,"addSaveCodeClassifyValue",(function(){return l})),a.d(t,"editCodeClassifyValue",(function(){return c})),a.d(t,"deleteCodeClassifyValue",(function(){return u})),a.d(t,"saveCodeClassifyValueOrder",(function(){return d}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeClassifyValueController/treeCodeClassifyValue",method:"get",params:o({},e)})},l=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeClassifyValueController/addSave",method:"post",data:e})},c=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeClassifyValueController/editSave",method:"put",data:e})},u=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeClassifyValueController/deleteData",method:"delete",data:e})},d=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeClassifyValueController/saveOrder",method:"post",data:e})}},"88ca":function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return s})),a.d(t,"remove",(function(){return l}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-report/report/rest/list",method:"get",params:o(o({},a),{},{current:e,size:t})})},l=function(e){return Object(i["a"])({url:"/api/ubcs-report/report/rest/remove",method:"post",params:{ids:e}})}},"89bb":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("div",[t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"avue-dialog avue-dialog--top",attrs:{title:e.title,"append-to-body":"true",visible:e.visible,top:"0",width:e.options.width||"80%",height:e.options.height||"auto"},on:{"update:visible":function(t){e.visible=t}}},[t("avue-crud",{ref:"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,"row-click":e.rowClick,"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)},i=[],n=a("4661"),o=n["a"],s=(a("e8d5"),a("2877")),l=Object(s["a"])(o,r,i,!1,null,"2b5064b1",null);t["default"]=l.exports},"8a50":function(e,t,a){},"8a8b":function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return s}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t){return Object(i["a"])({url:e,method:"get",params:o({},t)})}},"8b1b":function(e,t,a){"use strict";a("c010")},"8b61":function(e,t,a){"use strict";a("58fc")},"8bbf":function(e,t){e.exports=Vue},"8c2f":function(e,t,a){"use strict";a("6216")},"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_regexp_replace__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("a481"),core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_1__),core_js_modules_es6_array_find__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("7514"),core_js_modules_es6_array_find__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(core_js_modules_es6_array_find__WEBPACK_IMPORTED_MODULE_2__),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__),core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("ac6a"),core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_4__),_api_work_businese__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("81b9"),_api_GetItem__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("dd3a"),_util_validate__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("c54a"),_api_system_dict__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("7754"),_refer_vciWebRefer_vue__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("6e8c");__webpack_exports__["a"]={name:"BusinessWork",components:{vciWebRefer:_refer_vciWebRefer_vue__WEBPACK_IMPORTED_MODULE_9__["default"]},props:["ids","templateId","taskId","modelKey","codeClassifyOid","stageAttrs"],data:function(){return{BuinessOids:[],isLoading:!1,tableHeadData:[],tableData:[],editingRow:null,editShow:"",editAttr:"",hasEditor:!1,columnType:{text:"input",combox:"select",truefalse:"switch",number:"number",textarea:"textarea",datetime:"datetime",date:"date",refer:"refer"}}},watch:{ids:{handler:function(e,t){this.BuinessOids=e,this.CrudHeaderRend(),this.BuinseseRend()},deep:!0},stageAttrs:function(e,t){this.hasEditor=e.length>0}},created:function(){},mounted:function(){},methods:{HandlerSave:function(){var e=this;if(!Object(_util_validate__WEBPACK_IMPORTED_MODULE_7__["b"])(this.editingRow)){this.editingRow=null;var t=this.tableData.map((function(t){var a={codeClassifyOid:t.codeclsfid,templateOid:e.templateId,editInProcess:!0,data:t,oid:t.oid,ts:t.ts};return a}));Object(_api_GetItem__WEBPACK_IMPORTED_MODULE_6__["batchUpdateCode"])(t).then((function(t){t.data.success&&(e.$message.success("修改成功"),e.BuinseseRend())}))}},CrudHeaderRend:function CrudHeaderRend(){var _this2=this;if(""!=this.codeClassifyOid){var data=new FormData;data.append("templateId",this.templateId),data.append("taskId",this.taskId),data.append("modelKey",this.modelKey),data.append("codeClassifyOid",this.codeClassifyOid),Object(_api_GetItem__WEBPACK_IMPORTED_MODULE_6__["FlowTable"])({templateId:this.templateId,taskId:this.taskId,modelKey:this.modelKey,codeClassifyOid:this.codeClassifyOid}).then((function(res){_this2.options=res.data.tableDefineVO.seniorQueryColumns,_this2.List=res.data.tableDefineVO.cols[0],_this2.tableHeadData=[],_this2.List.forEach((function(item){var editAttr=_this2.stageAttrs.filter((function(e){return e.attrId==item.field||"combox"==item.fieldType&&e.attrId+"Text"==item.field||"refer"==item.fieldType&&e.attrId+"name"==item.field})),columnItem={label:item.title,prop:item.field,type:_this2.columnType[item.type],sortable:item.sort,width:item.minWidth};"id"==item.field&&Object(_util_validate__WEBPACK_IMPORTED_MODULE_7__["b"])(item.templet)?columnItem.formatter="":item.templet&&"string"==typeof item.templet&&!Object(_util_validate__WEBPACK_IMPORTED_MODULE_7__["b"])(item.templet)&&item.templet.indexOf("function(row,column)")>-1?columnItem.formatter=eval("("+item.templet+")"):"truefalse"==item.fieldType&&(columnItem.formatter=function(e,t){return"true"==e[t.property]||"1"==e[t.property]?"是":"否"}),editAttr.length>0&&(columnItem.edit=_this2.columnType[item.fieldType],"select"==columnItem.edit&&(columnItem.dicData=item.data||_this2.geDictData(item.comboxKey),columnItem.formatter=function(e,t){var a=t.dicData.find((function(a,r,i){return a.key==e[t.prop.replace("Text","")]}));return e[t.prop]=a&&a.value||e[t.prop]}),"refer"==columnItem.edit&&(columnItem.referConfig={title:item.title,showField:item.showField||item.field,field:item.sortField||item.field,options:item.referConfig},columnItem.display=!item.hidden,columnItem.disabled=item.readOnly)),_this2.tableHeadData.push(Object.assign(item,columnItem))}))}))}},BuinseseRend:function(){var e=this;Object(_api_work_businese__WEBPACK_IMPORTED_MODULE_5__["businese"])({btmType:"wupin","conditionMap[oid]":this.BuinessOids.toString()}).then((function(t){e.tableData=t.data.data}))},geDictData:function(e){Object(_api_system_dict__WEBPACK_IMPORTED_MODULE_8__["getDictionary"])({code:e}).then((function(e){if(e.data&&200===e.data.code)return(e.data.data||[]).map((function(e){return e.value=e.dictValue,e.key=e.dictKey,e}))}))},handleCellClick:function(e,t,a,r){this.editingRow=e,this.editShow=t.property},formatter:function(e,t){return t.formatter?t.formatter(e,t):e[t.prop]},setReferValue:function(e){e.field&&(this.editingRow[e.field]=e.value||"",this.editingRow[e.showField]=e.text||"")},changeSelect:function(e){this.editingRow[this.editShow.replace("Text","")]=e}}}},"8cf2":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("div",[t("avue-form",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],key:e.updateIndex,ref:"form",style:{minHeight:e.loading?"300px":""},attrs:{option:e.option},model:{value:e.form,callback:function(t){e.form=t},expression:"form"}},[e._l(e.slotColumnList,(function(a){return t("template",{slot:a.prop+"Label"},[t("span",[t("span",[e._v(e._s(a.label)+" ")]),a.keyAttr?t("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"该属性为关键属性",placement:"top-start"}},[t("i",{staticClass:"el-icon-star-on key_attr_icon"})]):e._e()],1)])})),e._l(e.slotColumnList,(function(a){return t("template",{slot:a.prop+""},["refer"==a.type?t("vciWebRefer",{key:a.dataKey,attrs:{"data-key":a.dataKey,referConfig:a.referConfig||{},value:e.form[a.referConfig.field]||a.value,text:e.form[a.referConfig.showField],disabled:a.disabled,display:a.display,reloadData:a.referConfig.reloadData||!1},on:{setReferValue:e.setReferValue}}):e._e()],1)}))],2)],1)},i=[],n=(a("28a5"),a("6762"),a("2fdb"),a("ac6a"),a("c5f6"),a("902d")),o=a("7754"),s=a("6e8c"),l={name:"FormTemplate",components:{vciWebRefer:s["default"]},props:{disabledProp:{type:Array,default:function(){return["id","lcstatus"]}},templateOid:{type:String,default:""},codeClassifyOid:{type:String,default:""},rowOid:{type:String,default:""},type:{type:String,default:"add"},selfColumnType:{type:Object,default:function(){return{}}},selfColumnConfig:{type:Object,default:function(){return{}}},trendsSpan:{type:Number,default:8},TreeValue:{type:String,default:""},eventList:{type:Array}},data:function(){return{eventFlag:{},TreeValueForm:"",updateIndex:0,form:{},option:{emptyBtn:!1,submitBtn:!1,labelWidth:"140",column:[],group:[]},loading:!0,columnType:{text:"input",combox:"select",truefalse:"switch",number:"number",textarea:"textarea",datetime:"datetime",date:"date",refer:"refer"},defaultValue:{},attributes:[],slotColumnList:[]}},mounted:function(){this.handleResize()},created:function(){},computed:{localTrendsSpan:function(){if(this.trendsSpan)return this.trendsSpan;var e=document.body.clientWidth;return 24/Math.floor(e/500)}},watch:{form:{deep:!0,immediate:!0,handler:function(e){this.$emit("getFormData",e)}},TreeValue:{handler:function(e,t){e&&(this.TreeValueForm=e)},deep:!0,immediate:!0}},methods:{templateRender:function(e,t){var a=this;this.eventList&&(this.eventFlag=this.eventList.some((function(e){if("true"===e.classifyInvokeEditFlag)return a.eventObject=e,!0})));var r=[],i=[],n=[],o=[];e.forEach((function(e){if(e=a.resetFormConfig(e),"line"!==e.type){"combox"!==e.type||!e.comboxKey||Array.isArray(e.dicData)&&0!==e.dicData.length||Array.isArray(e.data)&&0!==e.data.length||n.push({dictKey:e.comboxKey,field:e.field}),a.disabledProp.includes(e.field)&&(e.readOnly=!0),"lcstatus"==e.field&&(e.field=e.field+"_text",e.readOnly=!0);var s="请选择",l="change";"text"===e.type&&(s="请输入",l="blur");var c="";"refer"!=e.type||e.fieldMap||(c=e.field+"Id",e.fieldMap={},e.fieldMap[c]="id",e.fieldMap[e.field+"id"]="id");var u={dataKey:e.dataKey||e.field,label:e.text,labelslot:!0,prop:a.$utilFunc.isValuableObj(e.referConfig)&&e.showField||e.field,field:e.field,type:a.columnType[e.type],dicData:a.getDataList(e.type,e.data),disabled:"detail"===a.type||(e.readOnly||!(!e.codeValueApplyStatus||2!=e.codeValueApplyStatus)),prepend:a.preOrSufFixShow("text",e.prefix),append:a.preOrSufFixShow("text",e.suffix),prefixIcon:a.preOrSufFixShow("icon",e.prefix),suffixIcon:a.preOrSufFixShow("icon",e.suffix),valueFormat:e.dateFormate,format:e.dateFormate,keyAttr:e.keyAttr,value:(e.dicData&&e.dicData.length>0&&"codefixedsec"==e.secType?e.dicData[0].id:null)||("codedatesec"==e.secType?e.codeDateValue:null)||(t&&"codelevelsec"==e.secType?t:null),placeholder:e.inputTip,comboxKey:e.comboxKey,tip:e.tooltips,display:!e.hidden,maxlength:e.maxlength,filterable:!0,referConfig:"refer"==e.type?{title:e.text,showField:e.showField||e.field,field:e.field,fieldMap:e.fieldMap||{},placeholder:e.inputTip,options:e.referConfig}:{},span:e.span?e.span:"textarea"===e.type?24:a.localTrendsSpan,rules:[{required:e.required,message:"".concat(s).concat(e.text),trigger:l},{pattern:e.verify?e.verify:/[\s\S.]*/g,message:e.tooltips,trigger:l}],props:{label:"value",value:"key"}};o.push(u),0===i.length?r.push(u):i[i.length-1]["column"].push(u)}else i.push({label:e.text,prop:e.text,collapse:!0,column:[]})})),this.slotColumnList=o,this.$set(this.option,"column",r),this.$set(this.option,"group",i),this.updateIndex++,"add"===this.type&&(this.loading=!1),this.geDictData(n),this.getFormDetail()},changeChildItem:function(e,t){var a=this,r=this.option.column,i=this.option.group,n=this;e.forEach((function(e){var o=a.resetFormConfig(e);"lcstatus"==o.field&&(o.field=o.field+"_text",o.readOnly=!0);var s="请选择",l="change";"text"===o.type&&(s="请输入",l="blur");var c="";"refer"!=o.type||o.fieldMap||(c=o.field+"Id",o.fieldMap={},o.fieldMap[c]="id",o.fieldMap[o.field+"id"]="id");var u={label:o.text,labelslot:!0,prop:a.$utilFunc.isValuableObj(o.referConfig)&&o.showField||o.field,field:o.field,type:a.columnType[o.type],dicData:a.getDataList(o.type,o.data),disabled:"detail"===a.type||(o.readOnly||!(!o.codeValueApplyStatus||2!=o.codeValueApplyStatus)),prepend:a.preOrSufFixShow("text",o.prefix),append:a.preOrSufFixShow("text",o.suffix),prefixIcon:a.preOrSufFixShow("icon",o.prefix),suffixIcon:a.preOrSufFixShow("icon",o.suffix),valueFormat:o.dateFormate,format:o.dateFormate,keyAttr:o.keyAttr,value:(o.dicData&&o.dicData.length>0&&"codefixedsec"==o.secType?o.dicData[0].id:null)||("codedatesec"==o.secType?o.codeDateValue:null)||(t&&"codelevelsec"==o.secType?t:null),placeholder:o.inputTip,comboxKey:o.comboxKey,tip:o.tooltips,display:!o.hidden,maxlength:o.maxlength,filterable:!0,referConfig:"refer"==o.type?{title:o.text,showField:o.showField||o.field,field:o.field,fieldMap:o.fieldMap||{},placeholder:o.inputTip,options:o.referConfig}:{},span:o.span?o.span:"textarea"===o.type?24:a.localTrendsSpan,rules:[{required:o.required,message:"".concat(s).concat(o.text),trigger:l},{pattern:o.verify?o.verify:/[\s\S.]*/g,message:o.tooltips,trigger:l}],props:{label:"value",value:"key"}};0===i.length?n.slotColumnList.forEach((function(e,t){if(e.field==u.field)return n.slotColumnList[t]=u,void(r[t]=u)})):(n.slotColumnList.forEach((function(e,t){e.field!=u.field||(n.slotColumnList[t]=u)})),i.forEach((function(e,t){e.column.forEach((function(e,a){e.field!=u.field||(i[t].column[a]=u)}))})))})),n.$set(n.option,"column",r),n.$set(n.option,"group",i)},resetFormConfig:function(e){for(var t in this.selfColumnConfig)if(Object.hasOwnProperty.call(this.selfColumnConfig,t)){var a=this.selfColumnConfig[t];if("function"===t){for(var r in a)if(Object.hasOwnProperty.call(a,r)){var i=a[r];e[r]=i(e)}}else if("exchange"===t){for(var n in a)if(Object.hasOwnProperty.call(a,n)){var o=a[n];e[n]=e[o]}}else if("directVoluation"===t)for(var s in a)if(Object.hasOwnProperty.call(a,s)){var l=a[s];e[s]=l}}return e},handleResize:function(){},preOrSufFixShow:function(e,t){if(!this.$utilFunc.isEmpty(t)||"string"===typeof t){var a="el-icon-"===t.slice(0,8);return"text"===e&&!a||"icon"===e&&a?t:void 0}},getDataList:function(e,t){return"truefalse"===e?[{key:!1,value:"否"},{key:!0,value:"是"}]:"combox"===e?t:[]},geDictData:function(e){var t=this;e.forEach((function(e){Object(o["getDictionary"])({code:e.dictKey}).then((function(a){a.data&&200===a.data.code&&(t.option.column=t.option.column.map((function(t){if(t.field===e.field){var r=(a.data.data||[]).map((function(e){return e.value=e.dictValue,e.key=e.dictKey,e}));t.dicData=r}return t})))}))}))},validate:function(){var e=this;return new Promise((function(t){e.$refs.form.validate((function(e,a){e?(a(),t(!0)):t(!1)}))}))},getFormDetail:function(){var e=this;"add"!==this.type&&Object(n["getFormDetail"])({templateOid:this.templateOid,oid:this.rowOid}).then((function(t){e.form=Object.assign(e.form,t.data.data[0]),e.loading=!1}))},setReferValue:function(e){var t=this;if(e.field){if(this.form[e.field]=e.value||"",this.form[e.showField]=e.text||"",e.fieldMap){var a=function(){var a=e.fieldMap[r].split(","),i=[];e.rawData.forEach((function(e){var t;if(e.attributes||(e.attributes=e),e.attributes.data||(e.attributes.data={}),1==a.length){var r=a[0];t=r.indexOf("attribute.")>-1?e["attributes"][r.subString("attribute.".length)]||e["attributes"]["data"][r.subString("attribute.".length)]:e["attributes"][r]||e["attributes"]["data"][r]||e[r]}else{var n=[];layui.each(a,(function(t,a){a.indexOf("attribute.")>-1?n.push(e["attributes"][a.subString("attribute.".length)]||e["attributes"]["data"][a.subString("attribute.".length)]):n.push(e["attributes"][a]||e["attributes"]["data"][a]||e[a])})),t=n.join(" ")}null!=t&&""!=t&&i.push(t)})),t.form[r]=i.join(",")};for(var r in e.fieldMap)a()}this.$emit("referConfigDataUpdate",e),this.$emit("getFormData",this.form)}}}},c=l,u=(a("8b1b"),a("2877")),d=Object(u["a"])(c,r,i,!1,null,"18a6c454",null);t["default"]=d.exports},"8ddc":function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return s})),a.d(t,"getParentList",(function(){return l})),a.d(t,"getChildList",(function(){return c})),a.d(t,"remove",(function(){return u})),a.d(t,"add",(function(){return d})),a.d(t,"update",(function(){return p})),a.d(t,"getDict",(function(){return f})),a.d(t,"getDictTree",(function(){return m})),a.d(t,"getDictionary",(function(){return h}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-system/dict-biz/list",method:"get",params:o(o({},a),{},{current:e,size:t})})},l=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-system/dict-biz/parent-list",method:"get",params:o(o({},a),{},{current:e,size:t})})},c=function(e,t,a,r){return Object(i["a"])({url:"/api/ubcs-system/dict-biz/child-list",method:"get",params:o(o({},r),{},{current:e,size:t,parentId:a})})},u=function(e){return Object(i["a"])({url:"/api/ubcs-system/dict-biz/remove",method:"post",params:{ids:e}})},d=function(e){return Object(i["a"])({url:"/api/ubcs-system/dict-biz/submit",method:"post",data:e})},p=function(e){return Object(i["a"])({url:"/api/ubcs-system/dict-biz/submit",method:"post",data:e})},f=function(e){return Object(i["a"])({url:"/api/ubcs-system/dict-biz/detail",method:"get",params:{id:e}})},m=function(){return Object(i["a"])({url:"/api/ubcs-system/dict-biz/tree?code=DICT",method:"get"})},h=function(e){return Object(i["a"])({url:"/api/ubcs-system/dict-biz/dictionary",method:"get",params:e})}},"8e19":function(e,t,a){"use strict";a.r(t),a.d(t,"getAtrrList",(function(){return s})),a.d(t,"TreeSave",(function(){return l})),a.d(t,"TreeCheckDel",(function(){return c})),a.d(t,"TreeDel",(function(){return u})),a.d(t,"TreeObjcet",(function(){return d})),a.d(t,"TreeEnable",(function(){return p})),a.d(t,"TreeDeactivate",(function(){return f})),a.d(t,"gridCodeClassifyTemplate",(function(){return m})),a.d(t,"gridCodeClassifyFindTemplate",(function(){return h})),a.d(t,"addSave",(function(){return b})),a.d(t,"deleteData",(function(){return g})),a.d(t,"editSave",(function(){return y})),a.d(t,"TreeEditSave",(function(){return v})),a.d(t,"getObjectByOid",(function(){return O})),a.d(t,"gridCodeClassifyTemplateAttr",(function(){return _})),a.d(t,"copy",(function(){return w})),a.d(t,"AttrByBtm",(function(){return C})),a.d(t,"batchAddSave",(function(){return j})),a.d(t,"copyto",(function(){return S})),a.d(t,"getFormDefineByTemplate",(function(){return k})),a.d(t,"listByFlag",(function(){return D})),a.d(t,"upVersion",(function(){return T})),a.d(t,"stopLose",(function(){return x})),a.d(t,"startRelease",(function(){return P})),a.d(t,"exportClassify",(function(){return R})),a.d(t,"importClassify",(function(){return E})),a.d(t,"downloadErrorFile",(function(){return L})),a.d(t,"downloadBatchImportApplyTemplate",(function(){return F}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(){return Object(i["a"])({url:"/api/ubcs-code/codeClassify/treeCodeClassify",method:"get"})},l=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeClassify/save",method:"post",data:e})},c=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeClassify/checkIsCanDelete",method:"post",data:e})},u=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeClassify/deleteData",method:"Delete",data:e})},d=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeClassify/getObjectByOid",method:"get",params:{oid:e}})},p=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeClassify/enableData",method:"post",data:e})},f=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeClassify/disableData",method:"post",data:e})},m=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeClassifyTemplateController/gridCodeClassifyTemplate",method:"get",params:o({},e)})},h=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeClassifyTemplateController/gridCodeClassifyTemplate",method:"get",params:o({},e)})},b=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeClassifyTemplateController/addSave",method:"post",data:e})},g=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeClassifyTemplateController/deleteData",method:"Delete",data:e})},y=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeClassifyTemplateController/editSave",method:"Put",data:e})},v=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeClassify/editSave",method:"post",data:e})},O=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeClassify/getObjectByOid",method:"get",params:{oid:e}})},_=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeClassifyTempAttrController/gridCodeClassifyTemplateAttr",method:"get",params:o({},e)})},w=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeClassifyTemplateController/copy",method:"post",data:e})},C=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeClassifyTempAttrController/codeClassifyTemplateAttrByBtm",method:"get",params:o({},e)})},j=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeClassifyTempAttrController/batchAddSave",method:"post",data:e})},S=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeClassifyTempAttrController/copyto",method:"post",data:e})},k=function(e){return Object(i["a"])({url:"/api/ubcs-code/mdmEngineController/getFormDefineByTemplateOid",method:"get",params:o({},e)})},D=function(e){return Object(i["a"])({url:"/api/ubcs-system/dict-biz/listByFlag",method:"get",params:o({},e)})},T=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeClassifyTemplateController/upgrade",method:"post",data:e})},x=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeClassifyTemplateController/disableData",method:"post",data:e})},P=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeClassifyTemplateController/enableData",method:"post",data:e})},R=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeClassify/exportClassify",method:"get",responseType:"blob",params:o({},e)})},E=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeClassify/importClassify",method:"post",data:e})},L=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeClassify/downloadErrorFile",method:"get",responseType:"blob",params:o({},e)})},F=function(e){return Object(i["a"])({url:"/api/ubcs-code/mdmEngineController/downloadImportExcel",method:"get",params:e,responseType:"blob"})}},"8ee3":function(e,t,a){"use strict";a("3474")},"902d":function(e,t,a){"use strict";a.r(t),a.d(t,"getFormTemplate",(function(){return i})),a.d(t,"executeCode",(function(){return n})),a.d(t,"findLike",(function(){return o})),a.d(t,"getCodeRule",(function(){return s})),a.d(t,"getFormDetail",(function(){return l}));var r=a("b5c6");function i(e){return Object(r["a"])({url:"api/ubcs-code/ubcs-code/mdmEngineController/getFormDefineByTemplateOid",method:"get",params:e})}function n(e){return Object(r["a"])({url:"api/ubcs-code/ubcs-code/mdmEngineController/getFormDefineByTemplateOid",method:"get",params:e})}function o(e){return Object(r["a"])({url:"api/ubcs-code/ubcs-code/mdmEngineController/resembleQuery",method:"post",data:e})}function s(e){return Object(r["a"])({url:"api/ubcs-code/ubcs-code/mdmEngineController/getCodeRuleByClassifyOid",method:"get",params:e})}function l(e){return Object(r["a"])({url:"api/ubcs-code/ubcs-code/mdmEngineController/getDataByOid",method:"get",params:e})}},9053:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("basic-container",[t("avue-crud",{ref:"crud",attrs:{data:e.data,option:e.option},on:{"on-load":e.getList,"row-del":e.rowDel,"refresh-change":e.refreshChange,"row-save":e.rowSave},model:{value:e.form,callback:function(t){e.form=t},expression:"form"}})],1)},i=[],n=(a("7f7f"),{name:"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,a){var r=this;add(Object.assign({createUser:this.userInfo.name},e)).then((function(){r.$message.success("新增成功"),t(),r.getList()})).catch((function(){a()}))},rowDel:function(e){var t=this;this.$confirm("此操作将永久删除, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return del(e.id)})).then((function(){t.$message.success("删除成功"),t.getList()}))}}}),o=n,s=a("2877"),l=Object(s["a"])(o,r,i,!1,null,"03affe32",null);t["default"]=l.exports},"91c4":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("el-dialog",{staticClass:"avue-dialog avue-dialog--top",staticStyle:{height:"150vh","margin-top":"-13vh"},attrs:{"close-on-click-modal":!1,title:"为【参照引用的业务类型】选取值","append-to-body":"",visible:e.referBtmDialogParams.isShowDialog,width:"65%",top:"0"},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)},i=[],n=(a("456d"),a("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=a("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:n,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 a={};t.referBtmQuery&&Object.keys(t.referBtmQuery).forEach((function(e){a["conditionMap["+e+"]"]=t.referBtmQuery[e]})),Object(o["referDataGrid"])(t.referBtmDataPage.currentPage,t.referBtmDataPage.pageSize,a).then((function(t){var a=t.data.data;e.referBtmDialogParams.referBtmDataPage.total=a.total,e.referBtmDialogParams.referBtmData=a.records,e.referBtmDialogParams.referBtmDialogLoading=!1,e.$nextTick((function(){e.$refs[e.referBtmDialogParams.ref].doLayout()}))}))}}},l=s,c=a("2877"),u=Object(c["a"])(l,r,i,!1,null,null,null);t["default"]=u.exports},9812:function(e,t,a){"use strict";a.r(t);var r=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(a){var r=a.item;return[t("i",{class:[r[e.iconKey],"icon"]}),t("div",{staticClass:"name"},[e._v(e._s(r[e.labelKey]))]),t("div",{staticClass:"addr"},[e._v(e._s(r[e.pathKey]))])]}}]),model:{value:e.value,callback:function(t){e.value=t},expression:"value"}})},i=[],n=(a("8e6e"),a("ac6a"),a("456d"),a("7f7f"),a("ade3")),o=a("b297"),s=a("5880");function l(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function c(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?l(Object(a),!0).forEach((function(t){Object(n["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):l(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,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(a){for(var r=0;r<a.length;r++){var i=Object.assign({},a[r]);e.validatenull(i[e.childrenKey])?e.menuList.push(i):t(i[e.childrenKey])}};this.menuList=[],t(this.menu)},querySearch:function(e,t){var a=this.menuList,r=e?a.filter(this.createFilter(e)):a;t(r)},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=(a("3562"),a("2877")),f=Object(p["a"])(d,r,i,!1,null,null,null);t["default"]=f.exports},9883:function(e,t,a){"use strict";a.d(t,"b",(function(){return g}));var r=a("2909"),i=a("8bbf"),n=a.n(i),o=a("6389"),s=a.n(o),l=a("9cc4"),c=[{path:"/login",name:"登录页",component:function(){return a.e("page").then(a.bind(null,"5596"))},meta:{keepAlive:!0,isTab:!1,isAuth:!1}},{path:"/sso",name:"单点测试页",component:function(){return a.e("page").then(a.bind(null,"6163"))},meta:{keepAlive:!0,isTab:!1,isAuth:!1}},{path:"/lock",name:"锁屏页",component:function(){return a.e("page").then(a.bind(null,"15c5"))},meta:{keepAlive:!0,isTab:!1,isAuth:!1}},{path:"/404",component:function(){return a.e("page").then(a.bind(null,"a5fa"))},name:"404",meta:{keepAlive:!0,isTab:!1,isAuth:!1}},{path:"/403",component:function(){return a.e("page").then(a.bind(null,"a8d0"))},name:"403",meta:{keepAlive:!0,isTab:!1,isAuth:!1}},{path:"/500",component:function(){return a.e("page").then(a.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 a.e("page").then(a.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 a.e("views").then(a.bind(null,"4e3c"))}},{path:"dashboard",name:"控制台",meta:{i18n:"dashboard",menu:!1},component:function(){return a.e("views").then(a.bind(null,"4b9f"))}}]},{path:"/test",component:l["default"],redirect:"/test/index",children:[{path:"index",name:"测试页",meta:{i18n:"test"},component:function(){return a.e("views").then(a.bind(null,"ab5c"))}}]},{path:"/dict-horizontal",component:l["default"],redirect:"/dict-horizontal/index",children:[{path:"index",name:"字典管理",meta:{i18n:"dict"},component:function(){return a.e("views").then(a.bind(null,"6486"))}}]},{path:"/dict-vertical",component:l["default"],redirect:"/dict-vertical/index",children:[{path:"index",name:"字典管理",meta:{i18n:"dict"},component:function(){return a.e("views").then(a.bind(null,"dd4b"))}}]},{path:"/info",component:l["default"],redirect:"/info/index",children:[{path:"index",name:"个人信息",meta:{i18n:"info"},component:function(){return a.e("views").then(a.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 a.e("views").then(a.bind(null,"eaa2"))}},{path:"handle/:taskId/:processInstanceId/:businessId",name:"处理发布流程",meta:{i18n:"work"},component:function(){return a.e("views").then(a.bind(null,"6e96"))}},{path:"detail/:processInstanceId/:businessId",name:"发布流程详情",meta:{i18n:"work"},component:function(){return a.e("views").then(a.bind(null,"d26f"))}}]}],d=(a("28a5"),a("a481"),a("3b2b"),a("456d"),a("ac6a"),a("6762"),a("2fdb"),function(){this.$router=null,this.$store=null});d.install=function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};function i(e){return!!e.includes("html")||/^http[s]?:\/\/.*/.test(e)}function n(e){var t=[];return Object.keys(e).forEach((function(a){t.push("".concat(a,"=").concat(e[a]))})),t.join("&")}this.$router=r.router,this.$store=r.store,this.$vue=new e({i18n:r.i18n}),this.$router.$avueRouter={$website:this.$store.getters.website,group:"",meta:{},safe:this,setTitle:function(e){var a=t.$vue.$t("title");e=e?"".concat(e,"-").concat(a):a,document.title=e},closeTag:function(e){var a=e||t.$store.getters.tag;"string"===typeof e&&(a=t.$store.getters.tagList.filter((function(t){return t.value===e}))[0]),t.$store.commit("DEL_TAG",a)},generateTitle:function(e,a){if(!a)return e;var r=t.$vue.$te("route."+a);if(r){var i=t.$vue.$t("route."+a);return i}return e},getPath:function(e){var t=e.src,a=t||"/";return i(t)&&(a="/myiframe/urlPath?".concat(n(e))),a},vaildPath:function(e,t){var a=!1;return e.forEach((function(e){new RegExp("^"+e+".*","g").test(t)&&(a=!0)})),a},getValue:function(e){var t="";return t=e.query.src?e.query.src:e.path,t},formatRoutes:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,o=[],s=this.$website.menu.props,l={label:s.label||"name",path:s.path||"path",fullPath:s.fullPath||"fullPath",query:s.query||"query",icon:s.icon||"icon",children:s.children||"children",meta:s.meta||"meta"};if(0!==t.length){for(var c=function(){var s=t[u],c=function(){return n?s[l.path].replace("/index",""):s[l.path]}(),d=c,p=s[l.query]||{};if(-1!=c.indexOf("?")){var f=c.split("?")[1].split("@");c=c.split("?")[0],f.forEach((function(e){try{p[e.split("=")[0]]=e.split("=")[1]}catch(t){p[e.split("=")[0]]=null}}))}var m="views"+c,h=s[l.label],b=s[l.icon],g=s[l.children],y=s[l.meta]||{};y=Object.assign(y,function(){if(!0===r.keepAlive)return{keepAlive:!0}}());var v=0!==g.length,O={path:c,fullPath:d,query:p,params:p,component:function(e){n?Promise.resolve().then(function(){var t=[a("9cc4")];e.apply(null,t)}.bind(this)).catch(a.oe):!v||n?Promise.all([a.e("views"),a.e("page"),a.e("chunk-840aab94")]).then(function(){var t=[a("692e")("./".concat(m,".vue"))];e.apply(null,t)}.bind(this)).catch(a.oe):a.e("chunk-2d0e4caf").then(function(){var t=[a("9277")];e.apply(null,t)}.bind(this)).catch(a.oe)},name:h,icon:b,meta:y,redirect:function(){return v||!n||i(c)?"":"".concat(c,"/index")}(),children:v?function(){return e.formatRoutes(g,!1)}():function(){return n?(i(c)||(s[l.path]="".concat(c,"/index")),[{component:function(e){Promise.all([a.e("views"),a.e("page"),a.e("chunk-840aab94")]).then(function(){var t=[a("692e")("./".concat(m,".vue"))];e.apply(null,t)}.bind(this)).catch(a.oe)},icon:b,name:h,meta:y,path:"index"}]):[]}()};o.push(O)},u=0;u<t.length;u++)c();if(!n)return o;this.safe.$router.addRoutes(o)}}}};var p=d,f=a("9923"),m=a("4360");n.a.use(s.a);var h=function(){return new s.a({routes:[].concat(Object(r["a"])(c),Object(r["a"])(u))})},b=h();function g(){var e=h();b.matcher=e.matcher,p.install(n.a,{router:b,store:m["a"],i18n:f["a"]})}p.install(n.a,{router:b,store:m["a"],i18n:f["a"],keepAlive:!1}),b.$avueRouter.formatRoutes(m["a"].state.user.menuAll,!0),b.addRoutes([].concat(Object(r["a"])(c),Object(r["a"])(u)));t["a"]=b},9923:function(e,t,a){"use strict";a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("8bbf"),n=a.n(i),o=a("a925"),s=a("b2d6"),l=a.n(s),c=a("f0d9"),u=a.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=a("e3c4");function m(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function h(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?m(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):m(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}n.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},"9a5b":function(e,t,a){},"9ab5":function(e,t,a){"use strict";a.r(t),a.d(t,"getPage",(function(){return s})),a.d(t,"getOnesearch",(function(){return l})),a.d(t,"getadd",(function(){return c})),a.d(t,"getupdata",(function(){return u})),a.d(t,"getremove",(function(){return d})),a.d(t,"getpassword",(function(){return p}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-system/combination/page",method:"get",params:o(o({},a),{},{current:e,size:t})})},l=function(e){return Object(i["a"])({url:"/api/ubcs-system/combination/one",method:"post",params:{id:e}})},c=function(e){return Object(i["a"])({url:"/api/ubcs-system/combination/submit",method:"post",data:e})},u=function(e){return Object(i["a"])({url:"/api/ubcs-system/combination/submit",method:"post",data:e})},d=function(e){return Object(i["a"])({url:"/api/ubcs-system/combination/remove",method:"post",params:{ids:e}})},p=function(){return Object(i["a"])({url:"/api/ubcs-system/combination/select",method:"get"})}},"9cc4":function(e,t,a){"use strict";a.r(t);var r=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",[e.$route.meta.keepAlive?t("router-view",{key:e.$route.fullPath,staticClass:"avue-view"}):e._e()],1),e.$route.meta.keepAlive?e._e():t("router-view",{key:e.$route.fullPath,staticClass:"avue-view"})],1)],1)]),t("div",{staticClass:"avue-shade",on:{click:e.showCollapse}})])},i=[],n=a("5880"),o=a("5ddc"),s=a("76c2"),l=a("195f"),c=a("20bf"),u={getScreen:function(){var e=document.body.clientWidth;return e>=1200?3:e>=992?2:e>=768?1:0}},d=a("c54a"),p=a("84df"),f=a("e3c4"),m={components:{top:l["default"],tags:o["default"],search:s["default"],sidebar:c["default"]},name:"index",provide:function(){return{index:this}},data:function(){return{isSearch:!1,refreshLock:!1,refreshTime:"",loading:!0}},created:function(){this.refreshToken()},mounted:function(){var e=this;this.init(),setTimeout((function(){e.loading=!1}),600)},computed:Object(n["mapGetters"])(["isMenu","isLock","isCollapse","website","menu"]),props:[],methods:{showCollapse:function(){this.$store.commit("SET_COLLAPSE")},init:function(){var e=this;this.$store.commit("SET_SCREEN",u.getScreen()),window.onresize=function(){setTimeout((function(){e.$store.commit("SET_SCREEN",u.getScreen())}),0)},this.$store.dispatch("FlowRoutes").then((function(){}))},openMenu:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.$store.dispatch("GetMenu",t.id).then((function(t){0!==t.length&&e.$router.$avueRouter.formatRoutes(t,!0)}))},refreshToken:function(){var e=this;this.refreshTime=setInterval((function(){var t=Object(f["c"])({name:"token",debug:!0})||{},a=Object(p["a"])(t.datetime,(new Date).getTime());Object(d["b"])(a)||a.seconds>=e.website.tokenTime&&!e.refreshLock&&(e.refreshLock=!0,e.$store.dispatch("refreshToken").then((function(){e.refreshLock=!1})).catch((function(){e.refreshLock=!1})))}),1e4)}}},h=m,b=a("2877"),g=Object(b["a"])(h,r,i,!1,null,null,null);t["default"]=g.exports},"9d2d":function(e,t,a){"use strict";a("3b40")},a03c:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("div",["renonly"==e.flag?t("avue-form",{attrs:{option:e.option},model:{value:e.loneTreeNewForm,callback:function(t){e.loneTreeNewForm=t},expression:"loneTreeNewForm"}}):"edit"==e.flag?t("avue-form",{attrs:{option:this.options},on:{submit:e.submits},model:{value:e.loneTreeNewForm,callback:function(t){e.loneTreeNewForm=t},expression:"loneTreeNewForm"}}):e._e(),t("div",[t("el-dialog",{attrs:{visible:e.MasterdialogVisible,title:"为【编码规则】选取值","append-to-body":"","before-close":e.masterEscHandler},on:{"update:visible":function(t){e.MasterdialogVisible=t}}},[[t("el-select",{staticStyle:{width:"135px"},attrs:{placeholder:"请选择"},model:{value:e.SelectValue,callback:function(t){e.SelectValue=t},expression:"SelectValue"}},e._l(e.SelectOption,(function(e){return t("el-option",{key:e.value,staticStyle:{width:"150px"},attrs:{label:e.label,value:e.value}})})),1),t("el-input",{staticStyle:{width:"260px","margin-left":"15px"},attrs:{placeholder:"输入值后进行模糊查询"},model:{value:e.SelectFInd,callback:function(t){e.SelectFInd=t},expression:"SelectFInd"}}),t("el-button",{staticStyle:{"margin-left":"20px"},attrs:{size:"small",type:"primary",plain:""},on:{click:e.SelectFindeHandler}},[e._v("查询")])],t("avue-crud",{attrs:{data:e.masterData,option:e.Option},on:{"row-click":e.masterSelect},scopedSlots:e._u([{key:"radio",fn:function(a){var r=a.row;return[t("el-radio",{staticStyle:{"padding-left":"10px !important"},attrs:{label:r.$index},model:{value:e.masterRow,callback:function(t){e.masterRow=t},expression:"masterRow"}},[e._v(e._s("")+"\n ")])]}}])}),t("div",{staticStyle:{height:"30px"}},[t("div",{staticStyle:{display:"inline-block",float:"left",border:"1px solid #eee",padding:"5px","margin-top":"5px","font-size":"14px"}},[e._v("已设置的值为:["+e._s(this.loneTreeNewForm.coderuleoidName)+"]")]),t("div",{staticStyle:{"padding-top":"10px",display:"flex","justify-content":"flex-end",float:"right",overflow:"hidden"}},[t("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.MasterHandlerClick}},[e._v("确定")]),t("el-button",{attrs:{size:"small"},on:{click:e.masterEscHandler}},[e._v("取消")])],1)])],2),t("el-dialog",{attrs:{visible:e.KeydialogVisible,title:"为【关键属性查询规则】选取值","append-to-body":"","before-close":e.KeyEscHandler},on:{"update:visible":function(t){e.KeydialogVisible=t}}},[[t("el-select",{staticStyle:{width:"135px"},attrs:{placeholder:"请选择"},model:{value:e.SelectValue,callback:function(t){e.SelectValue=t},expression:"SelectValue"}},e._l(e.SelectOption,(function(e){return t("el-option",{key:e.value,staticStyle:{width:"150px"},attrs:{label:e.label,value:e.value}})})),1),t("el-input",{staticStyle:{width:"260px","margin-left":"15px"},attrs:{placeholder:"输入值后进行模糊查询"},model:{value:e.SelectFInd,callback:function(t){e.SelectFInd=t},expression:"SelectFInd"}}),t("el-button",{staticStyle:{"margin-left":"20px"},attrs:{size:"small",type:"primary",plain:""},on:{click:e.KeySelectFindeHandler}},[e._v("查询")])],t("avue-crud",{attrs:{data:e.KeyData,option:e.Option},on:{"row-click":e.KeySelect},scopedSlots:e._u([{key:"radio",fn:function(a){var r=a.row;return[t("el-radio",{staticStyle:{"padding-left":"10px !important"},attrs:{label:r.$index},model:{value:e.masterRow,callback:function(t){e.masterRow=t},expression:"masterRow"}},[e._v(e._s("")+"\n ")])]}}])}),t("div",{staticStyle:{height:"30px"}},[t("div",{staticStyle:{display:"inline-block",float:"left",border:"1px solid #eee",padding:"5px","margin-top":"5px","font-size":"14px"}},[e._v("已设置的值为:["+e._s(this.loneTreeNewForm.codekeyattrrepeatoidName)+"]")]),t("div",{staticStyle:{"padding-top":"10px",display:"flex","justify-content":"flex-end",float:"right",overflow:"hidden"}},[t("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.KeyHandlerClick}},[e._v("确定")]),t("el-button",{attrs:{size:"small"},on:{click:e.KeyEscHandler}},[e._v("取消")])],1)])],2),t("el-dialog",{attrs:{visible:e.SimidialogVisible,title:"为【相似项查询规则】选取值","append-to-body":"","before-close":e.simEscHandler},on:{"update:visible":function(t){e.SimidialogVisible=t}}},[[t("el-select",{staticStyle:{width:"135px"},attrs:{placeholder:"请选择"},model:{value:e.SelectValue,callback:function(t){e.SelectValue=t},expression:"SelectValue"}},e._l(e.SelectOption,(function(e){return t("el-option",{key:e.value,staticStyle:{width:"150px"},attrs:{label:e.label,value:e.value}})})),1),t("el-input",{staticStyle:{width:"260px","margin-left":"15px"},attrs:{placeholder:"输入值后进行模糊查询"},model:{value:e.SelectFInd,callback:function(t){e.SelectFInd=t},expression:"SelectFInd"}}),t("el-button",{staticStyle:{"margin-left":"20px"},attrs:{size:"small",type:"primary",plain:""},on:{click:e.SimSelectFindeHandler}},[e._v("查询")])],t("avue-crud",{attrs:{data:e.simData,option:e.Option},on:{"row-click":e.simSelect},scopedSlots:e._u([{key:"radio",fn:function(a){var r=a.row;return[t("el-radio",{staticStyle:{"padding-left":"10px !important"},attrs:{label:r.$index},model:{value:e.masterRow,callback:function(t){e.masterRow=t},expression:"masterRow"}},[e._v(e._s("")+"\n ")])]}}])}),t("div",{staticStyle:{height:"30px"}},[t("div",{staticStyle:{display:"inline-block",float:"left",border:"1px solid #eee",padding:"5px","margin-top":"5px","font-size":"14px"}},[e._v("已设置的值为:["+e._s(this.loneTreeNewForm.codeResembleRuleOidName)+"]")]),t("div",{staticStyle:{"padding-top":"10px",display:"flex","justify-content":"flex-end",float:"right",overflow:"hidden"}},[t("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.simHandlerClick}},[e._v("确定")]),t("el-button",{attrs:{size:"small"},on:{click:e.simEscHandler}},[e._v("取消")])],1)])],2),t("el-dialog",{attrs:{visible:e.BtmdialogVisible,title:"为【业务类型】选取值","append-to-body":"","before-close":e.BtmEscHandler},on:{"update:visible":function(t){e.BtmdialogVisible=t}}},[[t("el-select",{staticStyle:{width:"135px !important"},attrs:{placeholder:"请选择"},model:{value:e.SelectValue,callback:function(t){e.SelectValue=t},expression:"SelectValue"}},e._l(e.masterSelectOption,(function(e){return t("el-option",{key:e.value,staticStyle:{width:"130px"},attrs:{label:e.label,value:e.value}})})),1),t("el-input",{staticStyle:{width:"260px","margin-left":"15px"},attrs:{placeholder:"输入值后进行模糊查询"},model:{value:e.SelectFInd,callback:function(t){e.SelectFInd=t},expression:"SelectFInd"}}),t("el-button",{staticStyle:{"margin-left":"20px"},attrs:{size:"small",type:"primary",plain:""},on:{click:e.BtmSelectFindeHandler}},[e._v("查询")])],t("avue-crud",{attrs:{data:e.BtmData,option:e.masterOption},on:{"row-click":e.btmSelect},scopedSlots:e._u([{key:"radio",fn:function(a){var r=a.row;return[t("el-radio",{staticStyle:{"padding-left":"10px !important"},attrs:{label:r.$index},model:{value:e.masterRow,callback:function(t){e.masterRow=t},expression:"masterRow"}},[e._v(e._s("")+"\n ")])]}}])}),t("div",{staticStyle:{height:"30px"}},[t("div",{staticStyle:{display:"inline-block",float:"left",border:"1px solid #eee",padding:"5px","margin-top":"5px","font-size":"14px"}},[e._v("已设置的值为:["+e._s(this.loneTreeNewForm.btmTypeName)+"]")]),t("div",{staticStyle:{"padding-top":"10px",display:"flex","justify-content":"flex-end",float:"right",overflow:"hidden"}},[t("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.btmHandlerClick}},[e._v("确定")]),t("el-button",{attrs:{size:"small"},on:{click:e.BtmEscHandler}},[e._v("取消")])],1)])],2)],1)],1)},i=[],n=(a("8e6e"),a("ac6a"),a("456d"),a("ade3")),o=(a("7f7f"),a("b761")),s=a("8e19");function l(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function c(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?l(Object(a),!0).forEach((function(t){Object(n["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):l(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var u={name:"classifyTreeform.vue",props:["loneTreeNewForm","flag","Editclose","TreeFlag","nodeClickList"],data:function(){return{masterRow:null,SelectFInd:"",masterName:"",masterOid:"",KeyName:"",KeyOid:"",simName:"",simOid:"",btmName:"",btmOid:"",btmId:"",masterInput:"",MasterSearchSelects:"",masterData:[],KeyData:[],simData:[],BtmData:[],SelectOption:[{value:"name",label:"中文名称"},{value:"id",label:"英文名称"}],masterSelectOption:[{value:"id",label:"业务类型编号"},{value:"name",label:"业务类型名称"}],SelectValue:"id",btmOption:{addBtn:!1,index:!0,border:!0,selection:!0,menu:!1,height:380,column:[{label:"业务类型编号",prop:"id"},{label:"业务类型名称",prop:"name"},{label:"描述",prop:"description"}]},Option:{addBtn:!1,index:!0,border:!0,menu:!1,height:380,column:[{label:"",prop:"radio",width:60,display:!1},{label:"英文编号",prop:"id"},{label:"中文名称",prop:"name"},{label:"描述",prop:"description"}]},masterOption:{addBtn:!1,index:!0,border:!0,menu:!1,height:380,column:[{label:"",prop:"radio",width:60,display:!1},{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}]},FormList:{},masterSelectList:[],KeySelectLIst:[],simSelectList:[],btmSelectList:[]}},computed:{options:function(){return{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,display: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}]}}},watch:{TreeFlag:{handler:function(e,t){console.log(e)}}},created:function(){},methods:{submits:function(e,t){var a=this;this.TreeFlag||(this.loneTreeNewForm.btmTypeName="",this.loneTreeNewForm.btmTypeId=""),Object(s["TreeEditSave"])(this.loneTreeNewForm).then((function(e){a.$message.success("修改成功"),a.Editclose(),a.$emit("referTreeForm"),a.$emit("flushed"),t()}))},error:function(e){this.$message.success(e)},masterEscHandler:function(){this.SelectFInd="",this.SelectValue="id",this.masterRow=null,this.MasterdialogVisible=!1},KeyEscHandler:function(){this.SelectFInd="",this.SelectValue="id",this.masterRow=null,this.KeydialogVisible=!1},simEscHandler:function(){this.SelectFInd="",this.SelectValue="id",this.masterRow=null,this.SimidialogVisible=!1},BtmEscHandler:function(){this.SelectFInd="",this.SelectValue="id",this.masterRow=null,this.BtmdialogVisible=!1},SelectFindeHandler:function(){var e={};e["conditionMap['".concat(this.SelectValue,"']")]=this.SelectFInd,this.MasterdefaultRend(e)},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.masterRow=e.$index,this.masterSelectList=e,this.masterName=e.name,this.masterOid=e.oid},MasterdefaultRend:function(e){var t=this;Object(o["defaultReferDataGrid"])(c({referType:"coderule",isMuti:"false",'conditionMap["lcstatus"]':"Released",limit:"-1"},e)).then((function(e){t.masterData=e.data.records}))},Keyfouce:function(){this.KeydialogVisible=!0,this.KeydefaultRend()},KeyHandlerClick:function(){this.KeySelectLIst.length>1?this.$message.warning("只能选择一条数据"):this.KeySelectLIst.length<=0?this.$message.warning("请选择一条数据"):(this.KeydialogVisible=!1,this.KeySelectLIst=[],this.$set(this.loneTreeNewForm,"codekeyattrrepeatoidName",this.KeyName),this.$set(this.loneTreeNewForm,"codekeyattrrepeatoid",this.KeyOid),this.$emit("MasterHandler",this.loneTreeNewForm))},KeySelectFindeHandler:function(){var e={};e["conditionMap['".concat(this.SelectValue,"']")]=this.SelectFInd,this.KeydefaultRend(e)},KeydefaultRend:function(e){var t=this;Object(o["defaultReferDataGrid"])(c({referType:"codekeyattrrepeat",isMuti:"false",'conditionMap["lcstatus"]':"Enabled",limit:"-1"},e)).then((function(e){t.KeyData=e.data.records}))},KeySelect:function(e){this.masterRow=e.$index,this.KeySelectLIst=e,this.KeyName=e.name,this.KeyOid=e.oid},simFouce:function(){this.SimidialogVisible=!0,this.simdefaultRend()},simHandlerClick:function(){this.simSelectList.length>1?this.$message.warning("只能选择一条数据"):this.simSelectList.length<=0?this.$message.warning("请选择一条数据"):(this.SimidialogVisible=!1,this.simSelectList=[],this.$set(this.loneTreeNewForm,"codeResembleRuleOidName",this.simName),this.$set(this.loneTreeNewForm,"codeResembleRuleOid",this.simOid),this.$emit("MasterHandler",this.loneTreeNewForm))},SimSelectFindeHandler:function(){var e={};e["conditionMap['".concat(this.SelectValue,"']")]=this.SelectFInd,this.simdefaultRend(e)},simSelect:function(e){this.masterRow=e.$index,this.simSelectList=e,this.simName=e.name,this.simOid=e.oid},simdefaultRend:function(e){var t=this;Object(o["defaultReferDataGrid"])(c({referType:"coderesemblerule",isMuti:"false",'conditionMap["lcstatus"]':"Enabled",limit:"-1"},e)).then((function(e){t.simData=e.data.records}))},btmFoucus:function(){this.BtmdialogVisible=!0,this.btmdefaultRend()},btmHandlerClick:function(){this.btmSelectList.length>1?this.$message.warning("只能选择一条数据"):this.btmSelectList.length<=0?this.$message.warning("请选择一条数据"):(this.BtmdialogVisible=!1,this.btmSelectList=[],this.$set(this.loneTreeNewForm,"btmTypeName",this.btmName||this.btmId),this.$set(this.loneTreeNewForm,"btmTypeId",this.btmId),this.$emit("MasterHandler",this.loneTreeNewForm))},BtmSelectFindeHandler:function(){var e={};e["conditionMap['".concat(this.SelectValue,"']")]=this.SelectFInd,this.btmdefaultRend(e)},btmSelect:function(e){this.btmSelectList=e,this.btmName=e.name,this.btmOid=e.oid,this.btmId=e.id},btmdefaultRend:function(e){var t=this;Object(o["referDataGrid"])(c({valueField:"id",isMuti:"false",limit:"-1"},e)).then((function(e){t.BtmData=e.data.data.records}))}}},d=u,p=a("2877"),f=Object(p["a"])(d,r,i,!1,null,"758f36d2",null);t["default"]=f.exports},a0d7:function(e,t,a){},a473:function(e,t,a){},a6dc:function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return s})),a.d(t,"getLazyList",(function(){return l})),a.d(t,"getLazyMenuList",(function(){return c})),a.d(t,"getMenuList",(function(){return u})),a.d(t,"getMenuTree",(function(){return d})),a.d(t,"remove",(function(){return p})),a.d(t,"add",(function(){return f})),a.d(t,"update",(function(){return m})),a.d(t,"getMenu",(function(){return h})),a.d(t,"getTopMenu",(function(){return b})),a.d(t,"getRoutes",(function(){return g})),a.d(t,"cloneMenuButton",(function(){return y}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-system/menu/list",method:"get",params:o(o({},a),{},{current:e,size:t})})},l=function(e,t){return Object(i["a"])({url:"/api/ubcs-system/menu/lazy-list",method:"get",params:o(o({},t),{},{parentId:e})})},c=function(e,t,a,r){return Object(i["a"])({url:"/api/ubcs-system/menu/lazy-menu-list",method:"get",params:o(o({},t),{},{parentId:e,current:a,size:r})})},u=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-system/menu/menu-list",method:"get",params:o(o({},a),{},{current:e,size:t})})},d=function(e){return Object(i["a"])({url:"/api/ubcs-system/menu/tree",method:"get",params:{tenantId:e}})},p=function(e){return Object(i["a"])({url:"/api/ubcs-system/menu/remove",method:"post",params:{ids:e}})},f=function(e){return Object(i["a"])({url:"/api/ubcs-system/menu/submit",method:"post",data:e})},m=function(e){return Object(i["a"])({url:"/api/ubcs-system/menu/submit",method:"post",data:e})},h=function(e){return Object(i["a"])({url:"/api/ubcs-system/menu/detail",method:"get",params:{id:e}})},b=function(){return Object(i["a"])({url:"/api/ubcs-system/menu/top-menu",method:"get"})},g=function(e){return Object(i["a"])({url:"/api/ubcs-system/menu/routes",method:"get",params:{topMenuId:e}})},y=function(e){return Object(i["a"])({url:"/api/ubcs-system/menu/cloneMenuButton",method:"post",data:e})}},a815:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{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}])},[t("Divider",{attrs:{text:"导入提示",left:"30px"}}),t("ul",[t("li",[e._v("\n 1.红色字体表示必输项\n ")]),t("li",[e._v("\n 2.分类的路径需要用#分隔\n ")]),t("li",[e._v("\n 3.每次仅能最多导入10000条数据\n ")])]),t("Divider",{attrs:{text:"excel文件,选择文件后会自动上传",left:"30px"}}),t("el-upload",{staticClass:"upload-demo",attrs:{accept:".xlsx, .xls",action:"/api/ubcs-code/codeClassify/importClassify","on-success":e.onSuccess,"on-error":e.onError,headers:e.uploadHeaders,"show-file-list":!1,"before-upload":e.beforeUpload,"on-change":e.uploadChange}},[t("el-button",{staticStyle:{margin:"15px 35px"},attrs:{size:"small",type:"primary"}},[e._v("浏览文件")])],1)],1)},i=[],n=(a("ac6a"),a("456d"),a("7f7f"),a("28a5"),a("96cf"),a("1da1")),o=a("8e19"),s=a("0a5a"),l=a("d9a3"),c={name:"ThemeImport",props:{visible:{type:Boolean,default:!1},codeClassifyOid:{type:String,default:""}},data:function(){return{flga:!0,pageLoading:null,downloadLoading:!1}},watch:{visible:{handler:function(e,t){console.log("newval",e)}}},computed:{uploadHeaders:function(){return{"Blade-Auth":"bearer "+Object(s["a"])()}},dialogVisible:{get:function(){return this.visible},set:function(e){this.$emit("update:visible",e)}}},methods:{beforeUpload:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(a=t.name.split(".").pop(),"xlsx"===a||"xls"===a){e.next=4;break}return this.$message.error("只允许上传xlsx、xls格式的文件"),e.abrupt("return",Promise.reject(!1));case 4:return this.pageLoading=this.$loading({lock:!0,text:"文件上传中",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.7)"}),e.abrupt("return",!0);case 6:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}(),onSuccess:function(e){if(0===Object.keys(e.data).length)return this.$message.success("主题库分类导入成功!"),void(this.dialogVisible=!1);if(e.data.fileOid){e.data.filePath.split("/").pop();this.$message.error("请下载错误信息文件进行查看!"),Object(o["downloadErrorFile"])({uuid:e.data.fileOid}).then((function(e){l["a"].downloadFileByBlobHandler(e)}))}},downloadTemplateFun:function(){var e=this;this.downloadLoading=!0,Object(o["downloadBatchImportApplyTemplate"])({codeClassifyOid:this.codeClassifyOid}).then((function(t){e.$utilFunc.downloadFileByBlob(t.data,"主题库分类模板.xls"),e.downloadLoading=!1})).catch((function(t){e.$message.warning(t),e.downloadLoading=!1}))},onError:function(e){this.pageLoading.close()},uploadChange:function(e){"success"!==e.status&&"error"!==e.status||this.pageLoading.close()}}},u=c,d=(a("dfd9"),a("2877")),p=Object(d["a"])(u,r,i,!1,null,"98da592c",null);t["default"]=p.exports},aa51:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return e.dialogVisible?t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],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(a,r){return t("li",{key:r},[e._v("\n "+e._s(a)+"\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",{directives:[{name:"loading",rawName:"v-loading",value:!e.showCodeApply,expression:"!showCodeApply"}],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,resetTable:e.resetTable},on:{"update:visible":function(t){e.showVisible=t}}}):e._e()],1):e._e()},i=[],n=(a("8e6e"),a("ac6a"),a("456d"),a("7f7f"),a("28a5"),a("96cf"),a("1da1")),o=a("ade3"),s=a("8294"),l=a("78e2"),c=a("8cf2"),u=a("0a5a"),d=a("741a");function p(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function f(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?p(Object(a),!0).forEach((function(t){Object(o["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):p(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,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:""},resetTable:Function},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 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.oid]}})),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:!0,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(n["a"])(regeneratorRuntime.mark((function e(t){var a,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(a=t.name.split(".").pop(),"xlsx"===a||"xls"===a){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(r=e.sent,r){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 a=e.data.filePath.split("/").pop();this.$message.error("请下载错误信息文件进行查看!"),Object(l["downloadErrorFile"])({uuid:e.data.fileOid}).then((function(e){t.$utilFunc.downloadFileByBlob(e.data,a)}))}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,codeRuleOid:e.codeRuleOid,name:e.codeRuleVO.name}:f(f({},e.codeClassifyTemplateVO),{},{cloNamesList:e.cloNamesList,codeClassifyOid:e.codeClassifyTemplateVO.codeclassifyoid})})),t.showVisible=!0})))},onError:function(e){this.pageLoading.close()},uploadChange:function(e){"success"!==e.status&&"error"!==e.status||this.pageLoading.close()}},watch:{}},h=m,b=(a("1441"),a("2877")),g=Object(b["a"])(h,r,i,!1,null,"0586f659",null);t["default"]=g.exports},ac45:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("el-dialog",{staticClass:"avue-dialog avue-dialog--top",staticStyle:{height:"100vh"},attrs:{title:"公式编辑框","append-to-body":"","close-on-click-modal":!1,visible:e.isShowformulaEdit,width:"75%",top:"-3%"},on:{"update:visible":function(t){e.isShowformulaEdit=t},close:e.closeFormulaEdit}},[t("div",[t("el-row",[t("el-col",{staticStyle:{overflow:"hidden"},attrs:{span:14}},[t("el-card",{staticClass:"box-card",staticStyle:{height:"29.5vh","overflow-y":"auto","overflow-x":"auto","margin-right":"10px"}},[t("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[t("span",{staticStyle:{"font-size":"medium"}},[e._v("公式内容")]),t("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:"100%"},attrs:{type:"textarea",rows:6},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:"29.5vh"},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:"35vh","overflow-y":"auto","overflow-x":"auto","margin-right":"10px"}},[t("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[t("span",{staticStyle:{"font-size":"medium"}},[e._v("公式选择")])]),t("div",{staticClass:"text item"},[t("el-tabs",{model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[t("el-tab-pane",{attrs:{label:"常用",name:"first"}},[t("el-table",{staticStyle:{width:"100%"},attrs:{data:e.commonFormulaTableData,"show-header":!1},on:{"row-dblclick":e.dbClickAddContent}},[t("el-table-column",{attrs:{prop:"formula",width:"300"}}),t("el-table-column",{attrs:{prop:"desc"}})],1)],1),t("el-tab-pane",{attrs:{label:"财务",name:"second"}},[t("el-table",{staticStyle:{width:"100%"},attrs:{data:e.financialFormulaTableData,"show-header":!1},on:{"row-dblclick":e.dbClickAddContent}},[t("el-table-column",{attrs:{prop:"formula",width:"300"}}),t("el-table-column",{attrs:{prop:"desc"}})],1)],1),t("el-tab-pane",{attrs:{label:"日期",name:"third"}},[t("el-table",{staticStyle:{width:"100%"},attrs:{data:e.dateFormulaTableData,"show-header":!1},on:{"row-dblclick":e.dbClickAddContent}},[t("el-table-column",{attrs:{prop:"formula",width:"300"}}),t("el-table-column",{attrs:{prop:"desc"}})],1)],1),t("el-tab-pane",{attrs:{label:"数学",name:"fourth"}},[t("el-table",{staticStyle:{width:"100%"},attrs:{data:e.mathFormulaTableData,"show-header":!1},on:{"row-dblclick":e.dbClickAddContent}},[t("el-table-column",{attrs:{prop:"formula",width:"300"}}),t("el-table-column",{attrs:{prop:"desc"}})],1)],1),t("el-tab-pane",{attrs:{label:"其他",name:"five"}},[t("el-table",{staticStyle:{width:"100%"},attrs:{data:e.otherFormulaTableData,"show-header":!1},on:{"row-dblclick":e.dbClickAddContent}},[t("el-table-column",{attrs:{prop:"formula",width:"300"}}),t("el-table-column",{attrs:{prop:"desc"}})],1)],1)],1)],1)])],1),t("el-col",{staticStyle:{overflow:"hidden"},attrs:{span:10}},[t("el-card",{staticClass:"box-card",staticStyle:{height:"35vh","overflow-y":"auto","overflow-x":"auto"}},[t("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[t("span",{staticStyle:{"font-size":"medium"}},[e._v("变量")])]),t("div",{staticClass:"text item"},[t("el-tabs",{model:{value:e.activeNameAttr,callback:function(t){e.activeNameAttr=t},expression:"activeNameAttr"}},[t("el-tab-pane",{attrs:{label:"本场景变量",name:"first"}},[t("el-table",{staticStyle:{width:"100%"},attrs:{data:e.thisSceneTableData,"show-header":!1},on:{"row-dblclick":e.dbClickAddContent}},[t("el-table-column",{attrs:{prop:"formula",width:"300"}}),t("el-table-column",{attrs:{prop:"desc"}})],1)],1),t("el-tab-pane",{attrs:{label:"系统变量",name:"second"}},[t("el-table",{staticStyle:{width:"100%"},attrs:{data:e.systemVariableTableData,"show-header":!1},on:{"row-dblclick":e.dbClickAddContent}},[t("el-table-column",{attrs:{prop:"formula",width:"300"}}),t("el-table-column",{attrs:{prop:"desc"}})],1)],1)],1)],1)])],1)],1)],1)])},i=[],n={name:"formulaEditor",props:{visible:{type:"Boolean",default:!1},componentRuleText:{type:String,default:""},thisSceneTableData:{type:Array},systemVariableTableData:{type:Array}},data:function(){return{isShowformulaEdit:this.visible,formulaContent:"",activeName:"first",activeNameAttr:"first",commonFormulaTableData:[{formula:"if(compare,trueResult,falseResult)",desc:"如果compare的表达式为true,则执行trueResult的表达式,否则执行flaseResult.例如if(3>2,2*(3+2),3/(2-4)),值等于10"},{formula:"sum(douber1,douber2)",desc:"两个格式为douber的参数求和"},{formula:"sub(douber1,douber2)",desc:"格式为douber的参数douber1减去格式为douber的参数douber2"},{formula:"mul(douber1,douber2)",desc:"两个格式为douber的参数相乘"},{formula:"div(douber1,douber2)",desc:"格式为douber的参数douber1除以格式为douber的参数douber2.当douber2等于0的时候,返回0;如果除不尽的时候保留10位小数"},{formula:"mod(int,int)",desc:"求余数"},{formula:"toInt(string)",desc:"转换为int格式"},{formula:"doubleRound(string,count)",desc:"处理douber的小数位数,count表示小数位数"},{formula:"zeroIfNull(value)",desc:'如果参数的值为null或者"",将返回0'},{formula:"endsWith(string,str1)",desc:"字符串string是不是以str1结尾"},{formula:"startsWith(string,str1)",desc:"字符串string是否以str1开头"},{formula:"charAt(string,index)",desc:"获取字符串string中第index位置的字符,如果长度小于index,则返回"},{formula:"equalsIgnoreCase(str1,str2)",desc:"字符串str1和字符串str2是否相等"},{formula:"indexOf(str1,str2)",desc:"字符串str2在字符串str1中首次出现的位置"},{formula:"isEmpty(str1)",desc:"参数str1是否为空,其中null这个字符串也表示为空"},{formula:"lastIndexOf(str1,str2)",desc:"字符串str2在字符串str1中最后出现的位置"},{formula:"leftStr(str1,index)",desc:"获取index位置左侧的所有字符"},{formula:"rightStr(str1,str2)",desc:"获取index位置右侧的所有字符"},{formula:"length(str1)",desc:"参数str1的长度"},{formula:"mid(str1,start,end)",desc:"获取str1的从start到end直接的字符串,出现异常时返回"},{formula:"tolowercase(str1)",desc:"将字符串str1转为小写"},{formula:"touppercase(str1)",desc:"将字符串str1转为大写"},{formula:"trimzero(str1)",desc:"去除字符串str1中的0"},{formula:"MD5(str1)",desc:"将字符串进行MD5加密"}],financialFormulaTableData:[{formula:"toChinese(value)",desc:"将阿拉伯数字转为为汉字大写方式"},{formula:"getChineseCurrency(value)",desc:"将阿拉伯数字转为为汉字金额大写方式,与tochiness的区别是这个会显示元、角、分"},{formula:"setThmark(value)",desc:"为参数value设置千分位"}],dateFormulaTableData:[{formula:"compareDate(d1,d2)",desc:"对比参数d1,d2的大小。d1,d2为yyyy-MM-dd格式的日期字符串"},{formula:"nowDate()",desc:"获取当前日期"},{formula:"chinaDate(d1)",desc:"将时间转换为农历,d1是yyyy-MM-dd格式的日期字符串"},{formula:"dateAdd(d1,count)",desc:"在d1的基础上添加count天,d1为yyyy-MM-dd HH:mm:ss格式的时间字符串"},{formula:"dateBalanceYear(sourceDate,targetDate,false)",desc:'计算相差的年份,比如计算年龄,targetDate为""表示当前时间,第三个参数为true表示有多余的月份或者天数时,就加1;'},{formula:"dateBalanceDay(sourceDate,targetDate)",desc:'计算相差的天数,targetDate为""表示当前时间'},{formula:"dateformat(d1,format)<",desc:"将当前的日期(时间)字符串转为指定的字符串,如果format的内容有空格,请使用&代替"},{formula:"nowDatetime()",desc:"获取当前日期和时间。格式为yyyy-MM-dd HH:mm:ss"},{formula:"dayOf(d1)",desc:"获取格式为yyyy-MM-dd的日期的天数"},{formula:"nowMon()",desc:"获取当前的月份,格式为MM"},{formula:"monOf(d1)",desc:"获取日期d1的月份数"},{formula:"nowTime()",desc:"获取当前时间,格式为HH:mm:ss"},{formula:"nowYear()",desc:"获取年份,格式为yyyy"},{formula:"yearOf()",desc:"获取时间d1的年份"}],mathFormulaTableData:[{formula:"abs(value)",desc:"求参数value的绝对值,value必须为数字格式"},{formula:"acos(value)",desc:"求参数value的反余弦,value必须为数字格式"},{formula:"asin(value)",desc:"求参数value的反正弦,value必须为数字格式"},{formula:"atan(value)",desc:"求参数value的反正切,value必须为数字格式"},{formula:"cbrt(value)",desc:"求参数value的立方根,value必须为数字格式"},{formula:"ceil(value)",desc:"返回不大于参数value的最小整数,例如ceil(1.7)就等于2,value必须为数字格式"},{formula:"cos(value)",desc:"求参数value的余弦值,value必须为数字格式"},{formula:"cosh(value)",desc:"求参数value的双曲余弦值,value必须为数字格式"},{formula:"exp(n)",desc:"欧拉数 e 的n次幂,n必须为数字格式"},{formula:"floor(n)",desc:"欧拉数 e 的n次幂减1,n必须为数字格式"},{formula:"log(value)",desc:"返回不小于参数value的最大整数,例如floor(1.7)等于1,n必须为数字格式"},{formula:"log10(value)",desc:"自然对数,value必须为数字格式"},{formula:"log1p(value)",desc:"计算底数为 10 的对数,value必须为数字格式"},{formula:"random()",desc:"返回参数与 1 之和的自然对数,value必须为数字格式"},{formula:"rint(value)",desc:"返回一个伪随机数,该值大于等于 0.0 且小于 1.0"},{formula:"round(value)",desc:"返回其值最接近参数并且是整数的 double 值。如果两个整数的 double 值都同样接近,那么结果取偶数。特殊情况是:如果参数值是整数,那么结果就是该参数。如果参数是 NaN 或无穷大或正零或负零,那么结果与参数相同"},{formula:"signum(value)",desc:"符号函数;如果参数为 0,则返回 0;如果参数大于 0, 则返回 1.0;如果参数小于 0,则返回 -1.0"},{formula:"sin(value)",desc:"求参数value的正弦值,value必须为数字格式"},{formula:"sinh(value)",desc:"求参数value的双曲正弦值,value必须为数字格式"},{formula:"tan(value)",desc:"求参数value的正切值,value必须为数字格式"},{formula:"tanh(value)",desc:"求参数value的双曲正切值,value必须为数字格式"},{formula:"max(v1,v2)",desc:"求两个数中的较大的值,v1,v2都必须为数字格式,例如max(3.2,3)就等于3.2"},{formula:"min(v1,v2)",desc:"求两个数中的较小的值,v1,v2都必须为数字格式,例如max(3.2,3)就等于3"},{formula:"sqrt(value)",desc:"求平方根"}],otherFormulaTableData:[{formula:"getcolvalue(servername,tablename,fieldname,pkField,pkValue)",desc:"查询servername中tablename数据库表中fieldname字段的值,pkfield表示主键的字段名称,pkValue表示主键的值,serverName现在默认为localServer"}]}},watch:{visible:function(){this.isShowformulaEdit=this.visible,this.formulaContent=this.componentRuleText||""}},mounted:function(){},methods:{dbClickAddContent:function(e){this.formulaContent=this.formulaContent+e.formula},resetFormulaContent:function(){this.formulaContent=""},closeFormulaEdit:function(){this.resetFormulaContent(),this.$emit("update:visible",!1)},saveFormulaContent:function(){null!=this.formulaContent.trim&&""!=this.formulaContent.trim?(this.$emit("updateFormulaContent",this.formulaContent),this.isShowformulaEdit=!1):this.$message.warning("公式内容不能为空!")}}},o=n,s=(a("8b61"),a("2877")),l=Object(s["a"])(o,r,i,!1,null,"627799e5",null);t["default"]=l.exports},ad51:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("el-popover",{attrs:{placement:"bottom",width:"350",trigger:"click"}},[t("el-tabs",{model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[t("el-tab-pane",{attrs:{label:"消息("+e.noticeData.length+")",name:"second"}})],1),t("el-scrollbar",{staticStyle:{height:"300px"}},[t("avue-notice",{attrs:{data:e.noticeData,option:e.option},on:{"page-change":e.pageChange}})],1),t("div",{attrs:{slot:"reference"},slot:"reference"},[t("el-badge",{attrs:{"is-dot":""}},[t("i",{staticClass:"el-icon-bell"})])],1)],1)},i=[],n={name:"top-notice",data:function(){return{activeName:"second",option:{props:{img:"img",title:"title",subtitle:"subtitle",tag:"tag",status:"status"}},emailData:[],noticeData:[{img:"/img/bg/vip1.png",title:"史蒂夫·乔布斯 关注了你",subtitle:"05-08 15:08",tag:"已经开始",status:0},{img:"/img/bg/vip2.png",title:"斯蒂夫·沃兹尼亚克 关注了你",subtitle:"05-08 15:08",tag:"未开始",status:1},{img:"/img/bg/vip3.png",title:"蒂姆·库克 关注了你",subtitle:"05-08 15:08",status:3,tag:"有错误"},{img:"/img/bg/vip4.png",title:"比尔·费尔南德斯 关注了你",subtitle:"05-08 15:08",status:4,tag:"已完成"}]}},created:function(){},methods:{pageChange:function(e,t){var a=this;setTimeout((function(){a.$message.success("页码"+e),a.noticeData=a.noticeData.concat(list),t()}),1e3)}}},o=n,s=a("2877"),l=Object(s["a"])(o,r,i,!1,null,"406a62ce",null);t["default"]=l.exports},b0c50:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAGUklEQVRYw+1XaWxU1xX+zn1v5o3t8RjGNo5d7LLZpCwVtkOLChGeSWJVbSA0MdN0IUhNMaK4UiUkQhojRSKLiNQmVRJh1DSqktDGVEiYQNJg/qQ02EiUqIugxlCP7Q5eMFNnlrfNe/f0x4zXJi1h6Z/2SFfn3vvjfd/57jnvngv8rxvdjo8omh9zl6yFL1AON2Pg48E/Qh/563+HwOcbWlCz6dkHVV+gmYClLmPctPjEyF9OvXS5fWvCSQ7dOQLVG/fRkq+1/gzgFiIiZmbbITJMZsOiK4mhS/dHfxnud1Ox20+gpG4v1W59+lWPT+yY2HMlYFqAMTFMRFMjvaHRt0NRmY7dPgJFX2ylvKpdbZomti1d7yfFSwwQ2Q6zYRIZFrNhTfqoPtobTh0NRaHHbp1AoH4vaYt3tbHOzWQzCvwKahr8II+Yit6cpkJ29JljvSH+bagfRuzTCQRKFmPBqm/h7z2nEB/s/hfw/NqnKG/l7oPS4u8LG0Q2M9lMBX6FF6zzk800PfKJXCDDYnYciiJxKYTOcP90JSYJLFu/h1Z/dc/d8ZGLA6ff3p4eH/7TDHCt/inS6na3kYNmsgFhM8hmkA2QzcgrUFC62g9LitnRw7IABgBGH5KXQjg5RYIAoKr+B1j7jRd29p4/8tofjj5usXRmgq9pJe+XdrfBxTbKgEQucrLBZDOJnPcFPV35ywruMUyo05VwXGaACMwMoigSvSGcDPVDj4FAKtbvvLJJCKXggwNfOCQzyRng3nWtpK57oo0kNVMuapGLekIBYTMowx1OvDNSdG/jBpvm/Nqw4DFMwLJz0c+0PiR6wzi6NKp6AwshlbmRsaGP2maDe+59gsQDe9pY0jbYDEgwOFvvYBCYGMwEoOOuBcnIhZ8/bqf6q4945ocCjgvFcQGWn5rPNgCopGhIZ7g4f96KFWr+Xb9z9GEAgKiohXhw75NSiGZhM8CELCiDJREkAMlEEh3O0LHIosb7VO07zzjnXv+RzIx+ZN5oVamOcQ0uU4+EZ/v8ta0Ho50tLgCIL28pdAuUJynDYEkMyTRbAWJ02FfaN6dP78iccyL2mh++XnXhvQMD+lDPDZe16hojSMcv/koW3t1SUfvYj1PDZ/eN/flNcPmi1fCSnwAwM00oQDkFSHJHpqc9op/ekQFLxLoOw3rsuYrKrzQN9Bx59sYJAMDI+Z90Vzzw2m+Gk3i6ZsMro6ovcHDUQxpUMEsQpinATKT9w+HCmPXh+OVz9uQhs8T14Wh+Xnl1JYDBz0Qg2XsYySUPbdcWblh+NUEHFn99/zJfgfPygJoFxDQFvNcdBPpMEoT9Jcv3OYD7YqLvF/DMq4aoume1OToYu6l+gJQ8VGxsL/NUNhw3XdSXFYu/jc1X8oc1KkeuztWU5HmnUyQkmAQRCTARdo0PvvRiRdOjNZ6y6hNX33952fDh3Zmba0iEFyWhF3yBVd97PuVQi+qBWlQsYBQJJBQAPRYCFy2QAEgQSBBUH3H+cu0NvVTd6EI+M3Dg0Z86vmKQC5DDgJP12XVuz83CWdeOf/Jl5KtqQPF9z61Qyla2GhIPSyI1Pw/k18AiwyQkmAVI+ohNTZAuwXlx94P0YHdobEH5EqVw0TuKzkFhMISeGwZD6BKKziCTLXbT375+ds3v6d+J41sYhr92S1leTeMmM1C0k21eSQBYJRAYSgbQ0hLaqAMymY0SZX9sle+7QpfzZ4MrU3OLUsmm8fPfPJ75uOsGr2NFg6f5cNBXEe4sPWvUkZjIAWIiZL3I+ms1XhovVVjoTEJnVgxJQufs2mCLkqmmxIebjzvxrs/YD6gafFvag2X6ulOqybWTeUA0LSeyPl6pIl6sQJhTCnh0tpRUavP4yaZ3nGtnbrIhUTUUh94KFgVCnQojqwTlqmFCkZwSjpdI9wtmBnkzsFQzFek/8cgxc/jMLbZkioaS8FvBOXPDnYJRRzRVETOUoMk9OyPTm/vefeSYMXTmNjWlioZ59x8KFgXDnYrEtJyYlRsKWTanI9ETnwx+a225oqGs8VBwTjDcKZjqpv8bcnPLRirS/27TMePqmTv0MFE0lDa8EghWNj2vSNoqCPkkCKxSt5UZ2jV4cmuXebX7zj/NvGX1KKhq9Apf4edIyoQdv3A9ebkDnEnj//af7J+cLV0HDoDz9gAAAABJRU5ErkJggg=="},b12a:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("div",[t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"avue-dialog avue-dialog--top",attrs:{title:e.title,"append-to-body":"true",visible:e.visible,top:"0",width:e.options.width||"80%",height:e.options.height||"auto"},on:{"update:visible":function(t){e.visible=t}}},[t("avue-crud",{ref:"referCrud",attrs:{option:e.option,"table-loading":e.loading,data:e.data,page:e.page},on:{"update:page":function(t){e.page=t},"search-change":e.searchChange,"search-reset":e.searchReset,"selection-change":e.selectionChange,"row-click":e.rowClick,"current-change":e.currentChange,"size-change":e.sizeChange,"refresh-change":e.refreshChange,"on-load":e.onLoad},scopedSlots:e._u([{key:"icon",fn:function(e){return[t("i",{class:e.row.icon,staticStyle:{"font-size":"24px"}})]}}]),model:{value:e.value,callback:function(t){e.value=t},expression:"value"}}),t("div",{staticClass:"avue-dialog__footer"},[t("div",{staticClass:"avue-dialog__footer--left valueInfo"},[e._v(e._s(e.valueInfo)+" ")]),t("el-button",{on:{click:function(t){e.visible=!1}}},[e._v("取 消")]),t("el-button",{attrs:{type:"primary"},on:{click:e.setValue}},[e._v("确 定")])],1)],1),t("avue-input",{attrs:{disabled:e.disabled,placeholder:e.title},on:{click:function(t){!e.disabled&&(e.visible=!0)}},model:{value:e.text,callback:function(t){e.text=t},expression:"text"}})],1)},i=[],n=a("bef3"),o=n["a"],s=(a("8c2f"),a("2877")),l=Object(s["a"])(o,r,i,!1,null,"311dd6cd",null);t["default"]=l.exports},b1bb:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("basic-container",[t("avue-tabs",{attrs:{option:e.Taboption},on:{change:e.handleChange}}),"tab1"===e.type.prop?t("span",[t("attrCrud",{attrs:{ProData:e.ProData,crudOid:e.crudOid,checkStatus:e.checkStatus,crudLCStatus:e.crudLCStatus,crudArray:e.crudArray,Formlist:e.Formlist,codeClassifyOid:e.codeClassifyOid}})],1):"tab2"===e.type.prop?t("span",[t("FlowPath",{ref:"FlowPath",attrs:{code:this.crudOid,checkStatus:e.checkStatus,crudLCStatus:e.crudLCStatus,Formlist:e.Formlist}})],1):"tab3"===e.type.prop?t("span",[t("stage",{ref:"stage",attrs:{code:this.crudOid,Formlist:e.Formlist}})],1):e._e()],1)},i=[],n={name:"TemplatePro.vue",props:["ProData","crudOid","crudLCStatus","crudArray","Formlist","codeClassifyOid","rowIndex","crudArrayFlag"],data:function(){return{type:{},Taboption:{column:[{label:"模板属性",prop:"tab1"},{label:"模板流程",prop:"tab2"},{label:"模板阶段",prop:"tab3"}]},checkStatus:!1}},created:function(){this.type=this.Taboption.column[0],this.type.prop="tab1"},watch:{},methods:{handleChange:function(e){this.type=e}}},o=n,s=(a("6f18"),a("2877")),l=Object(s["a"])(o,r,i,!1,null,null,null);t["default"]=l.exports},b1ca:function(e,t,a){"use strict";a.r(t),a.d(t,"getPage",(function(){return c})),a.d(t,"getDetail",(function(){return u})),a.d(t,"add",(function(){return d})),a.d(t,"batchAdd",(function(){return p})),a.d(t,"update",(function(){return f})),a.d(t,"batchUpdate",(function(){return m})),a.d(t,"remove",(function(){return h})),a.d(t,"refList",(function(){return b})),a.d(t,"getAppayRange",(function(){return g}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s="/api/ubcs-omd",l="/revision-rule",c=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-omd/revision-rule/page",method:"get",params:o(o({},a),{},{current:e,size:t})})},u=function(e){return Object(i["a"])({url:"/api/ubcs-omd/revision-rule/detail",method:"get",params:{oid:e}})},d=function(e){return Object(i["a"])({url:"/api/ubcs-omd/revision-rule/submit",method:"post",data:e})},p=function(e){return Object(i["a"])({url:"/api/ubcs-omd/revision-rule/batch-submit",method:"post",data:e})},f=function(e){return Object(i["a"])({url:"/api/ubcs-omd/revision-rule/submit",method:"post",data:e})},m=function(e){return Object(i["a"])({url:"/api/ubcs-omd/revision-rule/batch-submit",method:"post",data:e})},h=function(e){return Object(i["a"])({url:"/api/ubcs-omd/revision-rule/remove",method:"post",data:e})},b=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-omd/revision-rule/ref",method:"get",params:o(o({},a),{},{currentPage:e,pageSize:t})})},g=function(e){return Object(i["a"])({url:s+l+"/get-apply-range",method:"get",params:{id:e}})}},b297:function(e,t,a){"use strict";t["a"]={propsDefault:{label:"label",path:"path",icon:"icon",children:"children",isOpen:"isOpen"}}},b2cc:function(e,t,a){},b5c6:function(e,t,a){"use strict";a("6762"),a("2fdb");var r=a("cebe"),i=a.n(r),n=a("4360"),o=a("9883"),s=a("0e0b"),l=a("0a5a"),c=a("5f72"),u=a("1ca4"),d=a("27ae"),p=a("323e"),f=a.n(p),m=(a("a5d8"),a("4328")),h=a.n(m);i.a.defaults.timeout=1e5,i.a.defaults.validateStatus=function(e){return e>=200&&e<=500},i.a.defaults.withCredentials=!0,f.a.configure({showSpinner:!1}),i.a.interceptors.request.use((function(e){f.a.start();var t=!1===e.authorization;t||(e.headers["Authorization"]="Basic ".concat(d["Base64"].encode("".concat(u["a"].clientId,":").concat(u["a"].clientSecret))));var a=e.meta||{},r=!1===a.isToken;return Object(l["a"])()&&!r&&(e.headers[u["a"].tokenHeader]="bearer "+Object(l["a"])()),!0===e.text&&(e.headers["Content-Type"]="text/plain"),"post"===e.method&&!0===a.isSerialize&&(e.data=Object(s["i"])(e.data)),"get"===e.method&&(e.paramsSerializer=function(e){return h.a.stringify(e,{encode:!0})}),e}),(function(e){return Promise.reject(e)})),i.a.interceptors.response.use((function(e){f.a.done();var t=e.data.code||e.status,a=u["a"].statusWhiteList||[],r=e.data.msg||e.data.error_description||"未知错误";return a.includes(t)?Promise.reject(e):(401===t&&n["a"].dispatch("FedLogOut").then((function(){return o["a"].push({path:"/login"})})),200!==t?(Object(c["Message"])({message:r,type:"error"}),Promise.reject(new Error(r))):e)}),(function(e){return f.a.done(),Promise.reject(new Error(e))})),t["a"]=i.a},b761:function(e,t,a){"use strict";a.r(t),a.d(t,"getTreeList",(function(){return s})),a.d(t,"defaultReferDataGrid",(function(){return l})),a.d(t,"referDataGrid",(function(){return c}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeClassify/referTree",method:"get",params:o({},e)})},l=function(e){return Object(i["a"])({url:"/api/ubcs-code/mdmEngineController/defaultReferDataGrid",method:"get",params:o({},e)})},c=function(e){return Object(i["a"])({url:"/api/ubcs-code/referBtmTypeController/referDataGrid",method:"get",params:o({},e)})}},b887:function(e,t,a){"use strict";a.r(t),a.d(t,"treeTopCodeClassify",(function(){return s})),a.d(t,"listClassifyLinkAttr",(function(){return l}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeClassify/treeTopCodeClassify",method:"get",params:o({},e)})},l=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeClassify/listClassifyLinkAttr",method:"get",params:o({},e)})}},baf2:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("el-dialog",{staticClass:"avue-dialog avue-dialog--top",staticStyle:{height:"115vh","margin-top":"-14vh","overflow-y":"hidden"},attrs:{"close-on-click-modal":!1,title:"参照配置","append-to-body":"",visible:e.isShowReferConfigForm,width:"90%",id:"refer-config-form",top:"0","destroy-on-close":""},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(a){var r=a.disabled,i=a.size;return[t("el-input",{ref:"referTypeName",attrs:{disabled:r,size:i,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:!r,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(a){var r=a.disabled,i=a.size;return[t("el-input",{ref:"sortField",attrs:{disabled:r,size:i,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(a){var r=a.disabled,i=a.size;return[t("el-input",{ref:"sortField",attrs:{disabled:r,size:i,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(a){return[t("el-button",{attrs:{type:"text",size:"small",icon:"el-icon-search",plain:""},on:{click:function(e){a.row.isquery=!a.row.isquery}}},[e._v("\n "+e._s(a.row.isquery?"取消快速查询":"快速查询")+"\n ")]),t("el-button",{attrs:{type:"text",size:"small",icon:"el-icon-minus",plain:""},on:{click:function(t){return e.removeCurrentRow(a.row,"removeAttr")}}},[e._v("移除\n ")])]}},{key:"menuLeft",fn:function(a){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(a){return t("el-tag",{directives:[{name:"show",rawName:"v-show",value:a.isquery&&""!=a.title,expression:"item.isquery && item.title!=''"}],key:a.title,staticStyle:{"margin-left":"3px"},attrs:{type:"info",size:"small",effect:"dark"}},[e._v("\n "+e._s(a.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(a){return[t("el-button",{attrs:{type:"text",size:"small",icon:"el-icon-minus",plain:""},on:{click:function(t){return e.removeCurrentRow(a.row,"removeaddSearchCondtion")}}},[e._v("移除\n ")])]}},{key:"menuLeft",fn:function(a){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)},i=[],n=(a("7f7f"),a("ade3")),o=(a("96cf"),a("1da1")),s=(a("ac6a"),a("d9a3")),l={name:"referConfigFormDialog",props:{},data:function(){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},{label:"列名(*)",prop:"title",cell:!0,clearable:!1},{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:"文本域"}]},{label:"列表可排序",prop:"sort",cell:!0,clearable:!1,type:"switch",width:"80px",value:!0},{label:"排序字段",prop:"attrSortField",cell:!0,clearable:!1},{label:"字段宽度",prop:"width",cell:!0,clearable:!1},{label:"列固定位置",prop:"fixedPosition",cell:!0,type:"select",clearable:!1,value:"noFixed",dicData:[{value:"noFixed",label:"不固定"},{value:"left",label:"左边"},{value:"right",label:"右边"}]},{label:"js显示代码",prop:"templet",cell:!0,clearable:!1}]},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,a){/[^\d]/g.test(t)?a(new Error("窗口显示的高度必须为数值类型")):a()},{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 a=t.value,r=(t.column,{});e.activeName="first","stand"==a?(r={referContent:"",displayTable:""},e.isDisabledTabs=!1):"default"==a||"grid"==a?(r={limit:15,sortField:"",sortType:"asc"},e.isDisabledTabs=!1):"tree"==a?(r={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(r,e.form)}},{label:"是否持久化参照配置",prop:"isPersistence",labelWidth:"142",tip:"true:开启持久化,对当前定义的参照配置进行持久化存储,下次可直接选取;false:仅对当前次码段新增生效。",tipPlacement:"bottom",span:6,type:"switch"},{display:this.form.isPersistence||"true"==this.form.isPersistence,label:"参照配置编号",prop:"id",tip:"设置该参照配置持久化存储时的编号。",rules:[{required:!0,message:"(开启持久化时编号)必填项不能为空",trigger:"blur"}],span:6},{display:this.form.isPersistence||"true"==this.form.isPersistence,label:"参照配置名称",prop:"name",tip:"设置该参照配置持久化存储时的名称。",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<Theme>",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,rules:[{required:!0,message:"必填项不能为空",trigger:"blur"}],tipPlacement:"right"},{label:"排序字段",prop:"sortField",span:8,tip:"查询数据时的排序字段",tipPlacement:"right"},{label:"排序类型",prop:"sortType",span:8,dicData:[{label:"升序",value:"asc"},{label:"降序",value:"desc"}],type:"select",tip:"查询数据时的排序类型",tipPlacement:"right"}]},{display:"stand"==this.form.type,icon:"el-icon-info",label:"stand(平台配置)参照",collapse:!0,prop:"groupStand",column:[{label:"参考的UI上下文",prop:"referContent",span:8,tip:"只有参照窗口类型是stand时才必须设置,且在stand类型下才能生效",tipPlacement:"right"},{label:"平台的表格编号",prop:"displayTable",span:8,tip:"与参照的UI上下文互斥,只有参照窗口类型是stand时才必须设置,且在stand类型下才能生效",tipPlacement:"right"}]},{display:"tree"==this.form.type,icon:"el-icon-info",label:"树形参照信息",collapse:!0,prop:"groupTree",labelWidth:"158",column:[{label:"树形的上级属性",prop:"parentFieldName",span:7,tip:"树形展示的时候,上下级关系查找的属性。",tipPlacement:"right",rules:[{required:!0,message:"(树形的上级属性)必填项不能为空",trigger:"blur"}]},{label:"上级属性值对应属性",prop:"parentUsedField",span:7,tip:"上级属性存储的值,是上级数据的什么属性。一般都是oid。",value:"oid",tipPlacement:"right"},{label:"根节点的值",prop:"parentValue",span:7,tip:"树形展示的时候,上级的值。",tipPlacement:"right"},{label:"树加载方式",prop:"loadType",span:7,value:"all",dicData:[{label:"全部",value:"all"},{label:"逐级加载",value:"node"}],type:"select"},{label:"排序字段",prop:"sortField",span:7,tip:"查询数据时的排序字段",tipPlacement:"right"},{label:"排序类型",prop:"sortType",span:7,type:"select",value:"asc",dicData:[{label:"升序",value:"asc"},{label:"降序",value:"desc"}]},{label:"是否只能选择叶子节点",prop:"onlyLeaf",span:7,value:!1,type:"switch"}]}]}}},mounted:function(){var e=this;this.element=document.getElementById("refer-config-form"),this.element.addEventListener("click",(function(t){e.$refs.crudAttr.$el.contains(t.target)||""==e.preClickAttrRow||(e.preClickAttrRow.$cellEdit=!1),e.$refs.crudAddCondition.$el.contains(t.target)||""==e.preClickAddSearchConditionRow||(e.preClickAddSearchConditionRow.$cellEdit=!1)}))},watch:{"form.type":function(e){this.onloadAttrData()},isShowReferConfigForm:function(){this.isShowReferConfigForm&&this.codeShowFieldConfigVOS.length<=0&&this.onloadAttrData()}},methods:{selectedListReferConfig:function(){var e=Object(o["a"])(regeneratorRuntime.mark((function e(){var t,a,r=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=!0,e.next=3,this.formRefs.forEach((function(e){r.$refs[e].validate((function(e,a,i){if(!e){for(var n in i){r.$message.warning(i[n][0].message);break}t=!1}a()}))}));case 3:t&&(a=this.filterForm(),this.$emit("echoReferConfig",a),this.isShowReferConfigForm=!1);case 4:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),clickAttrEdit:function(e,t,a){this.preClickAttrRow&&this.preClickAttrRow!=e&&(this.codeShowFieldConfigVOS[this.preClickAttrRow.$index].$cellEdit=!1),e.$cellEdit=!0,this.preClickAttrRow=e},clickAddSearchCondtionEdit:function(e,t,a){this.preClickAddSearchConditionRow&&this.preClickAddSearchConditionRow!=e&&(this.form.codeSrchCondConfigVOS[this.preClickAddSearchConditionRow.$index].$cellEdit=!1),e.$cellEdit=!0,this.preClickAddSearchConditionRow=e},initPageData:function(e){return s["a"].notEmpty(e.referConfig)?(this.form=JSON.parse(e.referConfig),this.form.isPersistence=!("true"!=this.form.isPersistence&&!this.form.isPersistence),void(("default"==this.form.type||"grid"==this.form.type)&&void 0!=this.form.codeShowFieldConfigVOS&&this.form.codeShowFieldConfigVOS.length>0&&(this.codeShowFieldConfigVOS=this.form.codeShowFieldConfigVOS))):(this.onloadAttrData(),s["a"].notEmpty(e.referType)?(this.form.referTypeName=e.referTypeName,this.form.referType=e.referType,void(this.referTypeIsReadOnly=!0)):void 0)},onloadAttrData:function(){this.codeShowFieldConfigVOS=[{field:"id",title:"编号",fieldType:"text",fieldTypeText:"文本框",sort:!0,attrSortField:"id",width:"150",isquery:!0,$cellEdit:!1},{field:"name",title:"名称",fieldType:"text",fieldTypeText:"文本框",sort:!0,attrSortField:"name",width:"180",isquery:!0,$cellEdit:!1}]},removeCurrentRow:function(e,t){"removeAttr"!=t?this.$delete(this.form.codeSrchCondConfigVOS,e.$index):this.$delete(this.codeShowFieldConfigVOS,e.$index)},recoveryDataAndForm:function(e){if("initForm"==e){this.referTypeIsReadOnly=!1;var t=this.form.type;return this.form=this.$options.data().form,void(this.form.type=t)}if(Object.assign(this.$data,this.$options.data()),""!=this.element)window.removeEventListener("click",this.element)},filterForm:function(){var e=this,t=this.form,a=["referTypeName","referType","textField","valueField","type","url","backPath","method","height","useFormKey","paramForFormKey","isMuti","mapFields","codeSrchCondConfigVOS","isOpenGlobal","isPersistence"],r=[],i={};return"stand"==t.type?r=["referContent","displayTable"]:"default"==t.type||"grid"==t.type?r=["limit","sortField","sortType"]:"tree"==t.type&&(r=["parentFieldName","parentUsedField","parentValue","loadType","onlyLeaf","sortField","sortType"]),("true"==t.isPersistence||t.isPersistence)&&(a=a.concat(["id","name"])),a=a.concat(r),this.checkArrayIsUndefined(this.form.codeSrchCondConfigVOS)||(i={codeSrchCondConfigVOS:this.form.codeSrchCondConfigVOS}),("default"==t.type||"grid"==t.type)&&this.codeShowFieldConfigVOS.length>=0&&!this.checkArrayIsUndefined(this.codeShowFieldConfigVOS)&&(i=Object.assign(i,{codeShowFieldConfigVOS:this.codeShowFieldConfigVOS})),a.forEach((function(a){"isMuti"!=a&&"onlyLeaf"!=a&&e.checkStringIsEmpty(t[a])&&e.checkArrayIsUndefined(t[a])||(i=Object.assign(i,Object(n["a"])({},a,t[a])))})),i},checkStringIsEmpty:function(e){return null===e||"undefined"===typeof e||"string"===typeof e&&""===e&&"undefined"!==e},checkArrayIsUndefined:function(e){return"array"===typeof e&&(0===e.length||null===e||"undefined"===typeof e)},clearSelectionTable:function(e){"referType"==e?(this.form.referType="",this.form.referTypeName=""):this.form.sortField=""},openSelectionTable:function(e){if("referType"==e)return this.referBtmDialogParams.selectReferBtmSettingBox=!0,void this.$refs[this.referBtmDialogParams.ref].referBtmOnLoad();if(""!=this.form.referType&&null!=this.form.referType){var t=this.seletedBtmTypeAttrOptions;t.btmTypeId=this.form.referType,"sortField"==e?(t.title="为【排序字段】选取值对话框",t.condition="sortField"):"addSearchCondition"==e?(t.title="选择查询条件",t.condition="addSearchCondition"):(t.title="选择显示字段",t.condition="selectAttr"),this.$refs[this.selectedBtmTypeAttrParams.ref].selectedBtmTypeAttrOnLoad(t),this.selectedBtmTypeAttrParams.selectedBtmTypeAttrSettingBox=!0}else this.$message.warning("请输入参照的业务类型")},echoReferBtmType:function(e){this.form.referTypeName=e.name||e.id,this.form.referType=e.id||""},echoSelectedAttr:function(e){var t=this;"sortField"===e.condition?this.form.sortField=e.selectedArrary[0].id:"addSearchCondition"===e.condition?e.selectedArrary.forEach((function(e){t.form.codeSrchCondConfigVOS.push({filterField:e.id,filterType:"_equal",filterTypeText:e.name,filterValue:"",$cellEdit:!1})})):e.selectedArrary.forEach((function(e){t.codeShowFieldConfigVOS.push({field:e.id,title:e.name,fieldType:"text",fieldTypeText:"文本框",sort:!1,attrSortField:e.id,width:e.attributeLength,isquery:!1,$cellEdit:!1})}))}}},c=l,u=(a("e28c"),a("2877")),d=Object(u["a"])(c,r,i,!1,null,null,null);t["default"]=d.exports},bcc5:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("el-dialog",{staticStyle:{height:"115vh"},attrs:{title:"查看应用范围",visible:e.showDialog,"append-to-body":"",width:"65%"},on:{"update:visible":function(t){e.showDialog=t},close:e.closeDialog}},[t("basic-container",[t("avue-crud",{ref:"crud",attrs:{data:e.rangeData,option:e.option}})],1)],1)},i=[],n={name:"Versionpackage.vue",props:{rangeData:{type:Array}},data:function(){return{showDialog:!1,option:{height:300,headerAlign:"center",align:"center",border:!0,menu:!1,index:!0,addBtn:!1,indexFixed:!1,menuFixed:!1,header:!1,highlightCurrentRow:!0,column:[{label:"英文名称",prop:"id"},{label:"中文名称",prop:"name"},{label:"所属领域",prop:"domainText"},{label:"数据表名",prop:"tableName",width:200},{label:"说明",prop:"descirption"}]}}},methods:{closeDialog:function(){this.rangeData=[],this.showDialog=!1}}},o=n,s=a("2877"),l=Object(s["a"])(o,r,i,!1,null,"431df4ac",null);t["default"]=l.exports},bd80:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("avue-input-tree",{ref:"referTree",attrs:{props:e.props,disabled:e.disabled,lazy:e.lazy,"tree-load":e.treeLoad,"node-click":e.nodeClick,checked:e.checked,"leaf-only":e.referConfig.onlyLeaf,multiple:e.isMuti,placeholder:e.title,dic:e.treeData},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}})},i=[],n=(a("8e6e"),a("ac6a"),a("456d"),a("a481"),a("28a5"),a("ade3")),o=a("ee95"),s=a("c54a");function l(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function c(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?l(Object(a),!0).forEach((function(t){Object(n["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):l(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var u={name:"vciWebReferTree",props:["referConfig","value","text","title","disabled"],data:function(){return{visible:!1,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:[],checkedData:[],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.initSort&&(e["order"]=this.options.initSort.type,e["sort"]=this.options.initSort.field),this.options.sortField&&(e["sort"]=this.options.sortField),this.options.sortType&&(e["order"]=this.options.sortType),this.options.rootParams)for(var a in this.options.rootParams)e[a]=this.options.rootParams[a];if(this.options.conditionParams)for(var a in this.options.conditionParams)e['conditionMap["'+a+'"]']=this.options.conditionParams[a];if(this.options.where)for(var a in this.options.where)e['conditionMap["'+a+'"]']=this.options.where[a];if(this.options.treeExtandParams)for(var a in this.options.treeExtandParams)e['extandParamsMap["'+a+'"]']=this.options.treeExtandParams[a];if(this.options.sourceDataParams)for(var a in this.options.sourceDataParams){if(a&&a.constructor===Object)return;e['sourceData["'+a+'"]']=this.options.sourceDataParams[a]}if(this.options.replaceParams)for(var a in this.options.replaceParams){if(a&&a.constructor===Object)return;e['replaceMap["'+a+'"]']=this.options.replaceParams[a]}this.params=e},getTree:function(){var e=this;Object(o["getTree"])(this.params,this.treeUrl).then((function(t){t.data.map((function(e){return e.attributes?e.attributes.data=e.attributes.data||{}:e.attributes={data:{}},c(c({},e),{},{leaf:!e.hasChildren})})),e.treeData=t.data}))},treeLoad:function(e,t){var a=0===e.level?0:e.data.oid;if(this.params.parentOid=a.indexOf("@vcitreesep@")>-1?a.split("@vcitreesep@")[1]:a,this.params.parentValue=this.params.parentOid,this.params.parentBtmName=e.data.attributes.btmName||e.data.attributes.btmname,this.params.parentBtmType=this.params.parentBtmName,this.options.rootParams&&0!==e.level)for(var r in this.options.rootParams)delete this.params[r];Object(o["getLazyTree"])(this.params,this.treeUrl).then((function(e){t(e.data.data.map((function(e){return e.attributes?e.attributes.data=e.attributes.data||{}:e.attributes={data:{}},c(c({},e),{},{leaf:!e.hasChildren})})))}))},nodeClick:function(e,t,a){this.isMuti||this.setValue({checkedNodes:[e]})},checked:function(e,t){this.setValue(t)},setValue:function(e){this.checkedData=e;for(var t=[],a=[],r=this.config.textSep,i=0;i<e.checkedNodes.length;i++){var n=e.checkedNodes[i],o=this.config.valueField.indexOf("attribute.")>=0?n.attributes[this.config.valueField.replace("attribute.","")]||n.attributes.data[this.config.valueField.replace("attribute.","")]:n.attributes[this.config.valueField]||n[this.config.valueField]||n.attributes.data[this.config.valueField];t.push(o);for(var l=[],c=this.config.textField.split(","),u=0;u<c.length;u++)if(!Object(s["b"])(c[u])){var d=c[u].indexOf("attribute.")>=0?n.attributes[c[u].replace("attribute.","")]||n.attributes.data[c[u].replace("attribute.","")]:n.attributes[c[u]]||n[c[u]]||n.attributes.data[c[u]];l.push(d)}a.push(l.join(r))}var p=this.referConfig.fieldMap||{};try{Object(s["b"])(this.options.mapFields)||(p=Object.assign(this.referConfig.fieldMap,JSON.parse(this.options.mapFields)))}catch(f){}this.value=t.join(","),this.text=a.join(","),this.$emit("setValue",{field:this.referConfig.field,showField:this.referConfig.showField,value:this.value,text:this.text||"",isTreeMuti:this.isMuti,rawData:e.checkedNodes,fieldMap:p})}}},d=u,p=a("2877"),f=Object(p["a"])(d,r,i,!1,null,"74b8af39",null);t["default"]=f.exports},bef3:function(module,__webpack_exports__,__webpack_require__){"use strict";var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("8e6e"),core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__),core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("456d"),core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_1__),core_js_modules_es6_regexp_split__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("28a5"),core_js_modules_es6_regexp_split__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(core_js_modules_es6_regexp_split__WEBPACK_IMPORTED_MODULE_2__),core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("ac6a"),core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_3__),core_js_modules_es6_array_sort__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("55dd"),core_js_modules_es6_array_sort__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(core_js_modules_es6_array_sort__WEBPACK_IMPORTED_MODULE_4__),C_java_workspace_GIT_VCI_UBCS_ubcs_Source_UBCS_WEB_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("ade3"),core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("a481"),core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_6__),_util_validate__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("c54a"),_api_refer_table__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("276d");function ownKeys(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(a),!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_5__["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ownKeys(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}__webpack_exports__["a"]={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,reserveSelection:!0,dialogClickModal:!1,highlightCurrentRow:!0,rowKey:"oid",rowParentKey:"parentSaleProduct",column:[]}}},created:function(){this.getParams()},mounted:function(){var e=this;this.referConfig.options.page?(this.page.pageSize=this.referConfig.options.tableConfig.page.limit||this.referConfig.options.tableConfig.page.pageSize,this.page.currentPage=this.referConfig.options.tableConfig.page.page||this.referConfig.options.tableConfig.page.currentPage):Object(_util_validate__WEBPACK_IMPORTED_MODULE_7__["b"])(this.referConfig.options.limit)?Object(_util_validate__WEBPACK_IMPORTED_MODULE_7__["b"])(this.referConfig.options.tableConfig.limit)||(this.page.pageSize=this.referConfig.options.tableConfig.limit):this.page.pageSize=this.referConfig.options.limit,this.$nextTick((function(){e.$refs.referCrud.doLayout()}))},computed:{valueInfo:function(){return this.text?"已设置的值为["+this.text+"]":"未设置值"}},methods:{getParams:function getParams(){var _this2=this,queryParams={};if(this.options.extraParams&&(queryParams=this.options.extraParams),this.options.useFormKey&&this.options.formValues&&(queryParams['conditionMap["'+(this.options.paramForFormKey?this.options.paramForFormKey:this.options.useFormKey)+'"]']=this.options.formValues[this.options.useFormKey]),this.options.where)for(var key in this.options.where)queryParams['conditionMap["'+key+'"]']=this.options.where[key];for(var i=0;i<this.copyParam.length;i++)queryParams[this.copyParam[i]]=this.options[this.copyParam[i]];if(queryParams["isMuti"]=this.isMuti,queryParams.muti=this.isMuti,queryParams["referBo"]||(queryParams["referBo"]=this.options["referBo"]||this.options["referType"]),queryParams["referType"]=queryParams["referBo"],this.options.initSort&&(queryParams["order"]=this.options.initSort.type,queryParams["sort"]=this.options.initSort.field),this.options.sortField&&(queryParams["sort"]=this.options.sortField),this.options.sortType&&(queryParams["order"]=this.options.sortType),this.options.conditionParams)for(var key in this.options.conditionParams)queryParams['conditionMap["'+key+'"]']=this.options.conditionParams[key];if(this.options.sourceDataParams)for(var key in this.options.sourceDataParams){if(key&&key.constructor===Object)return;queryParams['sourceData["'+key+'"]']=this.options.sourceDataParams[key]}if(this.options.replaceParams)for(var key in this.options.replaceParams){if(key&&key.constructor===Object)return;queryParams['replaceMap["'+key+'"]']=this.options.replaceParams[key]}var paramsData={};if(queryParams)for(var key in queryParams)paramsData[key.replace(/"/g,"'")]=queryParams[key];if(this.options.displayTable)Object(_api_refer_table__WEBPACK_IMPORTED_MODULE_8__["getTableDefinedUrl"])({btmType:this.options.referBo||this.options.referType,code:this.options.displayTable,isMuti:this.isMuti},this.tableDefinedUrl).then((function(e){if(console.log("result",e),e.success){var t=e.querySchema;!Object(_util_validate__WEBPACK_IMPORTED_MODULE_7__["b"])(t)&&Object(_util_validate__WEBPACK_IMPORTED_MODULE_7__["b"])(_this2.options.queryScheme)&&(_this2.options.queryScheme=t),paramsData["queryScheme"]=_this2.options.queryScheme,e.showIndex&&(_this2.option.index=!0),e.showCheckbox&&(_this2.option.selection=!0);var a="";e.columns&&(_this2.option.column=e.columns.map((function(e){return e.field.indexOf(".")>-1&&(a+=e.field+",",e.field=e.field.replace(".","_")),Object(_util_validate__WEBPACK_IMPORTED_MODULE_7__["b"])(e.enumCode)||(e.type="select",e.dicUrl="/api/ubcs-omd/enum/dictionary?code="+e.enumCode,e.dicData=e.enumMap,e.dataType="String",e.search=!0,e.props={label:"itemName",value:"itemValue"},e.rules=[{required:!0,message:"请输入"+e.field,trigger:"blur"}]),e.formatter=function(t){return void 0!=t[e.field]?t[e.field]:void 0!=t.data[e.field]?t.data[e.field]:""},_objectSpread(_objectSpread({},e),{},{label:e.title,prop:e.field,search:!0})}))),paramsData["referColumn"]=a,e.limit>0&&(_this2.page.pageSize=e.limit,_this2.page.currentPage=1),_this2.options.isTreeGrid,_this2.params=paramsData}else _this2.$message.error(e.msg)}));else{var tableConfig=this.options.tableConfig;tableConfig||this.$message.error("没有定义参照的表格配置"),paramsData?(paramsData["currentUserReferModelKey"]=this.options.currentUserReferModelKey,paramsData["currentUserReferMethodKey"]=this.options.currentUserReferMethodKey):paramsData={currentUserReferModelKey:this.options.currentUserReferModelKey,currentUserReferMethodKey:this.options.currentUserReferMethodKey},this.options.tableConfig&&this.options.tableConfig.cols&&this.options.tableConfig.cols.length>0&&(this.option.column=this.options.tableConfig.cols.map((function(item){if("LAY_TABLE_INDEX"!=item.field&&"LAY_CHECKED"!=item.field){var formatter=item.template||item.templet;return formatter="string"==typeof formatter&&""!=formatter?eval("("+formatter+")"):function(e){return void 0!=e[item.field]?e[item.field]:void 0!=e.data[item.field]?e.data[item.field]:""},_objectSpread(_objectSpread({},item),{},{label:item.title,prop:item.field,formatter:formatter,sortable:item.sort,hide:item.hidden,search:_this2.options.tableConfig.queryColumns.some((function(e){return e.field==item.field}))})}}))),this.options.isTreeGrid}this.params=paramsData},setValue:function(){if(0==this.selectionList.length)return this.$message.warning("没有选择数据"),!1;if(this.selectionList.length>1&&!this.isMuti)return this.$message.warning("每次只能选择一条数据"),!1;var e=[],t=[],a=this.props.value.indexOf(",")>-1,r=this.props.label.indexOf(",")>-1,i=this;this.selectionList.forEach((function(n,o){if(a){var s=i.props.value.split(",");s.forEach((function(t,a){var r=n[t];void 0!=r&&null!=r||(r=n["data"][t]),e.push(r+(i.referConfig.valueSep?i.referConfig.valueSep:" "))}))}else{var l=n[i.props.value];void 0!=l&&null!=l||(l=n["data"][i.props.value]),e.push(l)}if(r){var c=i.props.label.split(",");c.forEach((function(e,a){var r=n[e];void 0!=r&&null!=r||(r=n["data"][e]),t.push(r+(i.referConfig.textSep?i.referConfig.textSep:" "))}))}else{var u=n[i.props.label];void 0!=u&&null!=u||(u=n["data"][i.props.label]),t.push(u)}}));var n=this.referConfig.fieldMap||{};try{Object(_util_validate__WEBPACK_IMPORTED_MODULE_7__["b"])(this.options.mapFields)||(n=Object.assign(this.referConfig.fieldMap,JSON.parse(this.options.mapFields)))}catch(o){}this.value=e.join(","),this.text=t.join(","),this.$emit("setValue",{field:this.referConfig.field,showField:this.referConfig.showField,value:this.value,text:this.text,rawData:this.selectionList,fieldMap:n}),this.visible=!1},searchReset:function(){this.query={},this.onLoad(this.page)},searchChange:function(e,t){this.query=e,this.page.currentPage=1,this.onLoad(this.page),t()},currentChange:function(e){this.page.currentPage=e},sizeChange:function(e){this.page.pageSize=e},rowClick:function(e){this.$refs.referCrud.toggleSelection(),this.$refs.referCrud.toggleRowSelection(e),this.selectionList=[e]},selectionChange:function(e){if(!this.isMuti&&e.length>1){var t=e.shift();this.$refs.referCrud.toggleRowSelection(t,!1)}this.selectionList=e},selectionClear:function(){this.selectionList=[],this.$refs.referCrud.toggleSelection()},refreshChange:function(){this.onLoad(this.page,this.query)},onLoad:function(e){var t=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.url){this.loading=!0;var r={};if(this.query)for(var i in this.query)r['conditionMap["'+i+'"]']=this.query[i];Object(_api_refer_table__WEBPACK_IMPORTED_MODULE_8__["getList"])(Object.assign(a,this.params,this.query,r),e.currentPage,e.pageSize,this.url).then((function(e){var a=[];e.data.records?(a=e.data.records,t.page.total=e.data.total):(a=e.data.data.records,t.page.total=e.data.data.total),t.data=a.map((function(e){return e.data=e.data||{},_objectSpread({},e)})),t.loading=!1,t.selectionClear()})).catch((function(e){t.$message.error(e),t.loading=!1}))}}}}},bf9e:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return e.dialogVisible?t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"avue-dialog avue-dialog--top",attrs:{visible:e.dialogVisible,top:"-5vh",title:e.title,width:e.width,"append-to-body":""},on:{"update:visible":function(t){e.dialogVisible=t},opened:e.openDialog},scopedSlots:e._u([{key:"footer",fn:function(){return["detail"!==e.type?t("div",{},[t("el-button",{attrs:{size:"small"},on:{click:function(t){return e.close()}}},[e._v("取 消")]),t("el-button",{attrs:{type:"primary",loading:e.submitBtnLoading,size:"small"},on:{click:function(t){return e.submit()}}},[e._v(e._s(e.submitText))]),e.showResembleQuery?t("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.resembleQuerySubmit}},[e._v("相似像查询")]):e._e()],1):e._e()]},proxy:!0}],null,!1,912261284)},[e.dialogVisible?t("FormTemplate",e._b({key:"masterForm",ref:"FormTemplate",attrs:{"data-key":"masterForm",type:e.type,TreeValue:e.TreeValue,rowOid:e.rowOid,eventList:e.eventList,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",{key:"codeApplyForm",ref:"CodeApply",attrs:{"data-key":"codeApplyForm","secDTOListv-bind":"$attrs",type:e.type,selfColumnType:e.selfColumnType,selfColumnConfig:e.selfColumnConfig},on:{getFormData:e.getCodeApplyFormData,referConfigDataUpdate:e.referConfigDataUpdate}})],1):e._e(),e.showResembleQuery?t("el-tab-pane",{attrs:{label:"相似项查询",name:"resembleQuery"}},[t("ResembleQuery",e._b({ref:"resembleQueryRef",attrs:{hasResemble:this.hasResemble,column:this.resembleTableColumn,codeClassifyOid:e.codeClassifyOid,form:this.form,templateOid:e.templateOid}},"ResembleQuery",e.$attrs,!1))],1):e._e()],1)],1):e._e()],1):e._e()},i=[],n=(a("2fdb"),a("96cf"),a("1da1")),o=(a("7f7f"),a("6762"),a("ac6a"),a("456d"),a("902d")),s=a("8cf2"),l=a("6657"),c={name:"FormTemplateDialog",components:{ResembleQuery:l["default"],FormTemplate:s["default"]},props:{visible:{type:Boolean,default:!1},TreeValue:{type:String,default:""},type:{type:String,default:"add"},title:{type:String,default:"编码申请"},width:{type:String,default:"80%"},rowOid:"",codeClassifyOid:{type:String,default:""},templateOid:{type:String,default:""},submitText:{type:String,default:"确 定"},setForm:{type:Object,default:function(){return{}}}},data:function(){return{eventList:[],codeValueApplyStatus:"",loading:!1,submitBtnLoading:!1,hasResemble:!1,resembleTableColumn:[],secVOList:[],form:{},codeApplyForm:{},activeName:"codeApply",showCodeApply:!1,showResembleQuery:!1,selfColumnType:{codefixedsec:"combox",codeclassifysec:"refer",codevariablesec:"text",coderefersec:"refer",codeattrsec:"text",codelevelsec:"text",codedatesec:"date"},selfColumnConfig:{function:{required:this.isRequired,dicData:this.getOptionList,type:this.getType,referConfig:this.getReferConfig,readOnly:this.getDisabled},exchange:{text:"name",field:"oid",prop:"oid",showField:"name",parentClassifySecOid:"parentClassifySecOid",label:"name",maxlength:"codeSecLength",data:"fixedValueVOList",dateFormate:"codeDateFormatStr"},directVoluation:{search:!0,props:{label:"id",value:"id"}}},defaultKeys:["oid","id","name","description","revisionoid","nameoid","btmname","lastr","firstr","lastv","firstv","creator","createtime","lastModifier","lastmodifytime","revisionrule","revisionseq","revisionvalue","versionrule","versionseq","versionvalue","lcstatus","ts","owner","checkinby","checkintime","checkoutby","checkouttime","copyfromversion","secretgrade"],codeRuleOid:""}},created:function(){},computed:{dialogVisible:{get:function(){return this.visible},set:function(e){this.$emit("update:visible",e)}}},methods:{openDialog:function(){this.getFormTemplate(),"add"===this.type&&this.getCodeRule()},close:function(){this.dialogVisible=!1},getFormTemplate:function(){var e=this;Object(o["getFormTemplate"])({templateOid:this.templateOid,codeClassifyOid:this.codeClassifyOid}).then((function(t){200===t.status&&(e.hasResemble=t.data.resembleTableVO&&t.data.resembleTableVO.cols&&t.data.resembleTableVO.cols.length>0,e.resembleTableColumn=t.data.resembleTableVO.cols||[],e.hasResemble?(e.activeName="resembleQuery",e.showResembleQuery=!0):e.showResembleQuery=!1,e.$nextTick((function(){e.$refs.FormTemplate.templateRender(t.data.formDefineVO.items),e.eventList=t.data.templateVO.attributes,Object.keys(e.setForm).length>0&&(e.$refs.FormTemplate.form=e.setForm)})))})).catch((function(){e.loading=!1}))},getCodeRule:function(){var e=this,t=this;Object(o["getCodeRule"])({codeClassifyOid:t.codeClassifyOid}).then((function(a){if(a.data&&200===a.data.code){t.codeRuleOid=a.data.data.oid;var r=["codeattrsec","codevariablesec","codefixedsec","codeclassifysec","codedatesec","coderefersec","codelevelsec"];t.secVOList=(a.data.data.secVOList||[]).filter((function(e){return r.includes(e.secType)})),t.secVOList.length>0&&"add"===t.type?(t.showCodeApply=!0,t.activeName="codeApply",e.$nextTick((function(){t.$refs.CodeApply.templateRender(t.secVOList,e.TreeValue)}))):t.showCodeApply=!1}}))},getFormData:function(e){this.form=e},getCodeApplyFormData:function(e){this.codeApplyForm=e},referConfigDataUpdate:function(e){var t=this,a=e.field,r=[];this.secVOList=this.secVOList.map((function(i){return i.parentClassifySecOid===a&&(t.$refs.CodeApply.form[i.oid]=void 0,t.$refs.CodeApply.form[i.name]=void 0,i.readOnly=!1,i.referConfig.extraParams.parentClassifyValueOid=e.value,i.referConfig.reloadData=!0,r.push(i)),i})),this.$refs.CodeApply.changeChildItem(r)},resembleQuerySubmit:function(){this.activeName="resembleQuery",this.$refs.resembleQueryRef.resembleQuery(this.form)},handleClick:function(){"resembleQuery"===this.activeName&&this.resembleQuerySubmit()},submit:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,a,r,i,n,o,s,l,c=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.$refs.FormTemplate.validate();case 2:if(t=e.sent,t){e.next=5;break}return e.abrupt("return");case 5:if(!0,a=[],!this.showResembleQuery||!this.$refs.resembleQueryRef){e.next=11;break}return e.next=10,this.$refs.resembleQueryRef.resembleQuery(this.form);case 10:a=e.sent;case 11:if(!(a.length>0)){e.next=14;break}return e.next=14,this.$confirm("该物料已有".concat(a.length,"条相似数据,是否继续保存?"),"需要您确认",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"});case 14:r=["jiliangdwname","materialtypeText","morengongysname","$caigouwl","$xiaoshouwl","$shifoupihaoguanli","lcstatus_text","hesuanfenleiname","$kucunwl","oldcode","lastmodifier"],i={},n=this.getDefaultValueAndFormValues(this.form),o=n.defaultValue,s=n.formValue,r.forEach((function(e){c.$delete(s,e)})),l=Object.keys(s),l.forEach((function(e,t){l.forEach((function(a,r){e==="$"+a&&r!==t&&c.$delete(s,l[t])}))})),i.data=s,i=Object.assign({},i,o),i.secDTOList=this.secVOList.map((function(e){return{secOid:e.oid,secValue:c.codeApplyForm[e.oid]}})),i.codeClassifyOid=this.codeClassifyOid,i.codeRuleOid=this.codeRuleOid,i.templateOid=this.templateOid,this.$emit("submit",i);case 27:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),getDefaultValueAndFormValues:function(e){var t={},a={};for(var r in e)if(Object.hasOwnProperty.call(e,r)){var i=e[r];this.defaultKeys.includes(r)?t[r]=i:a[r]=i}return{defaultValue:t,formValue:a}},getType:function(e){return this.selfColumnType[e.secType]},getReferConfig:function(e){var t={};return"codeclassifysec"==e.secType?t={isMuti:!1,type:"grid",tableConfig:{limit:-1,cols:[{field:"id",title:"英文名称",sort:!0,width:150},{field:"name",title:"中文名称",sort:!0,width:150},{field:"description",title:"描述",width:250}],queryColumns:[{field:"id",title:"英文名称"},{field:"name",title:"中文名称"}]},url:"api/ubcs-code/ubcs-code/mdmEngineController/listCodeClassifyValueBySecOid",extraParams:{classifySecOid:e.oid,parentClassifyValueOid:e.parentClassifySecOid?this.codeApplyForm[e.parentClassifySecOid]:""}}:"coderefersec"==e.secType&&(t=JSON.parse(e.referValueInfo)),t},getDisabled:function(e){if("codeclassifysec"===e.secType&&e.parentClassifySecOid)return!this.codeApplyForm[e.parentClassifySecOid]},isRequired:function(e){return"true"!=e.nullableFlag},getOptionList:function(e){if(Array.isArray(e.fixedValueVOList)&&e.fixedValueVOList.length>0){var t={key:"id",value:"id"},a=e.fixedValueVOList.map((function(e){for(var a in t)if(Object.hasOwnProperty.call(t,a)){var r=t[a];e[a]=e[r]}return e}));return a}return[]}}},u=c,d=(a("4509"),a("2877")),p=Object(d["a"])(u,r,i,!1,null,"6eb08d95",null);t["default"]=p.exports},c010:function(e,t,a){},c0c7:function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return s})),a.d(t,"remove",(function(){return l})),a.d(t,"add",(function(){return c})),a.d(t,"update",(function(){return u})),a.d(t,"updatePlatform",(function(){return d})),a.d(t,"getUser",(function(){return p})),a.d(t,"getUserPlatform",(function(){return f})),a.d(t,"getUserInfo",(function(){return m})),a.d(t,"resetPassword",(function(){return h})),a.d(t,"updatePassword",(function(){return b})),a.d(t,"updateInfo",(function(){return g})),a.d(t,"grant",(function(){return y})),a.d(t,"unlock",(function(){return v})),a.d(t,"insert",(function(){return O})),a.d(t,"check",(function(){return _})),a.d(t,"getByRoleUserList",(function(){return w})),a.d(t,"ssoLogin",(function(){return C}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t,a,r){return Object(i["a"])({url:"/api/ubcs-user/page",method:"get",params:o(o({},a),{},{current:e,size:t,deptId:r})})},l=function(e){return Object(i["a"])({url:"/api/ubcs-user/remove",method:"post",params:{ids:e}})},c=function(e){return Object(i["a"])({url:"/api/ubcs-user/submit",method:"post",data:e})},u=function(e){return Object(i["a"])({url:"/api/ubcs-user/update",method:"post",data:e})},d=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-user/update-platform",method:"post",params:{userId:e,userType:t,userExt:a}})},p=function(e){return Object(i["a"])({url:"/api/ubcs-user/detail",method:"get",params:{id:e}})},f=function(e){return Object(i["a"])({url:"/api/ubcs-user/platform-detail",method:"get",params:{id:e}})},m=function(){return Object(i["a"])({url:"/api/ubcs-user/info",method:"get"})},h=function(e){return Object(i["a"])({url:"/api/ubcs-user/reset-password",method:"post",params:{userIds:e}})},b=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-user/update-password",method:"post",params:{oldPassword:e,newPassword:t,newPassword1:a}})},g=function(e){return Object(i["a"])({url:"/api/ubcs-user/update-info",method:"post",data:e})},y=function(e,t){return Object(i["a"])({url:"/api/ubcs-user/grant",method:"post",params:{userIds:e,roleIds:t}})},v=function(e){return Object(i["a"])({url:"/api/ubcs-user/unlock",method:"post",params:{userIds:e}})},O=function(e){return Object(i["a"])({url:"/api/ubcs-system/user-pwdstrategy/insert",method:"put",data:e})},_=function(e){return Object(i["a"])({url:"/api/ubcs-user/check-renexpr",method:"post",params:{userId:e}})},w=function(e){return Object(i["a"])({url:"/api/ubcs-user/getByRoleUserList",method:"get",params:{roleName:e}})},C=function(e){var t=new URLSearchParams;return console.log(e),t.append("empCode",e),Object(i["a"])({url:"/api/ubcs-code/passwordFree/ssoLogin",method:"post",headers:{"Content-Type":"application/x-www-form-urlencoded"},data:t})}},c0fb:function(e,t,a){"use strict";a.r(t);var r=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)])},i=[],n=(a("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=n,s=(a("49c2"),a("2877")),l=Object(s["a"])(o,r,i,!1,null,null,null);t["default"]=l.exports},c1aa:function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return s})),a.d(t,"getDetail",(function(){return l})),a.d(t,"remove",(function(){return c})),a.d(t,"add",(function(){return u})),a.d(t,"update",(function(){return d}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-develop/datasource/list",method:"get",params:o(o({},a),{},{current:e,size:t})})},l=function(e){return Object(i["a"])({url:"/api/ubcs-develop/datasource/detail",method:"get",params:{id:e}})},c=function(e){return Object(i["a"])({url:"/api/ubcs-develop/datasource/remove",method:"post",params:{ids:e}})},u=function(e){return Object(i["a"])({url:"/api/ubcs-develop/datasource/submit",method:"post",data:e})},d=function(e){return Object(i["a"])({url:"/api/ubcs-develop/datasource/submit",method:"post",data:e})}},c24f:function(e,t,a){"use strict";a.r(t),a.d(t,"loginByUsername",(function(){return n})),a.d(t,"loginBySocial",(function(){return o})),a.d(t,"loginBySso",(function(){return s})),a.d(t,"refreshToken",(function(){return l})),a.d(t,"registerGuest",(function(){return c})),a.d(t,"getButtons",(function(){return u})),a.d(t,"getCaptcha",(function(){return d})),a.d(t,"logout",(function(){return p})),a.d(t,"getUserInfo",(function(){return f})),a.d(t,"sendLogs",(function(){return m})),a.d(t,"clearCache",(function(){return h})),a.d(t,"selcetList",(function(){return b}));a("7f7f");var r=a("b5c6"),i=a("1ca4"),n=function(e,t,a,n,o,s,l){return Object(r["a"])({url:"/api/ubcs-auth/oauth/token",method:"post",headers:{"Tenant-Id":e,"Dept-Id":i["a"].switchMode?t:"","Role-Id":i["a"].switchMode?a:"","Captcha-Key":l},params:{tenantId:e,username:n,password:o,grant_type:i["a"].captchaMode?"captcha":"password",scope:"all",type:s}})},o=function(e,t,a){return Object(r["a"])({url:"/api/ubcs-auth/oauth/token",method:"post",headers:{"Tenant-Id":e},params:{tenantId:e,source:t,state:a,grant_type:"social",scope:"all"}})},s=function(e){return Object(r["a"])({url:"/api/ubcs-auth/oauth/token",method:"post",headers:{"Tenant-Id":e},params:{tenantId:e,grant_type:"authorization_code",scope:"all",redirect_uri:i["a"].redirectUri}})},l=function(e,t,a,n){return Object(r["a"])({url:"/api/ubcs-auth/oauth/token",method:"post",headers:{"Tenant-Id":t,"Dept-Id":i["a"].switchMode?a:"","Role-Id":i["a"].switchMode?n:""},params:{tenantId:t,refresh_token:e,grant_type:"refresh_token",scope:"all"}})},c=function(e,t){return Object(r["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(r["a"])({url:"/api/ubcs-system/menu/buttons",method:"get"})},d=function(){return Object(r["a"])({url:"/api/ubcs-auth/oauth/captcha",method:"get",authorization:!1})},p=function(){return Object(r["a"])({url:"/api/ubcs-auth/oauth/logout",method:"get",authorization:!1})},f=function(){return Object(r["a"])({url:"/api/ubcs-auth/oauth/user-info",method:"get"})},m=function(e){return Object(r["a"])({url:"/api/ubcs-auth/oauth/logout",method:"post",data:e})},h=function(){return Object(r["a"])({url:"/api/ubcs-auth/oauth/clear-cache",method:"get",authorization:!1})},b=function(){return Object(r["a"])({url:"/api/ubcs-system/tenant/tenant-map",method:"get"})}},c35b:function(e,t,a){},c370:function(e,t,a){},c43a:function(e,t,a){},c54a:function(e,t,a){"use strict";a.d(t,"a",(function(){return r})),a.d(t,"b",(function(){return i}));a("28a5");function r(e){return/^http[s]?:\/\/.*/.test(e)}function i(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,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("el-dialog",{staticClass:"avue-dialog avue-dialog--top",staticStyle:{height:"115vh","margin-top":"-14vh","overflow-y":"hidden"},attrs:{"close-on-click-modal":!1,title:"选择参照配置","append-to-body":"",visible:e.isShowReferConfigCrud,width:"95%",top:"0",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(a){var r=a.row;return[t("el-radio",{attrs:{label:r.$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)])},i=[],n=(a("456d"),a("ade3")),o=(a("ac6a"),a("0eb9")),s={name:"referConfigCrudDialog",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"]}},watch:{isShowReferConfigCrud:function(){this.isShowReferConfigCrud&&this.referConfigOnload()}},methods:{selectedreferConfig:function(e){var t=this.referConfigParams.referConfigSelectedRowData;if(t){var a=this.filterForm(t);if("selectedSave"==e)this.$emit("echoReferConfig",a);else{var r={referBtmName:a.referType,referBtmId:a.referTypeName,referConfig:JSON.stringify(a)};this.$emit("openReconfigInterFace",r)}this.isShowReferConfigCrud=!1}else this.$message.warning("请选择一条数据!")},filterForm:function(e){var t=this,a=["referTypeName","referType","textField","valueField","type","url","backPath","method","height","useFormKey","paramForFormKey","isMuti","mapFields","isOpenGlobal","isPersistence","id","name"],r=[],i={};return"stand"==e.type?r=["referContent","displayTable"]:"default"==e.type||"grid"==e.type?r=["limit","sortField","sortType"]:"tree"==e.type&&(r=["parentFieldName","parentUsedField","parentValue","loadType","onlyLeaf","sortField","sortType"]),a=a.concat(r),e.codeSrchCondConfigVOS.length>0&&(i={codeSrchCondConfigVOS:e.codeSrchCondConfigVOS}),("default"==e.type||"grid"==e.type)&&e.codeShowFieldConfigVOS.length>=0&&(i=Object.assign(i,{codeShowFieldConfigVOS:e.codeShowFieldConfigVOS})),a.forEach((function(a){"isMuti"!=a&&"onlyLeaf"!=a&&t.checkStringIsEmpty(e[a])&&t.checkArrayIsUndefined(e[a])||(i=Object.assign(i,Object(n["a"])({},a,e[a])))})),i},checkStringIsEmpty:function(e){return null===e||"undefined"===typeof e||"string"===typeof e&&""===e&&"undefined"!==e},checkArrayIsUndefined:function(e){return"array"===typeof e&&(0===e.length||null===e||"undefined"===typeof e||e===[])},referConfigOnload:function(){var e=this,t=this.referConfigParams;t.referConfigLoading=!0;var a={};t.referConfigQuery&&Object.keys(t.referConfigQuery).forEach((function(e){a["conditionMap["+e+"]"]=t.referConfigQuery[e]})),Object(o["getReferConfigPage"])(t.referConfigPage.currentPage,t.referConfigPage.pageSize,a).then((function(t){var a=t.data.data;e.referConfigParams.referConfigPage.total=a.total,e.referConfigParams.referConfigData=a.records,e.referConfigParams.referConfigLoading=!1,e.referConfigParams.referConfigData.length>0&&e.$nextTick((function(){e.$refs[e.referConfigParams.ref].doLayout(),e.referConfigParams.referConfigSelectedRow=0,e.$refs[e.referConfigParams.ref].setCurrentRow(e.referConfigParams.referConfigData[0]),e.referConfigParams.referConfigSelectedRowData=e.referConfigParams.referConfigData[0],e.attrAndSrchCondOnload(e.referConfigParams.referConfigData[0]),e.loadDefaultOrGridOrStandOrTreeForm(e.referConfigParams.referConfigData[0])}))}))},referBtmTypeSizeChange:function(e){this.referConfigParams.referConfigPage.pageSize=e},referBtmTypeCurrentChange:function(e){this.referConfigParams.referConfigPage.currentPage=e},referConfigRowClick:function(e){this.referConfigParams.referConfigSelectedRowData=e,this.referConfigParams.referConfigSelectedRow=e.$index,this.attrAndSrchCondOnload(e),this.loadDefaultOrGridOrStandOrTreeForm(e)},referConfigSearchChange:function(e,t){this.referConfigParams.referConfigQuery=e,this.referConfigParams.referConfigPage.currentPage=1,this.referConfigOnload(),t()},referConfigSearchReset:function(){this.referConfigParams.referConfigQuery={},this.referConfigOnload(this.referConfigParams.referConfigPage)},referConfigCurrentChange:function(e){this.referConfigParams.referConfigPage.currentPage=e},referConfigSizeChange:function(e){this.referConfigParams.referConfigPage.pageSize=e},loadDefaultOrGridOrStandOrTreeForm:function(e){"tree"!=e.type&"stand"!=e.type&"default"!=e.type&"grid"!=e.type?(this.isShowForm=!1,this.toggleBasicCrudWidth.width="100%"):(this.isShowForm=!0,this.toggleBasicCrudWidth.width="70%",this.toggleFormOption(e)),this.toggleCurdWidth(e)},toggleFormOption:function(e){var t=this,a="";"default"==e.type||"grid"==e.type?(this.formOption.column=this.sortColumn,a="defaultOrGridForm"):"stand"==e.type?(this.formOption.column=this.standColumn,a="standForm"):"tree"==e.type&&(this.formOption.column=this.treeColumn,a="treeForm"),this.referConfigForm={},this[a].forEach((function(a){Vue.set(t.referConfigForm,a,e[a])}))},toggleCurdWidth:function(e){"default"==e.type||"grid"==e.type?(this.showAttrParams.isShow=!0,this.toggleSrchCrudWidth.width="40%"):(this.showAttrParams.isShow=!1,this.toggleSrchCrudWidth.width="100%")},attrAndSrchCondOnload:function(e){var t=this;this.srchCondParams.srchCondLoading=!0,this.showAttrParams.showAttrLoading=!0,this.$nextTick((function(){t.$refs[t.srchCondParams.ref].doLayout(),t.$refs[t.showAttrParams.ref].doLayout()})),this.srchCondParams.srchCondData=e.codeSrchCondConfigVOS,this.showAttrParams.showAttrData=e.codeShowFieldConfigVOS,this.srchCondParams.srchCondLoading=!1,this.showAttrParams.showAttrLoading=!1}}},l=s,c=(a("de2e"),a("2877")),u=Object(c["a"])(l,r,i,!1,null,null,null);t["default"]=u.exports},c7a0:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("basic-container",[t("avue-crud",{ref:"crud",attrs:{data:e.data,option:e.option},on:{"on-load":e.getList,"row-del":e.rowDel,"refresh-change":e.refreshChange,"row-save":e.rowSave},model:{value:e.form,callback:function(t){e.form=t},expression:"form"}})],1)},i=[],n=(a("7f7f"),{name:"Torelationpackage.vue",data:function(){return{lifeList:"",data:[{name:"测试1"},{name:"测试2"},{name:"测试3"},{name:"测试4"}],form:{},option:{height:300,headerAlign:"center",align:"center",border:!0,editBtn:!1,index:!0,indexFixed:!1,menuFixed:!1,column:[{label:"To端类型",prop:"name"}]}}},methods:{rowSave:function(e,t,a){var r=this;add(Object.assign({createUser:this.userInfo.name},e)).then((function(){r.$message.success("新增成功"),t(),r.getList()})).catch((function(){a()}))},rowDel:function(e){var t=this;this.$confirm("此操作将永久删除, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return del(e.id)})).then((function(){t.$message.success("删除成功"),t.getList()}))}}}),o=n,s=a("2877"),l=Object(s["a"])(o,r,i,!1,null,"1f686f42",null);t["default"]=l.exports},c7a4:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("el-dialog",{staticClass:"avue-dialog avue-dialog--top",staticStyle:{height:"100vh"},attrs:{"close-on-click-modal":!1,visible:e.cloneOtherCodeRuleSettingBox,"append-to-body":"",title:"克隆编码规则的基础信息",top:"-3%",width:"800px"},on:{"update:visible":function(t){e.cloneOtherCodeRuleSettingBox=t},close:e.closeCloneOtherBasicSecDialog}},[t("div",[t("el-row",[t("p",{staticStyle:{"margin-top":"-20px","margin-bottom":"4px","font-weight":"570","font-size":"19px",color:"#0e2d5f"}},[e._v("\n 编码规则\n ")]),t("avue-crud",{ref:"crudCloneCodeRuleOther",staticClass:"other-clone-coderule-crud",attrs:{data:e.codeRuleData,option:e.cloneCodeRuleOption,page:e.codeRulePage,"table-loading":e.codeRuleloading},on:{"update:page":function(t){e.codeRulePage=t},"row-click":e.codeOtherCloneRuleRowClick,"selection-change":e.selectionOtherCloneCodeRuleChange,"search-change":e.searchOtherCloneChange,"search-reset":e.searchOtherCloneReset,"on-load":e.onLoad},scopedSlots:e._u([{key:"radio",fn:function(a){var r=a.row;return[t("el-radio",{attrs:{label:r.$index},model:{value:e.selectOtherCodeRuleRowIndex,callback:function(t){e.selectOtherCodeRuleRowIndex=t},expression:"selectOtherCodeRuleRowIndex"}},[e._v(" ")])]}}])})],1),t("el-row",{staticStyle:{"margin-top":"10px","border-top":"1px solid #ebeef5"}},[t("p",{staticStyle:{"margin-top":"10px","margin-bottom":"4px","font-weight":"570","font-size":"19px",color:"#0e2d5f"}},[e._v("\n 码段信息\n ")]),t("avue-crud",{ref:"crudCloneCodeBasicOther",staticClass:"other-clone-codebasic-crud",attrs:{data:e.cloneBasicData,option:e.cloneBasicOption,"table-loading":e.codeBasicloading},on:{"row-click":e.codeOtherCloneBasicRowClick,"selection-change":e.selectionOtherCloneCodeBasicChange}})],1)],1),t("div",{staticClass:"dialog-footer",staticStyle:{height:"50px"},attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary",loading:e.cloneSaveLoding},on:{click:e.saveOtherCodeBasic}},[e._v("保 存")]),t("el-button",{on:{click:function(t){e.cloneOtherCodeRuleSettingBox=!1}}},[e._v("取 消")])],1)])},i=[],n=(a("96cf"),a("1da1")),o=(a("456d"),a("ac6a"),{height:"190px",calcHeight:30,tip:!1,editBtn:!1,addBtn:!1,delBtn:!1,searchShow:!1,searchBtn:!1,searchMenuSpan:5,disablePage:!1,border:!0,index:!0,viewBtn:!1,selection:!0,menu:!1,refreshBtn:!1,columnBtn:!1,dialogClickModal:!1,highlightCurrentRow:!0,rowKey:"oid",column:[{label:"码段编号",prop:"id",search:!1,searchLabelWidth:80,searchSpan:5},{label:"码段名称",prop:"name",search:!1,searchLabelWidth:80,searchSpan:5},{label:"码段描述",prop:"description",search:!1,span:24},{label:"码段类型",prop:"secTypeText"}]}),s={height:"260px",calcHeight:30,tip:!1,editBtn:!1,addBtn:!1,delBtn:!1,searchMenuSpan:10,disablePage:!0,border:!0,index:!0,viewBtn:!1,selection:!1,menu:!1,refreshBtn:!1,columnBtn:!1,dialogClickModal:!1,highlightCurrentRow:!0,rowKey:"oid",align:"center",menuAlign:"center",column:[{label:"",prop:"radio",width:60,hide:!1},{label:"编号",prop:"id",search:!0,searchSpan:7},{label:"名称",prop:"name",search:!0,searchSpan:7},{label:"描述",prop:"description",search:!1,type:"textarea",span:24},{label:"状态",prop:"lcStatusText",search:!1}]},l=a("19a0"),c=a("f601"),u={name:"cloneRuleDialog",props:{visible:{type:"Boolean",default:!1},quiltCloneCodeRule:{type:"Object"}},data:function(){return{cloneOtherCodeRuleSettingBox:this.visible,cloneBasicOption:o,cloneCodeRuleOption:s,selectionOtherCloneCodeBasicList:[],selectionOtherCloneCodeRuleList:{},selectOtherCodeRuleRowIndex:"",cloneOtherQuery:{},codeRulePage:{pageSize:10,currentPage:1,total:0},codeRuleloading:!1,codeRuleData:[],codeBasicloading:!1,cloneBasicData:[],cloneSaveLoding:!1}},watch:{visible:function(){if(this.visible){var e={};e["conditionMap[oid_notequal]"]=this.quiltCloneCodeRule.oid.trim(),this.cloneOtherQuery=e,this.onLoad(this.codeRulePage)}else this.codeRuleData=[],this.cloneBasicData=[];this.cloneOtherCodeRuleSettingBox=this.visible},selectionOtherCloneCodeRuleList:function(){this.loadBasic(this.selectionOtherCloneCodeRuleList)}},methods:{closeCloneOtherBasicSecDialog:function(){this.$emit("update:visible",!1)},codeOtherCloneRuleRowClick:function(e){this.selectOtherCodeRuleRowIndex=e.$index,this.selectionOtherCloneCodeRuleList=e,this.loadBasic(e)},codeOtherCloneBasicRowClick:function(e){this.$refs.crudCloneCodeBasicOther.toggleSelection(),this.selectionOtherCloneCodeBasicList=e,this.$refs.crudCloneCodeBasicOther.setCurrentRow(e),this.$refs.crudCloneCodeBasicOther.toggleRowSelection(e)},selectionOtherCloneCodeBasicChange:function(e){this.selectionOtherCloneCodeBasicList=e,this.$refs.crudCloneCodeBasicOther.setCurrentRow(this.selectionOtherCloneCodeBasicList.slice(-1)[0])},searchOtherCloneReset:function(){var e={};e["conditionMap[oid_notequal]"]=this.quiltCloneCodeRule.oid.trim(),this.cloneOtherQuery=e,this.onLoad(this.codeRulePage)},searchOtherCloneChange:function(e,t){var a=this;this.codeRulePage.currentPage=1,e&&Object.keys(e).forEach((function(t){a.cloneOtherQuery["conditionMap["+t+"_like]"]=e[t].trim()})),this.onLoad(this.codeRulePage,this.cloneOtherQuery),t()},saveOtherCodeBasic:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,a,r,i,n=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(this.cloneSaveLoding=!0,t=this.quiltCloneCodeRule.oid,a=this.selectionOtherCloneCodeBasicList,!(a.length<=0)){e.next=6;break}return this.$message.warning("请选择码段数据!"),e.abrupt("return");case 6:return r=[],a.forEach((function(e){r.push(e.oid)})),i={pkCodeRule:t,oidArr:r.join(",")},e.next=11,Object(c["cloneCodeBasic"])(i).then((function(){n.cloneOtherCodeRuleSettingBox=!1,n.$message({type:"success",message:"操作成功!"}),n.$emit("refreshRuleTable",{currentPage:1,pageSize:10})}),(function(e){window.console.log(e)}));case 11:this.cloneSaveLoding=!1;case 12:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),loadBasic:function(e){var t=this;if(this.codeBasicloading=!0,""!=e&&null!=e&&"undefined"!=e){var a={};a["conditionMap[pkCodeRule]"]=e.oid.trim(),Object(c["gridCodeBasicSec"])(1,-1,a).then((function(e){var a=e.data.data;t.cloneBasicData=a.records,t.codeBasicloading=!1}))}else this.cloneBasicData=[],this.codeBasicloading=!1},onLoad:function(e){var t=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.codeRuleloading=!0,Object(l["gridCodeRule"])(e.currentPage,e.pageSize,Object.assign({},this.cloneOtherQuery,a)).then((function(e){var a=e.data.data;t.codeRulePage.total=a.total,t.codeRuleData=a.records,t.codeRuleloading=!1,t.codeRuleData.length>0?t.$nextTick((function(){t.selectOtherCodeRuleRowIndex=t.codeRuleData[0].$index,t.selectionOtherCloneCodeRuleList=t.codeRuleData[0]})):t.cloneBasicData=[]}))}}},d=u,p=a("2877"),f=Object(p["a"])(d,r,i,!1,null,null,null);t["default"]=f.exports},c7cc:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("el-dropdown",{attrs:{trigger:"click"},on:{command:e.handleSetLanguage}},[t("i",{staticClass:"icon-zhongyingwen"}),t("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[t("el-dropdown-item",{attrs:{disabled:"zh"===e.language,command:"zh"}},[e._v("中文\n ")]),t("el-dropdown-item",{attrs:{disabled:"en"===e.language,command:"en"}},[e._v("English\n ")])],1)],1)},i=[],n=(a("8e6e"),a("ac6a"),a("456d"),a("ade3")),o=a("5880");function s(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function l(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?s(Object(a),!0).forEach((function(t){Object(n["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):s(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,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,a=this.$router.$avueRouter.generateTitle(t.label,(t.meta||{}).i18n);this.$router.$avueRouter.setTitle(a)}}},u=c,d=a("2877"),p=Object(d["a"])(u,r,i,!1,null,"09b7b110",null);t["default"]=p.exports},c8c6:function(e,t,a){},cadc:function(e,t,a){"use strict";a.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,a){"use strict";a.r(t),a.d(t,"referDataGrid",(function(){return s})),a.d(t,"gridAttributesByBtmId",(function(){return l}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-code/referBtmTypeController/referDataGrid",method:"get",params:o(o({},a),{},{page:e,limit:t})})},l=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-code/referBtmTypeController/gridAttributesByBtmId",method:"get",params:o(o({},a),{},{page:e,limit:t})})}},cc5e:function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return i})),a.d(t,"queryApplyStat",(function(){return n}));var r=a("b5c6"),i=function(e){return Object(r["a"])({url:"/api/ubcs-applyjtcodeservice/DockingPreApplyCode/page",method:"get",params:e})},n=function(e){return Object(r["a"])({url:"/api/ubcs-applyjtcodeservice/DockingPreApplyCode/queryApplyState",method:"get",params:e})}},ccbe:function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return s})),a.d(t,"getDetail",(function(){return l})),a.d(t,"remove",(function(){return c})),a.d(t,"add",(function(){return u})),a.d(t,"update",(function(){return d})),a.d(t,"setting",(function(){return p})),a.d(t,"datasource",(function(){return f})),a.d(t,"info",(function(){return m})),a.d(t,"packageInfo",(function(){return h})),a.d(t,"packageSetting",(function(){return b}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-system/tenant/list",method:"get",params:o(o({},a),{},{current:e,size:t})})},l=function(e){return Object(i["a"])({url:"/api/ubcs-system/tenant/detail",method:"get",params:{id:e}})},c=function(e){return Object(i["a"])({url:"/api/ubcs-system/tenant/remove",method:"post",params:{ids:e}})},u=function(e){return Object(i["a"])({url:"/api/ubcs-system/tenant/submit",method:"post",data:e})},d=function(e){return Object(i["a"])({url:"/api/ubcs-system/tenant/submit",method:"post",data:e})},p=function(e,t){return Object(i["a"])({url:"/api/ubcs-system/tenant/setting",method:"post",params:o(o({},t),{},{ids:e})})},f=function(e,t){return Object(i["a"])({url:"/api/ubcs-system/tenant/datasource",method:"post",params:{tenantId:e,datasourceId:t}})},m=function(e){return Object(i["a"])({url:"/api/ubcs-system/tenant/info",method:"get",params:{domain:e}})},h=function(e){return Object(i["a"])({url:"/api/ubcs-system/tenant/package-detail",method:"get",params:{tenantId:e}})},b=function(e,t){return Object(i["a"])({url:"/api/ubcs-system/tenant/package-setting",method:"post",params:{tenantId:e,packageId:t}})}},cebe:function(e,t){e.exports=axios},cee8:function(e,t,a){"use strict";a.r(t),a.d(t,"optionParent",(function(){return r})),a.d(t,"optionChild",(function(){return i}));var r={height:"auto",calcHeight:20,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}]},i={height:"auto",calcHeight:95,tip:!1,searchShow:!0,searchMenuSpan:10,tree:!0,border:!0,index:!0,selection:!0,viewBtn:!0,menuWidth:240,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:200,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}]}},d36b:function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return s})),a.d(t,"getDetail",(function(){return l})),a.d(t,"remove",(function(){return c})),a.d(t,"add",(function(){return u})),a.d(t,"update",(function(){return d})),a.d(t,"enableData",(function(){return p}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-code/codeButtonController/list",method:"get",params:o(o({},a),{},{current:e,size:t})})},l=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeButtonController/detail",method:"get",params:{id:e}})},c=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeButtonController/remove",method:"post",params:{ids:e}})},u=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeButtonController/submit",method:"post",data:e})},d=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeButtonController/submit",method:"post",data:e})},p=function(e,t){return t?Object(i["a"])({url:"/api/ubcs-code/codeButtonController/enableData",method:"post",params:{oid:e}}):Object(i["a"])({url:"/api/ubcs-code/codeButtonController/disableData",method:"post",params:{oid:e}})}},d4b6:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("div",{staticStyle:{display:"flex"}},[t("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:e.formInline}},[t("el-form-item",{attrs:{label:"集成查询:",size:"small"}},[t("el-select",{attrs:{placeholder:"请选择分类"},on:{change:e.SelectChange},model:{value:e.formInline.type,callback:function(t){e.$set(e.formInline,"type",t)},expression:"formInline.type"}},e._l(e.SearchObject.searchData,(function(e,a){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),"loge"==e.status.type&&e.status.stateFlag?t("el-form-item",{attrs:{size:"small"}},[t("el-select",{attrs:{placeholder:"请选择状态"},model:{value:e.formInline.state,callback:function(t){e.$set(e.formInline,"state",t)},expression:"formInline.state"}},[t("el-option",{attrs:{label:"是",value:"true"}}),t("el-option",{attrs:{label:"否",value:"false"}})],1)],1):e._e(),"loge"==e.status.type&&e.status.typeFlag?t("el-form-item",{attrs:{size:"small"}},[t("el-select",{attrs:{placeholder:"请选择类型"},model:{value:e.formInline.cut,callback:function(t){e.$set(e.formInline,"cut",t)},expression:"formInline.cut"}},[t("el-option",{attrs:{label:"数据推送",value:"pushData"}}),t("el-option",{attrs:{label:"分类推送",value:"pushClassifyData"}}),t("el-option",{attrs:{label:"编码申请",value:"applyCode"}}),t("el-option",{attrs:{label:"编码维护",value:"syncEditData"}}),t("el-option",{attrs:{label:"分类查询",value:"queryClassify"}}),t("el-option",{attrs:{label:"含编码规则的分类查询",value:"queryClassifyRule"}}),t("el-option",{attrs:{label:"数据查询",value:"queryData"}})],1)],1):e._e(),"task"!=e.status.type&&"data"!=e.status.type||!e.status.stateTaskDataFlag?e._e():t("el-form-item",{attrs:{size:"small"}},[t("el-select",{attrs:{placeholder:"请选择状态"},model:{value:e.formInline.stateTask,callback:function(t){e.$set(e.formInline,"stateTask",t)},expression:"formInline.stateTask"}},[t("el-option",{attrs:{label:"是",value:"true"}}),t("el-option",{attrs:{label:"否",value:"false"}})],1)],1),"task"!==e.status.type&&"data"!==e.status.type||!e.status.sendTypeFlga?e._e():t("el-form-item",{attrs:{size:"small"}},[t("el-select",{attrs:{placeholder:"请选择推送类型"},model:{value:e.formInline.taskCut,callback:function(t){e.$set(e.formInline,"taskCut",t)},expression:"formInline.taskCut"}},[t("el-option",{attrs:{label:"发布",value:"Enabled"}}),t("el-option",{attrs:{label:"回收",value:"TakeBack"}}),t("el-option",{attrs:{label:"停用",value:"Disabled"}})],1)],1),"loge"!=e.status.type&&"task"!=e.status.type||!e.status.dateFlag?e._e():t("el-form-item",{attrs:{size:"small"}},[t("el-date-picker",{attrs:{type:"date",placeholder:"选择日期时间"},model:{value:e.formInline.Date,callback:function(t){e.$set(e.formInline,"Date",t)},expression:"formInline.Date"}})],1),"task"==e.status.type&&e.status.lastDateFlag?t("el-form-item",{attrs:{size:"small"}},[t("el-date-picker",{attrs:{type:"date",placeholder:"选择日期时间"},model:{value:e.formInline.lastDate,callback:function(t){e.$set(e.formInline,"lastDate",t)},expression:"formInline.lastDate"}})],1):e._e(),e.shouldShowInput?t("el-form-item",{attrs:{size:"small"}},[t("el-input",{attrs:{placeholder:"按下回车键进行查询!"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.SaveHandler.apply(null,arguments)}},model:{value:e.formInline.text,callback:function(t){e.$set(e.formInline,"text",t)},expression:"formInline.text"}})],1):e._e(),e.shouldShowButton?t("el-form-item",{attrs:{size:"small"}},[t("el-button",{attrs:{type:"success",size:"small"},on:{click:e.handleSearch}},[e._v("查询")])],1):e._e()],1)],1)},i=[],n=a("ade3"),o=a("1894"),s=a("4d0c"),l=a("7a96"),c={name:"VciDockingSearch",props:["SearchObject","page","formInline","status"],data:function(){return{}},computed:{shouldShowInput:function(){var e="loge"===this.status.type,t="task"===this.status.type,a="data"===this.status.type;return e&&!this.status.stateFlag&&!this.status.dateFlag&&!this.status.typeFlag||t&&!this.status.stateTaskDataFlag&&!this.status.dateFlag&&!this.status.lastDateFlag&&!this.status.sendTypeFlga||a&&!this.status.stateTaskDataFlag&&!this.status.sendTypeFlga},shouldShowButton:function(){var e="loge"===this.status.type,t="task"===this.status.type,a="data"===this.status.type;return e&&(this.status.dateFlag||this.status.stateFlag||this.status.typeFlag)||t&&(this.status.stateTaskDataFlag||this.status.dateFlag||this.status.lastDateFlag||this.status.sendTypeFlga)||a&&(this.status.stateTaskDataFlag||this.status.sendTypeFlga)}},methods:{SelectChange:function(e){var t="loge"===this.status.type,a="task"===this.status.type,r="data"===this.status.type;this.status.typeFlag=t&&5===e,this.status.dateFlag=t&&6===e||a&&6===e,this.status.stateFlag=t&&7===e,this.status.lastDateFlag=a&&7===e,this.status.stateTaskDataFlag=a&&8===e||r&&4===e,this.status.sendTypeFlga=a&&5===e||r&&3===e},SaveHandler:function(){var e=this,t=this.SearchObject.searchData[this.formInline.type].prop,a=function(a){a(e.page.currentPage,e.page.pageSize,Object(n["a"])({},"conditionMap[".concat(t,"_like]"),e.formInline.text)).then((function(t){if(t.data.data.records){var a=t.data.data;e.$emit("getList",a)}else e.$message.error("暂未查到数据!")}))};"loge"==this.status.type&&a(o["getLogoList"]),"data"==this.status.type&&a(s["getDataList"]),"task"==this.status.type&&a(l["getTaskList"])},handleSearch:function(){var e=this,t=this.status,a=t.type,r=t.typeFlag,i=t.stateFlag,n=t.stateTaskDataFlag,c=t.dateFlag,u=t.lastDateFlag,d=t.sendTypeFlga,p=this.page,f=p.currentPage,m=p.pageSize,h=this.formInline,b=h.cut,g=h.state,y=h.stateTask,v=h.Date,O=h.lastDate,_=h.taskCut,w={},C=function(t){t(f,m,w).then((function(t){if(t.data.data.records){var a=t.data.data;e.$emit("getList",a)}else e.$message.error("暂未查到数据!")}))};if("loge"===a&&r&&(w["conditionMap[type_like]"]=b),"loge"===a&&i&&(w["conditionMap[interfaceStatus_like]"]=g),"task"!==a&&"data"!==a||!n||(w["conditionMap[sendFlag_like]"]=y),("loge"===a||"task"===a)&&c){var j=this.$moment(v).format("YYYY-M-D");w["conditionMap[createTime_like]"]=j}if("task"===a&&u){var S=this.$moment(O).format("YYYY-M-D");w["conditionMap[lastModifyTime_like]"]=S}"task"!==a&&"data"!==a||!d||(w["conditionMap[sendType_like]"]=_),"loge"==a&&C(o["getLogoList"]),"data"==a&&C(s["getDataList"]),"task"==a&&C(l["getTaskList"])}}},u=c,d=a("2877"),p=Object(d["a"])(u,r,i,!1,null,"63eea598",null);t["default"]=p.exports},d4f4:function(e,t,a){"use strict";a.r(t),a.d(t,"optionParent",(function(){return r})),a.d(t,"optionChild",(function(){return i}));var r={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}]},i={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,a){"use strict";a.r(t),a.d(t,"initTree",(function(){return s})),a.d(t,"refOnLoad",(function(){return l})),a.d(t,"getDomain",(function(){return c})),a.d(t,"saveFromTable",(function(){return u})),a.d(t,"getDetail",(function(){return d})),a.d(t,"add",(function(){return p})),a.d(t,"update",(function(){return f})),a.d(t,"btmPage",(function(){return m}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(){return Object(i["a"])({url:"/api/ubcs-omd/btm-type/tree-domain",method:"get"})},l=function(e){return Object(i["a"])({url:"/api/ubcs-omd/btm-type/get-from-table",method:"get",params:{domain:e}})},c=function(){return Object(i["a"])({url:"/api/ubcs-omd/btm-type/domain",method:"get"})},u=function(e,t){return Object(i["a"])({url:"/api/ubcs-omd/btm-type/save-from-table/"+t,method:"post",data:e})},d=function(e){return Object(i["a"])({url:"/api/ubcs-omd/btm-type/detail",method:"get",params:{oid:e}})},p=function(e,t){return Object(i["a"])({url:"/api/ubcs-omd/btm-type/submit/"+t,method:"post",data:e})},f=function(e){return Object(i["a"])({url:"/api/ubcs-omd/btm-type/submit/"+auto,method:"post",data:e})},m=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-omd/btm-type/page",method:"get",params:o({current:e,size:t},a)})}},d796:function(e,t,a){},d9a3:function(e,t,a){"use strict";a.d(t,"a",(function(){return o}));var r=a("53ca"),i=(a("28a5"),a("456d"),a("ac6a"),a("c5f6"),a("ee1d"),a("d4ec")),n=a("bee2"),o=function(){function e(){Object(i["a"])(this,e)}return Object(n["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 a=parseInt(e,0);return Number.isNaN(a)?void 0===t?-1:t:a}},{key:"toFormData",value:function(e){var t=new FormData;return Object.keys(e).forEach((function(a){t.append(a,Array.isArray(e[a])?e[a].join(","):e[a])})),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(r["a"])(e)&&null!==e&&Object.keys(e).length>0}},{key:"downloadFileByBlobHandler",value:function(e){var t=e.headers["content-disposition"].split(";"),a=t[2].split("filename*=")[1],r=decodeURI(t[1].split("filename=")[1],a),i=new Blob([e.data],{type:e.data.type+";charset=utf-8"}),n=URL.createObjectURL(i),o=document.createElement("a");o.href=n,o.download=r,document.body.appendChild(o),o.click(),document.body.removeChild(o),window.URL.revokeObjectURL(n)}},{key:"downloadFileByBlob",value:function(e,t){var a=URL.createObjectURL(e),r=document.createElement("a");r.href=a,r.download=t,document.body.appendChild(r),r.click(),document.body.removeChild(r)}}]),e}()},daf0:function(e,t,a){},db03:function(e,t,a){},dc8a:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("div",{staticClass:"basic-container",class:{"basic-container--block":e.block},style:e.styleName},[t("el-card",{staticClass:"basic-container__card"},[e.title?t("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[t("span",[e._v(e._s(e.title))])]):e._e(),e._t("default")],2)],1)},i=[],n=(a("c5f6"),{name:"basicContainer",props:{radius:{type:[String,Number],default:10},background:{type:String},block:{type:Boolean,default:!1},title:{type:String}},computed:{styleName:function(){return{borderRadius:this.setPx(this.radius),background:this.background}}}}),o=n,s=(a("2c6a"),a("2877")),l=Object(s["a"])(o,r,i,!1,null,null,null);t["default"]=l.exports},dd3a:function(e,t,a){"use strict";a.r(t),a.d(t,"MasterTable",(function(){return s})),a.d(t,"TableData",(function(){return l})),a.d(t,"FindData",(function(){return c})),a.d(t,"addSaveCode",(function(){return u})),a.d(t,"editSaveCode",(function(){return d})),a.d(t,"upSaveCode",(function(){return p})),a.d(t,"FlowTable",(function(){return f})),a.d(t,"exportCode",(function(){return m})),a.d(t,"batchUpdateCode",(function(){return h})),a.d(t,"deleteCode",(function(){return b})),a.d(t,"applyGroupCode",(function(){return g})),a.d(t,"receiveEditApply",(function(){return y}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e){return Object(i["a"])({url:"api/ubcs-code/mdmEngineController/getUIInfoByClassifyOid",method:"get",params:o({},e)})},l=function(e){return Object(i["a"])({url:"api/ubcs-code/mdmEngineController/gridTableDataByClassifyOid",method:"get",params:o({},e)})},c=function(e){return Object(i["a"])({url:"api/ubcs-code/mdmEngineController/gridTableDataByClassifyOid",method:"get",params:o({},e)})};function u(e){return Object(i["a"])({url:"api/ubcs-code/mdmEngineController/addSaveCode",method:"post",data:e})}function d(e){return Object(i["a"])({url:"api/ubcs-code/mdmEngineController/editSaveCode",method:"put",data:e})}function p(e){return Object(i["a"])({url:"api/ubcs-code/mdmEngineController/upSaveCode",method:"POST",data:e})}function f(e){return Object(i["a"])({url:"api/ubcs-code/mdmEngineController/getFlowdUIInfoByClassifyOid",method:"get",params:o({},e)})}function m(e){return Object(i["a"])({url:"api/ubcs-code/mdmEngineController/exportCode",method:"post",responseType:"blob",params:o({},e)})}function h(e){return Object(i["a"])({url:"api/ubcs-code/mdmEngineController/batchUpdateCode",method:"post",data:e})}function b(e){return Object(i["a"])({url:"api/ubcs-code/mdmEngineController/deleteCode",method:"DELETE",data:e})}function g(e){return Object(i["a"])({url:"api/ubcs-applyjtcodeservice/DockingPreApplyCode/applyGroupCode",method:"post",params:o({},e)})}function y(e){return Object(i["a"])({url:"api/ubcs-applyjtcodeservice/DockingPreApplyCode/receiveEditApply",method:"post",params:o({},e)})}},de2e:function(e,t,a){"use strict";a("a473")},dea5:function(e,t,a){},dfd9:function(e,t,a){"use strict";a("a0d7")},e28c:function(e,t,a){"use strict";a("fe0e")},e30d:function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return s})),a.d(t,"getDetail",(function(){return l})),a.d(t,"remove",(function(){return c})),a.d(t,"add",(function(){return u})),a.d(t,"update",(function(){return d}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-system/client/list",method:"get",params:o(o({},a),{},{current:e,size:t})})},l=function(e){return Object(i["a"])({url:"/api/ubcs-system/client/detail",method:"get",params:{id:e}})},c=function(e){return Object(i["a"])({url:"/api/ubcs-system/client/remove",method:"post",params:{ids:e}})},u=function(e){return Object(i["a"])({url:"/api/ubcs-system/client/submit",method:"post",data:e})},d=function(e){return Object(i["a"])({url:"/api/ubcs-system/client/submit",method:"post",data:e})}},e345:function(e,t,a){"use strict";a.r(t),a.d(t,"getCodePrice",(function(){return i})),a.d(t,"saveMaxSerialNum",(function(){return n}));var r=a("b5c6"),i=function(e){return Object(r["a"])({url:"/api/ubcs-code/ubcs-code/codeBasicSecController/getCodeRuleAndBasicSecByRuleOid",method:"get",params:e})},n=function(e){return Object(r["a"])({url:"/api/ubcs-code/ubcs-code/codeBasicSecController/setMaxSerialNumberForCodeRule",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,a=e.content,r=e.type;t=keyName+t;var i={dataType:Object(C_java_workspace_GIT_VCI_UBCS_ubcs_Source_UBCS_WEB_node_modules_babel_runtime_helpers_esm_typeof_js__WEBPACK_IMPORTED_MODULE_1__["a"])(a),content:a,type:r,datetime:(new Date).getTime()};r?window.sessionStorage.setItem(t,JSON.stringify(i)):window.localStorage.setItem(t,JSON.stringify(i))},getStore=function getStore(){var params=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},name=params.name,debug=params.debug;name=keyName+name;var obj={},content;if(obj=window.sessionStorage.getItem(name),Object(_util_validate__WEBPACK_IMPORTED_MODULE_3__["b"])(obj)&&(obj=window.localStorage.getItem(name)),!Object(_util_validate__WEBPACK_IMPORTED_MODULE_3__["b"])(obj)){try{obj=JSON.parse(obj)}catch(_unused){return obj}return debug?obj:("string"==obj.dataType?content=obj.content:"number"==obj.dataType?content=Number(obj.content):"boolean"==obj.dataType?content=eval(obj.content):"object"==obj.dataType&&(content=obj.content),content)}},removeStore=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,a=e.type;t=keyName+t,a?window.sessionStorage.removeItem(t):window.localStorage.removeItem(t)},getAllStore=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=[],a=e.type;if(a)for(var r=0;r<=window.sessionStorage.length;r++)t.push({name:window.sessionStorage.key(r),content:getStore({name:window.sessionStorage.key(r),type:"session"})});else for(var i=0;i<=window.localStorage.length;i++)t.push({name:window.localStorage.key(i),content:getStore({name:window.localStorage.key(i)})});return t},clearStore=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.type;t?window.sessionStorage.clear():window.localStorage.clear()}},e50c:function(e,t,a){},e5c3:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("basic-container",[t("avue-crud",{ref:"crud",attrs:{data:e.data,option:e.option},on:{"on-load":e.getList,"refresh-change":e.refreshChange,"search-change":e.searchChange,"current-row-change":e.handleCurrentRowChange},model:{value:e.form,callback:function(t){e.form=t},expression:"form"}})],1)},i=[],n={name:"Versionpackage.vue",data:function(){return{data:[{name:"测试1",source:"测试1",shows:"测试1"},{name:"测试2",source:"测试2",shows:"测试2"},{name:"测试3",source:"测试3",shows:"测试3"},{name:"测试4",source:"测试4",shows:"测试4"}],form:{},option:{highlightCurrentRow:!0,height:300,headerAlign:"center",align:"center",border:!0,menu:!1,index:!0,searchMenuSpan:6,searchSpan:10,addBtn:!1,indexFixed:!1,menuFixed:!1,searchLabelWidth:130,column:[{label:"业务类型名",prop:"name",search:!0},{label:"标签",prop:"tag"},{label:"父类",prop:"father"},{label:"版本规则",prop:"versionRules"},{label:"生命周期",prop:"life"}]}}},methods:{handleCurrentRowChange:function(e){this.$emit("rowchange",e)},searchChange:function(e,t){t&&t(),this.$message.success("搜索成功"),console.log(e,t)}}},o=n,s=a("2877"),l=Object(s["a"])(o,r,i,!1,null,"5632a16b",null);t["default"]=l.exports},e75a:function(e,t,a){"use strict";a("6612")},e772:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return e.Formlist.length>0?t("div",[t("avue-crud",{ref:"crud",attrs:{data:e.data,option:e.option,page:e.page,"table-loading":e.loading},on:{"update:page":function(t){e.page=t},"on-load":e.getDataList,"size-change":e.handleSizePage,"current-change":e.handleCurrentPage,"row-click":e.handleRowClick},scopedSlots:e._u([{key:"menu",fn:function(a){var r=a.type,i=a.size,n=a.row,o=a.index;return[t("el-button",{attrs:{size:i,type:r,icon:"el-icon-check"},on:{click:function(t){return e.handleMaintenance(n,o)}}},[e._v("维护\n ")])]}}],null,!1,3868880361)}),t("el-dialog",{attrs:{visible:e.dialogNode,"append-to-body":"true",title:"模板阶段",width:"50%"},on:{"update:visible":function(t){e.dialogNode=t}}},[t("avue-crud",{ref:"crud",attrs:{data:e.stageData,option:e.stageOption,"table-loading":e.loading},on:{"on-load":e.getStagelist,"row-click":e.handleRowStageClick},scopedSlots:e._u([{key:"menu",fn:function(a){var r=a.type,i=a.size,n=a.row,o=a.index;return[t("el-button",{attrs:{size:i,type:r,icon:"el-icon-check"},on:{click:function(t){return e.handleMaintenanceTransfer(n,o)}}},[e._v("维护\n ")])]}}],null,!1,1542408034)})],1),e.flag?t("table-transfer",{attrs:{columns:e.columns,dataList:e.attributeData,visible:e.dialogTransfer,keyName:"oid"},on:{"update:visible":function(t){e.dialogTransfer=t},close:e.handelClose,save:e.handleSave},model:{value:e.attributeValue,callback:function(t){e.attributeValue=t},expression:"attributeValue"}}):e._e()],1):e._e()},i=[],n=(a("8e6e"),a("456d"),a("7f7f"),a("96cf"),a("1da1")),o=(a("ac6a"),a("ade3")),s=a("5821"),l=a("7eff");function c(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function u(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?c(Object(a),!0).forEach((function(t){Object(o["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):c(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var d={name:"Stage",components:{TableTransfer:l["default"]},props:{code:{typeof:String,required:!0,default:""},Formlist:{type:Array,default:[]}},watch:{code:{handler:function(e,t){this.getDataList()}}},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),{},{height:383,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(n["a"])(regeneratorRuntime.mark((function e(){var t,a,r,i,n,o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(this.loading=!1,!this.code){e.next=10;break}return t=this.page,a=t.pageSize,r=t.currentPage,i={size:a,current:r},e.next=6,Object(s["getFlowpathList"])(u(u({},i),{templateId:this.code}));case 6:n=e.sent,200===n.status?(this.loading=!1,o=n.data.data,this.data=o.records,this.page.total=o.total):this.loading=!1,e.next=11;break;case 10:this.data=[];case 11:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),getStagelist:function(){var e=Object(n["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,e.next=3,Object(s["stagelist"])({modelKey:this.modelKey});case 3:t=e.sent,200===t.status?(this.loading=!1,this.stageData=t.data.data):this.loading=!1;case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),getAttributeList:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,a,r,i,n;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:a=e.sent,200===t.status&&200===a.status&&(r=t.data.data.records,i=a.data.data,r=r.map((function(e){var t=e,a=t.oid,r=t.id,n=t.name,o=t.attributeGroup;return e=u({oid:a,id:r,name:n,attributeGroup:o},{checked:!1}),0!==i.length&&i.forEach((function(t){e.id===t.attrId&&(e.checked=!0)})),e})),n=r.map((function(e){return e.checked?e.oid:void 0})),this.attributeValue=n.filter((function(e){return e})),this.attributeData=r,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(n["a"])(regeneratorRuntime.mark((function e(){var t,a;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&&(a=t.data.data,a=a.map((function(e){var t=e.attrId,a=e.attrName,r=e.attrGroup;return{attrId:t,attrName:a,attrGroup:r}})),this.listRight=a);case 4:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),handleMaintenance:function(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){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(n["a"])(regeneratorRuntime.mark((function e(t){var a,r,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a=t.map((function(e){var t=e.id,a=e.name,r=e.attributeGroup;return{attrId:t,attrName:a,attrGroup:r}})),r=u({templateId:this.code,processStageAttr:a},this.saveParam),e.next=4,Object(s["attributeSave"])(r);case 4:i=e.sent,200===i.status&&(this.$message({type:"success",message:"新增数据成功!"}),this.flag=!1);case 6: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=a("2877"),m=Object(f["a"])(p,r,i,!1,null,null,null);t["default"]=m.exports},e8d5:function(e,t,a){"use strict";a("2a0a")},ea0e:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("el-dialog",{staticClass:"avue-dialog avue-dialog--top",attrs:{title:"最大流水号",width:"30%","append-to-body":"true",top:"-3%",visible:e.dialogVisible},on:{"update:visible":function(t){e.dialogVisible=t}}},[t("el-form",{ref:"ruleForm",attrs:{"label-position":e.right,"label-width":"80px",model:e.formModel,rules:e.rules}},[t("el-form-item",{attrs:{label:"流水号",prop:"maxSecNum"}},[t("el-input",{model:{value:e.formModel.maxSecNum,callback:function(t){e.$set(e.formModel,"maxSecNum",t)},expression:"formModel.maxSecNum"}})],1)],1),t("el-tabs",{attrs:{type:"border-card"},on:{"tab-click":e.handleClick},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[t("el-tab-pane",{attrs:{label:"最大流水号",name:"codeApply"}},[t("form-template",e._b({key:"codeApplyMaxForm",ref:"CodeApply",attrs:{"data-key":"codeApplyMaxForm",type:"add",selfColumnType:e.selfColumnType,trendsSpan:24,selfColumnConfig:e.selfColumnConfig},on:{getFormData:e.getCodeApplyFormData,referConfigDataUpdate:e.referConfigDataUpdate}},"form-template",e.$attrs,!1))],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:e.cancel}},[e._v("取 消")]),t("el-button",{attrs:{type:"primary",loading:e.confirmLoadding},on:{click:e.comfirm}},[e._v("确 定")])],1)],1)},i=[],n=(a("7f7f"),a("3835")),o=(a("ffc1"),a("ac6a"),a("456d"),a("2fdb"),a("6762"),a("96cf"),a("1da1")),s=a("8cf2"),l=a("e345"),c={name:"maxSerialnumDialog",components:{FormTemplate:s["default"]},props:{visible:{typeof:Boolean,default:!1},ruleOid:{typeof:String,default:""}},watch:{visible:function(e){this.dialogVisible=e},dialogVisible:function(e){this.$emit("update:visible",e),e&&this.apiGetCode()},selfColumnConfig:{handler:function(e){},immediate:!0,deep:!0}},data:function(){return{dialogVisible:this.visible,activeName:"codePrice",confirmLoadding:!1,codeApplyForm:{},secVOList:[],formModel:{maxSecNum:"",codeRuleOid:"",secDTOList:[]},rules:{maxSecNum:[{required:!0,message:"请输入流水号",trigger:"blur"}]},selfColumnType:{codefixedsec:"combox",codeclassifysec:"refer",codevariablesec:"text",coderefersec:"refer",codeattrsec:"text",codelevelsec:"text",codedatesec:"date"},selfColumnConfig:{function:{required:this.isRequired,dicData:this.getOptionList,type:this.getType,referConfig:this.getReferConfig,readOnly:this.getDisabled},exchange:{text:"name",field:"oid",prop:"oid",showField:"name",parentClassifySecOid:"parentClassifySecOid",label:"name",maxlength:"codeSecLength",data:"fixedValueVOList",dateFormate:"codeDateFormatStr"},directVoluation:{search:!0,props:{label:"id",value:"id"}}}}},methods:{apiGetCode:function(){var e=Object(o["a"])(regeneratorRuntime.mark((function e(){var t,a,r,i=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.activeName="codeApply",e.next=3,Object(l["getCodePrice"])({ruleOid:this.ruleOid});case 3:t=e.sent,a=t.data,a.success&&200===a.code&&(r=["codefixedsec","codeclassifysec","codevariablesec","coderefersec","codeattrsec","codelevelsec","codedatesec"],this.secVOList=(a.data.secVOList||[]).filter((function(e){return r.includes(e.secType)})),this.secVOList.length>0?this.$nextTick((function(){i.$refs.CodeApply.templateRender(i.secVOList)})):this.$refs.CodeApply.loading=!1);case 6:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),handleClick:function(e,t){},getCodeApplyFormData:function(e){this.codeApplyForm=e},cancel:function(){this.dialogVisible=!1,this.formModel["secDTOList"]=[],this.formModel["codeRuleOid"]="",this.formModel["maxSecNum"]="",this.$refs.ruleForm.clearValidate("maxSecNum")},comfirm:function(){var e=Object(o["a"])(regeneratorRuntime.mark((function e(){var t,a,r,i,o=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=Object.keys(this.codeApplyForm),a=t.reduce((function(e,t){var a=/[\u4e00-\u9fa5]/,r=/\$/;return a.test(t)||r.test(t)||(e[t]=o.codeApplyForm[t]),e}),{}),r=Object.entries(a).map((function(e){var t=Object(n["a"])(e,2),a=t[0],r=t[1];return{secOid:a,secValue:r}})),this.formModel["secDTOList"]=r,this.formModel["codeRuleOid"]=this.ruleOid,this.confirmLoadding=!0,e.next=8,this.$refs.CodeApply.validate();case 8:i=e.sent,this.$refs.ruleForm.validate((function(e){i&&e?Object(l["saveMaxSerialNum"])(o.formModel).then((function(e){e.data.success&&(o.$message.success("操作成功!"),o.confirmLoadding=!1,o.cancel())})).catch((function(e){o.confirmLoadding=!1})):o.confirmLoadding=!1}));case 10:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),referConfigDataUpdate:function(e){var t=this,a=e.field,r=[];this.secVOList=this.secVOList.map((function(i){return i.parentClassifySecOid===a&&(t.$refs.CodeApply.form[i.oid]=void 0,t.$refs.CodeApply.form[i.name]=void 0,i.readOnly=!1,i.referConfig.extraParams.parentClassifyValueOid=e.value,i.referConfig.reloadData=!0,i.dataKey=i.oid+"_"+(new Date).getTime(),r.push(i)),i})),this.$refs.CodeApply.changeChildItem(r)},isRequired:function(e){return"true"!=e.nullableFlag},getType:function(e){return this.selfColumnType[e.secType]},getDisabled:function(e){if("codeclassifysec"===e.secType&&e.parentClassifySecOid)return!this.codeApplyForm[e.parentClassifySecOid]},getReferConfig:function(e){var t={};return"codeclassifysec"==e.secType?t={isMuti:!1,valueField:"oid",type:"grid",tableConfig:{limit:-1,cols:[{field:"id",title:"英文名称",sort:!0,width:150},{field:"name",title:"中文名称",sort:!0,width:150},{field:"description",title:"描述",width:250}],queryColumns:[{field:"id",title:"英文名称"},{field:"name",title:"中文名称"}]},url:"api/ubcs-code/ubcs-code/mdmEngineController/listCodeClassifyValueBySecOid",extraParams:{classifySecOid:e.oid,parentClassifyValueOid:e.parentClassifySecOid?this.codeApplyForm[e.parentClassifySecOid]:""}}:"coderefersec"==e.secType&&(t=JSON.parse(e.referValueInfo)),t},getOptionList:function(e){if(Array.isArray(e.fixedValueVOList)&&e.fixedValueVOList.length>0){var t={key:"id",value:"id"},a=e.fixedValueVOList.map((function(e){for(var a in t)if(Object.hasOwnProperty.call(t,a)){var r=t[a];e[a]=e[r]}return e}));return a}return[]}}},u=c,d=a("2877"),p=Object(d["a"])(u,r,i,!1,null,null,null);t["default"]=p.exports},ee95:function(e,t,a){"use strict";a.r(t),a.d(t,"getTree",(function(){return s})),a.d(t,"getLazyTree",(function(){return l}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t){return Object(i["a"])({url:t,method:"get",params:o({},e)})},l=function(e,t){return Object(i["a"])({url:t,method:"get",params:o({},e)})}},ef2c:function(e,t,a){},f10a:function(e,t,a){"use strict";a.r(t),a.d(t,"personnelInit",(function(){return i})),a.d(t,"personnelCollect",(function(){return n})),a.d(t,"cancelCollect",(function(){return o})),a.d(t,"personnelSave",(function(){return s})),a.d(t,"personnelDict",(function(){return l})),a.d(t,"processTS",(function(){return c})),a.d(t,"changeStatus",(function(){return u}));var r=a("b5c6"),i=function(e){return Object(r["a"])({url:"/api/ubcs-flow/taskUser/list",method:"get",params:e})},n=function(e){return Object(r["a"])({url:"/api/ubcs-flow/taskUser/su",method:"post",data:e})},o=function(e){return Object(r["a"])({url:"/api/ubcs-flow/taskUser/du",method:"post",data:e})},s=function(e){return Object(r["a"])({url:"/api/ubcs-flow/vciflow/start",method:"post",data:e})},l=function(e){return Object(r["a"])({url:"/api/ubcs-user/allPage",method:"get",params:e})},c=function(e){return Object(r["a"])({url:"/api/ubcs-flow/processTS/tlist",method:"get",params:e})},u=function(e){return Object(r["a"])({url:"/api/ubcs-code/mdmEngineController/changeStatus",method:"post",data:e})}},f23e:function(e,t,a){"use strict";a.r(t);a("7f7f"),a("6762"),a("2fdb");var r=function(){var e=this,t=e._self._c;return t("basic-container",[t("div",{staticClass:"main"},[t("div",{staticClass:"top"},[t("div",{staticClass:"testbox"},[t("div"),t("el-row",{staticStyle:{width:"100%","margin-bottom":"10px"}},[t("div",[e._l(e.masterVrBtnList,(function(a,r){return["PREVIEW","DELETEFILE","revisefile","DOWNLOADFILE","UPLOADFILE"].includes(a.uniqueFlag)?e._e():t("el-button",{key:r,attrs:{plain:"",size:"small",type:"primary"},on:{click:function(t){return e.handelBtnClick(a)}}},[e._v(e._s(a.name)+"\n ")])})),e.tableHeadFindData.length>0?t("span",[t("el-select",{attrs:{slot:"prepend",placeholder:"请选择",size:"small"},slot:"prepend",model:{value:e.keyWordFind,callback:function(t){e.keyWordFind=t},expression:"keyWordFind"}},e._l(e.tableHeadFindData,(function(e){return t("el-option",{attrs:{label:e.label,value:e.prop}})})),1),t("el-input",{staticStyle:{width:"180px","margin-left":"5px","margin-top":"10px"},attrs:{placeholder:"请输入关键字按回车查询",size:"small"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.tableFindInp.apply(null,arguments)}},model:{value:e.WupinFindValue,callback:function(t){e.WupinFindValue=t},expression:"WupinFindValue"}})],1):e._e(),e.tableHeadFindData.length>0?t("span",{staticStyle:{"margin-left":"10px"}},[t("p",{staticStyle:{"font-size":"13px",display:"inline-block"}},[e._v(" 状态:")]),t("el-select",{attrs:{slot:"prepend",placeholder:"请选择",size:"small"},on:{change:e.cellSelectHandler},slot:"prepend",model:{value:e.statusSelect,callback:function(t){e.statusSelect=t},expression:"statusSelect"}},[t("el-option",{attrs:{label:"全部",value:"all"}}),t("el-option",{attrs:{label:"已发布",value:"Released"}}),t("el-option",{attrs:{label:"编辑中",value:"Editing"}}),t("el-option",{attrs:{label:"已停用",value:"Disabled"}}),t("el-option",{attrs:{label:"审核中",value:"Auditing"}})],1)],1):e._e()],2),t("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.isLoading,expression:"isLoading"}],ref:"dataTable",attrs:{data:e.tableData,height:e.tableHeight},on:{select:e.handleSelection,"cell-click":e.handleCellClick,"row-click":e.handleRowClick,"select-all":e.handleSelectionAll,"selection-change":e.handleSelectionChange,"sort-change":e.sortChange}},[0!=e.tableData.length?t("el-table-column",{attrs:{fixed:"",type:"selection",width:"55"}}):e._e(),0!=e.tableData.length?t("el-table-column",{attrs:{fixed:"",label:"序号",type:"index",width:"55"}}):e._e(),e._l(this.tableHeadFindData,(function(a){return a.hidden?e._e():t("el-table-column",{key:a.id,attrs:{formatter:a.formatter,label:a.label,prop:a.prop,"show-overflow-tooltip":!0,sortable:a.sortable,width:a.width,align:"center"}})}))],2)],1),t("FormTemplateDialog",{attrs:{codeClassifyOid:this.codeClassifyOid,codeRuleOid:this.codeRuleOid,disabledProp:e.disabledProp,templateOid:e.templateOid,visible:e.addvisible,TreeValue:e.TreeValue,type:"add"},on:{"update:visible":function(t){e.addvisible=t},submit:e.AddSumbit}}),t("FormTemplateDialog",{attrs:{codeClassifyOid:this.codeClassifyOid,codeRuleOid:this.codeRuleOid,disabledProp:e.disabledProp,rowOid:e.rowOid,templateOid:e.templateOid,title:"修改编码信息",visible:e.editvisible,type:"edit"},on:{"update:visible":function(t){e.editvisible=t},submit:e.EditSumbit}}),t("FormTemplateDialog",{attrs:{codeClassifyOid:this.codeClassifyOid,codeRuleOid:this.codeRuleOid,disabledProp:e.disabledProp,rowOid:e.rowOid,templateOid:e.templateOid,title:"已发布数据更改",visible:e.DataVisible,type:"edit"},on:{"update:visible":function(t){e.DataVisible=t},submit:e.updataSumbit}}),t("set-personnel",{attrs:{parameter:this.parameter,title:e.title,visible:e.visibleFlow},on:{"update:visible":function(t){e.visibleFlow=t},onLoad:e.onLoad}}),t("set-personnel",{attrs:{parameter:this.parameter,title:e.title,visible:e.visibleDeactivate},on:{"update:visible":function(t){e.visibleDeactivate=t},onLoad:e.onLoad}}),t("set-personnel",{attrs:{parameter:this.parameter,title:e.title,visible:e.visibleEnable},on:{"update:visible":function(t){e.visibleEnable=t},onLoad:e.onLoad}}),t("set-personnel",{attrs:{parameter:this.parameter,title:e.title,visible:e.visibleRecovery},on:{"update:visible":function(t){e.visibleRecovery=t},onLoad:e.onLoad}}),t("advanced-query",{attrs:{options:this.options,visible:e.findvisible},on:{"update:visible":function(t){e.findvisible=t},echoContion:e.echoContion}}),t("MasterTransfer",{attrs:{codeClassifyOid:e.codeClassifyOid,limit:e.page.pageSize,selectRow:e.selectRow,tableData:e.tableData,tableHeadData:e.tableHeadFindData,templateOid:e.templateOid,visible:e.dialogPush},on:{"update:visible":function(t){e.dialogPush=t}}}),t("ResembleQueryDialog",{attrs:{codeClassifyOid:e.codeClassifyOid,codeRuleOid:this.codeRuleOid,rowOid:e.rowOid,templateOid:e.templateOid,visible:e.similarVisible},on:{"update:visible":function(t){e.similarVisible=t}}}),t("div",{staticClass:"block",staticStyle:{display:"flex","justify-content":"flex-end"}},[t("el-pagination",{attrs:{"current-page":e.page.currentPage,"page-size":e.page.pageSize,"page-sizes":e.page.pageSizes,total:e.page.total,layout:"total, sizes, prev, pager, next, jumper"},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)],1)]),t("div",[e.batchImportData.visible?t("BatchImport",e._b({attrs:{resetTable:e.CrudRend,visible:e.batchImportData.visible},on:{"update:visible":function(t){return e.$set(e.batchImportData,"visible",t)}}},"BatchImport",e.batchImportData,!1)):e._e()],1),t("div",{staticClass:"bottom"},[t("el-collapse",{on:{change:e.handleCollapse},model:{value:e.visibleNames,callback:function(t){e.visibleNames=t},expression:"visibleNames"}},[t("el-collapse-item",{attrs:{name:"1",title:"附件列表"}},[t("fileInHtml",{attrs:{options:e.fileOptions}})],1)],1)],1)])])},i=[],n=a("1a5b"),o=n["a"],s=(a("7596"),a("2877")),l=Object(s["a"])(o,r,i,!1,null,"a029c2fe",null);t["default"]=l.exports},f601:function(e,t,a){"use strict";a.r(t),a.d(t,"gridCodeBasicSec",(function(){return s})),a.d(t,"addSave",(function(){return l})),a.d(t,"editSave",(function(){return c})),a.d(t,"deleteData",(function(){return u})),a.d(t,"getObjectByOid",(function(){return d})),a.d(t,"listDataByOids",(function(){return p})),a.d(t,"refDataGrid",(function(){return f})),a.d(t,"refDataGridClassifySec",(function(){return m})),a.d(t,"cloneCodeBasic",(function(){return h})),a.d(t,"upOrderNum",(function(){return b})),a.d(t,"downOrderNum",(function(){return g}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-code/codeBasicSecController/gridCodeBasicSec",method:"get",params:o(o({},a),{},{page:e,limit:t}),paramsSerializer:function(e){return qs.stringify(e,{encode:!1})}})},l=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeBasicSecController/addSave",method:"post",data:e})},c=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeBasicSecController/editSave",method:"put",data:e})},u=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeBasicSecController/deleteData",method:"delete",data:e})},d=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeBasicSecController/getObjectByOid",method:"get",params:{oid:e}})},p=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeBasicSecController/listDataByOids",method:"get",params:{oid:e}})},f=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-code/codeBasicSecController/refDataGrid",method:"get",params:o(o({},a),{},{page:e,limit:t})})},m=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-code/codeBasicSecController/refDataGridClassifySec",method:"get",params:o(o({},a),{},{page:e,limit:t})})},h=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeBasicSecController/clone",method:"post",data:e})},b=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeBasicSecController/upOrderNum",method:"post",params:{oid:e}})},g=function(e){return Object(i["a"])({url:"/api/ubcs-code/codeBasicSecController/downOrderNum",method:"post",params:{oid:e}})}},f9fa:function(e,t,a){"use strict";a.r(t),a.d(t,"referCodeClassifyTree",(function(){return i})),a.d(t,"listCodeAttributeByClassId",(function(){return n})),a.d(t,"referTree",(function(){return o})),a.d(t,"referTreeByClassId",(function(){return s})),a.d(t,"gridAttrMapping",(function(){return l})),a.d(t,"gridAttrRanges",(function(){return c})),a.d(t,"batchAddSave",(function(){return u})),a.d(t,"syncClassifyModel",(function(){return d}));var r=a("b5c6"),i=function(e){return Object(r["a"])({url:"/api/ubcs-applyjtcodeservice/DockingPreApplyCode/referCodeClassifyTree",method:"get",params:e})},n=function(e){return Object(r["a"])({url:"/api/ubcs-applyjtcodeservice/DockingPreApplyCode/listCodeAttributeByClassId",method:"get",params:e})},o=function(e){return Object(r["a"])({url:"/api/ubcs-applyjtcodeservice/DockingPreApplyCode/referTree",method:"get",params:e})},s=function(e){return Object(r["a"])({url:"/api/ubcs-applyjtcodeservice/DockingPreApplyCode/listViewModelAttributeByClassId",method:"get",params:e})},l=function(e){return Object(r["a"])({url:"/api/ubcs-applyjtcodeservice/DockingPreApplyCode/gridAttrMapping",method:"get",params:e})},c=function(e){return Object(r["a"])({url:"/api/ubcs-applyjtcodeservice/DockingPreApplyCode/gridAttrRanges",method:"get",params:e})},u=function(e){return console.log(e),Object(r["a"])({url:"/api/ubcs-applyjtcodeservice/DockingPreApplyCode/batchAddSave",method:"post",data:e})},d=function(e){return console.log(e),Object(r["a"])({url:"/api/ubcs-applyjtcodeservice/DockingPreApplyCode/syncClassifyModel",method:"post",params:e})}},fc5a:function(e,t,a){"use strict";a("9a5b")},fc8c:function(e,t,a){"use strict";a.r(t),a.d(t,"historyFlowList",(function(){return i})),a.d(t,"leaveProcess",(function(){return n})),a.d(t,"leaveDetail",(function(){return o}));var r=a("b5c6"),i=function(e){return Object(r["a"])({url:"/api/ubcs-flow/process/history-flow-list",method:"get",params:{processInstanceId:e}})},n=function(e){return Object(r["a"])({url:"/api/ubcs-desk/process/leave/start-process",method:"post",data:e})},o=function(e,t){return Object(r["a"])({url:"/api/ubcs-desk/process/leave/detail",method:"get",params:{businessId:e,processInstanceId:t}})}},fcb7:function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return s})),a.d(t,"getLazyList",(function(){return l})),a.d(t,"remove",(function(){return c})),a.d(t,"add",(function(){return u})),a.d(t,"update",(function(){return d})),a.d(t,"getDept",(function(){return p})),a.d(t,"getDeptTree",(function(){return f})),a.d(t,"getDeptLazyTree",(function(){return m}));a("8e6e"),a("ac6a"),a("456d");var r=a("ade3"),i=a("b5c6");function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var s=function(e,t,a){return Object(i["a"])({url:"/api/ubcs-system/dept/list",method:"get",params:o(o({},a),{},{current:e,size:t})})},l=function(e,t,a,r){return Object(i["a"])({url:"/api/ubcs-system/dept/lazy-list",method:"get",params:o(o({},t),{},{parentId:e,current:a,size:r})})},c=function(e){return Object(i["a"])({url:"/api/ubcs-system/dept/remove",method:"post",params:{ids:e}})},u=function(e){return Object(i["a"])({url:"/api/ubcs-system/dept/submit",method:"post",data:e})},d=function(e){return Object(i["a"])({url:"/api/ubcs-system/dept/submit",method:"post",data:e})},p=function(e){return Object(i["a"])({url:"/api/ubcs-system/dept/detail",method:"get",params:{id:e}})},f=function(e){return Object(i["a"])({url:"/api/ubcs-system/dept/tree",method:"get",params:{tenantId:e}})},m=function(e){return Object(i["a"])({url:"/api/ubcs-system/dept/lazy-tree",method:"get",params:{parentId:e}})}},fe0e:function(e,t,a){},ffe6:function(e,t,a){"use strict";a("6279")}});
|