{"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\\portal\\PortalDataSensitiveManager.vue?vue&type=template&id=550906cb&scoped=true&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\src\\views\\portal\\PortalDataSensitiveManager.vue","mtime":1675071993053},{"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\":\"dataSourceAlias,tableName\",\"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.showDialog()}}},[_vm._v(\"添加\")]),_c('ht-delete-button',{staticStyle:{\"margin-left\":\"10px\"},attrs:{\"url\":\"${portal}/portal/portalDataSensitive/v1/remove\",\"htTable\":_vm.$refs.htTable}},[_vm._v(\"删除\")])]},proxy:true}])},[[_c('ht-table-column',{attrs:{\"type\":\"index\",\"width\":\"50\",\"align\":\"center\",\"label\":\"序号\"}}),_c('ht-table-column',{attrs:{\"prop\":\"tableName\",\"label\":\"表名\",\"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(row.id)}}},[_vm._v(_vm._s(row.tableName))])]}}])}),_c('ht-table-column',{attrs:{\"prop\":\"reulesRemark\",\"label\":\"脱敏规则说明\",\"sortable\":true,\"show-overflow-tooltip\":true}})]],2),_c('el-dialog',{staticClass:\"sp-manager__dialog\",attrs:{\"width\":\"1240px\",\"title\":\"表字段脱敏处理\",\"visible\":_vm.dialogVisible,\"before-close\":_vm.beforeCloseDialog,\"close-on-click-modal\":false}},[_c('el-form',{directives:[{name:\"form\",rawName:\"v-form\"}],attrs:{\"data-vv-scope\":\"portalDataSensitiveForm\"}},[_c('ht-form-item',{attrs:{\"label\":\"表名\"}},[_c('template',{slot:\"label\"},[_c('el-tooltip',{attrs:{\"content\":\"数据库表名,小写,如果是建模生成的实体则为w_ + 实体名称 如: w_userinfo\"}},[_c('i',{staticClass:\"property-tip icon-question\"})]),_c('span',[_vm._v(\"表名\")])],1),_c('ht-input',{attrs:{\"validate\":\"required|alpha_dash\"},model:{value:(_vm.portalDataSensitive.tableName),callback:function ($$v) {_vm.$set(_vm.portalDataSensitive, \"tableName\", $$v)},expression:\"portalDataSensitive.tableName\"}}),_c('span',{staticStyle:{\"color\":\"red\"}},[_vm._v(\"注:表名为已经存在数据库中的表名,表名不存在配置无法生效\")])],2),_c('ht-form-item',{attrs:{\"label\":\"脱敏规则\"}},[_c('el-table',{staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.portalDataSensitive.desensitizationRulesArr}},[_c('el-table-column',{attrs:{\"prop\":\"fieldName\",\"label\":\"\",\"width\":\"120\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('ht-input',{attrs:{\"autocomplete\":\"off\",\"validate\":\"required\",\"placeholder\":\"字段\"},model:{value:(scope.row.fieldName),callback:function ($$v) {_vm.$set(scope.row, \"fieldName\", $$v)},expression:\"scope.row.fieldName\"}})]}}])},[_c('template',{slot:\"header\"},[_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"mini\",\"icon\":\"el-icon-plus\",\"circle\":\"\",\"title\":\"添加\"},on:{\"click\":_vm.addField}}),_c('span',{staticClass:\"is-required\"},[_vm._v(\"字段\")]),_c('el-tooltip',{attrs:{\"content\":\"数据库表的字段,忽略大小写,如果是建模生成的则为F_ + 字段名称,如: F_mobile\",\"placement\":\"right\"}},[_c('i',{staticClass:\"icon-question\",staticStyle:{\"margin-right\":\"8px\"}})])],1)],2),_c('el-table-column',{attrs:{\"prop\":\"fieldName\",\"label\":\"\",\"width\":\"120\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('ht-select',{attrs:{\"autocomplete\":\"off\",\"validate\":\"required\",\"options\":[\n {key: '1', value: '掩码规则'},\n {key: '2', value: '自定义'} ],\"placeholder\":\"请选择\"},model:{value:(scope.row.calType),callback:function ($$v) {_vm.$set(scope.row, \"calType\", $$v)},expression:\"scope.row.calType\"}})]}}])},[_c('template',{slot:\"header\"},[_c('span',{staticClass:\"is-required\"},[_vm._v(\"掩码处理方式\")])])],2),_c('el-table-column',{attrs:{\"prop\":\"rules\",\"label\":\"\",\"width\":\"280\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-form',{directives:[{name:\"show\",rawName:\"v-show\",value:(scope.row.calType == '1'),expression:\"scope.row.calType == '1'\"}],staticClass:\"demo-form-inline\",staticStyle:{\"margin-top\":\"13px\"},attrs:{\"inline\":true}},[_c('el-form-item',[_c('el-tooltip',{attrs:{\"content\":\"掩码开始位置\",\"placement\":\"top\"}},[_c('ht-input',{attrs:{\"type\":\"number\",\"autocomplete\":\"off\",\"min\":1,\"validate\":\"required\",\"placeholder\":\"开始位置\"},model:{value:(scope.row.rules.startPosition),callback:function ($$v) {_vm.$set(scope.row.rules, \"startPosition\", $$v)},expression:\"scope.row.rules.startPosition\"}})],1)],1),_c('el-form-item',[_c('el-tooltip',{attrs:{\"content\":\"掩码结束位置\",\"placement\":\"top\"}},[_c('ht-input',{attrs:{\"type\":\"number\",\"autocomplete\":\"off\",\"min\":1,\"validate\":\"required\",\"placeholder\":\"结束位置\"},model:{value:(scope.row.rules.endPosition),callback:function ($$v) {_vm.$set(scope.row.rules, \"endPosition\", $$v)},expression:\"scope.row.rules.endPosition\"}})],1)],1),_c('el-form-item',[_c('el-tooltip',{attrs:{\"content\":\"掩码填充符\",\"placement\":\"top\"}},[_c('ht-select',{attrs:{\"autocomplete\":\"off\",\"options\":[\n {key: '*', value: '*'},\n {key: '_', value: '_'},\n {key: '.', value: '.'},\n {key: '#', value: '#'} ],\"placeholder\":\"填充字符默认为*\"},model:{value:(scope.row.rules.pad),callback:function ($$v) {_vm.$set(scope.row.rules, \"pad\", $$v)},expression:\"scope.row.rules.pad\"}})],1)],1)],1)]}}])},[_c('template',{slot:\"header\"},[_c('span',{staticClass:\"is-required\"},[_vm._v(\"掩码规则\")]),_c('el-tooltip',{attrs:{\"content\":\"掩码规则,将该字段的开始位置到结束位置的根据填字符替换\",\"placement\":\"right\"}},[_c('i',{staticClass:\"icon-question\",staticStyle:{\"margin-right\":\"8px\"}})])],1)],2),_c('el-table-column',{attrs:{\"prop\":\"groovyScript\",\"label\":\"\",\"width\":\"auto\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(scope.row.calType == '2'),expression:\"scope.row.calType == '2'\"}]},[_c('ht-input',{attrs:{\"type\":\"textarea\"},model:{value:(scope.row.groovyScript),callback:function ($$v) {_vm.$set(scope.row, \"groovyScript\", $$v)},expression:\"scope.row.groovyScript\"}})],1)]}}])},[_c('template',{slot:\"header\"},[_c('span',{staticClass:\"is-required\"},[_vm._v(\"自定义脚本\")]),_c('el-tooltip',{attrs:{\"content\":\"自定义脚本处理当前字段的掩码规则如:com.hotent.base.util.StringUtil.wordMask(F_sjhm, 1, 5, '#') F_sjhm为字段名\",\"placement\":\"right\"}},[_c('i',{staticClass:\"icon-question\",staticStyle:{\"margin-right\":\"8px\"}})])],1)],2),_c('el-table-column',{attrs:{\"prop\":\"rights\",\"label\":\"\",\"width\":\"auto\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\n var row = ref.row;\n var $index = ref.$index;\nreturn [_c('el-table',{attrs:{\"data\":row.rights}},[_c('el-table-column',{attrs:{\"prop\":\"title\"}},[_c('template',{slot:\"header\"},[_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"mini\",\"icon\":\"el-icon-plus\"},on:{\"click\":function($event){return _vm.showAuthDialog(row.rights, $index)}}},[_vm._v(\"选择\")])],1)],2),_c('el-table-column',{attrs:{\"prop\":\"name\",\"label\":\"授权给\"}})],1)]}}])},[_c('template',{slot:\"header\"},[_c('span',[_vm._v(\"白名单\")])])],2),_c('el-table-column',{attrs:{\"label\":\"操作\",\"width\":\"80\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\n var $index = ref.$index;\nreturn [_c('el-button',{attrs:{\"type\":\"danger\",\"icon\":\"el-icon-delete\",\"circle\":\"\"},on:{\"click\":function($event){return _vm.portalDataSensitive.desensitizationRulesArr.remove(\n _vm.portalDataSensitive.desensitizationRulesArr[$index]\n )}}})]}}])})],1)],1),_c('ht-form-item',{attrs:{\"label\":\"脱敏说明\"}},[_c('ht-input',{attrs:{\"type\":\"textarea\",\"validate\":\"required\"},model:{value:(_vm.portalDataSensitive.reulesRemark),callback:function ($$v) {_vm.$set(_vm.portalDataSensitive, \"reulesRemark\", $$v)},expression:\"portalDataSensitive.reulesRemark\"}})],1)],1),_c('div',{staticStyle:{\"text-align\":\"center\"},attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.save}},[_vm._v(_vm._s(_vm.$t('eip.common.save')))]),_c('el-button',{on:{\"click\":_vm.beforeCloseDialog}},[_vm._v(_vm._s(_vm.$t('eip.common.cancel')))])],1)],1),_c('eip-auth-dialog',{ref:\"eipAuthDialog\",attrs:{\"name\":\"eipAuthDialog\",\"append-to-body\":\"\"},on:{\"onConfirm\":_vm.dialogOnConfirm}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }"]}