\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n 查询\n \n \n \n \n 添加\n \n \n 一键同步jira\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n 查看\n 编辑\n 同步到jira\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// WEBPACK FOOTER //\n// src/views/itemmanager/Modules.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"box\"},[_c('el-form',{staticClass:\"item-form-inline\",attrs:{\"inline\":true}},[_c('el-form-item',{attrs:{\"label\":\"模块名称\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入关键字\",\"clearable\":\"\"},model:{value:(_vm.queryInfo.moduleName),callback:function ($$v) {_vm.$set(_vm.queryInfo, \"moduleName\", $$v)},expression:\"queryInfo.moduleName\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"项目名称\"}},[_c('el-select',{attrs:{\"placeholder\":\"请选择\",\"clearable\":\"\"},model:{value:(_vm.queryInfo.itemId),callback:function ($$v) {_vm.$set(_vm.queryInfo, \"itemId\", $$v)},expression:\"queryInfo.itemId\"}},_vm._l((_vm.itemOptions),function(item){return _c('el-option',{key:item.id,attrs:{\"label\":item.itemName,\"value\":item.id}})}),1)],1),_vm._v(\" \"),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.onSearch}},[_vm._v(\"查询\")])],1)],1),_vm._v(\" \"),_c('el-row',{staticClass:\"add_button\"},[_c('el-col',{attrs:{\"span\":2}},[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){_vm.addDialogVisible = true}}},[_vm._v(\"添加\")])],1),_vm._v(\" \"),_c('el-col',{attrs:{\"span\":3}},[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.batchAddModToJira}},[_vm._v(\"一键同步jira\")])],1)],1),_vm._v(\" \"),_c('el-table',{attrs:{\"data\":_vm.itemlist,\"border\":\"\",\"fit\":true},on:{\"selection-change\":_vm.handleSelectionChange}},[_c('el-table-column',{attrs:{\"type\":\"selection\",\"width\":\"60\",\"reserve-selection\":true,\"align\":\"center\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"序号\",\"type\":\"index\",\"align\":\"center\",\"width\":\"80\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"模块名称\",\"prop\":\"moduleName\",\"align\":\"center\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"项目名称\",\"prop\":\"itemName\",\"align\":\"center\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"经办人\",\"prop\":\"dictValue\",\"align\":\"center\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"创建时间\",\"prop\":\"createTime\",\"align\":\"center\",\"width\":\"170\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"更新时间\",\"prop\":\"updateTime\",\"align\":\"center\",\"width\":\"170\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"操作\",\"fixed\":\"right\",\"align\":\"center\",\"width\":\"180\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"small\"},on:{\"click\":function($event){return _vm.showDetailDialog(scope.row.id)}}},[_vm._v(\"查看\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"small\"},on:{\"click\":function($event){return _vm.showEditDialog(scope.row.id)}}},[_vm._v(\"编辑\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"small\"},on:{\"click\":function($event){return _vm.showSyncJiraDialog(scope.row.id)}}},[_vm._v(\"同步到jira\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"small\"},on:{\"click\":function($event){return _vm.delItem(scope.row.id)}}},[_vm._v(\"删除\")])]}}])})],1),_vm._v(\" \"),_c('el-pagination',{attrs:{\"current-page\":_vm.queryInfo.pageNum,\"page-sizes\":[5, 10, 20, 30],\"page-size\":_vm.queryInfo.pageSize,\"layout\":\"prev, pager, next, sizes, total, jumper\",\"total\":_vm.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange,\"update:currentPage\":function($event){return _vm.$set(_vm.queryInfo, \"pageNum\", $event)},\"update:current-page\":function($event){return _vm.$set(_vm.queryInfo, \"pageNum\", $event)}}}),_vm._v(\" \"),_c('el-dialog',{attrs:{\"title\":\"添加\",\"visible\":_vm.addDialogVisible,\"close-on-click-modal\":false,\"width\":\"30%\"},on:{\"update:visible\":function($event){_vm.addDialogVisible=$event},\"close\":_vm.addDialogClose}},[_c('el-form',{ref:\"addFormRef\",attrs:{\"model\":_vm.addForm,\"rules\":_vm.addFormRules,\"label-width\":\"100px\"}},[_c('el-form-item',{attrs:{\"label\":\"项目名称\",\"prop\":\"itemId\"}},[_c('el-select',{attrs:{\"placeholder\":\"请选择\",\"clearable\":\"\"},model:{value:(_vm.addForm.itemId),callback:function ($$v) {_vm.$set(_vm.addForm, \"itemId\", $$v)},expression:\"addForm.itemId\"}},_vm._l((_vm.itemOptions),function(item){return _c('el-option',{key:item.id,attrs:{\"label\":item.itemName,\"value\":item.id}})}),1)],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"模块名称\",\"prop\":\"moduleName\"}},[_c('el-input',{model:{value:(_vm.addForm.moduleName),callback:function ($$v) {_vm.$set(_vm.addForm, \"moduleName\", $$v)},expression:\"addForm.moduleName\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"经办人\",\"prop\":\"developId\"}},[_c('el-select',{attrs:{\"placeholder\":\"请选择\",\"clearable\":\"\"},model:{value:(_vm.addForm.dictId),callback:function ($$v) {_vm.$set(_vm.addForm, \"dictId\", $$v)},expression:\"addForm.dictId\"}},_vm._l((_vm.dictOptions),function(dict){return _c('el-option',{key:dict.id,attrs:{\"label\":dict.dictValue,\"value\":dict.id}})}),1)],1)],1),_vm._v(\" \"),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.addDialogVisible = false}}},[_vm._v(\"取 消\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.addItem}},[_vm._v(\"确 定\")])],1)],1),_vm._v(\" \"),_c('el-dialog',{attrs:{\"title\":\"添加模块\",\"visible\":_vm.addModulesDialogVisible,\"close-on-click-modal\":false,\"width\":\"30%\"},on:{\"update:visible\":function($event){_vm.addModulesDialogVisible=$event},\"close\":_vm.editDialogClose}},[_c('el-form',{ref:\"editFormRef\",attrs:{\"model\":_vm.editForm,\"rules\":_vm.addFormRules,\"label-width\":\"100px\"}},[_c('el-form-item',{attrs:{\"label\":\"项目名称\",\"prop\":\"itemId\"}},[_c('el-select',{attrs:{\"placeholder\":\"请选择\"},model:{value:(_vm.editForm.itemId),callback:function ($$v) {_vm.$set(_vm.editForm, \"itemId\", $$v)},expression:\"editForm.itemId\"}},_vm._l((_vm.itemOptions),function(item){return _c('el-option',{key:item.id,attrs:{\"label\":item.itemName,\"value\":item.id}})}),1)],1)],1),_vm._v(\" \"),_c('el-form',{ref:\"editFormRef\",attrs:{\"model\":_vm.editForm,\"rules\":_vm.addFormRules,\"label-width\":\"100px\"}},[_c('el-form-item',{attrs:{\"label\":\"版本\",\"prop\":\"itemId\"}},[_c('el-select',{attrs:{\"placeholder\":\"请选择\"},model:{value:(_vm.editForm.itemId),callback:function ($$v) {_vm.$set(_vm.editForm, \"itemId\", $$v)},expression:\"editForm.itemId\"}},_vm._l((_vm.itemOptions),function(item){return _c('el-option',{key:item.id,attrs:{\"label\":item.itemName,\"value\":item.id}})}),1)],1)],1),_vm._v(\" \"),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.editDialogVisible = false}}},[_vm._v(\"取 消\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.editItem}},[_vm._v(\"确 定\")])],1)],1),_vm._v(\" \"),_c('el-dialog',{attrs:{\"title\":\"修改\",\"visible\":_vm.editDialogVisible,\"close-on-click-modal\":false,\"width\":\"30%\"},on:{\"update:visible\":function($event){_vm.editDialogVisible=$event},\"close\":_vm.editDialogClose}},[_c('el-form',{ref:\"editFormRef\",attrs:{\"model\":_vm.editForm,\"rules\":_vm.addFormRules,\"label-width\":\"100px\"}},[_c('el-form-item',{attrs:{\"label\":\"项目名称\",\"prop\":\"itemId\"}},[_c('el-select',{attrs:{\"placeholder\":\"请选择\"},model:{value:(_vm.editForm.itemId),callback:function ($$v) {_vm.$set(_vm.editForm, \"itemId\", $$v)},expression:\"editForm.itemId\"}},_vm._l((_vm.itemOptions),function(item){return _c('el-option',{key:item.id,attrs:{\"label\":item.itemName,\"value\":item.id}})}),1)],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"模块名称\",\"prop\":\"moduleName\"}},[_c('el-input',{model:{value:(_vm.editForm.moduleName),callback:function ($$v) {_vm.$set(_vm.editForm, \"moduleName\", $$v)},expression:\"editForm.moduleName\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"经办人\",\"prop\":\"dictId\"}},[_c('el-select',{attrs:{\"placeholder\":\"请选择\",\"clearable\":\"\"},model:{value:(_vm.editForm.dictId),callback:function ($$v) {_vm.$set(_vm.editForm, \"dictId\", $$v)},expression:\"editForm.dictId\"}},_vm._l((_vm.dictOptions),function(dict){return _c('el-option',{key:dict.id,attrs:{\"label\":dict.dictValue,\"value\":dict.id}})}),1)],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"备注\",\"prop\":\"comments\"}},[_c('el-input',{attrs:{\"type\":\"textarea\"},model:{value:(_vm.editForm.comments),callback:function ($$v) {_vm.$set(_vm.editForm, \"comments\", $$v)},expression:\"editForm.comments\"}})],1)],1),_vm._v(\" \"),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.editDialogVisible = false}}},[_vm._v(\"取 消\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.editItem}},[_vm._v(\"确 定\")])],1)],1),_vm._v(\" \"),_c('el-dialog',{attrs:{\"title\":\"同步到jira\",\"visible\":_vm.syncJiraVisible,\"close-on-click-modal\":false,\"width\":\"30%\"},on:{\"update:visible\":function($event){_vm.syncJiraVisible=$event},\"close\":_vm.syncJiraModuleClose}},[_c('el-form',{ref:\"syncJiraFormref\",attrs:{\"model\":_vm.editJiraForm,\"rules\":_vm.syncFormRules,\"label-width\":\"100px\"}},[_c('el-form-item',{attrs:{\"label\":\"项目名称\",\"prop\":\"itemId\"}},[_c('el-select',{attrs:{\"placeholder\":\"请选择\"},model:{value:(_vm.editJiraForm.itemId),callback:function ($$v) {_vm.$set(_vm.editJiraForm, \"itemId\", $$v)},expression:\"editJiraForm.itemId\"}},_vm._l((_vm.itemOptions),function(item){return _c('el-option',{key:item.id,attrs:{\"label\":item.itemName,\"value\":item.id}})}),1)],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"模块名称\",\"prop\":\"moduleName\"}},[_c('el-input',{model:{value:(_vm.editJiraForm.moduleName),callback:function ($$v) {_vm.$set(_vm.editJiraForm, \"moduleName\", $$v)},expression:\"editJiraForm.moduleName\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"备注\",\"prop\":\"comments\"}},[_c('el-input',{attrs:{\"type\":\"textarea\"},model:{value:(_vm.editJiraForm.comment),callback:function ($$v) {_vm.$set(_vm.editJiraForm, \"comment\", $$v)},expression:\"editJiraForm.comment\"}})],1)],1),_vm._v(\" \"),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.syncJiraVisible = false}}},[_vm._v(\"取 消\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.syncJiraModule}},[_vm._v(\"确 定\")])],1)],1),_vm._v(\" \"),_c('el-dialog',{attrs:{\"title\":\"查看\",\"visible\":_vm.detailDialogVisible,\"close-on-click-modal\":false,\"width\":\"30%\"},on:{\"update:visible\":function($event){_vm.detailDialogVisible=$event}}},[_c('el-form',{attrs:{\"model\":_vm.detailForm,\"label-width\":\"100px\"}},[_c('el-form-item',{attrs:{\"label\":\"项目名称\",\"prop\":\"itemName\"}},[_c('el-input',{attrs:{\"disabled\":\"\"},model:{value:(_vm.detailForm.itemName),callback:function ($$v) {_vm.$set(_vm.detailForm, \"itemName\", $$v)},expression:\"detailForm.itemName\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"模块名称\",\"prop\":\"moduleName\"}},[_c('el-input',{attrs:{\"disabled\":\"\"},model:{value:(_vm.detailForm.moduleName),callback:function ($$v) {_vm.$set(_vm.detailForm, \"moduleName\", $$v)},expression:\"detailForm.moduleName\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"备注\",\"prop\":\"comments\"}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"disabled\":\"\"},model:{value:(_vm.detailForm.comments),callback:function ($$v) {_vm.$set(_vm.detailForm, \"comments\", $$v)},expression:\"detailForm.comments\"}})],1)],1),_vm._v(\" \"),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.detailDialogVisible = false}}},[_vm._v(\"取 消\")])],1)],1)],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-330e6b22\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/itemmanager/Modules.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-330e6b22\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./Modules.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./Modules.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./Modules.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-330e6b22\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./Modules.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-330e6b22\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/itemmanager/Modules.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}