{"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\\customquery\\CustomQueryList.vue?vue&type=template&id=e68a65c6&scoped=true&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\src\\views\\form\\customquery\\CustomQueryList.vue","mtime":1675071992960},{"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\",\"defaultSorter\":[{'property':'CREATE_TIME_','direction':'DESC'}],\"show-export\":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.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:{\"size\":\"small\",\"icon\":\"el-icon-back\",\"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\",\"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:{\"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.id)}}},[_vm._v(_vm._s(row.name))])]}}])}),_c('ht-table-column',{attrs:{\"prop\":\"alias\",\"width\":\"260\",\"label\":\"别名\",\"sortable\":true}}),_c('ht-table-column',{attrs:{\"prop\":\"dsType\",\"label\":\"数据来源\",\"width\":\"110\",\"filters\":[\n { text: '数据源', value: 'dataSource' },\n { text: 'REST接口', value: 'restful' }\n ]},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\":\"260\",\"sortable\":true}}),_c('ht-table-column',{attrs:{\"prop\":\"dsalias\",\"label\":\"数据源的别名\",\"width\":\"160\",\"sortable\":true}}),_c('ht-table-column',{attrs:{\"width\":\"120\",\"label\":\"操作\"},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(\"预览\\n \")]),_c('el-dropdown-menu',{attrs:{\"slot\":\"dropdown\"},slot:\"dropdown\"},[_c('el-dropdown-item',{attrs:{\"icon\":\"el-icon-plus\",\"command\":{ row: row, command: 'dialog' }}},[_vm._v(\"添加为对话框\")])],1)],1)]}}])})]],2),_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\":\"\"}},[_c('el-form',{staticStyle:{\"width\":\"100%\",\"height\":\"500px\"},attrs:{\"model\":_vm.treeSidebarData,\"inline\":true,\"data-vv-scope\":\"editCustomQueryList\"}},[_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\":{ required: true, regex:{exp:'^[a-zA-Z][a-zA-Z0-9_]*$', message:'只能输入字母、数字、下划线,且以字母开头' } },\"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),(_vm.treeSidebarData.needPage == 1)?_c('ht-form-item',{attrs:{\"label\":\"分页大小\",\"label-width\":\"120px\"}},[_c('ht-input',{staticClass:\"ht\",attrs:{\"placeholder\":\"请输入分页大小\",\"autocomplete\":\"off\",\"validate\":{ required: true, numeric: true, max_value: 500 }},model:{value:(_vm.treeSidebarData.pageSize),callback:function ($$v) {_vm.$set(_vm.treeSidebarData, \"pageSize\", $$v)},expression:\"treeSidebarData.pageSize\"}},[_c('template',{slot:\"append\"},[_c('el-tooltip',{attrs:{\"slot\":\"label\",\"effect\":\"dark\",\"content\":\"关联查询时固定按照该分页大小返回第一页数据,分页大小上限为500。\"},slot:\"label\"},[_c('i',{staticClass:\"icon-question\"})])],1)],2)],1):_vm._e(),_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接口' }\n ]},model:{value:(_vm.treeSidebarData.dsType),callback:function ($$v) {_vm.$set(_vm.treeSidebarData, \"dsType\", $$v)},expression:\"treeSidebarData.dsType\"}})],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.treeSidebarData.dsType == 'dataSource'),expression:\"treeSidebarData.dsType == 'dataSource'\"}]},[(!_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)?_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\"}},[_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._v(\"  \\n \"),(_vm.treeSidebarData.id)?_c('label',[_vm._v(\"\\n 对象名称:\"+_vm._s(_vm.treeSidebarData.objName)+\"  所属数据源:\"+_vm._s(_vm.treeSidebarData.dsalias)+\"\\n \")]):_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' }\n ]},model:{value:(_vm.treeSidebarData.requestType),callback:function ($$v) {_vm.$set(_vm.treeSidebarData, \"requestType\", $$v)},expression:\"treeSidebarData.requestType\"}})],1),_c('ht-form-item',{attrs:{\"label-width\":\"120px\",\"label\":\"接口头部\"}},[_c('ht-input',{staticClass:\"ht\",attrs:{\"placeholder\":\"请求接口的头部信息\",\"autocomplete\":\"off\"},model:{value:(_vm.treeSidebarData.header),callback:function ($$v) {_vm.$set(_vm.treeSidebarData, \"header\", $$v)},expression:\"treeSidebarData.header\"}},[_c('template',{slot:\"append\"},[_c('el-tooltip',{attrs:{\"slot\":\"label\",\"effect\":\"dark\",\"content\":\"接口头部(header)为JSON格式,如:{'Authorization':'Bearer eyJhbGciOiJIUzUxMiJ9'}\"},slot:\"label\"},[_c('i',{staticClass:\"icon-question\"})])],1)],2)],1),(\n _vm.treeSidebarData.requestType == 'POST' &&\n _vm.treeSidebarData.needPage == 1\n )?_c('ht-form-item',{attrs:{\"label\":\"页号(key)\",\"label-width\":\"120px\"}},[(_vm.treeSidebarData.needPage == 1)?_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\"}}):_vm._e()],1):_vm._e(),(\n _vm.treeSidebarData.requestType == 'POST' &&\n _vm.treeSidebarData.needPage == 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 == 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(),_c('ht-form-item',{attrs:{\"label\":\"列表(key)\",\"label-width\":\"120px\"}},[_c('ht-input',{staticClass:\"ht\",attrs:{\"placeholder\":\"列表所对应key\",\"autocomplete\":\"off\"},model:{value:(_vm.treeSidebarData.listKey),callback:function ($$v) {_vm.$set(_vm.treeSidebarData, \"listKey\", $$v)},expression:\"treeSidebarData.listKey\"}},[_c('template',{slot:\"append\"},[_c('el-tooltip',{attrs:{\"slot\":\"label\",\"effect\":\"dark\",\"content\":\"如果返回的数据为复杂结构,请输入列表数据的key(支持多级嵌套结构,例如result.rows)\"},slot:\"label\"},[_c('i',{staticClass:\"icon-question\"})])],1)],2)],1),_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()],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('ht-submit-button',{attrs:{\"url\":_vm.saveUrl,\"model\":_vm.treeSidebarData,\"scope-name\":\"editCustomQueryList\",\"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),_c('ht-sidebar-dialog',{staticClass:\"cd-column__dialog\",attrs:{\"width\":\"100%\",\"title\":_vm.titleSetting,\"visible\":_vm.dialogVisibleSetting,\"before-close\":_vm.close,\"close-on-click-modal\":false,\"append-to-body\":\"\",\"show-close\":false},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:\"form-table__wrap\",attrs:{\"data-vv-scope\":\"settingSave\"}},[_c('el-row',{staticClass:\"form-table__row\",attrs:{\"gutter\":20}},[_c('el-col',{staticClass:\"form-table__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\",\"maxlength\":50},model:{value:(row.fieldName),callback:function ($$v) {_vm.$set(row, \"fieldName\", $$v)},expression:\"row.fieldName\"}})]}}],null,false,3161421132)}):_vm._e(),_c('el-table-column',{key:\"3\",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:\"4\",attrs:{\"label\":\"类型\",\"prop\":\"columnType\",\"width\":\"80\"}}),(_vm.treeSidebarData.dsType != 'dataSource')?_c('el-table-column',{key:\"2\",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:\"form-table__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\":\"return\"}},[(_vm.treeSidebarData.dsType != 'dataSource')?_c('div',[_c('el-tag',{attrs:{\"type\":\"warning\"}},[_vm._v(\"如果返回的数据为复杂的JSON结构,可以指定列表(key)字段,当前返回字段为列表中的字段。\")]),_c('ol',{staticClass:\"guide-ol\"},[_c('li',[_vm._v(\"\\n 例如返回的数据为:\\n \"),_c('code',[_vm._v(\"{state: true, message: \\\"数据请求成功\\\", result: {page: 1, size:20, total: 200, rows: [{name: \\\"name1\\\",age: 20},{name: \\\"name2\\\",age: 18}]}}\")])]),_c('li',[_vm._v(\"\\n 指定列表(key)字段为\\n \"),_c('code',[_vm._v(\"result.rows\")]),_vm._v(\",现在返回字段就可以指定\\n \"),_c('code',[_vm._v(\"{name: \\\"name1\\\",age: 20}\")]),_vm._v(\"中的字段,如:\\n \"),_c('code',[_vm._v(\"name\")]),_vm._v(\"或者\\n \"),_c('code',[_vm._v(\"age\")])])]),_c('br')],1):_vm._e(),_c('el-table',{attrs:{\"data\":_vm.treeSidebarData.resultfield,\"border\":\"\"}},[_c('el-table-column',{attrs:{\"prop\":\"field\",\"label\":\"字段名\",\"width\":\"200\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\n var row = ref.row;\nreturn [_c('ht-input',{attrs:{\"permission\":_vm.treeSidebarData.dsType != 'dataSource' ? 'w':'r',\"placeholder\":\"返回的字段名\",\"autocomplete\":\"off\",\"validate\":\"required\",\"maxlength\":50,\"showWordLimit\":true},model:{value:(row.field),callback:function ($$v) {_vm.$set(row, \"field\", $$v)},expression:\"row.field\"}})]}}])}),_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,\"showWordLimit\":true},model:{value:(row.comment),callback:function ($$v) {_vm.$set(row, \"comment\", $$v)},expression:\"row.comment\"}})]}}])}),_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),_c('el-tab-pane',{attrs:{\"label\":\"条件字段\",\"name\":\"condition\"}},[_c('el-table',{attrs:{\"data\":_vm.treeSidebarData.conditionfield,\"border\":\"\"}},[_c('el-table-column',{attrs:{\"label\":\"字段名\",\"width\":\"130\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\n var row = ref.row;\nreturn [_c('ht-input',{attrs:{\"permission\":_vm.treeSidebarData.dsType != 'dataSource' ? 'w':'r',\"placeholder\":\"字段名\",\"autocomplete\":\"off\",\"validate\":\"required\",\"maxlength\":50},model:{value:(row.field),callback:function ($$v) {_vm.$set(row, \"field\", $$v)},expression:\"row.field\"}})]}}])}),_c('el-table-column',{attrs:{\"label\":\"显示名\",\"width\":\"130\"},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\"}})]}}])}),(_vm.treeSidebarData.dsType == 'dataSource')?_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\"}})]}}],null,false,4014670371)}):_vm._e(),_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.sourceListChang(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.sourceListChang(row)}},model:{value:(row.defaultType),callback:function ($$v) {_vm.$set(row, \"defaultType\", $$v)},expression:\"row.defaultType\"}})]}}])}),_c('el-table-column',{attrs:{\"label\":\"默认值\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\n var row = ref.row;\nreturn [(row.dbType != 'date' && row.defaultType == 2)?_c('ht-input',{attrs:{\"type\":\"textarea\",\"autosize\":{ minRows: 1, maxRows: 4 },\"placeholder\":\"请输入默认值\",\"autocomplete\":\"off\",\"validate\":{'required':row.defaultType == '2'},\"maxlength\":200,\"showWordLimit\":true},model:{value:(row.defaultValue),callback:function ($$v) {_vm.$set(row, \"defaultValue\", $$v)},expression:\"row.defaultValue\"}}):_vm._e(),(row.dbType == 'date')?_c('ht-date',{attrs:{\"validate\":{'required':row.defaultType == '2'},\"format\":\"yyyy-MM-dd\"},model:{value:(row.defaultValue),callback:function ($$v) {_vm.$set(row, \"defaultValue\", $$v)},expression:\"row.defaultValue\"}}):_vm._e(),(row.dbType == 'date' && row.condition == 'BETWEEN')?_c('div',[_c('ht-date',{attrs:{\"placeholder\":\"选择结束日期\",\"validate\":{'required':row.defaultType == '2'},\"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\":\"140\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\n var row = ref.row;\nreturn [(\n row.defaultType == '1'\n ? (row.controllerType = '1')\n : (row.controllerType = '')\n )?_c('ht-select',{attrs:{\"options\":_vm.param_ctList,\"validate\":{ required: true }},model:{value:(row.controllerType),callback:function ($$v) {_vm.$set(row, \"controllerType\", $$v)},expression:\"row.controllerType\"}}):_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),(_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(),(_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\":\"操作\",\"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.sortfield, $index)}}},[_vm._v(\"删除\")])]}}],null,false,3666614408)})],1)],1):_vm._e(),(_vm.treeSidebarData.dsType == 'dataSource')?_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(\"return 'select * from where ACTDEFID like '%'+map.get('ACTDEFID')+'%'' ;\")]),_c('li',[_vm._v(\"}\")]),_c('li',[_vm._v(\"其中的map为系统所封装的一个参数\")]),_c('li',[_vm._v(\"\\n 在脚本中使用map.get('ACTDEFID')可以获取表单提交时所携带的ACTDEFID参数值,\\n 脚本应拼接并返回任意的可执行的sql语句;同时,sql语句字段返回应该包含我们定义的\\n 返回字段,和显示字段,通常使用select * 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\",\"autosize\":{ minRows: 12 },\"placeholder\":\"请输入内容\"},on:{\"input\":function($event){return _vm.diySqlChange($event)}},model:{value:(_vm.treeSidebarData.diySql),callback:function ($$v) {_vm.$set(_vm.treeSidebarData, \"diySql\", $$v)},expression:\"treeSidebarData.diySql\"}})],1):_vm._e()],1)],1)],1)],1)],1),_c('custom-query-show',{ref:\"customQueryShow\"}),_c('el-dialog',{attrs:{\"title\":\"上传文件\",\"visible\":_vm.uploadDialogVisible,\"before-close\":_vm.beforeClose,\"name\":\"uploadDialog\",\"width\":\"40%\",\"custom-class\":\"upload-dialog\",\"top\":\"30vh\"}},[_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 }"]}