{"version":3,"sources":["webpack:///./src/userview/process-rulesver/index.vue?147a","webpack:///src/userview/process-rulesver/D:/Softwares/工作平台源码/对外版本地存储/网站前端/src/userview/process-rulesver/index.vue","webpack:///./src/userview/process-rulesver/index.vue?ceae","webpack:///./src/userview/process-rulesver/index.vue","webpack:///./src/assets/img/emptyData.png","webpack:///./src/userview/process-rulesver/index.vue?4e1c"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","isInfoView","selRow","teamValue","infoData","on","handleVerList","staticClass","directives","name","rawName","value","expression","slot","$event","$emit","_v","_s","team","Name","copyLoading","handleCopy","addClick","ref","staticStyle","tableData","cellStyle","scopedSlots","_u","key","fn","scope","row","IsSystem","IsStart","CreateTime","timeFormat","handleInfo","handleEdit","handleDel","_e","handleStart","IsUpdate","handleUpdate","IsReset","indexData","getDataList","staticRenderFns","components","CContent","RuleSetting","VerModal","SystemRuleverSel","props","type","Number","default","Object","data","iSShowApplication","isShowTeam","teamOptions","loading","titleInfo","btnShow","ishow","disabled","dropDown","searchInput","placeholder","searchKW","departmentCode","textAlign","mounted","role","$xStorage","getItem","$nextTick","getTeams","methods","checkFunction","func","Teamdata","Functions","indexOf","val","$confirm","confirmButtonText","cancelButtonText","then","$http","post","tcId","Id","teamId","resp","res","$message","message","msg","catch","$refs","RuleverSelModal","openModal","operationVal","operation","get","params","searchText","Ids","comDelete","result","showClose","openWin","ConfigName","ty","code","proName","xModalName","$modal","show","changeEditState","searchClick","Data","ISApplication","component","module","exports"],"mappings":"uHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,MAAM,CAAC,GAAK,qBAAqB,CAAGN,EAAIO,WAAsjGH,EAAG,cAAc,CAACE,MAAM,CAAC,OAASN,EAAIQ,OAAO,UAAYR,EAAIS,UAAU,SAAWT,EAAIU,UAAUC,GAAG,CAAC,cAAgBX,EAAIY,iB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gB,GACzClB,MAAK,SAACsB,GACa,GAAdA,EAAOf,MACT,EAAKC,SAAS,CACZe,WAAW,EACXd,QAAS,QACT5C,KAAM,YAER,EAAKR,mBAMbxB,SAlJO,WAmJL3B,KAAKsH,QAAQ,OAGf3E,WAtJO,SAsJIN,GACTrC,KAAKsH,QAAQ,KAAMjF,EAAI6D,GAAI7D,EAAIkF,aAGjCD,QA1JO,SA0JCE,EAAIC,EAAMC,GAAS,WACzB1H,KAAKkD,UAAY,CACfS,KAAa,OAAP6D,EAAc,MAAQ,OAC5B1G,KAAa,OAAP0G,EAAc,SAAW,SAC/B5C,eAAgB6C,EAChBC,QAASA,EACTC,WAAY,YAEd3H,KAAK4H,OAAOC,KAAK,YACjB7H,KAAKkF,WAAU,WACb,EAAKwB,MAAMlD,SAASsE,sBAKxBC,YAzKO,SAyKKrC,GACV1F,KAAK2E,SAAWe,EAChB1F,KAAKmD,eAGPA,YA9KO,WA8KO,WACZnD,KAAKmE,SAAU,EACfnE,KAAK+F,MACFgB,IAAI,oCAAqC,CACxCC,OAAQ,CAAEb,OAAQnG,KAAKQ,aAExBsF,MAAK,SAACsB,GACa,GAAdA,EAAOf,MACT,EAAKvE,UAAYsF,EAAOrD,KAAKiE,KAC7B,EAAKhE,mBAAoBoD,EAAOrD,KAAKkE,cACrC,EAAK9D,SAAU,UCzZmU,I,wBCQ1V+D,EAAY,eACd,EACApI,EACAsD,GACA,EACA,KACA,WACA,MAIa,aAAA8E,E,8BCnBfC,EAAOC,QAAU,IAA0B,8B,kCCA3C,W","file":"js/chunk-f8e2e14a.201db2b9.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"process-rulesver\"}},[(!_vm.isInfoView)?_c('div',{staticClass:\"ver\"},[_c('c-content',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}]},[_c('div',{staticClass:\"header_con\",attrs:{\"slot\":\"search\"},slot:\"search\"},[_c('div',{staticClass:\"h_left\"},[_c('span',{on:{\"click\":function($event){return _vm.$emit('handleViewChange')}}},[_c('i',{staticClass:\"el-icon-d-arrow-left\"}),_vm._v(_vm._s(_vm.team ? _vm.team.Name : \"\"))])]),_c('div',[_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"small\",\"icon\":\"el-icon-set-up\",\"loading\":_vm.copyLoading},on:{\"click\":_vm.handleCopy}},[_vm._v(\"应用系统配置组\")]),_c('el-button',{attrs:{\"type\":\"primary\",\"icon\":\"el-icon-circle-plus-outline\",\"size\":\"small\"},on:{\"click\":_vm.addClick}},[_vm._v(\"新增\")])],1)]),_c('el-table',{ref:\"multipleTable\",staticStyle:{\"width\":\"100%\"},attrs:{\"slot\":\"main\",\"data\":_vm.tableData,\"cell-style\":_vm.cellStyle,\"header-cell-style\":_vm.cellStyle},slot:\"main\"},[_c('template',{staticStyle:{\"font-size\":\"0\"},slot:\"empty\"},[_c('div',{staticStyle:{\"height\":\"100%\"}},[_c('img',{staticStyle:{\"display\":\"inline-block\",\"width\":\"50%\",\"margin-top\":\"100px\"},attrs:{\"src\":require(\"@/assets/img/emptyData.png\")}})])]),_c('el-table-column',{attrs:{\"label\":\"名称\",\"show-overflow-tooltip\":true,\"prop\":\"ConfigName\"}}),_c('el-table-column',{attrs:{\"label\":\"是否是系统配置组\",\"show-overflow-tooltip\":true,\"prop\":\"IsSystem\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(_vm._s(scope.row.IsSystem ? \"是\" : \"否\"))]}}],null,false,3750377966)}),_c('el-table-column',{attrs:{\"label\":\"是否启用\",\"show-overflow-tooltip\":true,\"prop\":\"IsSystem\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(_vm._s(scope.row.IsStart ? \"是\" : \"否\"))]}}],null,false,1703925323)}),_c('el-table-column',{attrs:{\"label\":\"创建时间\",\"show-overflow-tooltip\":true,\"prop\":\"name\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\" \"+_vm._s(scope.row.CreateTime ? scope.row.CreateTime.timeFormat(\"yyyy-MM-dd HH:mm\") : \"--\")+\" \")]}}],null,false,1568462683)}),_c('el-table-column',{attrs:{\"label\":\"操作\",\"width\":\"410\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-button',{attrs:{\"type\":\"success\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.handleInfo(scope.row)}}},[_vm._v(\"详情\")]),_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.handleEdit(scope.row)}}},[_vm._v(\"编辑\")]),_c('el-button',{attrs:{\"type\":\"danger\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.handleDel(scope.row)}}},[_vm._v(\"删除\")]),(!scope.row.IsStart)?_c('el-button',{attrs:{\"type\":\"start\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.handleStart(scope.row)}}},[_vm._v(\"启用\")]):_vm._e(),(scope.row.IsSystem && scope.row.IsUpdate)?_c('el-button',{attrs:{\"type\":\"warning\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.handleUpdate(2, scope.row)}}},[_vm._v(\"更新\")]):_vm._e(),(scope.row.IsSystem && scope.row.IsReset)?_c('el-button',{attrs:{\"type\":\"danger\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.handleUpdate(3, scope.row)}}},[_vm._v(\"重置\")]):_vm._e()]}}],null,false,3564744783)})],2)],1)],1):_c('RuleSetting',{attrs:{\"selRow\":_vm.selRow,\"teamValue\":_vm.teamValue,\"infoData\":_vm.infoData},on:{\"handleVerList\":_vm.handleVerList}}),_c('VerModal',{ref:\"VerModal\",attrs:{\"indexData\":_vm.indexData,\"teamValue\":_vm.teamValue},on:{\"eventComfirm\":_vm.getDataList}}),_c('SystemRuleverSel',{ref:\"RuleverSelModal\",attrs:{\"teamValue\":_vm.teamValue},on:{\"success\":_vm.getDataList}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\r\nexport default {\r\n components: {\r\n CContent: () => import(\"@/components/CContent\"),\r\n RuleSetting: () => import(\"../rule-setting\"),\r\n VerModal: () => import(\"./verModal\"),\r\n SystemRuleverSel: () => import(\"./systemRuleverSel\"),\r\n },\r\n props: {\r\n //选择的团队Id\r\n teamValue: {\r\n type: Number,\r\n default: null,\r\n },\r\n team: {\r\n type: Object,\r\n default: null,\r\n },\r\n infoData: {\r\n type: Object,\r\n default: null,\r\n },\r\n },\r\n data: () => ({\r\n copyLoading: false,\r\n iSShowApplication: false,\r\n isShowTeam: true,\r\n teamOptions: [],\r\n selRow: null,\r\n isInfoView: false,\r\n loading: false,\r\n // CX Title组件\r\n titleInfo: {\r\n // 控制左侧:按钮组四个\r\n btnShow: [\r\n { type: \"addBtn\", ishow: true },\r\n { type: \"startBtn\", ishow: false, disabled: true },\r\n { type: \"closeBtn\", ishow: false, disabled: true },\r\n { type: \"delBtn\", ishow: false, disabled: true },\r\n ],\r\n // 控制右侧:下拉细节 搜索框\r\n dropDown: {\r\n // Input组件们的:右侧共同属性\r\n searchInput: {\r\n placeholder: \"\",\r\n },\r\n },\r\n },\r\n\r\n tableData: [],\r\n searchKW: \"\",\r\n indexData: {\r\n type: \"\", // Add Edit\r\n name: \"\",\r\n departmentCode: \"\",\r\n },\r\n cellStyle: {\r\n textAlign: \"center\",\r\n },\r\n }),\r\n mounted() {\r\n const role = this.$xStorage.getItem(\"user-role\");\r\n if (role.team) {\r\n this.teamValue = role.team;\r\n this.isShowTeam = false;\r\n } else {\r\n this.isShowTeam = true;\r\n }\r\n this.$nextTick(() => {\r\n if (!this.teamValue) {\r\n this.getTeams();\r\n } else {\r\n this.getDataList();\r\n }\r\n });\r\n },\r\n methods: {\r\n checkFunction(func) {\r\n if (!this.infoData || !this.infoData.Teamdata.Functions) {\r\n return false;\r\n }\r\n return this.infoData.Teamdata.Functions.indexOf(func) != -1;\r\n },\r\n /**\r\n * 启用配置组\r\n */\r\n handleStart(val) {\r\n this.$confirm(`此操作需要重新设置成员进程组,谨慎更改`, \"提示\", {\r\n confirmButtonText: \"确定\",\r\n cancelButtonText: \"取消\",\r\n type: \"warning\",\r\n })\r\n .then(() => {\r\n this.$http\r\n .post(\"/ConfigGroup/UpdateStart.ashx\", {\r\n tcId: val.Id,\r\n teamId: this.teamValue,\r\n })\r\n .then((resp) => {\r\n if (resp.res == 0) {\r\n this.$message({\r\n message: resp.msg,\r\n type: \"success\",\r\n });\r\n this.getDataList();\r\n }\r\n });\r\n })\r\n .catch(() => {\r\n this.$message({\r\n type: \"info\",\r\n message: `已取消${name}`,\r\n });\r\n });\r\n },\r\n /**\r\n * 引用系统配置组\r\n */\r\n handleCopy() {\r\n this.$refs.RuleverSelModal.openModal();\r\n },\r\n /**\r\n * 更新和重置\r\n */\r\n handleUpdate(type, val) {\r\n let name = null;\r\n let operationVal = null;\r\n if (type == 2) {\r\n name = \"更新\";\r\n operationVal = 2;\r\n } else {\r\n operationVal = 1;\r\n name = \"重置\";\r\n }\r\n this.$confirm(`${name}后团队的进程设置将会失效, 是否继续?`, \"提示\", {\r\n confirmButtonText: \"确定\",\r\n cancelButtonText: \"取消\",\r\n type: \"warning\",\r\n })\r\n .then(() => {\r\n this.$http\r\n .post(\"/ConfigGroup/UpdateTeamConfig.ashx\", {\r\n teamId: this.teamValue,\r\n operation: operationVal,\r\n tcId: val.Id,\r\n })\r\n .then((resp) => {\r\n if (resp.res == 0) {\r\n this.$message({\r\n message: `${name}成功`,\r\n type: \"success\",\r\n });\r\n this.getDataList();\r\n }\r\n });\r\n })\r\n .catch(() => {\r\n this.$message({\r\n type: \"info\",\r\n message: `已取消${name}`,\r\n });\r\n });\r\n },\r\n /**\r\n * 获取团队\r\n */\r\n getTeams() {\r\n this.$http\r\n .get(\"/Teams/GetAllTeams.ashx\", {\r\n params: { searchText: null, type: 2 },\r\n })\r\n .then((resp) => {\r\n if (resp.res == 0) {\r\n this.teamOptions = resp.data;\r\n }\r\n });\r\n },\r\n /**\r\n * 返回到版本列表\r\n */\r\n handleVerList() {\r\n this.isInfoView = false;\r\n },\r\n /**\r\n * 详情\r\n */\r\n handleInfo(row) {\r\n this.selRow = row;\r\n this.isInfoView = true;\r\n },\r\n // 删除某一行\r\n handleDel(row) {\r\n this.$confirm(\"此操作将删除此进程, 是否继续?\", \"提示\", {\r\n confirmButtonText: \"确定\",\r\n cancelButtonText: \"取消\",\r\n type: \"warning\",\r\n })\r\n .then(() => {\r\n let params = {\r\n Ids: [row.Id],\r\n teamId: this.teamValue,\r\n };\r\n this.comDelete(params);\r\n })\r\n .catch(() => {});\r\n },\r\n comDelete(params) {\r\n this.$http\r\n .post(\"/ConfigGroup/DelConfigGroup.ashx\", params)\r\n .then((result) => {\r\n if (result.res == 0) {\r\n this.$message({\r\n showClose: true,\r\n message: \"删除成功!\",\r\n type: \"success\",\r\n });\r\n this.getDataList();\r\n }\r\n });\r\n },\r\n\r\n // 新增\r\n addClick() {\r\n this.openWin(\"ad\");\r\n },\r\n // 编辑\r\n handleEdit(row) {\r\n this.openWin(\"ed\", row.Id, row.ConfigName);\r\n },\r\n // 打开窗口\r\n openWin(ty, code, proName) {\r\n this.indexData = {\r\n type: ty === \"ad\" ? \"Add\" : \"Edit\",\r\n name: ty === \"ad\" ? \"添加进程版本\" : \"编辑进程版本\",\r\n departmentCode: code,\r\n proName: proName,\r\n xModalName: \"verModal\",\r\n };\r\n this.$modal.show(\"verModal\");\r\n this.$nextTick(() => {\r\n this.$refs.VerModal.changeEditState();\r\n });\r\n },\r\n\r\n // 查询\r\n searchClick(val) {\r\n this.searchKW = val;\r\n this.getDataList();\r\n },\r\n // 获取列表\r\n getDataList() {\r\n this.loading = true;\r\n this.$http\r\n .get(\"/ConfigGroup/ConfigGroupList.ashx\", {\r\n params: { teamId: this.teamValue },\r\n })\r\n .then((result) => {\r\n if (result.res == 0) {\r\n this.tableData = result.data.Data;\r\n this.iSShowApplication = result.data.ISApplication ? false : true;\r\n this.loading = false;\r\n }\r\n });\r\n },\r\n },\r\n};\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=79156456&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=79156456&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"79156456\",\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"img/emptyData.864da93b.png\";","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--11-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=79156456&lang=less&scoped=true&\""],"sourceRoot":""}