{"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\\components\\form\\customView\\ViewEdit.vue?vue&type=template&id=b37cd882&scoped=true&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\src\\components\\form\\customView\\ViewEdit.vue","mtime":1675071992131},{"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('el-dialog',{attrs:{\"title\":\"编辑自定义视图\",\"visible\":_vm.dialogVisible,\"before-close\":_vm.beforeClose,\"close-on-click-modal\":false,\"width\":\"80%\"}},[_c('el-tabs',[_c('el-tab-pane',{attrs:{\"label\":\"基本信息\"}},[_c('el-form',{attrs:{\"data-vv-scope\":\"viewEdit\"}},[_c('ht-form-item',{attrs:{\"label\":\"名称\",\"validate\":\"required\"}},[_c('ht-input',{staticStyle:{\"width\":\"80%\"},attrs:{\"validate\":{required:true},\"maxlength\":50,\"showWordLimit\":true},model:{value:(_vm.data.name),callback:function ($$v) {_vm.$set(_vm.data, \"name\", $$v)},expression:\"data.name\"}})],1),_c('ht-form-item',{attrs:{\"label\":\"别名\",\"validate\":\"required\"}},[_c('ht-input',{directives:[{name:\"pinyin\",rawName:\"v-pinyin\",value:(_vm.data.name),expression:\"data.name\"}],staticStyle:{\"width\":\"80%\"},attrs:{\"disabled\":_vm.data.id?true:false,\"validate\":{required:true, regex:{exp:'^[a-zA-Z][a-zA-Z0-9_]*$', message:'只能输入字母、数字、下划线,且以字母开头' }},\"maxlength\":50,\"showWordLimit\":true},model:{value:(_vm.data.alias),callback:function ($$v) {_vm.$set(_vm.data, \"alias\", $$v)},expression:\"data.alias\"}})],1),(_vm.data.interface)?_c('ht-form-item',{attrs:{\"label\":\"接口地址\"}},[_c('ht-input',{staticStyle:{\"width\":\"80%\"},attrs:{\"disabled\":\"\"},model:{value:(_vm.data.interface),callback:function ($$v) {_vm.$set(_vm.data, \"interface\", $$v)},expression:\"data.interface\"}}),_c('el-popover',{attrs:{\"placement\":\"top-start\",\"title\":\"接口提示\",\"width\":\"400\",\"trigger\":\"hover\",\"content\":\"接口类型为POST类型,接口参数示例为:{pageBean: {page: \\\"1\\\", pageSize: 30, showTotal: \\\"true\\\"},querys: [{property: \\\"表名.字段名\\\", value: \\\"参数内容\\\", group: \\\"main\\\", operation: \\\"LIKE\\\", relation: \\\"OR\\\"}}\"}},[_c('el-button',{directives:[{name:\"clipboard\",rawName:\"v-clipboard:copy\",value:(_vm.data.interface),expression:\"data.interface\",arg:\"copy\"},{name:\"clipboard\",rawName:\"v-clipboard:success\",value:(_vm.onCopy),expression:\"onCopy\",arg:\"success\"},{name:\"clipboard\",rawName:\"v-clipboard:error\",value:(_vm.onError),expression:\"onError\",arg:\"error\"}],staticClass:\"copy-btn\",attrs:{\"slot\":\"reference\",\"type\":\"text\"},slot:\"reference\"},[_vm._v(\"复制地址\")])],1)],1):_vm._e(),_c('ht-form-item',{attrs:{\"label\":\"是否分页\",\"validate\":\"required\"}},[_c('el-switch',{attrs:{\"active-color\":\"#13ce66\",\"inactive-color\":\"#ff4949\",\"active-value\":1,\"inactive-value\":0},model:{value:(_vm.data.needPage),callback:function ($$v) {_vm.$set(_vm.data, \"needPage\", $$v)},expression:\"data.needPage\"}}),_vm._v(\"\\n  \\n \"),(_vm.data.needPage===1)?_c('ht-select',{attrs:{\"options\":[{key:'10',value:10},{key:'20',value:20},{key:'30',value:30},{key:'50',value:50},{key:'100',value:100}],\"props\":{key:'key',value:'value'}},model:{value:(_vm.data.pageSize),callback:function ($$v) {_vm.$set(_vm.data, \"pageSize\", $$v)},expression:\"data.pageSize\"}}):_vm._e()],1),_c('ht-form-item',{attrs:{\"label\":\"是否初始查询\",\"validate\":\"required\"}},[_c('el-switch',{attrs:{\"active-color\":\"#13ce66\",\"inactive-color\":\"#ff4949\",\"active-value\":1,\"inactive-value\":0},model:{value:(_vm.data.initQuery),callback:function ($$v) {_vm.$set(_vm.data, \"initQuery\", $$v)},expression:\"data.initQuery\"}})],1),_c('ht-form-item',{attrs:{\"label\":\"是否显示行号\",\"validate\":\"required\"}},[_c('el-switch',{attrs:{\"active-color\":\"#13ce66\",\"inactive-color\":\"#ff4949\",\"active-value\":1,\"inactive-value\":0},model:{value:(_vm.data.showRowsNum),callback:function ($$v) {_vm.$set(_vm.data, \"showRowsNum\", $$v)},expression:\"data.showRowsNum\"}})],1),_c('ht-form-item',{attrs:{\"label\":\"数据模板\",\"validate\":\"required\"}},[_c('ht-select',{attrs:{\"options\":_vm.templateList,\"props\":{key:'alias',value:'templateName'},\"validate\":{required:true}},model:{value:(_vm.data.templateAlias),callback:function ($$v) {_vm.$set(_vm.data, \"templateAlias\", $$v)},expression:\"data.templateAlias\"}})],1),_c('ht-form-item',{attrs:{\"label\":\"重新生成模板\",\"validate\":\"required\"}},[_c('el-switch',{attrs:{\"active-color\":\"#13ce66\",\"inactive-color\":\"#ff4949\",\"active-value\":1,\"inactive-value\":0},model:{value:(_vm.data.rebuildTemp),callback:function ($$v) {_vm.$set(_vm.data, \"rebuildTemp\", $$v)},expression:\"data.rebuildTemp\"}})],1)],1)],1),_c('el-tab-pane',{attrs:{\"label\":\"显示字段\"}},[_c('el-table',{attrs:{\"data\":_vm.data.shows,\"height\":\"400\",\"border\":\"\"}},[_c('el-table-column',{attrs:{\"prop\":\"fieldName\",\"label\":\"列名\"}}),_c('el-table-column',{attrs:{\"label\":\"注释\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('ht-input',{attrs:{\"maxlength\":50},model:{value:(scope.row.fieldDesc),callback:function ($$v) {_vm.$set(scope.row, \"fieldDesc\", $$v)},expression:\"scope.row.fieldDesc\"}})]}}])}),_c('el-table-column',{attrs:{\"label\":\"支持排序\",\"width\":\"80\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.isVirtual!==1)?_c('el-switch',{attrs:{\"active-color\":\"#13ce66\",\"inactive-color\":\"#ff4949\",\"active-value\":1,\"inactive-value\":0},model:{value:(scope.row.sortable),callback:function ($$v) {_vm.$set(scope.row, \"sortable\", $$v)},expression:\"scope.row.sortable\"}}):_vm._e()]}}])}),_c('el-table-column',{attrs:{\"label\":\"排序方向\",\"width\":\"100\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.defaultSort===1)?_c('ht-select',{attrs:{\"options\":[{key:'asc'},{key:'desc'}],\"props\":{key:'key',value:'key'},\"clearable\":\"\"},model:{value:(scope.row.sortSeq),callback:function ($$v) {_vm.$set(scope.row, \"sortSeq\", $$v)},expression:\"scope.row.sortSeq\"}}):_vm._e()]}}])}),_c('el-table-column',{attrs:{\"label\":\"默认排序\",\"width\":\"80\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-button',{attrs:{\"type\":scope.row.defaultSort!==1?'info':'success'},on:{\"click\":function($event){return _vm.defaultSortChange(scope.row)}}},[_vm._v(_vm._s(scope.row.defaultSort!==1?\"否\":\"是\"))])]}}])}),_c('el-table-column',{attrs:{\"label\":\"是否冻结\",\"width\":\"80\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-switch',{attrs:{\"active-color\":\"#13ce66\",\"inactive-color\":\"#ff4949\",\"active-value\":1,\"inactive-value\":0},model:{value:(scope.row.frozen),callback:function ($$v) {_vm.$set(scope.row, \"frozen\", $$v)},expression:\"scope.row.frozen\"}})]}}])}),_c('el-table-column',{attrs:{\"label\":\"是否隐藏\",\"width\":\"80\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-switch',{attrs:{\"active-color\":\"#13ce66\",\"inactive-color\":\"#ff4949\",\"active-value\":1,\"inactive-value\":0},model:{value:(scope.row.hidden),callback:function ($$v) {_vm.$set(scope.row, \"hidden\", $$v)},expression:\"scope.row.hidden\"}})]}}])}),_c('el-table-column',{attrs:{\"label\":\"对齐方式\",\"width\":\"100\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('ht-select',{attrs:{\"options\":[{key:'left',value:'居左'},{key:'center',value:'居中'},{key:'right',value:'居右'}],\"props\":{key:'key',value:'value'}},model:{value:(scope.row.align),callback:function ($$v) {_vm.$set(scope.row, \"align\", $$v)},expression:\"scope.row.align\"}})]}}])}),_c('el-table-column',{attrs:{\"label\":\"宽度\",\"width\":\"140\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('ht-input',{attrs:{\"maxlength\":50},model:{value:(scope.row.width),callback:function ($$v) {_vm.$set(scope.row, \"width\", $$v)},expression:\"scope.row.width\"}})]}}])}),_c('el-table-column',{attrs:{\"label\":\"统计类型\",\"width\":\"120\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('ht-select',{attrs:{\"options\":[{key:'',value:'请选择'},{key:'sum',value:'求和'}],\"props\":{key:'key',value:'value'}},model:{value:(scope.row.summaryType),callback:function ($$v) {_vm.$set(scope.row, \"summaryType\", $$v)},expression:\"scope.row.summaryType\"}})]}}])})],1)],1),_c('el-tab-pane',{attrs:{\"label\":\"条件字段\"}},[_c('el-table',{attrs:{\"data\":_vm.data.conditions,\"height\":\"400\",\"border\":\"\"}},[_c('el-table-column',{attrs:{\"prop\":\"fieldName\",\"label\":\"列名\"}}),_c('el-table-column',{attrs:{\"label\":\"描述\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('ht-input',{attrs:{\"maxlength\":50,\"showWordLimit\":true},model:{value:(scope.row.fieldDesc),callback:function ($$v) {_vm.$set(scope.row, \"fieldDesc\", $$v)},expression:\"scope.row.fieldDesc\"}})]}}])}),_c('el-table-column',{attrs:{\"width\":\"80\",\"prop\":\"dataType\",\"label\":\"数据类型\"}}),_c('el-table-column',{attrs:{\"width\":\"100\",\"prop\":\"controlTypeDesc\",\"label\":\"控件类型\"}}),_c('el-table-column',{attrs:{\"label\":\"操作符\",\"width\":\"120\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('ht-select',{attrs:{\"options\":[{key:'EQ',value:'等于'},{key:'NE',value:'不等于'},{key:'LK',value:'相似'},{key:'LFK',value:'左相似'},{key:'RHK',value:'右相似'},{key:'BETWEEN',value:'在...之间'}],\"props\":{key:'key',value:'value'}},model:{value:(scope.row.operate),callback:function ($$v) {_vm.$set(scope.row, \"operate\", $$v)},expression:\"scope.row.operate\"}})]}}])}),_c('el-table-column',{attrs:{\"label\":\"值来源\",\"width\":\"80\"}},[[_c('span',[_vm._v(\"表单输入\")])]],2),_c('el-table-column',{attrs:{\"label\":\"是否隐藏\",\"width\":\"80\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-switch',{attrs:{\"active-color\":\"#13ce66\",\"inactive-color\":\"#ff4949\",\"active-value\":1,\"inactive-value\":0},model:{value:(scope.row.hidden),callback:function ($$v) {_vm.$set(scope.row, \"hidden\", $$v)},expression:\"scope.row.hidden\"}})]}}])}),_c('el-table-column',{attrs:{\"label\":\"管理\",\"width\":\"120\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-button',{attrs:{\"icon\":\"el-icon-arrow-up\"},on:{\"click\":function($event){return _vm.arrayMove('conditions',scope.row,'up')}}}),_c('el-button',{attrs:{\"icon\":\"el-icon-arrow-down\"},on:{\"click\":function($event){return _vm.arrayMove('conditions',scope.row,'down')}}})]}}])})],1)],1),_c('el-tab-pane',{attrs:{\"label\":\"数据过滤\"}},[_c('el-button',{on:{\"click\":function($event){return _vm.addFilter()}}},[_vm._v(\"添加脚本\")]),_c('el-table',{attrs:{\"data\":_vm.filterFields,\"height\":\"400\",\"border\":\"\"}},[_c('el-table-column',{attrs:{\"prop\":\"name\",\"label\":\"名称\"}}),_c('el-table-column',{attrs:{\"label\":\"Key\",\"prop\":\"key\"}}),_c('el-table-column',{attrs:{\"label\":\"类型\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.type==='1')?_c('el-tag',{attrs:{\"type\":\"primary\"}},[_vm._v(\"条件类型\")]):_vm._e(),(scope.row.type==='2')?_c('el-tag',{attrs:{\"type\":\"danger\"}},[_vm._v(\"SQL\")]):_vm._e(),(scope.row.type==='3')?_c('el-tag',{attrs:{\"type\":\"warning\"}},[_vm._v(\"追加SQL\")]):_vm._e(),(scope.row.type==='4')?_c('el-tag',{attrs:{\"type\":\"success\"}},[_vm._v(\"数据权限\")]):_vm._e()]}}])}),_c('el-table-column',{attrs:{\"prop\":\"controlTypeDesc\",\"label\":\"权限\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._l((scope.row.right),function(item,index){return _c('el-tag',{directives:[{name:\"show\",rawName:\"v-show\",value:(item.checked !== false),expression:\"item.checked !== false\"}],key:index,attrs:{\"type\":\"info\"}},[_vm._v(_vm._s(item.title)),(item.name)?_c('span',[_vm._v(\":\"+_vm._s(item.name))]):_vm._e()])}),_c('el-button',{attrs:{\"icon\":\"el-icon-edit\"},on:{\"click\":function($event){return _vm.editAuth(scope.row,scope.$index)}}})]}}])}),_c('el-table-column',{attrs:{\"label\":\"管理\",\"width\":\"240\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-button',{attrs:{\"icon\":\"el-icon-arrow-up\"},on:{\"click\":function($event){return _vm.arrayMove('filterFields',scope.row,'up')}}}),_c('el-button',{attrs:{\"icon\":\"el-icon-arrow-down\"},on:{\"click\":function($event){return _vm.arrayMove('filterFields',scope.row,'down')}}}),_c('el-button',{attrs:{\"icon\":\"el-icon-edit\"},on:{\"click\":function($event){return _vm.addFilter(scope.row,scope.$index)}}}),_c('el-button',{attrs:{\"icon\":\"el-icon-delete\"},on:{\"click\":function($event){return _vm.filterFields.splice(scope.$index,1)}}})]}}])})],1)],1),_c('el-tab-pane',{attrs:{\"label\":\"功能按钮\"}},[_c('el-table',{attrs:{\"data\":_vm.data.buttons,\"height\":\"400\",\"border\":\"\"}},[_c('el-table-column',{attrs:{\"prop\":\"name\",\"label\":\"名称\"}}),_c('el-table-column',{attrs:{\"label\":\"类型\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(!scope.row.inRow)?_c('el-tag',{attrs:{\"type\":\"primary\"}},[_vm._v(\"页头\")]):_vm._e(),(scope.row.inRow)?_c('el-tag',{attrs:{\"type\":\"warning\"}},[_vm._v(\"行内\")]):_vm._e()]}}])}),_c('el-table-column',{attrs:{\"prop\":\"icon\",\"label\":\"按钮图标\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('span',{class:scope.row.icon})]}}])}),_c('el-table-column',{attrs:{\"prop\":\"urlPath\",\"label\":\"URL路径\"}}),_c('el-table-column',{attrs:{\"label\":\"隐藏\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-switch',{attrs:{\"active-color\":\"#13ce66\",\"inactive-color\":\"#ff4949\",\"active-value\":1,\"inactive-value\":0},model:{value:(scope.row.hidden),callback:function ($$v) {_vm.$set(scope.row, \"hidden\", $$v)},expression:\"scope.row.hidden\"}})]}}])}),_c('el-table-column',{attrs:{\"label\":\"管理\",\"width\":\"120\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-button',{attrs:{\"icon\":\"el-icon-arrow-up\"},on:{\"click\":function($event){return _vm.arrayMove('buttons',scope.row,'up')}}}),_c('el-button',{attrs:{\"icon\":\"el-icon-arrow-down\"},on:{\"click\":function($event){return _vm.arrayMove('buttons',scope.row,'up')}}})]}}])})],1)],1),_c('el-tab-pane',{attrs:{\"label\":\"汇总设置\"}},[_c('summary-setting',{ref:\"SummarySetting\",attrs:{\"data\":_vm.summaryData},on:{\"update:data\":function($event){_vm.summaryData=$event}}})],1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('ht-submit-button',{attrs:{\"url\":_vm.saveUrl,\"model\":_vm.submitData,\"scope-name\":\"viewEdit\"},on:{\"before-save-data\":_vm.beforeSaveData,\"after-save-data\":_vm.afterSaveData}},[_vm._v(\"\\n \"+_vm._s(_vm.$t(\"eip.common.save\"))+\"\\n \")]),(_vm.id)?_c('el-button',{on:{\"click\":_vm.editTemplate}},[_vm._v(\"编辑模板\")]):_vm._e(),(_vm.id)?_c('el-button',{on:{\"click\":function($event){return _vm.initDefaultData(true)}}},[_vm._v(\"重置字段\")]):_vm._e(),(_vm.id)?_c('el-button',{on:{\"click\":function($event){return _vm.addToMenu('manage')}}},[_vm._v(\"添加为菜单\")]):_vm._e(),_c('el-button',{on:{\"click\":_vm.close}},[_vm._v(\"返回\")])],1),_c('template-edit',{ref:\"templateEdit\",attrs:{\"id\":this.id},on:{\"closeViewEdit\":function($event){_vm.dialogVisible = false;}}}),_c('menus-add',{ref:\"menusAdd\",attrs:{\"alias\":_vm.data.alias,\"sqlAlias\":_vm.data.sqlAlias}}),_c('filter-dialog',{ref:\"filterDialog\",attrs:{\"metafields\":_vm.data.shows,\"conditionfields\":_vm.data.conditions,\"filterData\":_vm.selectedData,\"keys\":_vm.filterFields},on:{\"after-save\":_vm.afterSave}}),_c('auth-edit',{ref:\"authEdit\",attrs:{\"condition\":_vm.selectedData},on:{\"confirm\":_vm.afterSave}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }"]}