{"remainingRequest":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\vue-loader\\lib\\loaders\\templateLoader.js??vue-loader-options!D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\xq-web-bpm\\src\\views\\meta\\DataSourceManager.vue?vue&type=template&id=a549fd9e&scoped=true&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\src\\views\\meta\\DataSourceManager.vue","mtime":1675071993006},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\vue-loader\\lib\\loaders\\templateLoader.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"fullheight\"},[_c('ht-table',{ref:\"dataSourceTable\",attrs:{\"data\":_vm.data,\"pageResult\":_vm.pageResult,\"selection\":true,\"quick-search-props\":\"name,alias\",\"show-export\":false,\"show-custom-column\":false,\"defaultSorter\":[{'property':'CREATE_TIME_','direction':'DESC'}]},on:{\"load\":_vm.loadData,\"row-click\":_vm.rowClick},scopedSlots:_vm._u([{key:\"toolbar\",fn:function(){return [_c('el-button',{attrs:{\"size\":\"small\",\"icon\":\"el-icon-plus\",\"type\":\"primary\"},on:{\"click\":function($event){return _vm.handleCommand({command:'add'})}}},[_vm._v(\"添加\")]),_c('ht-delete-button',{style:({marginLeft: '10px'}),attrs:{\"size\":\"small\",\"url\":_vm.dataSourceDeleteUrl,\"htTable\":_vm.$refs.dataSourceTable}},[_vm._v(\"删除\")]),_c('el-button',{staticStyle:{\"margin-left\":\"10px\"},attrs:{\"size\":\"small\",\"icon\":\"el-icon-right\",\"type\":\"primary\",\"plain\":\"\"},on:{\"click\":function($event){_vm.uploadDialogVisible = true;}}},[_vm._v(\"导入\")]),_c('el-button',{staticStyle:{\"margin-left\":\"10px\"},attrs:{\"size\":\"small\",\"icon\":\"el-icon-right\",\"plain\":\"\",\"type\":\"primary\"},on:{\"click\":_vm.handleExport}},[_vm._v(\"导出\")])]},proxy:true}])},[[_c('ht-table-column',{attrs:{\"type\":\"index\",\"width\":\"50\",\"align\":\"center\",\"label\":\"序号\"}}),_c('ht-table-column',{attrs:{\"prop\":\"name\",\"label\":\"名称\",\"width\":\"300\",\"sortable\":true,\"show-overflow-tooltip\":true},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar row = ref.row;\nreturn [_c('el-link',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){return _vm.handleCommand({row:row,command:'edit'})}}},[_vm._v(_vm._s(row.name))])]}}])}),_c('ht-table-column',{attrs:{\"prop\":\"alias\",\"label\":\"别名\",\"sortable\":true}}),_c('ht-table-column',{attrs:{\"prop\":\"enabled\",\"label\":\"是否可用\",\"filters\":[{text:'是', value:1},{text:'否', value:0}]},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar row = ref.row;\nreturn [(row.enabled)?_c('el-tag',{attrs:{\"type\":\"success\"}},[_vm._v(\"是\")]):_vm._e(),(!row.enabled)?_c('el-tag',{attrs:{\"type\":\"primary\"}},[_vm._v(\"否\")]):_vm._e()]}}])})]],2),_c('el-dialog',{attrs:{\"width\":\"50%\",\"title\":_vm.dataSourceTitle,\"visible\":_vm.dialogVisible,\"before-close\":_vm.handleClose,\"close-on-click-modal\":false}},[_c('el-form',{attrs:{\"disabled\":_vm.dataSourceDisabled,\"data-vv-scope\":\"editdataSourceForm\"},model:{value:(_vm.sourceProp),callback:function ($$v) {_vm.sourceProp=$$v},expression:\"sourceProp\"}},[_c('ht-form-item',{staticClass:\"dataSource-input-width\",attrs:{\"label\":\"名称\",\"prop\":\"name\",\"label-width\":\"130px\"}},[_c('ht-input',{attrs:{\"autocomplete\":\"off\",\"validate\":{required:true},\"placeholder\":\"请输入名称\",\"maxlength\":50,\"showWordLimit\":true},model:{value:(_vm.sourceProp.name),callback:function ($$v) {_vm.$set(_vm.sourceProp, \"name\", $$v)},expression:\"sourceProp.name\"}})],1),_c('ht-form-item',{staticClass:\"dataSource-input-width\",attrs:{\"label\":\"别名(唯一)\",\"prop\":\"alias\",\"label-width\":\"130px\"}},[_c('ht-input',{directives:[{name:\"pinyin\",rawName:\"v-pinyin\",value:(_vm.sourceProp.name),expression:\"sourceProp.name\"}],attrs:{\"autocomplete\":\"off\",\"validate\":{required:true, regex:{exp:'^[a-zA-Z][a-zA-Z0-9_]*$', message:'只能输入字母、数字、下划线,且以字母开头' }},\"placeholder\":\"请输入别名\",\"disabled\":_vm.sourceProp.id?true:false,\"maxlength\":50,\"showWordLimit\":true},model:{value:(_vm.sourceProp.alias),callback:function ($$v) {_vm.$set(_vm.sourceProp, \"alias\", $$v)},expression:\"sourceProp.alias\"}})],1),_c('ht-form-item',{staticClass:\"dataSource-item-bottom dataSource-input-width\",attrs:{\"label\":\"数据源类型\",\"label-width\":\"130px\"}},[_c('ht-select',{attrs:{\"options\":_vm.dbTypeList,\"props\":{key:'value',value:'value'},\"validate\":{'required':true}},on:{\"change\":_vm.currentSel},model:{value:(_vm.sourceProp.dbType),callback:function ($$v) {_vm.$set(_vm.sourceProp, \"dbType\", $$v)},expression:\"sourceProp.dbType\"}})],1),_c('ht-form-item',{staticClass:\"dataSource-item-bottom dataSource-input-width\",attrs:{\"label\":\"是否生效\",\"label-width\":\"130px\"}},[_c('ht-select',{attrs:{\"options\":_vm.enableds,\"validate\":{'required':true}},model:{value:(_vm.sourceProp.enabled),callback:function ($$v) {_vm.$set(_vm.sourceProp, \"enabled\", $$v)},expression:\"sourceProp.enabled\"}})],1),_c('ht-form-item',{staticClass:\"dataSource-item-bottom dataSource-input-width\",attrs:{\"label\":\"数据源\",\"label-width\":\"130px\"}},[_c('ht-select',{attrs:{\"options\":_vm.sysDataSourceDefs,\"props\":{key:'id',value:'name'},\"validate\":{'required':true}},on:{\"change\":_vm.settingSel},model:{value:(_vm.dsId),callback:function ($$v) {_vm.dsId=$$v},expression:\"dsId\"}})],1),_vm._l((_vm.sourceProp.settingJson),function(item,index){return _c('ht-form-item',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.sourceProp.settingJson.length>0 && !_vm.isExpand?(index<4):true),expression:\"sourceProp.settingJson.length>0 && !isExpand?(index<4):true\"}],key:item.comment,staticClass:\"dataSource-item-bottom dataSource-input-width\",attrs:{\"label\":item.comment,\"label-width\":\"130px\"}},[_c('ht-input',{attrs:{\"validate\":{required:true},\"placeholder\":'请输入'+item.comment,\"disabled\":(item.name=='password' || item.name=='connectionProperties') && _vm.isEncrypt===1},model:{value:(item.value),callback:function ($$v) {_vm.$set(item, \"value\", $$v)},expression:\"item.value\"}}),_vm._v(\"\\n (\"+_vm._s(item.type)+\")\\n \"),(item.name=='password')?_c('div',[_c('el-switch',{attrs:{\"active-color\":\"#13ce66\",\"inactive-color\":\"#ff4949\",\"active-value\":1,\"inactive-value\":0,\"active-text\":\"加密\",\"inactive-text\":\"不加密\"},on:{\"change\":function($event){return _vm.encrypt(item)}},model:{value:(_vm.isEncrypt),callback:function ($$v) {_vm.isEncrypt=$$v},expression:\"isEncrypt\"}})],1):_vm._e()],1)})],2),(_vm.sourceProp.settingJson.length>0)?_c('div',{staticStyle:{\"text-align\":\"center\"}},[_c('el-button',{attrs:{\"size\":\"mini\",\"icon\":_vm.isExpand? 'icon-expand':'icon-hide',\"circle\":\"\",\"title\":_vm.isExpand? '收起':'展开'},on:{\"click\":function($event){_vm.isExpand = !_vm.isExpand}}})],1):_vm._e(),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){return _vm.checkConnection()}}},[_vm._v(\"测试连接\")]),_c('ht-submit-button',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.dataSourceDisabled),expression:\"!dataSourceDisabled\"}],attrs:{\"url\":_vm.savedataSourceUrl(),\"model\":_vm.newSourceProp,\"is-submit\":_vm.isSubmit,\"request-method\":\"POST\",\"scope-name\":\"editdataSourceForm\"},on:{\"before-save-data\":_vm.beforeSaveData,\"after-save-data\":_vm.afterSaveData}},[_vm._v(_vm._s(_vm.$t('eip.common.save')))]),_c('el-button',{on:{\"click\":function($event){return _vm.dialogCancle('dialogVisible')}}},[_vm._v(_vm._s(_vm.$t('eip.common.cancel')))])],1)],1),_c('ht-load-data',{attrs:{\"url\":_vm.settingDataUrl,\"context\":\"portal\"},on:{\"after-load-data\":_vm.afterLoadSourcesettingData}}),_c('ht-load-data',{attrs:{\"url\":_vm.loadDataUrl,\"context\":\"portal\"},on:{\"after-load-data\":_vm.afterLoadData}}),_c('el-dialog',{attrs:{\"title\":\"上传文件\",\"visible\":_vm.uploadDialogVisible,\"before-close\":_vm.beforeClose,\"name\":\"uploadDialog\",\"center\":true}},[_c('el-upload',{ref:\"elUpload\",attrs:{\"action\":_vm.uploadUrl,\"http-request\":_vm.handleImport,\"accept\":\".zip\",\"file-list\":_vm.fileList,\"limit\":1,\"auto-upload\":false,\"align\":\"center\"}},[_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"primary\"}},[_vm._v(\"点击上传\")]),_c('div',{staticClass:\"el-upload__tip\",attrs:{\"slot\":\"tip\"},slot:\"tip\"},[_vm._v(\"只能上传zip文件\")])],1),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.uploadSubmit}},[_vm._v(\"上传\")]),_c('el-button',{attrs:{\"type\":\"default\"},on:{\"click\":_vm.beforeClose}},[_vm._v(\"取消\")])],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }"]}