{"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\\form\\TableDesign\\CreateView.vue?vue&type=template&id=d68c72dc&scoped=true&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\src\\views\\form\\TableDesign\\CreateView.vue","mtime":1675071992913},{"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:\"htTable\",attrs:{\"data\":_vm.data,\"pageResult\":_vm.pageResult,\"selection\":true,\"quick-search-props\":\"desc,viewName\",\"show-export\":false,\"show-custom-column\":false},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.edit()}}},[_vm._v(\"添加\")]),_c('ht-delete-button',{staticStyle:{\"margin-left\":\"10px\"},attrs:{\"url\":_vm.deleteUrl,\"htTable\":_vm.$refs.htTable}},[_vm._v(\"删除\")]),_c('el-button',{staticStyle:{\"margin-left\":\"10px\"},attrs:{\"size\":\"small\",\"icon\":\"el-icon-back\",\"type\":\"primary\",\"plain\":\"\"},on:{\"click\":function($event){_vm.importDialogVisible = true}}},[_vm._v(\"导入\")]),_c('el-button',{staticStyle:{\"margin-left\":\"10px\"},attrs:{\"size\":\"small\",\"icon\":\"el-icon-right\",\"type\":\"primary\",\"plain\":\"\"},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\":\"desc\",\"label\":\"描述\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-link',{attrs:{\"type\":\"primary\",\"title\":\"查看详情\"},on:{\"click\":function($event){return _vm.edit(scope.row.id)}}},[_vm._v(_vm._s(scope.row.desc))])]}}])}),_c('ht-table-column',{attrs:{\"prop\":\"viewName\",\"label\":\"视图名称\",\"sortable\":true}}),_c('ht-table-column',{attrs:{\"prop\":\"dsAlias\",\"label\":\"数据源别名\",\"sortable\":true}}),_c('ht-table-column',{attrs:{\"prop\":\"sql\",\"label\":\"SQL语句\",\"show-overflow-tooltip\":true}}),_c('ht-table-column',{attrs:{\"prop\":\"status\",\"label\":\"状态\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.status === 0)?_c('el-tag',{attrs:{\"type\":\"info\"}},[_vm._v(\"未生成视图\")]):_vm._e(),(scope.row.status === 1)?_c('el-tag',{attrs:{\"type\":\"priamry\"}},[_vm._v(\"已生成视图\")]):_vm._e()]}}])}),_c('ht-table-column',{attrs:{\"label\":\"操作\",\"width\":\"150\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-button',{attrs:{\"icon\":\"el-icon-view\"},on:{\"click\":function($event){return _vm.createPhysicalView(scope.row.id)}}},[_vm._v(\"生成视图\")])]}}])})],1),_c('ht-sidebar-dialog',{attrs:{\"width\":\"28%\",\"title\":(_vm.model.id ? '编辑' : '添加') + '视图',\"visible\":_vm.dialogVisible,\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.dialogVisible=$event}}},[_c('el-form',{attrs:{\"data-vv-scope\":\"editModelForm\"},model:{value:(_vm.model),callback:function ($$v) {_vm.model=$$v},expression:\"model\"}},[_c('ht-form-item',{attrs:{\"label\":\"描述\",\"label-width\":\"120px\"}},[_c('ht-input',{attrs:{\"autocomplete\":\"off\",\"validate\":{required: true},\"placeholder\":\"请输入描述\",\"maxlength\":50,\"showWordLimit\":true},model:{value:(_vm.model.desc),callback:function ($$v) {_vm.$set(_vm.model, \"desc\", $$v)},expression:\"model.desc\"}})],1),_c('ht-form-item',{attrs:{\"label\":\"视图名称\",\"label-width\":\"120px\"}},[_c('ht-input',{attrs:{\"autocomplete\":\"off\",\"disabled\":_vm.model.id ? true : false,\"validate\":_vm.viewNameValidate,\"placeholder\":\"请输入视图名称\",\"maxlength\":50,\"showWordLimit\":true},model:{value:(_vm.model.viewName),callback:function ($$v) {_vm.$set(_vm.model, \"viewName\", $$v)},expression:\"model.viewName\"}})],1),_c('ht-form-item',{attrs:{\"label\":\"数据源\",\"label-width\":\"120px\"}},[_c('ht-select',{attrs:{\"options\":_vm.dataSources,\"disabled\":_vm.model.id ? true : false,\"props\":{key: 'alias', value: 'name'},\"validate\":{required: true}},on:{\"change\":_vm.dsChange},model:{value:(_vm.model.dsAlias),callback:function ($$v) {_vm.$set(_vm.model, \"dsAlias\", $$v)},expression:\"model.dsAlias\"}})],1),_c('ht-form-item',{attrs:{\"label\":\"sql语句\"}},[_c('el-tooltip',{staticClass:\"item\",attrs:{\"effect\":\"dark\",\"content\":_vm.content,\"placement\":\"top-start\"}},[_c('i',{staticClass:\"el-icon-question\"})]),_c('ht-input',{attrs:{\"type\":\"textarea\",\"autosize\":{minRows: 10, maxRows: 10},\"validate\":{\n required: true,\n regex: {exp: '^[^;]*$', message: '请不要以;结尾'},\n }},on:{\"change\":_vm.handleSqlChange},model:{value:(_vm.model.sql),callback:function ($$v) {_vm.$set(_vm.model, \"sql\", $$v)},expression:\"model.sql\"}}),_vm._v(\"\\n   \"),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.checkSql}},[_vm._v(\"验证SQL\")])],1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('ht-submit-button',{attrs:{\"url\":\"/form/viewManage/v1/save/0\",\"context\":\"form\",\"model\":_vm.model,\"scope-name\":\"editModelForm\",\"is-submit\":_vm.checkState},on:{\"before-save-data\":_vm.beforeSaveData,\"after-save-data\":_vm.afterSaveData}},[_vm._v(_vm._s(_vm.$t('eip.common.save')))]),_c('ht-submit-button',{attrs:{\"url\":\"/form/viewManage/v1/save/1\",\"context\":\"form\",\"model\":_vm.model,\"scope-name\":\"editModelForm\",\"is-submit\":_vm.checkState},on:{\"before-save-data\":_vm.beforeSaveData,\"after-save-data\":_vm.afterSaveData}},[_vm._v(\"保存并生成视图\")]),_c('el-button',{on:{\"click\":function($event){return _vm.handleClose()}}},[_vm._v(_vm._s(_vm.$t('eip.common.cancel')))])],1)],1),_c('ht-load-data',{attrs:{\"url\":_vm.loadDataUrl,\"context\":\"form\"},on:{\"after-load-data\":_vm.afterLoadData}}),(_vm.importDialogVisible)?_c('el-dialog',{attrs:{\"title\":\"导入视图\",\"visible\":_vm.importDialogVisible,\"width\":\"40%\",\"top\":\"30vh\",\"close-on-click-modal\":false},on:{\"update:visible\":function($event){_vm.importDialogVisible=$event}}},[_c('div',{staticStyle:{\"height\":\"150px\",\"padding-left\":\"20px\"}},[_c('el-upload',{ref:\"upload\",staticStyle:{\"display\":\"inline-block\"},attrs:{\"action\":_vm.uploadUrl,\"on-success\":_vm.handleUploadResult,\"on-error\":_vm.handleUploadResult,\"headers\":_vm.uploadHeaders,\"on-exceed\":_vm.onExceed,\"accept\":\".zip\",\"before-upload\":_vm.beforeUpload,\"limit\":1,\"auto-upload\":false}},[_c('el-button',{attrs:{\"size\":\"small\",\"icon\":\"el-icon-upload\"}},[_vm._v(\"选择视图\")])],1)],1),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{directives:[{name:\"loading\",rawName:\"v-loading.fullscreen.lock\",value:(_vm.fullscreenLoading),expression:\"fullscreenLoading\",modifiers:{\"fullscreen\":true,\"lock\":true}}],attrs:{\"type\":\"primary\",\"element-loading-text\":\"导入中...\"},on:{\"click\":_vm.uploadSubmit}},[_vm._v(\"确 定\")]),_c('el-button',{on:{\"click\":function($event){_vm.importDialogVisible = false}}},[_vm._v(\"取 消\")])],1)]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }"]}