Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 

1 linha
77 KiB

  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-78390ace"],{"498a":function(e,t,a){"use strict";var i=a("23e7"),s=a("58a8").trim,n=a("c8d2");i({target:"String",proto:!0,forced:n("trim")},{trim:function(){return s(this)}})},"81b5":function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"layout_content template-list"},[a("section",{staticClass:"title_section"},[e._m(0),e._m(1),a("div",{staticClass:"EC_col_8"},[a("div",{staticClass:"fr"},[a("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowMatrixTemplatePane,expression:"isShowMatrixTemplatePane"}],staticClass:"fl"},[a("div",{staticClass:"yiyun_col-12 ce text_concenter"},[a("el-input",{staticClass:"el-input_mini",attrs:{placeholder:"矩阵搜索","prefix-icon":"icon font_family icon-icon_sousuo searchsize"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.searhTempNode(t)}},model:{value:e.searhNodeName,callback:function(t){e.searhNodeName=t},expression:"searhNodeName"}})],1)])])])]),a("section",{staticClass:"yiyun_section1"},[a("div",{staticClass:"fl_navBox",on:{contextmenu:function(t){return e.treeSpaceMenu(t)}}},[a("div",{staticClass:"fl_navBox_body"},[a("div",{staticClass:"admin_treeBox navtree"},[a("div",{staticClass:"admininput_search"},[a("el-input",{staticClass:"el-input_mini",attrs:{placeholder:"搜索名称","prefix-icon":"Cicon icon font_family icon-icon_sousuo iconsize_mini"},model:{value:e.filterTreeText,callback:function(t){e.filterTreeText=t},expression:"filterTreeText"}})],1),a("div",{staticClass:"navtreebox"},[a("el-tree",{ref:"tree",attrs:{data:e.listTemplateTree,"default-expand-all":!0,"node-key":"id","expand-on-click-node":!1,"filter-node-method":e.filterTreeNode,indent:8,"highlight-current":!0},on:{"node-contextmenu":e.treeRightClick,"node-click":e.getTempNameAndData},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.node,s=t.data;return a("span",{staticClass:"custom-tree-node"},[a("span",{staticClass:"sanjiaow"},["default"==s.id?a("i",{staticClass:"el-icon-models"}):e._e(),0==s.isLeaf&&1==i.isLeaf?a("i",{staticClass:"el-tree-node__expand-icon el-icon-caret-right bianjutop"}):e._e(),1==s.isLeaf&&1==i.isLeaf?a("i",{staticClass:"el-icon-models"}):e._e(),a("span",[e._v(e._s(s.label))])]),a("div",{directives:[{name:"show",rawName:"v-show",value:0==s.isLeaf,expression:"data.isLeaf == false"}],staticClass:"fr rightdrop"},[a("el-dropdown",[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-more morebtn"})]),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",[a("span",{directives:[{name:"show",rawName:"v-show",value:1==s.data.level,expression:"data.data.level == 1"}],on:{click:e.createLargeIndustry}},[e._v("新增大行业")])]),a("el-dropdown-item",[a("span",{directives:[{name:"show",rawName:"v-show",value:s.data.level<=2,expression:"data.data.level <= 2"}],on:{click:function(t){return e.createChildIndustry(s.data)}}},[e._v("新增子行业")])]),a("el-dropdown-item",[a("span",{directives:[{name:"show",rawName:"v-show",value:s.data.level>1,expression:"data.data.level > 1"}],on:{click:function(t){return e.createNextChildIndustry(s.data)}}},[e._v("新增细分行业")])]),a("el-dropdown-item",[a("span",{on:{click:function(t){return e.deleteIndustry(s)}}},[e._v("删除")])])],1)],1)],1)])}}])})],1),a("div",{staticClass:"bottombtn",on:{click:e.createInsertTemplate}},[e._v("新增模板")])])])]),a("div",{staticClass:"fl_contentBox"},[a("div",{directives:[{name:"show",rawName:"v-show",value:1==e.contentpain,expression:"contentpain == 1"}],staticClass:"admin_contentBox_body",on:{contextmenu:function(t){return e.tableSpaceMenu(t)}}},[1==e.mainPane?a("div",{staticClass:"admin_contentBox_bodyPain"},[a("div",{staticClass:"mlr-10"},[e.eidtModelpane?e._e():a("h4",{staticClass:"admintitle"},[e._v(" "+e._s(e.templateName)+" ")]),e.eidtModelpane?a("h4",{staticClass:"admintitle"},[e._v(" 编辑:"+e._s(e.templateName)+" ")]):e._e()]),e._m(2),a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"topOption"},[a("div",{staticClass:"topoption"},[a("div",{staticClass:"fl"},[e.eidtModelpane?e._e():a("button",{staticClass:"EC_button shadow bt_small_20 mr-5",attrs:{type:"button"},on:{click:e.editmodelInfo}},[e._v(" 编辑 ")]),e.eidtModelpane?a("button",{staticClass:"EC_button shadow bt_small_20 mr-5",attrs:{type:"button"},on:{click:e.cancelEdit}},[e._v(" 退出 ")]):e._e(),e.eidtModelpane?a("el-button",{attrs:{type:"primary"},on:{click:e.savemodelInfo}},[e._v("保存")]):e._e()],1),a("div",{staticClass:"fr"},[e.eidtModelpane?a("button",{staticClass:"EC_button shadow bt_small_20 mr-5",attrs:{type:"button"},on:{click:e.delTemplateClick}},[e._v(" 删除模板 ")]):e._e()])])])]),a("div",{staticClass:"clear"}),e.isShowTempInfo?a("div",{staticClass:"largecontentBox"},[a("div",{staticClass:"listCardIcon mt-30"},[a("div",[a("div",{staticClass:"EC_col_6"},[a("div",{staticClass:"kapian_card cl_card",on:{click:e.goNodeFile}},[a("h4",{staticClass:"biaoqianweizhi2"},[e._v("样板文件管理")]),a("img",{attrs:{src:"/static\\img\\card_0.png",alt:""}})])]),a("div",{staticClass:"EC_col_6"},[a("div",{staticClass:"kapian_card cl_card",on:{click:e.goscanMind}},[a("h4",{staticClass:"biaoqianweizhi2"},[e._v("思维导图查看器")]),a("img",{attrs:{src:"/static/img/card_2.png",alt:""}})])]),a("div",{staticClass:"EC_col_6"},[a("div",{staticClass:"kapian_card cl_card",on:{click:e.goscanMatrix}},[a("h4",{staticClass:"biaoqianweizhi2"},[e._v("矩阵编辑器")]),a("img",{attrs:{src:"/static/img/card_3.png",alt:""}})])])])]),a("div",{staticClass:"clear"}),a("div",[a("div",{staticClass:"yiyunTable_list_item"},[a("div",[a("div",{staticClass:"yiyunTable_list mt-10"},[a("el-form",{ref:"form",attrs:{"label-width":"90px","label-position":"left"}},[a("div",{staticClass:"yiyunTable_list_item mt-40"},[a("div",{staticClass:"mlr-10"},[a("h3",{staticClass:"secondListTitle"},[e._v("模板信息")])]),a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line_light"})]),a("div",{staticClass:"textlabelgray UserEditinfoBox DivInputHeight"},[a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"模板名称"}},[a("div",[e._v(" "+e._s(e.currentTemplateData.Temple.TempName)+" ")])])],1)]),a("div",{staticClass:"clear"}),e.listTempIndustury.length>1?a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"大行业"}},[a("div",[e._v(" "+e._s(e.mapIndIdToIndName[e.currentTemplateData.Temple.FirstIndustryId])+" ")])])],1)]):e._e(),e.listTempIndustury.length>1?a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"子行业"}},[a("div",[e._v(" "+e._s(e.mapIndIdToIndName[e.currentTemplateData.Temple.DetailIndustryId])+" ")])])],1)]):e._e(),a("div",{staticClass:"clear"}),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"模版编码"}},[a("div",[e._v(" "+e._s(e.currentTemplateData.Temple.FullCode)+" ")])])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"锁定状态"}},[a("div",[0==e.currentTemplateData.Temple.Locked?a("span",[e._v("未锁定")]):e._e(),1==e.currentTemplateData.Temple.Locked?a("span",[e._v("已锁定")]):e._e(),a("div",{staticClass:"fr"},[0==e.currentTemplateData.Temple.Locked?a("span",{staticClass:"ECclockText"},[a("i",{staticClass:"ECclock mt-10 el-ecclock-o"})]):e._e(),1==e.currentTemplateData.Temple.Locked?a("span",{staticClass:"ECclockText"},[a("i",{staticClass:"ECclock mt-10 el-ecclock"})]):e._e()])])])],1)]),a("div",{staticClass:"yiyun_col-12"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"模板简介"}},[a("div",[e._v(" "+e._s(e.currentTemplateData.Temple.Introduce)+" ")])])],1)])])]),a("div",{staticClass:"yiyunTable_list_item mt-30"},[a("div",{staticClass:"mlr-10"},[a("h3",{staticClass:"secondListTitle"},[e._v("模板数据")])]),a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line_light"})]),a("div",{staticClass:"textlabelgray UserEditinfoBox DivInputHeight"},[a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"使用数:"}},[a("div",[e._v(e._s(e.nowCount)+" 个项目")])])],1)]),a("div",{staticClass:"clear"})])]),a("div",{staticClass:"yiyunTable_list_item mt-30"},[a("div",{staticClass:"mlr-10"},[a("h3",{staticClass:"secondListTitle"},[e._v("模板概况")])]),a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line_light"})]),a("div",{staticClass:"textlabelgray UserEditinfoBox DivInputHeight"},[e._l(e.currentTemplateData.TempleProperties,(function(t){return a("div",{key:t.Id,staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"自定义字段"}},[a("div",[e._v(e._s(t.PropertyName))])])],1)])})),a("div",{staticClass:"clear"})],2)])])],1)]),a("div",{staticClass:"clear"})])])]):e._e(),e.eidtModelpane?a("div",{staticClass:"largecontentBox"},[a("div",[a("div",{staticClass:"yiyunTable_list_item"},[a("div",[a("div",{staticClass:"yiyunTable_list mt-10"},[a("el-form",{ref:"tempform",attrs:{model:e.editTemplateData,rules:e.templateRules,"label-width":"120px","label-position":"right"}},[a("div",{staticClass:"yiyunTable_list_item"},[a("div",{staticClass:"textlabelblock UserEditinfoBox DivInputHeight"},[a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"模板名称:",prop:"Temple.TempName"}},[a("div",{staticClass:"boolEdit_Input"},[a("el-input",{attrs:{placeholder:"模板名称"},model:{value:e.editTemplateData.Temple.TempName,callback:function(t){e.$set(e.editTemplateData.Temple,"TempName",t)},expression:"editTemplateData.Temple.TempName"}})],1)])],1)]),e.editTemplateData.Temple.Id?e._e():a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"XMind文件:",required:""}},[a("div",{staticClass:"boolEdit_Input"},[a("div",[a("file-uploader",{attrs:{"http-request":e.uploadXMindFile,"on-success":e.onUploadSuccess}},[a("el-button",[e._v("上传XMind文件")])],1)],1)])])],1)]),a("div",{staticClass:"clear"}),e.editTemplateData.Temple.Id?a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"启用模板:"}},[a("div",{staticClass:"boolEdit_Input"},[a("div",{staticClass:"fr"},[a("el-switch",{attrs:{"active-color":"#8C00FF","inactive-color":"#ccc","active-value":"0","inactive-value":"1"},model:{value:e.editTemplateData.Temple.Disable,callback:function(t){e.$set(e.editTemplateData.Temple,"Disable",t)},expression:"\n editTemplateData.Temple.Disable\n "}})],1)])])],1)]):e._e(),e.editTemplateData.Temple.Id?a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"锁定模板:"}},[a("div",{staticClass:"boolEdit_Input"},[0==e.editTemplateData.Temple.Locked?a("span",{staticClass:"ECclockText"},[a("i",{staticClass:"ECclock mt-10 el-ecclock-o"})]):e._e(),1==e.editTemplateData.Temple.Locked?a("span",{staticClass:"ECclockText"},[a("i",{staticClass:"ECclock mt-10 el-ecclock"})]):e._e(),a("div",{staticClass:"fr"},[a("el-switch",{attrs:{"active-color":"#8C00FF","inactive-color":"#ccc","active-value":"1","inactive-value":"0"},model:{value:e.editTemplateData.Temple.Locked,callback:function(t){e.$set(e.editTemplateData.Temple,"Locked",t)},expression:"editTemplateData.Temple.Locked"}})],1)])])],1)]):e._e(),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"大行业:",prop:"Temple.FirstIndustryId"}},[a("div",{staticClass:"boolEdit_Input"},[a("el-select",{attrs:{placeholder:"请选择"},on:{change:e.getSonIndustry},model:{value:e.editTemplateData.Temple.FirstIndustryId,callback:function(t){e.$set(e.editTemplateData.Temple,"FirstIndustryId",t)},expression:"\n editTemplateData.Temple.FirstIndustryId\n "}},e._l(e.topIndList,(function(e){return a("el-option",{key:e.Id,attrs:{label:e.Name,value:e.Id}})})),1)],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"子行业:",prop:"Temple.DetailIndustryId"}},[a("div",{staticClass:"boolEdit_Input"},[a("el-select",{attrs:{placeholder:"子行业名称"},model:{value:e.editTemplateData.Temple.DetailIndustryId,callback:function(t){e.$set(e.editTemplateData.Temple,"DetailIndustryId",t)},expression:"editTemplateData.Temple.DetailIndustryId"}},e._l(e.level2IndList,(function(e){return a("el-option",{key:e.Id,attrs:{label:e.Name,value:e.Id}})})),1)],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"细分行业:"}},[a("div",{staticClass:"boolEdit_Input"},[a("el-input",{attrs:{placeholder:"细分行业"},model:{value:e.editTemplateData.IndLevel3,callback:function(t){e.$set(e.editTemplateData,"IndLevel3",t)},expression:"editTemplateData.IndLevel3"}})],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"自定义:"}},[a("div",{staticClass:"boolEdit_Input"},[a("el-input",{attrs:{placeholder:"自定义"},model:{value:e.editTemplateData.IndLevel4,callback:function(t){e.$set(e.editTemplateData,"IndLevel4",t)},expression:"editTemplateData.IndLevel4"}})],1)])],1)]),a("div",{staticClass:"yiyun_col-12"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"介绍:"}},[a("div",{staticClass:"boolEdit_Input"},[a("el-input",{attrs:{placeholder:"请输入模板简介"},model:{value:e.editTemplateData.Temple.Introduce,callback:function(t){e.$set(e.editTemplateData.Temple,"Introduce",t)},expression:"\n editTemplateData.Temple.Introduce\n "}})],1)])],1)])])]),a("div",{staticClass:"clear"}),a("div",{staticClass:"yiyunTable_list_item"},[a("div",{staticClass:"mlr-10"},[a("h3",{staticClass:"secondListTitle"},[e._v("模板概况")])]),a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line_light"})]),a("div",{staticClass:"yiyun_col-12"},[e._l(e.editTemplateData.TempleProperties,(function(t){return a("div",{key:t.Id,staticClass:"yiyun_col-6"},[a("div",{staticClass:"UserEditinfoBox DivInputHeight"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"自定义字段"}},[a("div",{staticClass:"boolEdit_Input noshodow"},[a("el-input",{attrs:{autofocus:!0},model:{value:t.PropertyName,callback:function(a){e.$set(t,"PropertyName",a)},expression:"item.PropertyName"}},[a("i",{staticClass:"el-icon-close el-input__icon deletIocn",attrs:{slot:"suffix",title:"删除"},on:{click:function(a){return e.removeProperty(t,e.editTemplateData)}},slot:"suffix"})])],1)])],1)])])})),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"UserEditinfoBox DivInputHeight"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"自定义字段"}},[a("div",{staticClass:"boolEdit_Input"},[a("el-button",{staticClass:"defualtLarge block-btn",on:{click:function(t){return e.addProperty(e.editTemplateData)}}},[e._v("新增填写项目")])],1)])],1)])])],2),a("div",{staticClass:"clear"})])])],1)]),a("div",{staticClass:"clear"})])])]):e._e(),a("div",{staticClass:"clear"}),a("div",{staticClass:"largecontentBox",staticStyle:{display:"none"}},[a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"yiyunTable_list"},[a("div",{staticClass:"mt-5"},[a("el-breadcrumb",{staticStyle:{cursor:"pointer","margin-bottom":"10px"},attrs:{"separator-class":"el-icon-arrow-right"}},[e.breadcrumb_item.length>1?a("el-breadcrumb-item",[a("span",{on:{click:function(t){return e.backUp()}}},[e._v("返回上一级 ")])]):e._e(),e._l(e.breadcrumb_item,(function(t,i){return a("el-breadcrumb-item",{key:i},[a("span",{on:{click:function(a){return e.getbreadcrumb(t,i)}}},[e._v(e._s(t.nodeName))])])}))],2),[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.listWorkFolderTable},on:{"row-contextmenu":e.tableRightClick}},[a("el-table-column",{attrs:{prop:"",label:"",width:"36"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("img",{attrs:{src:"/static/img/icon_file.png"}})]}}],null,!1,3948577977)}),a("el-table-column",{attrs:{prop:"nodeName",label:"工作文件夹"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{staticStyle:{cursor:"pointer"},on:{click:function(a){return e.getFolderNodeData(t.row)}}},[e._v(e._s(t.row.nodeName))])]}}],null,!1,790194702)}),1==e.eidtFiles?a("el-table-column",{attrs:{label:"操作",width:"150px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{staticClass:"option_grayBtn ml-20",on:{click:function(a){return e.reNameFolder(t.row)}}},[e._v("重命名")]),a("span",{staticClass:"option_grayBtn ml-20",on:{click:function(a){return e.delFolder(t.row)}}},[e._v("删除")])]}}],null,!1,2104173712)}):e._e()],1)]],2)])])]),a("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowMatrixTemplatePane,expression:"isShowMatrixTemplatePane"}],staticClass:"largecontentBox"},[a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"yiyunTable_list"},[a("div",{staticClass:"mt-10"}),a("div",[a("div",{staticClass:"contain"},[a("table",{staticClass:"tb1 bordertable",attrs:{cellspacing:"0",id:"tablestyle"}},[a("tr",{directives:[{name:"show",rawName:"v-show",value:""!=e.listMatirxPermission,expression:"listMatirxPermission != ''"}]},[e._m(3),e._m(4),e._l(e.listMatirxPermission,(function(t){return a("td",{key:t.id,staticClass:"topaccept bg_gray",staticStyle:{"background-color":"#e2e2e2"},attrs:{id:t.sysCode}},[a("div",[e._v("编码"+e._s(t.sysCode))])])}))],2),a("tr",{directives:[{name:"show",rawName:"v-show",value:""!=e.listMatirxPermission,expression:"listMatirxPermission != ''"}],staticClass:"tb2 bordertable",attrs:{cellspacing:"0"}},[e._m(5),e._m(6),e._l(e.listMatirxPermission,(function(t){return a("td",{key:t.id,staticClass:"topinput",attrs:{id:t.sysCode}},[a("div",[e._v(e._s(t.nodeName))])])}))],2),e._l(e.listMatirxPermission,(function(t,i){return a("tr",{key:t.id,attrs:{id:t.sysCode}},[a("th",{staticClass:"indexlistItem"},[a("div",[e._v(e._s(i))])]),a("th",{staticClass:"collabel"},[a("div",[e._v(e._s(t.nodeName))])]),e._l(t.listNodePerm,(function(s,n){return a("td",{key:s.id,class:n%2==1&&n>i||i%2==1&&n<i?"matixTdColor":n==i?"matixEquallyName":"whiteSpace",attrs:{id:s.permCode},on:{contextmenu:function(a){return e.MatrixLookInfoMenu(a,n,s,t)},mouseenter:function(t){return e.matirxMouseEnter(i,s)}}},[a("div",[t.sysCode!=s.permCode?a("i",{class:1==s.permission?" circle_actived ":"circle_defualt"}):e._e(),t.sysCode==s.permCode?a("div",{staticClass:"nullbg",staticStyle:{"text-align":"center","font-size":"12px"}},[e._v(" "+e._s(t.nodeName)+" ")]):e._e()])])}))],2)}))],2)])])])])])]):e._e(),2==e.mainPane?a("div",{staticClass:"admin_contentBox_bodyPain"},[e._m(7),e._m(8),a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"topOption"},[a("div",{staticClass:"topoption"},[a("div",{staticClass:"fl"},[a("button",{staticClass:"EC_button shadow bt_small_20 mr-5",attrs:{type:"button"},on:{click:e.backmodlemain}},[e._v(" 退出 ")]),a("button",{staticClass:"EC_button shadow bt_small_20 mr-5",attrs:{type:"button"},on:{click:e.newInsertFolder}},[e._v(" 新建节点 ")])]),a("div",{staticClass:"fr"},[e.eidtModelpane?a("button",{staticClass:"EC_button shadow bt_small_20 mr-5",attrs:{type:"button"}},[e._v(" 删除模板 ")]):e._e()])])])]),a("div",{staticClass:"clear"}),a("div",{staticClass:"mt-5"},[a("div",{staticClass:"wenjianjialiebiao mlr-10"},[a("div",{staticClass:"mianbaoxiedinwei"},[a("el-breadcrumb",{staticStyle:{cursor:"pointer","margin-bottom":"10px"},attrs:{"separator-class":"el-icon-arrow-left"}},[e.breadcrumb_item.length>1?a("el-breadcrumb-item",[a("span",{on:{click:function(t){return e.backUp()}}},[a("i",{staticClass:"backprevIcon el-icon-arrow-left"})])]):e._e(),e._l(e.breadcrumb_item,(function(t,i){return a("el-breadcrumb-item",{key:i},[a("span",{on:{click:function(a){return e.getbreadcrumb(t,i)}}},[e._v(e._s(t.nodeName))])])}))],2)],1),[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.listWorkFolderTable},on:{"row-contextmenu":e.tableRightClick}},[a("el-table-column",{attrs:{prop:"",label:"",width:"36"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("img",{attrs:{src:"/static/img/icon_file.png"}})]}}],null,!1,3948577977)}),a("el-table-column",{attrs:{prop:"nodeName",label:""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{staticStyle:{cursor:"pointer"},on:{click:function(a){return e.getFolderNodeData(t.row)}}},[e._v(e._s(t.row.nodeName))])]}}],null,!1,790194702)}),1==e.eidtFiles?a("el-table-column",{attrs:{label:"操作",width:"150px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{staticClass:"option_grayBtn ml-20",on:{click:function(a){return e.reNameFolder(t.row)}}},[e._v("重命名")]),a("span",{staticClass:"option_grayBtn ml-20",on:{click:function(a){return e.delFolder(t.row)}}},[e._v("删除")])]}}],null,!1,2104173712)}):e._e()],1)]],2),void 0],2),a("div",{staticClass:"clear"}),a("div",{staticClass:"largecontentBox",staticStyle:{display:"none"}},[a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"yiyunTable_list"},[a("div",{staticClass:"mt-5"},[a("el-breadcrumb",{staticStyle:{cursor:"pointer","margin-bottom":"10px"},attrs:{"separator-class":"el-icon-arrow-right"}},[e.breadcrumb_item.length>1?a("el-breadcrumb-item",[a("span",{on:{click:function(t){return e.backUp()}}},[e._v("返回上一级 ")])]):e._e(),e._l(e.breadcrumb_item,(function(t,i){return a("el-breadcrumb-item",{key:i},[a("span",{on:{click:function(a){return e.getbreadcrumb(t,i)}}},[e._v(e._s(t.nodeName))])])}))],2),[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.listWorkFolderTable},on:{"row-contextmenu":e.tableRightClick}},[a("el-table-column",{attrs:{prop:"",label:"",width:"36"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("img",{attrs:{src:"/static/img/icon_file.png"}})]}}],null,!1,3948577977)}),a("el-table-column",{attrs:{prop:"nodeName",label:"工作文件夹"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{staticStyle:{cursor:"pointer"},on:{click:function(a){return e.getFolderNodeData(t.row)}}},[e._v(e._s(t.row.nodeName))])]}}],null,!1,790194702)}),1==e.eidtFiles?a("el-table-column",{attrs:{label:"操作",width:"150px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{staticClass:"option_grayBtn ml-20",on:{click:function(a){return e.reNameFolder(t.row)}}},[e._v("重命名")]),a("span",{staticClass:"option_grayBtn ml-20",on:{click:function(a){return e.delFolder(t.row)}}},[e._v("删除")])]}}],null,!1,2104173712)}):e._e()],1)]],2)])])]),a("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowMatrixTemplatePane,expression:"isShowMatrixTemplatePane"}],staticClass:"largecontentBox"},[a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"yiyunTable_list"},[a("div",{staticClass:"mt-10"}),a("div",[a("div",{staticClass:"contain"},[a("table",{staticClass:"tb1 bordertable",attrs:{cellspacing:"0",id:"tablestyle"}},[a("tr",{directives:[{name:"show",rawName:"v-show",value:""!=e.listMatirxPermission,expression:"listMatirxPermission != ''"}]},[e._m(9),e._m(10),e._l(e.listMatirxPermission,(function(t){return a("td",{key:t.id,staticClass:"topaccept bg_gray",staticStyle:{"background-color":"#e2e2e2"},attrs:{id:t.sysCode}},[a("div",[e._v("编码"+e._s(t.sysCode))])])}))],2),a("tr",{directives:[{name:"show",rawName:"v-show",value:""!=e.listMatirxPermission,expression:"listMatirxPermission != ''"}],staticClass:"tb2 bordertable",attrs:{cellspacing:"0"}},[e._m(11),e._m(12),e._l(e.listMatirxPermission,(function(t){return a("td",{key:t.id,staticClass:"topinput",attrs:{id:t.sysCode}},[a("div",[e._v(e._s(t.nodeName))])])}))],2),e._l(e.listMatirxPermission,(function(t,i){return a("tr",{key:t.id,attrs:{id:t.sysCode}},[a("th",{staticClass:"indexlistItem"},[a("div",[e._v(e._s(i))])]),a("th",{staticClass:"collabel"},[a("div",[e._v(e._s(t.nodeName))])]),e._l(t.listNodePerm,(function(s,n){return a("td",{key:s.id,class:n%2==1&&n>i||i%2==1&&n<i?"matixTdColor":n==i?"matixEquallyName":"whiteSpace",attrs:{id:s.permCode},on:{contextmenu:function(a){return e.MatrixLookInfoMenu(a,n,s,t)},mouseenter:function(t){return e.matirxMouseEnter(i,s)}}},[a("div",[t.sysCode!=s.permCode?a("i",{class:1==s.permission?" circle_actived ":"circle_defualt"}):e._e(),t.sysCode==s.permCode?a("div",{staticClass:"nullbg",staticStyle:{"text-align":"center","font-size":"12px"}},[e._v(" "+e._s(t.nodeName)+" ")]):e._e()])])}))],2)}))],2)])])])])])]):e._e()]),a("div",{directives:[{name:"show",rawName:"v-show",value:2==e.contentpain,expression:"contentpain == 2"},{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"admin_contentBox_body",attrs:{"element-loading-text":"正在新建模板,请稍候..."}},[a("div",{staticClass:"admin_contentBox_bodyPain"},[a("div",{staticClass:"mlr-10"},[a("h4",{staticClass:"admintitle"},[e._v(e._s(e.createIndustryName))])]),e._m(13),a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"topOption"},[a("div",{staticClass:"topoption"},[1==e.isShowNewIndustry?a("div",{staticClass:"fl"},[a("el-button",{attrs:{type:"primary"},on:{click:e.saveNewInfustry}},[e._v("保存设置")]),a("el-button",{attrs:{type:"text"},on:{click:e.cacelNewInfustry}},[e._v("取消")])],1):e._e(),1==e.isShowModelpanel?a("div",{staticClass:"fl"},[a("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.modifyTemplate("createTemplateForm")}}},[e._v("保存并上传")]),a("el-button",{attrs:{type:"text"},on:{click:e.cacelInsertTemplate}},[e._v("取消")])],1):e._e()])])]),a("div",{staticClass:"clear"}),a("div",{staticClass:"yiyunTable_list mt-10"},[1==e.isShowLookIndustryInfo?a("el-form",{ref:"form",attrs:{"label-width":"100px","label-position":"left"}},[a("div",{staticClass:"yiyunTable_list_item"},[a("div",{staticClass:"UserEditinfoBox DivInputHeight"},[a("div",{staticClass:"yiyun_col-12"},[a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"大行业名称:"}},[a("div",{staticClass:"boolEdit_Input"},[a("span",[e._v(e._s(e.lookIndustryBigName))])])])],1)])]),a("div",{staticClass:"yiyun_col-12"},[a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"子行业名称:"}},[a("div",{staticClass:"boolEdit_Input"},[a("span",[e._v(e._s(e.lookIndustrySonName))])])])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"行业编码:"}},[a("div",{staticClass:"boolEdit_Input"},[a("span",[e._v(e._s(e.lookIndustryCode))])])])],1)])])])])]):e._e(),1==e.isShowNewIndustry?a("el-form",{ref:"form",attrs:{"label-width":"100px","label-position":"left"}},[a("div",{staticClass:"yiyunTable_list_item"},[a("div",{staticClass:"UserEditinfoBox DivInputHeight"},[1==e.isShowBigIndustry?a("div",[a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"大行业*"}},[a("div",{staticClass:"boolEdit_Input"},[a("el-select",{attrs:{placeholder:"请选择"},on:{change:e.getSonIndustry},model:{value:e.selectBigIndustryIndex,callback:function(t){e.selectBigIndustryIndex=t},expression:"selectBigIndustryIndex"}},e._l(e.topIndList,(function(e){return a("el-option",{key:e.Id,attrs:{label:e.Name,value:e.Id}})})),1)],1)])],1)]),1==e.isShowSonIndustry?a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"子行业*"}},[a("div",{staticClass:"boolEdit_Input"},[a("el-select",{attrs:{placeholder:"子行业名称"},model:{value:e.selectSonIndustryIndex,callback:function(t){e.selectSonIndustryIndex=t},expression:"selectSonIndustryIndex"}},e._l(e.level2IndList,(function(e){return a("el-option",{key:e.Id,attrs:{label:e.Name,value:e.Id}})})),1)],1)])],1)]):e._e()]):e._e(),a("div",{staticClass:"clear"}),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"行业名称*"}},[a("div",{staticClass:"boolEdit_Input"},[a("el-input",{attrs:{placeholder:"行业名称"},model:{value:e.industryName,callback:function(t){e.industryName=t},expression:"industryName"}})],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"行业代码*"}},[a("div",{staticClass:"boolEdit_Input"},[a("el-input",{attrs:{placeholder:"行业代码"},model:{value:e.industryCode,callback:function(t){e.industryCode=t},expression:"industryCode"}})],1)])],1)])])])]):e._e(),e.isShowModelpanel?a("el-form",{ref:"tempform",attrs:{model:e.editTemplateData,rules:e.templateRules,"label-width":"120px","label-position":"right"}},[a("div",{staticClass:"yiyunTable_list_item"},[a("div",{staticClass:"UserEditinfoBox DivInputHeight"},[a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"模板名称:",prop:"Temple.TempName"}},[a("div",{staticClass:"boolEdit_Input"},[a("el-input",{attrs:{placeholder:"模板名称"},model:{value:e.editTemplateData.Temple.TempName,callback:function(t){e.$set(e.editTemplateData.Temple,"TempName",t)},expression:"editTemplateData.Temple.TempName"}})],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"XMind文件:",required:""}},[a("div",{staticClass:"boolEdit_Input"},[a("div",[a("file-uploader",{staticClass:"upload-xmind",attrs:{"http-request":e.uploadXMindFile,"on-success":e.onUploadSuccess}},[a("el-button",[e._v("上传XMind文件")]),e.isXimdUpLoadSuccess?a("div",{staticClass:"ximd-upload-tips"},[a("i",{staticClass:"el-icon-success"})]):e._e()],1)],1)])])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"大行业:",prop:"Temple.FirstIndustryId"}},[a("div",{staticClass:"boolEdit_Input"},[a("el-select",{attrs:{placeholder:"请选择"},on:{change:e.getSonIndustry},model:{value:e.editTemplateData.Temple.FirstIndustryId,callback:function(t){e.$set(e.editTemplateData.Temple,"FirstIndustryId",t)},expression:"editTemplateData.Temple.FirstIndustryId"}},e._l(e.topIndList,(function(e){return a("el-option",{key:e.Id,attrs:{label:e.Name,value:e.Id}})})),1)],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"子行业:",prop:"Temple.DetailIndustryId"}},[a("div",{staticClass:"boolEdit_Input"},[a("el-select",{attrs:{placeholder:"请选择"},on:{change:e.refreshFormData},model:{value:e.editTemplateData.Temple.DetailIndustryId,callback:function(t){e.$set(e.editTemplateData.Temple,"DetailIndustryId",t)},expression:"editTemplateData.Temple.DetailIndustryId"}},e._l(e.level2IndList,(function(e){return a("el-option",{key:e.Id,attrs:{label:e.Name,value:e.Id}})})),1)],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"细分行业:"}},[a("div",{staticClass:"boolEdit_Input"},[a("el-input",{attrs:{placeholder:"细分行业"},model:{value:e.editTemplateData.IndLevel3,callback:function(t){e.$set(e.editTemplateData,"IndLevel3",t)},expression:"editTemplateData.IndLevel3"}})],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"自定义:"}},[a("div",{staticClass:"boolEdit_Input"},[a("el-input",{attrs:{placeholder:"自定义"},model:{value:e.editTemplateData.IndLevel4,callback:function(t){e.$set(e.editTemplateData,"IndLevel4",t)},expression:"editTemplateData.IndLevel4"}})],1)])],1)]),a("div",{staticClass:"yiyun_col-12"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"介绍:"}},[a("div",{staticClass:"boolEdit_Input"},[a("el-input",{attrs:{placeholder:"请输入模板简介"},model:{value:e.editTemplateData.Temple.Introduce,callback:function(t){e.$set(e.editTemplateData.Temple,"Introduce",t)},expression:"editTemplateData.Temple.Introduce"}})],1)])],1)])])]),a("div",{staticClass:"clear"}),a("div",{staticClass:"yiyunTable_list_item"},[a("div",{staticClass:"mlr-10"},[a("h3",{staticClass:"secondListTitle"},[e._v("模板概况")])]),a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line_light"})]),a("div",{staticClass:"yiyun_col-12"},[e._l(e.editTemplateData.TempleProperties,(function(t){return a("div",{key:t.Id,staticClass:"yiyun_col-6"},[a("div",{staticClass:"UserEditinfoBox DivInputHeight"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"自定义字段"}},[a("div",{staticClass:"boolEdit_Input noshodow"},[a("el-input",{attrs:{autofocus:!0},model:{value:t.PropertyName,callback:function(a){e.$set(t,"PropertyName",a)},expression:"item.PropertyName"}},[a("i",{staticClass:"el-icon-close el-input__icon deletIocn",attrs:{slot:"suffix",title:"删除"},on:{click:function(a){return e.removeProperty(t,e.editTemplateData)}},slot:"suffix"})])],1)])],1)])])})),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"UserEditinfoBox DivInputHeight"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"自定义字段"}},[a("div",{staticClass:"boolEdit_Input"},[a("el-button",{staticClass:"defualtLarge block-btn",on:{click:function(t){return e.addProperty(e.editTemplateData)}}},[e._v("新增填写项目")])],1)])],1)])])],2),a("div",{staticClass:"clear"})])]):e._e()],1)])]),a("div",{directives:[{name:"show",rawName:"v-show",value:3==e.contentpain,expression:"contentpain == 3"}],staticClass:"admin_contentBox_body"},[e._m(14),a("div",{staticClass:"admin_contentBox_bodyPain"},[e._m(15),a("div",{staticClass:"yiyunTable_list"},[a("el-form",{ref:"form",attrs:{"label-width":"110px","label-position":"left"}},[a("div",{staticClass:"yiyunTable_list_item"},[a("div",{class:e.el_formLabelcolor+" UserEditinfoBox DivInputHeight"},[a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"模板总数:"}},[a("div",[e._v(e._s(e.listTemplateClassify.length)+"个")])])],1)])])])])],1),a("div",{staticClass:"ml-10 template-use-list"},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.listTemplateClassify}},[a("el-table-column",{attrs:{prop:"tempName",label:"模板",width:"240"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(t.row.tempName))])]}}])}),a("el-table-column",{attrs:{prop:"count",label:"使用数"},scopedSlots:e._u([{key:"default",fn:function(t){return[0==t.row.count?a("span",{staticClass:"processNullCss"},[e._v("无")]):e._e(),t.row.count>0?a("span",{staticClass:"processCss"},[e._v(e._s(t.row.count))]):e._e(),t.row.count>0?a("el-progress",{staticClass:"currZindex",attrs:{"text-inside":!0,"stroke-width":24,percentage:Math.round(t.row.count/t.row.totalCount*100),"show-text":!1,color:Math.round(t.row.count/t.row.totalCount*100)>=60?"#4A90E2":Math.round(t.row.count/t.row.totalCount*100)>=30?"#4AE2A6":Math.round(t.row.count/t.row.totalCount*100)>0?"#F8D12A":"white"}}):e._e()]}}])})],1)],1)])])])]),a("div",{directives:[{name:"show",rawName:"v-show",value:e.treeMenuVisible,expression:"treeMenuVisible"}]},[a("ul",{staticClass:"automenu",attrs:{id:"treeMenu"}},[a("li",{staticClass:"menu__item",on:{click:function(t){return t.stopPropagation(),e.reNameTemplate(t)}}},[e._v("重命名节点")])])]),a("div",{directives:[{name:"show",rawName:"v-show",value:e.tableMenuVisible,expression:"tableMenuVisible"}]},[a("ul",{staticClass:"automenu",attrs:{id:"tableMenu"}},[a("li",{staticClass:"menu__item",on:{click:e.newInsertFolder}},[e._v("新增文件夹")]),a("li",{staticClass:"menu__item",on:{click:function(t){return e.reNameFolder(1)}}},[e._v("重命名")]),a("li",{staticClass:"menu__item",on:{click:e.delFolder}},[e._v("删除")])])]),a("context-menu",{staticClass:"automenu",attrs:{id:"treeSpaceMenu",show:e.treeSpaceMenuVisible},on:{"update:show":function(t){return e.treeSpaceMenuVisible=t}}},[a("ul",[a("li",{staticClass:"menu__item",on:{click:e.createInsertTemplate}},[e._v("新增模板")]),a("li",{staticClass:"menu__item",on:{click:e.createLargeIndustry}},[e._v("新增行业")])])]),a("context-menu",{staticClass:"automenu",attrs:{id:"MatrixLookInfoMenu",show:e.MatrixLookInfoMenuVisible},on:{"update:show":function(t){return e.MatrixLookInfoMenuVisible=t}}},[a("ul",[a("li",{staticClass:"menu__item"},[e._v(e._s(e.matrixVerticalName))]),a("li",{staticClass:"menu__item"},[a("el-button",{class:e.btnMatrixLookInfo,on:{click:e.matrixRightNodeClick}},[e._v("输出数据")])],1),a("li",{staticClass:"menu__item"},[e._v(e._s(e.matrixHorizontalName))])])]),a("el-dialog",{staticStyle:{"margin-top":"8%"},attrs:{visible:e.isImportDialog,width:"28%","close-on-click-modal":!1,"close-on-press-escape":!1,"show-close":!1,center:""},on:{"update:visible":function(t){e.isImportDialog=t}}},[a("el-form",{staticClass:"editnone el-form-item__label",staticStyle:{"margin-left":"10%"}},[a("el-form-item",{attrs:{label:"模板名称:"}},[a("div",{staticClass:"eidit_Input"},[a("el-input",{model:{value:e.importTempName,callback:function(t){e.importTempName=t},expression:"importTempName"}})],1)]),a("el-form-item",{attrs:{label:"已选文件:"}},[a("el-input",{attrs:{disabled:!0},model:{value:e.importXmindName,callback:function(t){e.importXmindName=t},expression:"importXmindName"}})],1),a("div",{staticClass:"upHeadImg",staticStyle:{"margin-bottom":"30px"}})],1),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){return e.cancelImport()}}},[e._v("取 消")]),a("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.enterImport()}}},[e._v("确 定")])],1)],1)],1)},s=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"EC_col_8"},[a("div",{staticClass:"adminnavBox"},[a("h3",[e._v("模板列表")])])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"EC_col_8"},[a("div",{staticClass:"EC_searchBox"})])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line"})])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("th",{staticClass:"accptwid topaccept",staticStyle:{"background-color":"#fff"}},[a("div")])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("th",{staticClass:"topaccept bg_gray",staticStyle:{"background-color":"#e2e2e2"}},[a("div",[e._v("接收")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("th",{staticClass:"accptwid topinput"},[a("div",[e._v("输出")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("th",{staticClass:"topinput",staticStyle:{"background-color":"rgb(255, 210, 78)"}},[a("div",[e._v("矩阵节点")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"mlr-10"},[a("h4",{staticClass:"admintitle"},[e._v(" 列表查看模式 ")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line"})])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("th",{staticClass:"accptwid topaccept",staticStyle:{"background-color":"#fff"}},[a("div")])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("th",{staticClass:"topaccept bg_gray",staticStyle:{"background-color":"#e2e2e2"}},[a("div",[e._v("接收")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("th",{staticClass:"accptwid topinput"},[a("div",[e._v("输出")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("th",{staticClass:"topinput",staticStyle:{"background-color":"rgb(255, 210, 78)"}},[a("div",[e._v("矩阵节点")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line"})])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"mlr-10"},[a("h4",{staticClass:"admintitle"},[e._v("总体概况")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line"})])}],n=(a("99af"),a("4de4"),a("4160"),a("c975"),a("a15b"),a("baa5"),a("d81d"),a("13d5"),a("fb6a"),a("a434"),a("b0c0"),a("d3b7"),a("ac1f"),a("3ca3"),a("5319"),a("1276"),a("498a"),a("159b"),a("ddb0"),a("5530")),r=a("3835"),l=(a("96cf"),a("1da1")),o=a("b0f9"),c=a("b3b1"),u=a("9e5b"),d=a("3de1"),m=a("2ef0"),p=a("b775"),f={components:{FileUploader:u["a"]},data:function(){return{isShowEditBtn:!0,isShowSaveBtn:!1,isImportDialog:!1,eidtFiles:!1,treeMenuVisible:!1,treeSpaceMenuVisible:!1,tableMenuVisible:!1,tableSpaceMenuVisible:!1,MatrixLookInfoMenuVisible:!1,isShowZoom:!1,isShowMindTemplatePane:!1,isShowListTemplatePane:!0,isShowMatrixTemplatePane:!1,isShowLookIndustryInfo:!1,isShowNewIndustry:!1,isShowBigIndustry:!1,isShowSonIndustry:!1,isShowModelpanel:!1,isShowXmindBtn:!1,isShowTempInfo:!1,boolEdit:!1,el_formLabelcolor:"textlabelgray",listTemplateTree:[],listWorkFolderTable:[],breadcrumb_item:[{nodeName:"全部"}],contentpain:"1",templateID:"",templateName:"",superID:"",treeMenuClickData:[],tableMenuClickData:[],tableRightEventData:[],listTemplateMindTree:[],listMatirxPermission:[],matrixRightNodeData:"",createIndustryName:"",listBigIndustry:[],listSonIndustry:[],listDetailIndustry:[],listTemplateClassify:[],listTempProp:[],listTempIndustury:[],selectBigIndustryIndex:"",selectSonIndustryIndex:"",selectDetailIndustryIndex:"",currTemplateFullCode:"",industryName:"",industryCode:"",lookIndustryBigName:"",lookIndustryCode:"",lookIndustrySonName:"",newTemplateCustomCode:"",listProperty:[],introduce:"",newTemplateName:"",searhNodeName:"",mindZoom:.8,filterTreeText:"",chunkUploadUrl:"/api/webupload/chunks",uploadProjId:"123456852963",uploadCompId:sessionStorage.companyId,uploadTypeCover:2,uploadCoverTimes:0,importUrl:"",importTempName:"",importXmindName:"",uploadLabel:"选择XMind文件",matrixVerticalName:"",matrixHorizontalName:"",btnMatrixLookInfo:"martixLeaveColor",templateRules:{"Temple.TempName":[{required:!0,message:"请输入模板名称",trigger:["blur","change"]}],"Temple.FirstIndustryId":[{required:!0,message:"请选择大行业",trigger:"change"}],"Temple.DetailIndustryId":[{required:!0,message:"请选择子行业",trigger:"change"}]},editTemplateData:{Temple:{},ChildIndustry:"",TempleProperties:[]},currentTemplateData:{Temple:{},ChildIndustry:"",TempleProperties:[]},eidtModelpane:!1,ModelForm:{mName:"",used:!1,clock:!1,mparentType:"",mchildType:"",mgrandsonType:"",mcode:"",mNumber:"",mDesc:"",mself_1:"",mself_2:"",mself_3:"",mself_4:""},mainPane:"1",arrayIndustryID:[],loading:!1,nowCount:0,allIndList:[],topIndList:[],level2IndList:[],mapIndIdToIndName:{},mapIndIdToIndNode:{},isXimdUpLoadSuccess:!1}},created:function(){this.getListTemplateClassify(),this.getTemplateData()},methods:{getTempNameAndData:function(e,t){if(this.isShowIndustry(),"default"==e.id)this.contentpain=3;else if("template"===e.type){this.eidtModelpane&&this.cancelEdit();var a=e;this.contentpain=1,this.templateName=a.label,this.templateID=a.id,this.treeMenuClickData=a,this.getTemplateDetail(a.id),this.listMatirxPermission=[],this.breadcrumb_item=[{nodeName:"全部"}],this.isShowTempInfo=!0,this.nowCount=0}else{this.contentpain=2;var i=e,s=i.data.LevelId,n=s.split("-");if(n.length>0){var r=this.$refs.tree.getNode(n[0]);this.lookIndustryBigName=r.label}if(n.length>1){var l=this.$refs.tree.getNode(n[1]);this.lookIndustrySonName=l.label,this.lookIndustryCode=l.data.data.code}this.createIndustryName=i.label,this.isShowLookIndustryInfo=!0,this.selectBigIndustryIndex=0}},getListTemplateClassify:function(){var e=this;return Object(l["a"])(regeneratorRuntime.mark((function t(){var a,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$fetchApi("template/queryTemplateQuoteCount");case 2:a=t.sent,Object(p["c"])(a),i=a.Data||[],s=i.reduce((function(e,t){return(t.Count||0)+e}),0),e.listTemplateClassify=i.map((function(e){return{tempName:e.TempName,count:e.Count,totalCount:s}}));case 7:case"end":return t.stop()}}),t)})))()},getFolderNodeData:function(e){this.getFolderData(e.nodeID,e.templateID),this.templateID=e.templateID,this.breadcrumb_item.push(e)},getbreadcrumb:function(e,t){this.breadcrumb_item.length-1!=t&&("全部"==e.nodeName?this.getFolderData(this.templateID,this.templateID):this.getFolderData(e.nodeID,e.templateID));for(var a=0;a<this.breadcrumb_item.length;a++)a>t&&this.breadcrumb_item.splice(a)},backUp:function(){var e=this.breadcrumb_item.length-2;"全部"==this.breadcrumb_item[e].nodeName?this.getFolderData(this.templateID,this.templateID):this.getFolderData(this.breadcrumb_item[e].nodeID,this.breadcrumb_item[e].templateID),this.breadcrumb_item.splice(this.breadcrumb_item.length-1)},matirxMouseEnter:function(e,t){this.MatrixLookInfoMenuVisible=!1,this.mousueCheckChangeColor(e,"orange")},mousueCheckChangeColor:function(e,t){var a="";"orange"==t?a="2px solid orange":"green"==t&&(a="2px solid green");for(var i=0;i<document.querySelectorAll("td").length;i++)document.querySelectorAll("td")[i].style.border="",document.querySelectorAll("td")[i].id==this.listMatirxPermission[e].listNodePerm[e].permCode&&(document.querySelectorAll("td")[i].style.border=a);for(var s=0;s<document.querySelectorAll("tr").length;s++)document.querySelectorAll("tr")[s].style.border="",document.querySelectorAll("tr")[s].id==this.listMatirxPermission[e].sysCode&&(document.querySelectorAll("tr")[s].style.border=a)},searhTempNode:function(){for(var e=0;e<this.listMatirxPermission.length;e++)-1!=this.listMatirxPermission[e].nodeName.toLowerCase().indexOf(this.searhNodeName)&&this.mousueCheckChangeColor(e,"orange")},matrixRightNodeClick:function(){var e=this;0==e.matrixRightNodeData.permission?e.matrixRightNodeData.permission=1:1==e.matrixRightNodeData.permission&&(e.matrixRightNodeData.permission=0),this.$axios({method:"put",url:encodeURI("/api/Templates/nodes/perms/"+e.matrixRightNodeData.permid),data:e.matrixRightNodeData}).then((function(t){e.$notify({message:t.data.message,type:["success"],offset:100,duration:2500})})).catch((function(e){console.log(e)}))},getIndustryData:function(){var e=this;return Object(l["a"])(regeneratorRuntime.mark((function t(){var a,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(c["a"])();case 2:return a=t.sent,e.topIndList=a.filter((function(e){return 1===e.Level})),e.level2IndList=[],e.allIndList=a,i=a.reduce((function(e,t){return e[t.Id]=t.Name,e}),{}),e.mapIndIdToIndName=i,t.abrupt("return",a);case 9:case"end":return t.stop()}}),t)})))()},getTemplateData:function(){var e=this;return Object(l["a"])(regeneratorRuntime.mark((function t(){var a,i,s,n,l,c,u,d,m,p;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([o["n"](),e.getIndustryData()]);case 2:a=t.sent,i=Object(r["a"])(a,2),s=i[0],n=i[1],l=h(s.Data||[],n),c=Object(r["a"])(l,2),u=c[0],d=c[1],e.mapIndIdToIndNode=d,m=[{label:"总体概况",id:"default",data:{}}].concat(u),e.listTemplateTree=m,void 0!=e.$route.params.data?(p=e.$route.params.data,e.getTempNameAndData(p),setTimeout((function(){e.$refs.tree.setCurrentKey(p.id||"default")}),0)):(e.getTempNameAndData(m[0]),setTimeout((function(){e.$refs.tree.setCurrentKey("default")}),0));case 11:case"end":return t.stop()}}),t)})))()},getFolderData:function(e,t){},newInsertFolder:function(){var e=this,t=this;1==t.breadcrumb_item.length?t.superID=t.templateID:t.superID=t.breadcrumb_item[t.breadcrumb_item.length-1].nodeID,this.$prompt("请输入文件夹名称","新增",{confirmButtonText:"确定",cancelButtonText:"取消",inputPattern:/\S/,inputErrorMessage:"名称不能为空"}).then((function(a){var i=a.value;if(i.trim().length>50)t.$notify({message:"名称过长,最多可输入50个字",type:["warning"],offset:100,duration:2500});else{var s={templateID:t.templateID,superID:t.superID,nodeName:i,createUserID:sessionStorage.userId,modifyUserID:sessionStorage.userId};e.$axios({method:"post",url:encodeURI("/api/Templates/nodes"),data:s}).then((function(e){1==e.data.state?(t.$notify({message:"文件夹创建成功",type:["success"],duration:2500}),t.getFolderData(t.superID,t.templateID)):t.$notify({message:e.data.message,type:["error"],duration:2500})})).catch((function(e){console.log(e)}))}}))},modifyTemplate:function(){var e=this,t=this;t.$refs["tempform"].validate(function(){var a=Object(l["a"])(regeneratorRuntime.mark((function a(i){var s,n,r,l,c,u;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(i){a.next=2;break}return a.abrupt("return");case 2:if(s=Object(m["cloneDeep"])(e.editTemplateData),n=s.TempleProperties,r=!!s.Temple.Id,l=r?"编辑":"创建",r||s.Node&&0!==s.Node.length){a.next=9;break}return d["d"].warning("Xmind文件尚未上传。"),a.abrupt("return");case 9:return r&&(s.Temple.Disable=+s.Temple.Disable,s.Temple.Locked=+s.Temple.Locked),s.ChildIndustry=[s.IndLevel3,s.IndLevel4].filter((function(e){return e})).join(","),s.Templepeoperty=n.map((function(e){return e.PropertyName})).join(","),e.loading=!0,a.next=15,r?o["r"](s):o["d"](s);case 15:if(c=a.sent,t.loading=!1,0===c.Code){a.next=19;break}return a.abrupt("return");case 19:u=e.editTemplateData.Temple.TempName||"",d["d"].success("模板“".concat(u,"”").concat(l,"完成。")),r?(e.treeMenuClickData.data.tempName=e.editTemplateData.Temple.TempName,e.treeMenuClickData.label=e.editTemplateData.Temple.TempName,e.templateName=e.editTemplateData.Temple.TempName,e.isShowTempInfo=!0,e.eidtModelpane=!1,e.currentTemplateData=e.editTemplateData):(t.isShowModelpanel=!1,t.isShowLookIndustryInfo=!0,t.getTemplateData(),t.getListTemplateClassify());case 22:case"end":return a.stop()}}),a)})));return function(e){return a.apply(this,arguments)}}())},reNameFolder:function(e){var t=this,a=this;1!=e&&(a.tableMenuClickData=e);var i=a.tableMenuClickData;this.$prompt("当前文件夹名称: "+i.nodeName,"重命名",{confirmButtonText:"确定",cancelButtonText:"取消",inputPattern:/\S/,inputErrorMessage:"名称不能为空"}).then((function(e){var s=e.value;s.trim().length>50?a.$notify({message:"名称过长,最多可输入50个字",type:["warning"],offset:100,duration:2500}):(i.nodeName=s,t.$axios({method:"put",url:encodeURI("/api/Templates/nodes/"),data:i}).then((function(e){1==e.data.state&&a.$notify({message:"重命名成功",type:["success"],offset:100,duration:2500})})).catch((function(e){console.log(e)})))})).catch((function(){a.$notify.warning({message:"操作已取消",offset:100,duration:2500})})),this.tableMenuClickData=[]},delFolder:function(e){var t=this,a=this;0==a.tableMenuClickData.length&&(a.tableMenuClickData=e);var i=a.tableMenuClickData.nodeName,s=a.tableMenuClickData.nodeID,n=a.tableMenuClickData.superID,r=a.tableMenuClickData.templateID;this.$confirm("您正在删除 "+i+" 文件夹是否继续?","",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){t.$axios({method:"delete",url:encodeURI("/api/Templates/nodes/"+s+"/"+i+"/"+sessionStorage.userId)}).then((function(e){a.$notify({message:e.data.message,type:["success"],offset:100,duration:2500}),a.getFolderData(n,r)})).catch((function(e){console.log(e)}))})),this.tableMenuClickData=[]},reNameTemplate:function(){var e,t,a=this,i=this;1==i.treeMenuClickData.isLeaf?(e=i.treeMenuClickData.data.tempName,t="模板重命名"):(e=i.treeMenuClickData.data.name,t="行业重命名"),this.$prompt("当前名称: "+i.treeMenuClickData.label,t,{confirmButtonText:"确定",cancelButtonText:"取消",inputPattern:/\S/,inputValue:e,inputErrorMessage:"名称不能为空"}).then(function(){var e=Object(l["a"])(regeneratorRuntime.mark((function e(t){var s,n,r,l,u;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(s=t.value,1!=i.treeMenuClickData.isLeaf){e.next=9;break}return n={id:i.treeMenuClickData.id,tempName:s},e.next=5,o["q"](n);case 5:r=e.sent,0==r.Code&&(a.$notify({message:"模板重命名成功",type:"success"}),i.treeMenuClickData.data.tempName=s,a.currentTemplateData.Temple.TempName=s,a.templateName=s,i.treeMenuClickData.label=s),e.next=14;break;case 9:return l={id:i.treeMenuClickData.id,industryName:s},e.next=12,Object(c["b"])(l);case 12:u=e.sent,0==u.Code&&(a.$notify({message:"行业重命名成功",type:"success"}),i.treeMenuClickData.data.name=s,i.createIndustryName=s,i.treeMenuClickData.label=s);case 14:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(){i.$notify.warning({message:"操作已取消",offset:100,duration:2500})}))},disableTemplate:function(){var e=this,t=this;this.$confirm("当前模板名称: "+t.treeMenuClickData.tempName,"禁用",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){t.treeMenuClickData.disable=1,e.$axios({method:"put",url:encodeURI("/api/Templates/"),data:t.treeMenuClickData}).then((function(e){1==e.data.state&&t.$notify({message:"禁用模板成功",type:["success"],offset:100,duration:2500}),t.getTemplateData()})).catch((function(e){console.log(e)}))})).catch((function(){t.$notify.warning({message:"操作已取消",offset:100,duration:2500})}))},delTemplate:function(){var e=this;if(0!=this.treeMenuClickData.isLeaf){var t=this;this.$confirm("您正在删除 "+t.treeMenuClickData.label+" 模板是否继续?","删除",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){e.$axios({method:"delete",url:encodeURI("/api/Templates/"+t.treeMenuClickData.data.templateID+"/"+t.treeMenuClickData.label+"/"+sessionStorage.userId)}).then((function(e){t.$notify({message:e.data.message,type:["success"],offset:100,duration:2500}),t.$refs.tree.remove(t.treeMenuClickData)})).catch((function(e){console.log(e)}))}))}else this.deleteIndustry(this.treeMenuClickData)},delTemplateClick:function(){var e=this;return Object(l["a"])(regeneratorRuntime.mark((function t(){var a,i,s,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.currentTemplateData,i=a.Temple.Id,t.next=4,o["p"](i);case 4:if(s=t.sent,n=a.Temple.TempName||"",!(0==s.Code&&s.Data>0)){t.next=9;break}return e.$notify({type:["error"],message:"当前有项目使用该模板 无法删除模板"}),t.abrupt("return");case 9:e.$confirm("您正在删除 ["+n+"] 模板是否继续?",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(Object(l["a"])(regeneratorRuntime.mark((function t(){var i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["f"](a.Temple.Id);case 2:if(i=t.sent,0===i.Code){t.next=5;break}return t.abrupt("return");case 5:d["d"].success("模板“".concat(n,"”删除成功")),e.getTemplateData(),e.getListTemplateClassify();case 8:case"end":return t.stop()}}),t)}))));case 10:case"end":return t.stop()}}),t)})))()},importXmind:function(){this.isImportDialog=!0,this.importXmindName="",this.importTempName="",this.importUrl=""},enterImport:function(){var e=this,t="",a="";if(0==this.treeMenuClickData.isLeaf&&3==this.treeMenuClickData.data.level){var i=this.treeMenuClickData.data.levelID.split("-");t=i[0],a=i[2]}else 1==this.treeMenuClickData.isLeaf&&(t=this.treeMenuClickData.data.firstIndustryID,a=this.treeMenuClickData.data.detailIndustryID);var s=this;if(s.uploadCoverTimes>0){var n={xMindFilePath:s.importUrl.replace("\\","\\\\"),tempName:s.importTempName,type:0,firstIndustryID:t,detailIndustryID:a,companyId:sessionStorage.companyId,userId:sessionStorage.userId};this.$axios({method:"post",url:encodeURI("/api/templates/XMind"),data:n}).then((function(t){s.$notify({message:t.data.message,type:["success"],offset:100,duration:2500}),e.isImportDialog=!1,e.getTemplateData()})).catch((function(e){console.log(e)}))}},getMatirxPermission:function(){var e=this,t=this;this.$axios({method:"get",url:encodeURI("/api/templates/nodes/tree/"+t.templateID)}).then((function(a){for(var i=a.data,s=0;s<i.length;s++)t.listMatirxPermission.push(i[s]),e.getData(i[s])})).catch((function(e){console.log(e)}))},getData:function(e){if(e.listChildren.length>0)for(var t=0;t<e.listChildren.length;t++)this.listMatirxPermission.push(e.listChildren[t]),this.getData(e.listChildren[t])},saveNewInfustry:function(){var e=this,t="";"新增大行业"==this.createIndustryName?t="":"新增子行业"==this.createIndustryName?t=this.listTemplateTree[this.selectBigIndustryIndex].id:"新增细分行业"==this.createIndustryName&&(t=this.listSonIndustry[this.selectSonIndustryIndex].id);var a=this,i={createUserID:sessionStorage.userId,code:a.industryCode,name:a.industryName,superID:t};this.$axios({method:"post",url:encodeURI("/api/sysinfo/industury"),data:i}).then((function(t){a.$notify({message:t.data.message,type:["success"],offset:100,duration:2500}),e.cacelNewInfustry(),a.getTemplateData()})).catch((function(e){console.log(e)}))},deleteIndustry:function(e){var t=this,a=this;this.$confirm("您正在删除 "+e.label+" 是否继续?","",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){t.$axios({method:"delete",url:encodeURI("/api/sysinfo/industury/"+e.id+"/"+e.label+"/"+sessionStorage.userId)}).then((function(t){a.$notify({message:t.data.message,type:["success"],offset:100,duration:2500}),a.$refs.tree.remove(e)})).catch((function(e){console.log(e)}))}))},cancelImport:function(){this.isImportDialog=!1},treeRightClick:function(e,t,a,i){this.closeMenu(),this.treeMenuVisible=!0;var s=document.querySelector("#treeMenu");this.styleMenu(s),this.treeMenuClickData=t,1==this.treeMenuClickData.isLeaf||3==this.treeMenuClickData.data.level?this.isShowXmindBtn=!0:this.isShowXmindBtn=!1},foo:function(){this.closeMenu(),document.removeEventListener("click",this.foo),this.tableRightEventData=[]},tableRightClick:function(e,t){this.tableRightEventData=t,this.closeMenu(),this.tableMenuVisible=!0;var a=document.querySelector("#tableMenu");this.styleMenu(a),this.tableMenuClickData=e},tableSpaceMenu:function(e){if(0==this.tableRightEventData.length&&1==this.isShowListTemplatePane){this.closeMenu(),this.tableSpaceMenuVisible=!0;var t=document.querySelector("#tableSpaceMenu");this.styleMenu(t)}},treeSpaceMenu:function(e){this.closeMenu(),this.treeSpaceMenuVisible=!0;var t=document.querySelector("#treeSpaceMenu");this.styleMenu(t)},MatrixLookInfoMenu:function(e,t,a,i){this.closeMenu(),this.MatrixLookInfoMenuVisible=!0,this.mousueCheckChangeColor(t,"green"),1==a.permission?this.btnMatrixLookInfo="btnMatrixLookInfo":this.btnMatrixLookInfo="martixLeaveColor",this.matrixVerticalName=this.listMatirxPermission[t].nodeName,this.matrixHorizontalName=i.nodeName;var s=document.querySelector("#MatrixLookInfoMenu");this.styleMenu(s),this.matrixRightNodeData=a},closeMenu:function(){this.treeSpaceMenuVisible=!1,this.tableSpaceMenuVisible=!1,this.treeMenuVisible=!1,this.tableMenuVisible=!1,this.MatrixLookInfoMenuVisible=!1},styleMenu:function(e){event.clientX>1800?e.style.left=event.clientX-100+"px":e.style.left=event.clientX+1+"px",document.addEventListener("click",this.foo),event.clientY>700?1==this.treeMenuVisible?e.style.top=event.clientY-150+"px":1==this.MatrixLookInfoMenuVisible?e.style.top=event.clientY-100+"px":e.style.top=event.clientY-30+"px":e.style.top=event.clientY-10+"px"},coverUploadSuccess:function(e){this.uploadCoverTimes=this.uploadCoverTimes+1,this.importUrl=e.filePath,this.importXmindName=e.fileName},uploadXMindFile:function(e){var t=e.file;return o["s"](t)},onUploadSuccess:function(e){var t=e.response;0===t.Code?(d["d"].success("Xmind文件解析成功。"),this.editTemplateData.Node=t.Data,this.isXimdUpLoadSuccess=!0):d["d"].warning("请上传正确的Xmind文件。")},createLargeIndustry:function(){this.isShowIndustry(),this.createIndustryName="新增大行业",this.isShowNewIndustry=!0},createChildIndustry:function(e){var t;switch(this.isShowIndustry(),this.createIndustryName="新增子行业",this.isShowBigIndustry=!0,this.isShowNewIndustry=!0,e.level){case 1:t=this.$refs.tree.getNode(e.industryID),this.selectBigIndustryIndex=this.listTemplateTree.lastIndexOf(t.data);break;case 2:t=this.$refs.tree.getNode(e.superID),this.selectBigIndustryIndex=this.listTemplateTree.lastIndexOf(t.data);break}},createNextChildIndustry:function(e){var t,a;switch(this.isShowIndustry(),this.createIndustryName="新增细分行业",this.isShowBigIndustry=!0,this.isShowSonIndustry=!0,this.isShowNewIndustry=!0,e.level){case 2:t=this.$refs.tree.getNode(e.superID),this.selectBigIndustryIndex=this.listTemplateTree.lastIndexOf(t.data),this.listSonIndustry=this.listTemplateTree[this.selectBigIndustryIndex].children,a=this.$refs.tree.getNode(e.industryID),this.selectSonIndustryIndex=this.listSonIndustry.lastIndexOf(a.data);break;case 3:a=this.$refs.tree.getNode(e.superID),t=this.$refs.tree.getNode(a.data.data.superID),this.selectBigIndustryIndex=this.listTemplateTree.lastIndexOf(t.data),this.listSonIndustry=this.listTemplateTree[this.selectBigIndustryIndex].children,this.selectSonIndustryIndex=this.listSonIndustry.lastIndexOf(a.data);break}},createInsertTemplate:function(){this.isShowIndustry(),this.importXmindName="",this.createIndustryName="新增模板",this.isShowModelpanel=!0,this.isXimdUpLoadSuccess=!1},isShowIndustry:function(){this.contentpain="2",this.isShowNewIndustry=!1,this.isShowBigIndustry=!1,this.isShowSonIndustry=!1,this.isShowModelpanel=!1,this.isShowLookIndustryInfo=!1,this.isShowTempInfo=!1,this.clearNewInsertInfo()},cacelNewInfustry:function(){this.isShowNewIndustry=!1,this.isShowLookIndustryInfo=!0},cacelInsertTemplate:function(){var e=this;this.$confirm("取消操作会清除当前所填写的模板信息,是否确认取消?","",{confirmButtonText:"确定",cancelButtonText:"返回",type:"warning",showClose:!1}).then((function(){e.isShowModelpanel=!1,e.isShowLookIndustryInfo=!1,e.getListTemplateClassify(),e.contentpain=3}))},clearNewInsertInfo:function(){this.listBigIndustry=[],this.listSonIndustry=[],this.listDetailIndustry=[],this.listProperty=[],this.industryName="",this.industryCode="",this.selectSonIndustryIndex="",this.selectDetailIndustryIndex="",this.selectBigIndustryIndex="",this.newTemplateName="",this.newTemplateCustomCode="",this.currTemplateFullCode="",this.currentTemplateData={Temple:{},TempleProperties:[]},this.editTemplateData={Temple:{},TempleProperties:[]}},getSonIndustry:function(e){this.level2IndList=this.allIndList.filter((function(t){return 2===t.Level&&t.SuperId===e})),this.currentTemplateData.Temple.DetailIndustryId=void 0,this.editTemplateData.Temple.DetailIndustryId=void 0},refreshFormData:function(){this.editTemplateData.Temple=Object(n["a"])({},this.editTemplateData.Temple)},filterTreeNode:function(e,t){return!e||-1!==t.label.indexOf(e)},addProperty:function(e){var t={PropertyName:"",Id:"".concat(Math.random()).slice(2,6),CreateTime:new Date};e.TempleProperties.push(t)},removeProperty:function(e,t){t.TempleProperties=t.TempleProperties.filter((function(t){return t!==e}))},editmodelInfo:function(){this.isShowTempInfo=!1,this.eidtModelpane=!0;var e=this.editTemplateData=Object(m["cloneDeep"])(this.currentTemplateData);this.level2IndList=this.allIndList.filter((function(t){return 2===t.Level&&t.SuperId===e.Temple.FirstIndustryId}))},cancelEdit:function(){this.isShowTempInfo=!0,this.eidtModelpane=!1},savemodelInfo:function(){this.modifyTemplate("editTemplateForm")},goscanList:function(){this.mainPane="2"},goNodeFile:function(){this.$router.push({name:"system_template_file",params:{id:this.templateID,data:this.treeMenuClickData}})},goscanMind:function(){sessionStorage.templateID=this.templateID,this.$router.push({name:"system_template_mind",params:{name:this.templateName,id:this.templateID,data:this.treeMenuClickData}})},goscanMatrix:function(){this.$router.push({name:"system_template_matrix",params:{name:this.templateName,id:this.templateID,data:this.treeMenuClickData}})},backmodlemain:function(){this.mainPane="1"},toNodeFile:function(){var e=this.currentTemplateData;this.$router.push({name:"system_template_file",params:{id:e.Temple.Id,data:e.Temple}})},getTemplateDetail:function(e){var t=this;return Object(l["a"])(regeneratorRuntime.mark((function a(){var i,s,n,l,c,u,d,m,p,f,h,v,b;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,Promise.all([o["m"](e),o["p"](e)]);case 2:if(i=a.sent,s=Object(r["a"])(i,2),n=s[0],l=s[1],c=t.mapIndIdToIndNode,t.nowCount=l.Data||0,0===n.Code){a.next=10;break}return a.abrupt("return");case 10:u=n.Data,d=u.propertys,m=u.template,p=d.map((function(e){return e.Id=e.Id||e.PropertyName,e})),f=t.currentTemplateData={Temple:m,TempleProperties:p},h=m.CustomCode,h&&"0"!==h&&(v=c[h],4===v.data.Level?(f.IndLevel4=v.label,b=c[v.parentId],f.IndLevel3=b.label):f.IndLevel3=v.label),f.Temple.Disable="".concat(f.Temple.Disable),f.Temple.Locked="".concat(f.Temple.Locked);case 17:case"end":return a.stop()}}),a)})))()}},watch:{filterTreeText:function(e){this.$refs.tree.filter(e)}}};function h(e,t){var a={},i=e.reduce((function(e,t){var a="0"!==t.CustomCode&&t.CustomCode?t.CustomCode:void 0,i=a||t.DetailIndustryId,s={id:t.Id,label:t.TempName,parentId:i,isLeaf:!0,type:"template",data:t};return e[i]=(e[i]||[]).concat(s),e}),{}),s=t.reduce((function(e,t){var i="0"!==t.SuperId&&t.SuperId?t.SuperId:null,s={id:t.Id,label:t.Name,parentId:i,data:t,type:"industry",children:[],isLeaf:!1};return e[0][s.id]=s,e[1].unshift(s),a[s.id]=s,i&&(e[2][i]||(e[2][i]=[]),e[2][i].push(s)),1===t.Level&&e[3].push(s),e}),[{},[],{},[]]),n=Object(r["a"])(s,4),l=n[0],o=n[1],c=n[2],u=n[3];return o.forEach((function(e){var t=c[e.id];t&&(e.children=e.children.concat(t));var a=i[e.id];if(a&&(e.children=e.children.concat(a)),0===e.children.length){var s=l[e.parentId],n=s?c[s.id]:u;n.splice(n.indexOf(e),1)}})),[u,a]}var v=f,b=(a("b764"),a("2877")),y=Object(b["a"])(v,i,s,!1,null,"d7109108",null);t["default"]=y.exports},"9e5b":function(e,t,a){"use strict";var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-upload",{attrs:{action:"","http-request":e.httpRequest||e.handleUpload,"before-upload":e.beforeUpload,showFileList:e.showFileList,"on-success":e.handleSuccess},scopedSlots:e._u([e._l(e.$slots,(function(t,a){return{key:a,fn:function(){return[e._t(a)]},proxy:!0}}))],null,!0)})},s=[],n=(a("b0c0"),a("5530")),r=a("5ab9"),l=a("2ef0"),o={name:"Upload",props:{showFileList:{type:Boolean,default:!1},onSuccess:{type:Function,default:l["noop"]},httpRequest:{type:Function,default:null}},methods:{handleSuccess:function(e,t,a){e?this.onSuccess(Object(n["a"])(Object(n["a"])({},t),{},{ossUrl:e.name}),a):console.log(e,t)},beforeUpload:function(e){return console.log("fileInfo: ",e),!0},handleUpload:function(e){var t=e.file;e.onSuccess,e.onError,e.file.name;return r["b"](t.name,t)}}},c=o,u=a("2877"),d=Object(u["a"])(c,i,s,!1,null,null,null);t["a"]=d.exports},a434:function(e,t,a){"use strict";var i=a("23e7"),s=a("23cb"),n=a("a691"),r=a("50c4"),l=a("7b0b"),o=a("65f0"),c=a("8418"),u=a("1dde"),d=a("ae40"),m=u("splice"),p=d("splice",{ACCESSORS:!0,0:0,1:2}),f=Math.max,h=Math.min,v=9007199254740991,b="Maximum allowed length exceeded";i({target:"Array",proto:!0,forced:!m||!p},{splice:function(e,t){var a,i,u,d,m,p,y=l(this),C=r(y.length),_=s(e,C),I=arguments.length;if(0===I?a=i=0:1===I?(a=0,i=C-_):(a=I-2,i=h(f(n(t),0),C-_)),C+a-i>v)throw TypeError(b);for(u=o(y,i),d=0;d<i;d++)m=_+d,m in y&&c(u,d,y[m]);if(u.length=i,a<i){for(d=_;d<C-i;d++)m=d+i,p=d+a,m in y?y[p]=y[m]:delete y[p];for(d=C;d>C-i+a;d--)delete y[d-1]}else if(a>i)for(d=C-i;d>_;d--)m=d+i-1,p=d+a-1,m in y?y[p]=y[m]:delete y[p];for(d=0;d<a;d++)y[d+_]=arguments[d+2];return y.length=C-i+a,u}})},a83e:function(e,t,a){},b0f9:function(e,t,a){"use strict";a.d(t,"n",(function(){return n})),a.d(t,"l",(function(){return l})),a.d(t,"s",(function(){return c})),a.d(t,"d",(function(){return d})),a.d(t,"m",(function(){return p})),a.d(t,"p",(function(){return h})),a.d(t,"f",(function(){return b})),a.d(t,"r",(function(){return C})),a.d(t,"k",(function(){return I})),a.d(t,"b",(function(){return T})),a.d(t,"o",(function(){return w})),a.d(t,"j",(function(){return D})),a.d(t,"h",(function(){return M})),a.d(t,"i",(function(){return B})),a.d(t,"a",(function(){return E})),a.d(t,"g",(function(){return R})),a.d(t,"c",(function(){return j})),a.d(t,"e",(function(){return F})),a.d(t,"q",(function(){return q}));a("96cf");var i=a("1da1"),s=a("b775");function n(){return r.apply(this,arguments)}function r(){return r=Object(i["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(s["b"])("template/queryTemplateList");case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),r.apply(this,arguments)}function l(e){return o.apply(this,arguments)}function o(){return o=Object(i["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(s["b"])("template/queryTemplateByCompanyId",{companyId:t});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),o.apply(this,arguments)}function c(e){return u.apply(this,arguments)}function u(){return u=Object(i["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(s["b"])("template/uploadingXmind",t,{headers:{"Content-Type":"application/octet-stream"}});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),u.apply(this,arguments)}function d(e){return m.apply(this,arguments)}function m(){return m=Object(i["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(s["b"])("template/createTemplate",t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),m.apply(this,arguments)}function p(e){return f.apply(this,arguments)}function f(){return f=Object(i["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["b"])("template/queryTemplateByTemplateId",{id:t});case 2:return a=e.sent,e.abrupt("return",Object(s["c"])(a));case 4:case"end":return e.stop()}}),e)}))),f.apply(this,arguments)}function h(e){return v.apply(this,arguments)}function v(){return v=Object(i["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["b"])("template/queryTemplateQuoteCountByTempId",{templateId:t});case 2:return a=e.sent,e.abrupt("return",a);case 4:case"end":return e.stop()}}),e)}))),v.apply(this,arguments)}function b(e){return y.apply(this,arguments)}function y(){return y=Object(i["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["b"])("template/deleteTemplateByTemplateId",{id:t});case 2:return a=e.sent,e.abrupt("return",Object(s["c"])(a));case 4:case"end":return e.stop()}}),e)}))),y.apply(this,arguments)}function C(e){return _.apply(this,arguments)}function _(){return _=Object(i["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["b"])("template/updateTemplate",t);case 2:return a=e.sent,e.abrupt("return",Object(s["c"])(a));case 4:case"end":return e.stop()}}),e)}))),_.apply(this,arguments)}function I(e){return g.apply(this,arguments)}function g(){return g=Object(i["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["b"])("template/queryNestTemplateByTemplateId",{id:t});case 2:return a=e.sent,e.abrupt("return",Object(s["c"])(a));case 4:case"end":return e.stop()}}),e)}))),g.apply(this,arguments)}function T(e){return x.apply(this,arguments)}function x(){return x=Object(i["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["b"])("template/connectNestTemplateFolder",t);case 2:return a=e.sent,e.abrupt("return",Object(s["c"])(a));case 4:case"end":return e.stop()}}),e)}))),x.apply(this,arguments)}function w(e){return k.apply(this,arguments)}function k(){return k=Object(i["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["b"])("template/queryTemplateNodeByTemplateId",{templateId:t});case 2:return a=e.sent,e.abrupt("return",Object(s["c"])(a));case 4:case"end":return e.stop()}}),e)}))),k.apply(this,arguments)}function D(e,t,a){return N.apply(this,arguments)}function N(){return N=Object(i["a"])(regeneratorRuntime.mark((function e(t,a,i){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(s["b"])("template/queryFileExchange",{currentTemplateId:t,currentNodeId:a,nestedNodeId:i});case 2:return n=e.sent,e.abrupt("return",Object(s["c"])(n));case 4:case"end":return e.stop()}}),e)}))),N.apply(this,arguments)}function M(e){return S.apply(this,arguments)}function S(){return S=Object(i["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["b"])("template/fileExchange",t);case 2:return a=e.sent,e.abrupt("return",Object(s["c"])(a));case 4:case"end":return e.stop()}}),e)}))),S.apply(this,arguments)}function B(e){return L.apply(this,arguments)}function L(){return L=Object(i["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["b"])("template/queryAllTemplateNodeModelFile",{templateNodeId:t});case 2:return a=e.sent,e.abrupt("return",Object(s["c"])(a));case 4:case"end":return e.stop()}}),e)}))),L.apply(this,arguments)}function E(e){return O.apply(this,arguments)}function O(){return O=Object(i["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["b"])("template/addTemplateNodeModelFile",t);case 2:return a=e.sent,e.abrupt("return",Object(s["c"])(a));case 4:case"end":return e.stop()}}),e)}))),O.apply(this,arguments)}function R(e){return $.apply(this,arguments)}function $(){return $=Object(i["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["b"])("template/deleteTemplateNodeModelFile",{id:t});case 2:return a=e.sent,e.abrupt("return",Object(s["c"])(a));case 4:case"end":return e.stop()}}),e)}))),$.apply(this,arguments)}function j(e){return P.apply(this,arguments)}function P(){return P=Object(i["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["b"])("template/createNestedRelevance",t);case 2:return a=e.sent,e.abrupt("return",Object(s["c"])(a));case 4:case"end":return e.stop()}}),e)}))),P.apply(this,arguments)}function F(e){return U.apply(this,arguments)}function U(){return U=Object(i["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["b"])("template/deleteNestedRelevance",t);case 2:return a=e.sent,e.abrupt("return",Object(s["c"])(a));case 4:case"end":return e.stop()}}),e)}))),U.apply(this,arguments)}function q(e){return X.apply(this,arguments)}function X(){return X=Object(i["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["b"])("template/renameTemplate",t);case 2:return a=e.sent,e.abrupt("return",Object(s["c"])(a));case 4:case"end":return e.stop()}}),e)}))),X.apply(this,arguments)}},b3b1:function(e,t,a){"use strict";a.d(t,"a",(function(){return n})),a.d(t,"b",(function(){return l}));a("96cf");var i=a("1da1"),s=a("b775");function n(){return r.apply(this,arguments)}function r(){return r=Object(i["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(s["b"])("industry/queryAllIndustry");case 2:return t=e.sent,e.abrupt("return",t.Data||[]);case 4:case"end":return e.stop()}}),e)}))),r.apply(this,arguments)}function l(e){return o.apply(this,arguments)}function o(){return o=Object(i["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["b"])("industry/renameIndustry",t);case 2:return a=e.sent,e.abrupt("return",Object(s["c"])(a));case 4:case"end":return e.stop()}}),e)}))),o.apply(this,arguments)}},b764:function(e,t,a){"use strict";var i=a("a83e"),s=a.n(i);s.a},baa5:function(e,t,a){var i=a("23e7"),s=a("e58c");i({target:"Array",proto:!0,forced:s!==[].lastIndexOf},{lastIndexOf:s})},c8d2:function(e,t,a){var i=a("d039"),s=a("5899"),n="​…᠎";e.exports=function(e){return i((function(){return!!s[e]()||n[e]()!=n||s[e].name!==e}))}},e58c:function(e,t,a){"use strict";var i=a("fc6a"),s=a("a691"),n=a("50c4"),r=a("a640"),l=a("ae40"),o=Math.min,c=[].lastIndexOf,u=!!c&&1/[1].lastIndexOf(1,-0)<0,d=r("lastIndexOf"),m=l("indexOf",{ACCESSORS:!0,1:0}),p=u||!d||!m;e.exports=p?function(e){if(u)return c.apply(this,arguments)||0;var t=i(this),a=n(t.length),r=a-1;for(arguments.length>1&&(r=o(r,s(arguments[1]))),r<0&&(r=a+r);r>=0;r--)if(r in t&&t[r]===e)return r||0;return-1}:c}}]);