{"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\\customDialog\\CustomDialogList.vue?vue&type=template&id=190f22ca&scoped=true&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\src\\views\\form\\customDialog\\CustomDialogList.vue","mtime":1675071992928},{"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,\"quick-search-props\":\"name,alias\",\"show-export\":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.showDialog('add')}}},[_vm._v(\"添加\")]),_c('ht-delete-button',{style:({marginLeft: '10px'}),attrs:{\"url\":_vm.deleteUrl,\"htTable\":_vm.$refs.htTable}},[_vm._v(\"删除\")]),_c('el-button',{staticStyle:{\"margin-left\":\"10px\"},attrs:{\"icon\":\"el-icon-back\",\"type\":\"primary\",\"plain\":\"\"},on:{\"click\":function($event){_vm.uploadDialogVisible = true;}}},[_vm._v(\"导入\")]),_c('el-button',{staticStyle:{\"margin-left\":\"10px\"},attrs:{\"icon\":\"el-icon-right\",\"type\":\"primary\",\"plain\":\"\"},on:{\"click\":_vm.handleExport}},[_vm._v(\"导出\")])]},proxy:true},{key:\"search\",fn:function(){return [_c('ht-table-search-panel',{attrs:{\"divide\":3}},[_c('ht-table-search-field',{attrs:{\"label\":\"名称\",\"prop\":\"name\"}}),_c('ht-table-search-field',{attrs:{\"label\":\"别名\",\"prop\":\"alias\"}})],1)]},proxy:true}])},[[_c('ht-table-column',{attrs:{\"type\":\"index\",\"width\":\"50\",\"align\":\"center\",\"label\":\"序号\"}}),_c('ht-table-column',{attrs:{\"label\":\"名称\",\"prop\":\"name\",\"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\",\"title\":\"编辑详情\"},on:{\"click\":function($event){return _vm.showDialog('edit', row)}}},[_vm._v(_vm._s(row.name))])]}}])}),_c('ht-table-column',{attrs:{\"prop\":\"alias\",\"width\":\"260\",\"label\":\"别名\",\"sortable\":true}}),_c('ht-table-column',{attrs:{\"prop\":\"style\",\"label\":\"显示样式\",\"width\":\"100\",\"filters\":[\n { text: '列表', value: 0 },\n { text: '树形', value: 1 },\n { text: '组合', value: 2 }\n ]},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\n var row = ref.row;\nreturn [(row.style == '0')?_c('el-tag',{attrs:{\"type\":\"info\"}},[_vm._v(\"列表\")]):_vm._e(),(row.style == '1')?_c('el-tag',{attrs:{\"type\":\"success\"}},[_vm._v(\"树形\")]):_vm._e(),(row.style == '2')?_c('el-tag',{attrs:{\"type\":\"primary\"}},[_vm._v(\"组合\")]):_vm._e()]}}])}),_c('ht-table-column',{attrs:{\"prop\":\"dsType\",\"label\":\"数据来源\",\"width\":\"110\",\"filters\":[\n { text: '数据源', value: 'dataSource' },\n { text: 'REST接口', value: 'restful' } ]},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\n var row = ref.row;\nreturn [(row.dsType == 'dataSource')?_c('el-tag',{attrs:{\"type\":\"info\"}},[_vm._v(\"数据源\")]):_vm._e(),(row.dsType == 'restful')?_c('el-tag',{attrs:{\"type\":\"success\"}},[_vm._v(\"REST接口\")]):_vm._e()]}}])}),_c('ht-table-column',{attrs:{\"prop\":\"objName\",\"label\":\"对象名称\",\"width\":\"200\",\"sortable\":true}}),_c('ht-table-column',{attrs:{\"prop\":\"dsalias\",\"label\":\"数据源的别名\",\"width\":\"200\",\"sortable\":true}}),_c('ht-table-column',{attrs:{\"width\":\"120\",\"label\":\"操作\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\n var row = ref.row;\nreturn [_c('el-dropdown',{attrs:{\"size\":\"mini\",\"split-button\":\"\"},on:{\"command\":_vm.handleCommond,\"click\":function($event){return _vm.handleCommond({ row: row, command: 'preview' })}}},[_c('span',[_c('i',{staticClass:\"el-icon-view\"}),_vm._v(\"预览 \")]),_c('el-dropdown-menu',{attrs:{\"slot\":\"dropdown\"},slot:\"dropdown\"},[(row.style == '0')?_c('el-dropdown-item',{attrs:{\"icon\":\"el-icon-plus\",\"command\":{ row: row, command: 'relation' }}},[_vm._v(\"添加为关联查询\")]):_vm._e()],1)],1)]}}])})]],2),(_vm.dialogVisible)?_c('el-dialog',{attrs:{\"width\":\"70%\",\"top\":\"6vh\",\"title\":_vm.title,\"visible\":_vm.dialogVisible,\"before-close\":_vm.handleClose,\"close-on-click-modal\":false,\"append-to-body\":\"\",\"close-on-press-escape\":true}},[_c('el-form',{staticStyle:{\"width\":\"100%\",\"height\":\"500px\"},attrs:{\"model\":_vm.treeSidebarData,\"inline\":true,\"data-vv-scope\":\"editCustomDialogList\"}},[_c('ht-form-item',{attrs:{\"label\":\"名称\",\"label-width\":\"120px\"}},[_c('ht-input',{staticClass:\"ht\",attrs:{\"placeholder\":\"请输入名称\",\"autocomplete\":\"off\",\"validate\":\"required\",\"maxlength\":50,\"showWordLimit\":true},model:{value:(_vm.treeSidebarData.name),callback:function ($$v) {_vm.$set(_vm.treeSidebarData, \"name\", $$v)},expression:\"treeSidebarData.name\"}})],1),_c('ht-form-item',{attrs:{\"label\":\"别名\",\"label-width\":\"120px\"}},[_c('ht-input',{directives:[{name:\"pinyin\",rawName:\"v-pinyin\",value:(_vm.treeSidebarData.name),expression:\"treeSidebarData.name\"}],staticClass:\"ht\",attrs:{\"placeholder\":\"请输入别名\",\"autocomplete\":\"off\",\"validate\":{\n required: true,\n regex: {\n exp: '^[a-zA-Z][a-zA-Z0-9_]*$',\n message: '只能输入字母、数字、下划线,且以字母开头',\n },\n },\"disabled\":_vm.treeSidebarData.id ? true : false,\"maxlength\":50,\"showWordLimit\":true},model:{value:(_vm.treeSidebarData.alias),callback:function ($$v) {_vm.$set(_vm.treeSidebarData, \"alias\", $$v)},expression:\"treeSidebarData.alias\"}})],1),_c('ht-form-item',{attrs:{\"label\":\"样式\",\"label-width\":\"120px\"}},[_c('ht-radio',{staticClass:\"ht\",attrs:{\"options\":[\n { key: 0, value: '列表' },\n { key: 1, value: '树形' },\n { key: 2 ,value: '组合' }\n ],\"readonly\":_vm.disabled},model:{value:(_vm.treeSidebarData.style),callback:function ($$v) {_vm.$set(_vm.treeSidebarData, \"style\", $$v)},expression:\"treeSidebarData.style\"}})],1),(_vm.treeSidebarData.style != 1)?_c('ht-form-item',{attrs:{\"label\":\"分页\",\"label-width\":\"120px\"}},[_c('ht-radio',{staticClass:\"ht\",attrs:{\"options\":[\n { key: true, value: '是' },\n { key: false, value: '否' } ]},model:{value:(_vm.treeSidebarData.needPage),callback:function ($$v) {_vm.$set(_vm.treeSidebarData, \"needPage\", $$v)},expression:\"treeSidebarData.needPage\"}})],1):_vm._e(),_c('ht-form-item',{attrs:{\"label\":\"单选多选\",\"label-width\":\"120px\"}},[_c('ht-radio',{staticClass:\"ht\",attrs:{\"options\":[\n { key: 1, value: '单选' },\n { key: -1, value: '多选' } ]},model:{value:(_vm.treeSidebarData.selectNum),callback:function ($$v) {_vm.$set(_vm.treeSidebarData, \"selectNum\", $$v)},expression:\"treeSidebarData.selectNum\"}})],1),(_vm.treeSidebarData.style == 2)?_c('div',[_c('br')]):_vm._e(),(_vm.treeSidebarData.style == 2)?_c('ht-form-item',{attrs:{\"label\":\"左树型对话框\",\"label-width\":\"120px\"}},[_c('ht-select',{staticClass:\"ht\",attrs:{\"options\":_vm.leftTreeDialogList,\"props\":{ key: 'alias', value: 'name' }},on:{\"change\":_vm.loadDialogFields},model:{value:(_vm.combinationRule.leftTree),callback:function ($$v) {_vm.$set(_vm.combinationRule, \"leftTree\", $$v)},expression:\"combinationRule.leftTree\"}})],1):_vm._e(),(_vm.treeSidebarData.style == 2)?_c('ht-form-item',{attrs:{\"label\":\"右列表对话框\",\"label-width\":\"120px\"}},[_c('ht-select',{staticClass:\"ht\",attrs:{\"options\":_vm.rightDialogList,\"props\":{ key: 'alias', value: 'name' }},on:{\"change\":_vm.loadDialogFields},model:{value:(_vm.combinationRule.rightDialog),callback:function ($$v) {_vm.$set(_vm.combinationRule, \"rightDialog\", $$v)},expression:\"combinationRule.rightDialog\"}})],1):_vm._e(),(_vm.treeSidebarData.style == 2 && _vm.combinationRule.leftTree && _vm.combinationRule.rightDialog)?[_c('el-divider',[_vm._v(\"设置组合规则\")]),_c('el-link',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.addCombinationRule}},[_vm._v(\"添加组合规则\")]),_c('br'),_vm._l((_vm.combinationRule.rules),function(rule,index){return [_c('ht-form-item',{attrs:{\"label\":_vm.combinationRule.leftTree,\"label-width\":\"120px\"}},[_c('ht-select',{staticClass:\"ht\",attrs:{\"options\":_vm.treeDialogFields,\"props\":{key:'alias',value:'name'}},model:{value:(_vm.combinationRule.rules[index].treeField),callback:function ($$v) {_vm.$set(_vm.combinationRule.rules[index], \"treeField\", $$v)},expression:\"combinationRule.rules[index].treeField\"}})],1),_c('ht-form-item',{attrs:{\"label\":_vm.combinationRule.rightDialog,\"label-width\":\"120px\"}},[_c('ht-select',{staticClass:\"ht\",attrs:{\"options\":_vm.listDialogFields,\"props\":{key:'alias',value:'name'}},on:{\"change\":function (item) {_vm.setCondition(item,index)}},model:{value:(_vm.combinationRule.rules[index].listField),callback:function ($$v) {_vm.$set(_vm.combinationRule.rules[index], \"listField\", $$v)},expression:\"combinationRule.rules[index].listField\"}}),_c('el-link',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){return _vm.deleteRule(index)}}},[_vm._v(\"删除\")])],1)]})]:_vm._e(),(_vm.treeSidebarData.style != 2)?_c('ht-form-item',{attrs:{\"label\":\"数据来源\",\"label-width\":\"120px\"}},[_c('ht-radio',{staticClass:\"ht\",attrs:{\"readonly\":_vm.disabled,\"options\":[\n { key: 'dataSource', value: '数据源' },\n { key: 'restful', value: 'REST接口' } ]},model:{value:(_vm.treeSidebarData.dsType),callback:function ($$v) {_vm.$set(_vm.treeSidebarData, \"dsType\", $$v)},expression:\"treeSidebarData.dsType\"}})],1):_vm._e(),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.treeSidebarData.dsType == 'dataSource' && _vm.treeSidebarData.style != 2),expression:\"treeSidebarData.dsType == 'dataSource' && treeSidebarData.style != 2\"}]},[(!_vm.treeSidebarData.id)?_c('ht-form-item',{attrs:{\"label\":\"数据源\",\"label-width\":\"120px\"}},[_c('ht-select',{staticClass:\"ht\",attrs:{\"options\":_vm.dataSourcesInBean,\"props\":{ key: 'alias', value: 'name' }},model:{value:(_vm.treeSidebarData.dsalias),callback:function ($$v) {_vm.$set(_vm.treeSidebarData, \"dsalias\", $$v)},expression:\"treeSidebarData.dsalias\"}})],1):_vm._e(),(!_vm.treeSidebarData.id && _vm.treeSidebarData.style != 2)?_c('ht-form-item',{attrs:{\"label\":\"查询表(视图)\",\"label-width\":\"120px\"}},[_c('ht-select',{staticStyle:{\"width\":\"100px\"},attrs:{\"options\":_vm.isTableList},model:{value:(_vm.treeSidebarData.isTable),callback:function ($$v) {_vm.$set(_vm.treeSidebarData, \"isTable\", $$v)},expression:\"treeSidebarData.isTable\"}}),_vm._v(\"  \\n \"),_c('ht-input',{staticStyle:{\"width\":\"170px\"},attrs:{\"placeholder\":\"请输入表或视图名称\",\"autocomplete\":\"off\"},model:{value:(_vm.objName),callback:function ($$v) {_vm.objName=$$v},expression:\"objName\"}}),_vm._v(\"  \\n \"),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.getByDsObjectName}},[_vm._v(\"查 询\")])],1):_vm._e(),_c('ht-form-item',{attrs:{\"label\":\"选择表或视图\",\"label-width\":\"120px\"}},[(_vm.treeSidebarData.style != 2)?_c('ht-select',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.treeSidebarData.id),expression:\"!treeSidebarData.id\"}],attrs:{\"options\":_vm.tableOrViewList,\"remote-method\":_vm.getByDsObjectName,\"props\":{ key: 'name', value: 'comment' }},model:{value:(_vm.treeSidebarData.objName),callback:function ($$v) {_vm.$set(_vm.treeSidebarData, \"objName\", $$v)},expression:\"treeSidebarData.objName\"}}):_vm._e(),_vm._v(\"  \\n \"),(_vm.treeSidebarData.id)?_c('label',[_vm._v(\"对象名称:\"+_vm._s(_vm.treeSidebarData.objName)+\"  所属数据源:\"+_vm._s(_vm.treeSidebarData.dsalias))]):_vm._e(),_vm._v(\"  \\n \"),(_vm.treeSidebarData.objName)?_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.showSettingDialog}},[_vm._v(\"设置列\")]):_vm._e()],1)],1),(_vm.treeSidebarData.dsType == 'restful')?_c('div',[_c('ht-form-item',{attrs:{\"label\":\"请求地址\",\"label-width\":\"120px\"}},[_c('ht-input',{staticClass:\"ht\",attrs:{\"placeholder\":\"请输入请求地址\",\"autocomplete\":\"off\",\"validate\":\"required\"},model:{value:(_vm.treeSidebarData.url),callback:function ($$v) {_vm.$set(_vm.treeSidebarData, \"url\", $$v)},expression:\"treeSidebarData.url\"}},[_c('template',{slot:\"append\"},[_c('el-tooltip',{attrs:{\"slot\":\"label\",\"effect\":\"dark\",\"content\":\"Restful接口地址,若要请求当前系统的某个微服务,以${服务名称}为前缀,如:${form}/base/tools/v1/getPinyin\"},slot:\"label\"},[_c('i',{staticClass:\"icon-question\"})])],1)],2)],1),_c('ht-form-item',{attrs:{\"label\":\"请求类型\",\"label-width\":\"120px\"}},[_c('ht-radio',{staticClass:\"ht\",attrs:{\"options\":[\n { key: 'POST', value: 'POST' },\n { key: 'GET', value: 'GET' } ]},model:{value:(_vm.treeSidebarData.requestType),callback:function ($$v) {_vm.$set(_vm.treeSidebarData, \"requestType\", $$v)},expression:\"treeSidebarData.requestType\"}})],1),(\n _vm.treeSidebarData.requestType == 'POST' &&\n _vm.treeSidebarData.needPage &&\n _vm.treeSidebarData.style != 1\n )?_c('ht-form-item',{attrs:{\"label\":\"页号(key)\",\"label-width\":\"120px\"}},[_c('ht-input',{staticClass:\"ht\",attrs:{\"placeholder\":\"请输入页号\",\"autocomplete\":\"off\",\"validate\":\"required\"},model:{value:(_vm.treeSidebarData.pageKey),callback:function ($$v) {_vm.$set(_vm.treeSidebarData, \"pageKey\", $$v)},expression:\"treeSidebarData.pageKey\"}})],1):_vm._e(),(\n _vm.treeSidebarData.requestType == 'POST' &&\n _vm.treeSidebarData.needPage &&\n _vm.treeSidebarData.style != 1\n )?_c('ht-form-item',{attrs:{\"label\":\"分页大小(key)\",\"label-width\":\"120px\"}},[_c('ht-input',{staticClass:\"ht\",attrs:{\"placeholder\":\"请输入分页大小\",\"autocomplete\":\"off\",\"validate\":\"required\"},model:{value:(_vm.treeSidebarData.pageSizeKey),callback:function ($$v) {_vm.$set(_vm.treeSidebarData, \"pageSizeKey\", $$v)},expression:\"treeSidebarData.pageSizeKey\"}})],1):_vm._e(),(\n _vm.treeSidebarData.requestType == 'POST' &&\n _vm.treeSidebarData.needPage &&\n _vm.treeSidebarData.style != 1\n )?_c('ht-form-item',{attrs:{\"label\":\"总条数(key)\",\"label-width\":\"120px\"}},[_c('ht-input',{staticClass:\"ht\",attrs:{\"placeholder\":\"请输入总条数\",\"autocomplete\":\"off\",\"validate\":\"required\"},model:{value:(_vm.treeSidebarData.totalKey),callback:function ($$v) {_vm.$set(_vm.treeSidebarData, \"totalKey\", $$v)},expression:\"treeSidebarData.totalKey\"}})],1):_vm._e(),(\n _vm.treeSidebarData.requestType == 'POST' &&\n _vm.treeSidebarData.needPage &&\n _vm.treeSidebarData.style != 1\n )?_c('ht-form-item',{attrs:{\"label\":\"列表(key)\",\"label-width\":\"120px\"}},[_c('ht-input',{staticClass:\"ht\",attrs:{\"placeholder\":\"请输入列表\",\"autocomplete\":\"off\",\"validate\":\"required\"},model:{value:(_vm.treeSidebarData.listKey),callback:function ($$v) {_vm.$set(_vm.treeSidebarData, \"listKey\", $$v)},expression:\"treeSidebarData.listKey\"}})],1):_vm._e(),_c('ht-form-item',{attrs:{\"label\":\"数据源\",\"label-width\":\"120px\"}},[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.showSettingDialog}},[_vm._v(\"设置列\")])],1)],1):_vm._e()],2),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('ht-submit-button',{attrs:{\"url\":_vm.saveUrl,\"model\":_vm.treeSidebarData,\"scope-name\":\"editCustomDialogList\",\"isSubmit\":_vm.isSubmit},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\":_vm.handleClose}},[_vm._v(\"取 消\")])],1)],1):_vm._e(),_c('ht-sidebar-dialog',{staticClass:\"cd-column__dialog\",attrs:{\"width\":\"100%\",\"visible\":_vm.dialogVisibleSetting,\"before-close\":_vm.close,\"close-on-click-modal\":false,\"show-close\":false,\"append-to-body\":\"\"},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_c('div',{staticClass:\"flex\",staticStyle:{\"justify-content\":\"space-between\",\"width\":\"100%\"}},[_c('div',{staticStyle:{\"float\":\"left\",\"width\":\"100%\"}},[_c('el-page-header',{staticStyle:{\"float\":\"left\"},attrs:{\"content\":_vm.titleSetting},on:{\"back\":_vm.close}}),(_vm.treeSidebarData.dsType != 'dataSource')?_c('el-button',{staticStyle:{\"float\":\"left\",\"margin-left\":\"20px\"},attrs:{\"type\":\"success\",\"icon\":\"el-icon-plus\"},on:{\"click\":_vm.addFields}},[_vm._v(\"添加字段\")]):_vm._e(),_c('el-button',{staticStyle:{\"float\":\"right\"},attrs:{\"type\":\"primary\",\"icon\":\"el-icon-check\"},on:{\"click\":_vm.save}},[_vm._v(\"保 存\")])],1)])]},proxy:true}])},[_c('el-form',{staticClass:\"custom-dialog__wrap\",attrs:{\"data-vv-scope\":\"settingSave\"}},[_c('el-row',{staticClass:\"custom-dialog__row\",attrs:{\"gutter\":20}},[_c('el-col',{staticClass:\"custom-dialog__row_left\",attrs:{\"span\":7}},[_c('el-table',{ref:\"htTableSetting\",attrs:{\"data\":_vm.table.columnList,\"border\":\"\"},on:{\"selection-change\":_vm.handleSelectionChange}},[_c('el-table-column',{attrs:{\"type\":\"selection\",\"width\":\"40\"}}),(_vm.treeSidebarData.dsType == 'dataSource')?_c('el-table-column',{key:1,attrs:{\"prop\":\"fieldName\",\"label\":\"字段\",\"width\":\"150\"}}):_vm._e(),(_vm.treeSidebarData.dsType != 'dataSource')?_c('el-table-column',{key:1,attrs:{\"label\":\"字段\",\"width\":\"150\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\n var row = ref.row;\nreturn [_c('ht-input',{attrs:{\"placeholder\":\"请输入字段\",\"autocomplete\":\"off\",\"validate\":\"required\"},model:{value:(row.fieldName),callback:function ($$v) {_vm.$set(row, \"fieldName\", $$v)},expression:\"row.fieldName\"}})]}}],null,false,3493348919)}):_vm._e(),_c('el-table-column',{key:2,attrs:{\"label\":\"字段说明\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\n var row = ref.row;\nreturn [_c('ht-input',{staticStyle:{\"width\":\"100%\"},attrs:{\"placeholder\":\"请输入字段说明\",\"autocomplete\":\"off\",\"validate\":\"required\",\"maxlength\":50},model:{value:(row.comment),callback:function ($$v) {_vm.$set(row, \"comment\", $$v)},expression:\"row.comment\"}})]}}])}),_c('el-table-column',{key:3,attrs:{\"label\":\"类型\",\"prop\":\"columnType\",\"width\":\"80\"}}),(_vm.treeSidebarData.dsType != 'dataSource')?_c('el-table-column',{key:4,attrs:{\"label\":\"操作\",\"width\":\"100\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\n var row = ref.row;\n var $index = ref.$index;\nreturn [_c('el-button',{attrs:{\"size\":\"mini\",\"type\":\"danger\",\"icon\":\"el-icon-delete\"},on:{\"click\":function($event){return _vm.deleteSetting(_vm.table.columnList, $index)}}},[_vm._v(\"删除\")])]}}],null,false,2310347494)}):_vm._e()],1)],1),_c('el-col',{attrs:{\"span\":1}},[_c('el-button',{staticStyle:{\"-webkit-transform\":\"rotate(270deg)\",\"transform\":\"rotate(270deg)\"},attrs:{\"type\":\"primary\",\"circle\":\"\",\"icon\":\"icon-hide\",\"title\":_vm.addColumnsTitle},on:{\"click\":_vm.addColumns}})],1),_c('el-col',{staticClass:\"custom-dialog__row_right\",attrs:{\"span\":16}},[_c('el-tabs',{attrs:{\"type\":\"border-card\"},on:{\"tab-click\":_vm.handleTabSwitch},model:{value:(_vm.tabStatus),callback:function ($$v) {_vm.tabStatus=$$v},expression:\"tabStatus\"}},[_c('el-tab-pane',{attrs:{\"label\":\"显示字段\",\"name\":\"display\"}},[(_vm.treeSidebarData.style == 0)?_c('el-table',{attrs:{\"data\":_vm.treeSidebarData.displayfield,\"border\":\"\"}},[_c('el-table-column',{attrs:{\"prop\":\"field\",\"label\":\"字段名\",\"width\":\"200\"}}),_c('el-table-column',{attrs:{\"label\":\"显示名\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\n var row = ref.row;\nreturn [_c('ht-input',{staticStyle:{\"width\":\"100%\"},attrs:{\"placeholder\":\"请输入显示名\",\"autocomplete\":\"off\",\"validate\":\"required\",\"maxlength\":50,\"showWordLimit\":true},model:{value:(row.comment),callback:function ($$v) {_vm.$set(row, \"comment\", $$v)},expression:\"row.comment\"}})]}}],null,false,1519175966)}),_c('el-table-column',{attrs:{\"label\":\"操作\",\"width\":\"100\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\n var row = ref.row;\n var $index = ref.$index;\nreturn [_c('el-button',{attrs:{\"size\":\"mini\",\"type\":\"danger\",\"icon\":\"el-icon-delete\"},on:{\"click\":function($event){return _vm.deleteSetting(_vm.treeSidebarData.displayfield, $index)}}},[_vm._v(\"删除\")])]}}],null,false,3502638888)})],1):_vm._e(),_c('el-form',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.treeSidebarData.style == 1),expression:\"treeSidebarData.style == 1\"}],attrs:{\"model\":_vm.displayfieldTree,\"data-vv-scope\":\"editSysTypeForm\"}},[_c('ht-form-item',{attrs:{\"label\":\"ID\",\"label-width\":\"120px\"}},[_c('ht-input',{attrs:{\"placeholder\":\"请输入ID\",\"autocomplete\":\"off\",\"validate\":\"required\",\"maxlength\":50,\"showWordLimit\":true},model:{value:(_vm.displayfieldTree.id),callback:function ($$v) {_vm.$set(_vm.displayfieldTree, \"id\", $$v)},expression:\"displayfieldTree.id\"}})],1),_c('ht-form-item',{attrs:{\"label\":\"父ID\",\"label-width\":\"120px\"}},[_c('ht-input',{attrs:{\"placeholder\":\"请输入父ID\",\"autocomplete\":\"off\",\"validate\":\"required\",\"maxlength\":50,\"showWordLimit\":true},model:{value:(_vm.displayfieldTree.pid),callback:function ($$v) {_vm.$set(_vm.displayfieldTree, \"pid\", $$v)},expression:\"displayfieldTree.pid\"}})],1),_c('ht-form-item',{attrs:{\"label\":\"父ID初始值\",\"label-width\":\"120px\"}},[_c('ht-input',{attrs:{\"type\":\"textarea\",\"autosize\":{ minRows: 4, maxRows: 6 },\"placeholder\":\"请输入父ID初始值\",\"validate\":\"required\",\"autocomplete\":\"off\",\"maxlength\":200,\"showWordLimit\":true},model:{value:(_vm.displayfieldTree.pvalue),callback:function ($$v) {_vm.$set(_vm.displayfieldTree, \"pvalue\", $$v)},expression:\"displayfieldTree.pvalue\"}}),_vm._v(\"  \\n \"),_c('el-checkbox',{model:{value:(_vm.displayfieldTree.isScript),callback:function ($$v) {_vm.$set(_vm.displayfieldTree, \"isScript\", $$v)},expression:\"displayfieldTree.isScript\"}},[_vm._v(\"脚本\")])],1),_c('ht-form-item',{attrs:{\"label\":\"显示名\",\"label-width\":\"120px\"}},[_c('ht-input',{attrs:{\"placeholder\":\"请输入显示名\",\"autocomplete\":\"off\",\"validate\":\"required\",\"maxlength\":50,\"showWordLimit\":true},model:{value:(_vm.displayfieldTree.displayName),callback:function ($$v) {_vm.$set(_vm.displayfieldTree, \"displayName\", $$v)},expression:\"displayfieldTree.displayName\"}})],1)],1)],1),_c('el-tab-pane',{attrs:{\"label\":\"条件字段\",\"name\":\"condition\"}},[_c('el-table',{attrs:{\"data\":_vm.treeSidebarData.conditionfield,\"border\":\"\"}},[_c('el-table-column',{attrs:{\"prop\":\"field\",\"label\":\"字段名\",\"width\":\"130\"}}),_c('el-table-column',{attrs:{\"label\":\"显示名\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\n var row = ref.row;\nreturn [_c('ht-input',{attrs:{\"placeholder\":\"请输入显示名\",\"autocomplete\":\"off\",\"validate\":\"required\",\"maxlength\":50},model:{value:(row.comment),callback:function ($$v) {_vm.$set(row, \"comment\", $$v)},expression:\"row.comment\"}})]}}])}),_c('el-table-column',{attrs:{\"label\":\"条件\",\"width\":\"120\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\n var row = ref.row;\nreturn [_c('ht-select',{directives:[{name:\"show\",rawName:\"v-show\",value:(row.dbType == 'number' || row.dbType == 'int'),expression:\"row.dbType == 'number' || row.dbType == 'int'\"}],attrs:{\"options\":_vm.number_opList,\"validate\":{ required: true }},model:{value:(row.condition),callback:function ($$v) {_vm.$set(row, \"condition\", $$v)},expression:\"row.condition\"}}),_c('ht-select',{directives:[{name:\"show\",rawName:\"v-show\",value:(row.dbType == 'varchar' || row.dbType == 'clob'),expression:\"row.dbType == 'varchar' || row.dbType == 'clob'\"}],attrs:{\"options\":_vm.string_opList,\"validate\":{ required: true }},model:{value:(row.condition),callback:function ($$v) {_vm.$set(row, \"condition\", $$v)},expression:\"row.condition\"}}),_c('ht-select',{directives:[{name:\"show\",rawName:\"v-show\",value:(row.dbType == 'date'),expression:\"row.dbType == 'date'\"}],attrs:{\"options\":_vm.date_opList,\"validate\":{ required: true }},model:{value:(row.condition),callback:function ($$v) {_vm.$set(row, \"condition\", $$v)},expression:\"row.condition\"}})]}}])}),_c('el-table-column',{attrs:{\"label\":\"值来源\",\"width\":\"130\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\n var row = ref.row;\nreturn [_c('ht-select',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.treeSidebarData.style != '1'),expression:\"treeSidebarData.style != '1'\"}],attrs:{\"options\":_vm.value_sourceList_list,\"validate\":{ required: true }},on:{\"change\":function($event){return _vm.controllerTypeChange(row)}},model:{value:(row.defaultType),callback:function ($$v) {_vm.$set(row, \"defaultType\", $$v)},expression:\"row.defaultType\"}}),_c('ht-select',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.treeSidebarData.style == '1'),expression:\"treeSidebarData.style == '1'\"}],attrs:{\"options\":_vm.value_sourceList_tree,\"validate\":{ required: true }},on:{\"change\":function($event){return _vm.controllerTypeChange(row)}},model:{value:(row.defaultType),callback:function ($$v) {_vm.$set(row, \"defaultType\", $$v)},expression:\"row.defaultType\"}})]}}])}),_c('el-table-column',{attrs:{\"label\":\"默认值\",\"width\":\"250\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\n var row = ref.row;\nreturn [(\n (row.defaultType == '2' || row.defaultType == '5') &&\n row.dbType != 'date'\n )?_c('ht-input',{attrs:{\"type\":\"textarea\",\"autosize\":{ minRows: 4, maxRows: 6 },\"placeholder\":\"请输入默认值\",\"autocomplete\":\"off\",\"validate\":\"required\",\"maxlength\":200,\"showWordLimit\":true},model:{value:(row.defaultValue),callback:function ($$v) {_vm.$set(row, \"defaultValue\", $$v)},expression:\"row.defaultValue\"}}):_vm._e(),_c('span',{staticStyle:{\"line-height\":\"32px\"}},[(row.defaultType == '1')?_c('el-select',{staticStyle:{\"float\":\"left\"},attrs:{\"popper-append-to-body\":false,\"placeholder\":\"请选择\"},on:{\"change\":function (val) {\n _vm.paramChange(val, row);\n }},model:{value:(row.controllerType),callback:function ($$v) {_vm.$set(row, \"controllerType\", $$v)},expression:\"row.controllerType\"}},_vm._l((_vm.param_ctList),function(item){return _c('el-option',{key:item.value,attrs:{\"label\":item.value,\"value\":item.key}},[_c('span',{staticStyle:{\"float\":\"left\"}},[_vm._v(_vm._s(item.value))])])}),1):_vm._e(),(\n _vm.param_ctList[row.controllerType - 1] &&\n _vm.param_ctList[row.controllerType - 1].config\n )?_c('param-setting-dialog',{attrs:{\"title\":_vm.param_ctList[row.controllerType - 1].value,\"config\":row && row.config\n ? row.config\n : _vm.param_ctList[row.controllerType - 1].config,\"data\":_vm.treeSidebarData.conditionfield},on:{\"returnVal\":function (val) {\n _vm.returnVal(val, row);\n }}}):_vm._e()],1),(row.defaultType == '2' && row.dbType == 'date')?_c('ht-date',{attrs:{\"validate\":{ required: true },\"format\":\"yyyy-MM-dd\"},model:{value:(row.defaultValue),callback:function ($$v) {_vm.$set(row, \"defaultValue\", $$v)},expression:\"row.defaultValue\"}}):_vm._e(),(\n row.defaultType == '2' &&\n row.dbType == 'date' &&\n row.condition == 'BETWEEN'\n )?_c('div',[_c('ht-date',{attrs:{\"placeholder\":\"选择结束日期\",\"validate\":{ required: true },\"format\":\"yyyy-MM-dd\"},model:{value:(row.endDate),callback:function ($$v) {_vm.$set(row, \"endDate\", $$v)},expression:\"row.endDate\"}})],1):_vm._e()]}}])}),_c('el-table-column',{attrs:{\"label\":\"操作\",\"width\":\"100\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\n var row = ref.row;\n var $index = ref.$index;\nreturn [_c('el-button',{attrs:{\"size\":\"mini\",\"type\":\"danger\",\"icon\":\"el-icon-delete\"},on:{\"click\":function($event){return _vm.deleteSetting(_vm.treeSidebarData.conditionfield, $index)}}},[_vm._v(\"删除\")])]}}])})],1)],1),_c('el-tab-pane',{attrs:{\"label\":\"返回字段\",\"name\":\"return\"}},[_c('el-table',{attrs:{\"data\":_vm.treeSidebarData.resultfield,\"border\":\"\"}},[_c('el-table-column',{attrs:{\"prop\":\"field\",\"label\":\"字段名\",\"width\":\"200\"}}),_c('el-table-column',{attrs:{\"label\":\"返回名称\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\n var row = ref.row;\nreturn [_c('ht-input',{staticStyle:{\"width\":\"100%\"},attrs:{\"placeholder\":\"请输入返回名称\",\"autocomplete\":\"off\",\"validate\":\"required\",\"maxlength\":50,\"showWordLimit\":true},model:{value:(row.comment),callback:function ($$v) {_vm.$set(row, \"comment\", $$v)},expression:\"row.comment\"}})]}}])}),_c('el-table-column',{attrs:{\"prop\":\"columnType\",\"label\":\"字段类型\",\"width\":\"100\"}}),_c('el-table-column',{attrs:{\"label\":\"操作\",\"width\":\"100\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\n var row = ref.row;\n var $index = ref.$index;\nreturn [_c('el-button',{attrs:{\"size\":\"mini\",\"type\":\"danger\",\"icon\":\"el-icon-delete\"},on:{\"click\":function($event){return _vm.deleteSetting(_vm.treeSidebarData.resultfield, $index)}}},[_vm._v(\"删除\")])]}}])})],1)],1),(_vm.treeSidebarData.dsType == 'dataSource')?_c('el-tab-pane',{attrs:{\"label\":\"排序字段\",\"name\":\"order\"}},[_c('el-table',{attrs:{\"data\":_vm.treeSidebarData.sortfield,\"border\":\"\"}},[_c('el-table-column',{attrs:{\"prop\":\"field\",\"label\":\"字段名\",\"width\":\"200\"}}),_c('el-table-column',{attrs:{\"prop\":\"comment\",\"label\":\"字段说明\",\"width\":\"200\"}}),_c('el-table-column',{attrs:{\"label\":\"排序类型\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\n var row = ref.row;\nreturn [_c('ht-select',{attrs:{\"options\":_vm.sort_typeList,\"validate\":{ required: true }},model:{value:(row.sortType),callback:function ($$v) {_vm.$set(row, \"sortType\", $$v)},expression:\"row.sortType\"}})]}}],null,false,3864355668)}),_c('el-table-column',{attrs:{\"label\":\"操作\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\n var row = ref.row;\n var $index = ref.$index;\nreturn [_c('el-button',{attrs:{\"size\":\"mini\",\"type\":\"danger\",\"icon\":\"el-icon-delete\"},on:{\"click\":function($event){return _vm.deleteSetting(_vm.treeSidebarData.sortfield, $index)}}},[_vm._v(\"删除\")])]}}],null,false,3666614408)})],1)],1):_vm._e(),_c('el-tab-pane',{attrs:{\"label\":\"自定义SQL\",\"name\":\"custom\"}},[_c('el-checkbox',{model:{value:(_vm.isSqlBuildType),callback:function ($$v) {_vm.isSqlBuildType=$$v},expression:\"isSqlBuildType\"}},[_vm._v(\"\\n 自定义SQL\\n \"),_c('el-tooltip',{staticClass:\"item\",attrs:{\"effect\":\"dark\",\"placement\":\"top\"}},[_c('div',{attrs:{\"slot\":\"content\"},slot:\"content\"},[_c('ul',[_c('li',[_vm._v(\"\\n 自定义SQL\\n \"),_c('ul',[_c('li',[_vm._v(\"if(map.get('ACTDEFID')!=null){\")]),_c('li',[_vm._v(\"\\n return 'select * from where ACTDEFID like\\n '%'+map.get('ACTDEFID')+'%'' ;\\n \")]),_c('li',[_vm._v(\"}\")]),_c('li',[_vm._v(\"其中的map为系统所封装的一个参数\")]),_c('li',[_vm._v(\"\\n 在脚本中使用map.get('ACTDEFID')可以获取表单提交时所携带的ACTDEFID参数值,\\n 脚本应拼接并返回任意的可执行的sql语句;同时,sql语句字段返回应该包含我们定义的\\n 返回字段,和显示字段,通常使用select *\\n from的方式保证需求字段都在这个查询里面\\n \")])])])])]),_c('i',{staticClass:\"icon-question\",staticStyle:{\"margin-right\":\"8px\"}})])],1),_c('ht-select',{attrs:{\"options\":_vm.selectOptions,\"props\":{ key: 'field', value: 'comment' }},on:{\"change\":function($event){return _vm.changeOptions()}},model:{value:(_vm.selectOp),callback:function ($$v) {_vm.selectOp=$$v},expression:\"selectOp\"}}),_c('br'),_c('br'),_c('el-input',{attrs:{\"type\":\"textarea\",\"validate\":{ required: true },\"autosize\":{ minRows: 12 },\"placeholder\":\"请输入内容\"},model:{value:(_vm.treeSidebarData.diySql),callback:function ($$v) {_vm.$set(_vm.treeSidebarData, \"diySql\", $$v)},expression:\"treeSidebarData.diySql\"}})],1),(_vm.treeSidebarData.dsType != 'dataSource' && _vm.treeSidebarData.requestType == 'POST')?_c('el-tab-pane',{attrs:{\"label\":\"POST请求参数\",\"name\":\"dataParam\"}},[_c('div',{staticStyle:{\"min-height\":\"320px\"}},[_c('el-tag',{attrs:{\"type\":\"warning\"}},[_vm._v(\"以POST方式请求接口时传入的参数,参数中可以通过${field}传入条件字段中定义的参数。\")]),_c('VariablesSelector',{attrs:{\"data\":_vm.treeSidebarData.conditionfield,\"node-key\":\"field\",\"props\":{label:'comment', children: 'children'}},on:{\"node-click\":_vm.handleVarSelectorClick}}),_c('codemirror',{ref:\"dataParamCode\",staticClass:\"code\",staticStyle:{\"width\":\"95%\",\"min-height\":\"270px\"},attrs:{\"options\":_vm.cmOptions},model:{value:(_vm.treeSidebarData.dataParam),callback:function ($$v) {_vm.$set(_vm.treeSidebarData, \"dataParam\", $$v)},expression:\"treeSidebarData.dataParam\"}})],1)]):_vm._e()],1)],1)],1)],1)],1),_c('custom-dialog-show',{ref:\"customDialogShow\",attrs:{\"title\":_vm.titlePreview,\"custom-dialog\":_vm.customDialogPreview,\"alias\":_vm.aliasPreview},on:{\"handle-save\":_vm.handleSavePreview}}),_c('custom-dialog-show-tree',{ref:\"customDialogShowTree\",attrs:{\"title\":_vm.titlePreview,\"custom-dialog\":_vm.customDialogPreview,\"alias\":_vm.aliasPreview}}),_c('eip-tree-dialog',{ref:\"eipTreeDialog\",attrs:{\"custom-dialog\":_vm.customDialogPreview,\"alias\":_vm.aliasPreview}}),_c('el-dialog',{attrs:{\"title\":\"上传文件\",\"visible\":_vm.uploadDialogVisible,\"before-close\":_vm.beforeClose,\"name\":\"uploadDialog\",\"width\":\"40%\",\"top\":\"30vh\",\"custom-class\":\"upload-dialog\"}},[_c('el-upload',{ref:\"elUpload\",staticClass:\"upload-dialog__content\",attrs:{\"action\":_vm.uploadUrl,\"http-request\":_vm.handleImport,\"accept\":\".zip\",\"file-list\":_vm.fileList,\"limit\":1,\"auto-upload\":false}},[_c('el-button',{attrs:{\"size\":\"small\",\"icon\":\"el-icon-upload\"}},[_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 }"]}