{"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\\ValidataProperty.vue?vue&type=template&id=cc92c9ae&scoped=true&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\src\\components\\form\\ValidataProperty.vue","mtime":1675071992022},{"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',[_c('ht-form-item',{attrs:{\"label-width\":\"300px;\"}},[_c('draggable',_vm._b({staticClass:\"column-ul\",attrs:{\"tag\":\"ul\",\"list\":_vm.data.options.validateList,\"handle\":\".drag-item\"},on:{\"end\":_vm.end}},'draggable',{\n group: { name: 'options' },\n ghostClass: 'ghost',\n handle: '.drag-item'\n },false),_vm._l((_vm.data.options.validateList),function(item,index){return _c('li',{key:index},[_c('i',{staticClass:\"drag-item icon-draggable\"}),_c('ht-select',{staticStyle:{\"width\":\"120px\",\"margin-left\":\"5px\"},attrs:{\"options\":_vm.validateList,\"props\":{ key: 'key', value: 'name' },\"placeholder\":\"请选择\",\"validate\":\"required\",\"name\":\"validatorSelect\"},on:{\"change\":function($event){return _vm.changeValidate(item)}},model:{value:(item.key),callback:function ($$v) {_vm.$set(item, \"key\", $$v)},expression:\"item.key\"}}),(item.inputType == 'button')?_c('el-button',{staticClass:\"el-icon-edit\",staticStyle:{\"margin-left\":\"5px\"},on:{\"click\":function($event){return _vm.methodClick(index)}}},[_vm._v(\"编写方法\")]):_vm._e(),(item.inputType == 'twoInput')?_c('ht-input',{staticStyle:{\"width\":\"60px\",\"margin-left\":\"5px\"},attrs:{\"name\":\"validatorValue\",\"validate\":\"required\"},on:{\"input\":function($event){return _vm.appendValidate(item)}},model:{value:(item.start),callback:function ($$v) {_vm.$set(item, \"start\", $$v)},expression:\"item.start\"}}):_vm._e(),(item.inputType == 'twoInput')?_c('ht-input',{staticStyle:{\"width\":\"60px\",\"margin-left\":\"5px\"},attrs:{\"name\":\"validatorValue\",\"validate\":\"required\"},on:{\"input\":function($event){return _vm.appendValidate(item)}},model:{value:(item.end),callback:function ($$v) {_vm.$set(item, \"end\", $$v)},expression:\"item.end\"}}):_vm._e(),(item.inputType == 'input')?_c('ht-input',{staticStyle:{\"width\":\"120px\",\"margin-left\":\"5px\"},attrs:{\"name\":\"validatorValue\",\"validate\":\"required\"},on:{\"input\":function($event){return _vm.appendValidate(item)}},model:{value:(item.value),callback:function ($$v) {_vm.$set(item, \"value\", $$v)},expression:\"item.value\"}}):_vm._e(),(item.inputType == 'select' || item.key == 'row_unique')?_c('ht-select',{staticStyle:{\"width\":\"120px\",\"margin-left\":\"5px\"},attrs:{\"validate\":item.key == 'row_unique'?'':_vm.required,\"options\":_vm.boData,\"multiple\":item.key == 'row_unique'?true:false,\"props\":{ key: 'name', value: 'desc' },\"name\":\"validatorSelectInput\"},on:{\"change\":function($event){return _vm.appendValidate(item)}},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\n var options = ref.options;\n var propKey = ref.propKey;\n var propValue = ref.propValue;\nreturn _vm._l((options),function(group){return _c('el-option-group',{key:group.name,attrs:{\"label\":group.desc}},_vm._l((_vm.filterBoAttr(group.children)),function(obj){return _c('el-option',{key:'data.' + group.path + '.' + obj[propKey],attrs:{\"label\":obj[propValue],\"value\":'data.' + group.path + '.' + obj[propKey]}})}),1)})}}],null,true),model:{value:(item.value),callback:function ($$v) {_vm.$set(item, \"value\", $$v)},expression:\"item.value\"}},[_c('el-tooltip',{attrs:{\"content\":\"多个字段组合进行唯一校验时,字段名用逗号分隔。不填则只校验当前字段\"}},[_c('i',{staticClass:\"property-tip icon-question\",staticStyle:{\"margin-right\":\"-10px\"}})])],1):_vm._e(),(index == _vm.requiredIndex)?_c('el-button',{staticClass:\"grid-remove-button\",attrs:{\"circle\":\"\",\"disabled\":\"\",\"plain\":\"\",\"type\":\"danger\",\"size\":\"mini\",\"icon\":\"el-icon-minus\"}}):_c('el-button',{staticClass:\"grid-remove-button\",attrs:{\"circle\":\"\",\"plain\":\"\",\"type\":\"danger\",\"size\":\"mini\",\"icon\":\"el-icon-minus\"},on:{\"click\":function($event){return _vm.removeValidata(index)}}})],1)}),0),(_vm.isAddValidata)?_c('div',{staticStyle:{\"margin-left\":\"22px\",\"width\":\"100%\"}},[_c('div',{staticStyle:{\"float\":\"left\"}},[_c('el-tooltip',{attrs:{\"effect\":\"light\"}},[_c('div',{attrs:{\"slot\":\"content\"},slot:\"content\"},[_c('h3',[_vm._v(\"校验规则:\")]),_c('div',{staticStyle:{\"margin-top\":\"15px\",\"margin-bottom\":\"25px\"}},[_c('span',{staticStyle:{\"color\":\"red\"}},[_vm._v(\"*正则表达式:\")]),_c('span',[_vm._v(\"两个参数,第一个参数为正则表达式,第二个参数为校验未通过时的提示信息\")]),_c('br'),_c('span',{staticStyle:{\"color\":\"red\"}},[_vm._v(\"例如:\")]),_c('span',[_vm._v(\"\\\"^[0-9]+$\\\",\\\"校验失败,请输入数字\\\"\")]),_c('br'),_c('span',{staticStyle:{\"color\":\"red\"}},[_vm._v(\"注意:\")]),_c('span',[_vm._v(\"字符串格式的表达式以英文逗号‘,’来分割参数\")])])]),_c('i',{staticClass:\"property-tip icon-question\"})]),_c('el-button',{attrs:{\"type\":\"text\"},on:{\"click\":_vm.addValidata}},[_vm._v(\"添加校验规则\")])],1),_c('div',{staticStyle:{\"float\":\"right\"}})]):_vm._e()],1),_c('el-dialog',{staticClass:\"urgent-text\",attrs:{\"title\":\"方法校验\",\"visible\":_vm.dialogMethodVisible,\"append-to-body\":\"\",\"close-on-click-modal\":false},on:{\"update:visible\":function($event){_vm.dialogMethodVisible=$event}}},[_c('div',{staticStyle:{\"margin-top\":\"15px\",\"margin-bottom\":\"25px\"}},[_c('code',[_c('span',{staticStyle:{\"color\":\"red\",\"margin-left\":\"15px\"}},[_vm._v(\"编辑的脚本内容会直接填充到function(value,data){...}里面;value\\n 是当前控件输入值 data是表单数据对象\")]),_c('br'),_c('span',{staticStyle:{\"color\":\"red\",\"margin-left\":\"15px\"}},[_vm._v(\"如需使用到表单BO数据例:data.实体表名.实体表字段(可以直接选择表单变量)\")]),_c('br'),_c('span',{staticStyle:{\"color\":\"red\",\"margin-left\":\"15px\"}},[_vm._v(\"返回true 校验通过 false 校验不通过\")]),_c('br'),_c('span',{staticStyle:{\"color\":\"red\",\"margin-left\":\"15px\"}},[_vm._v(\"返回值也可以是一个对象 {valid:true} 或者\\n {valid:false,data:{message: i18n.t(\\\"login.login\\\") }}\\n 使用国际化的方式\")]),_c('br'),_c('span',{staticStyle:{\"color\":\"red\",\"margin-left\":\"15px\"}},[_vm._v(\"返回值也可以是一个对象 {valid:false,data:{message:\\n \\\"身份证号和出生日期不一致,请重新填写\\\" }}\")]),_c('br'),_c('span',{staticStyle:{\"color\":\"red\",\"margin-left\":\"15px\"}},[_vm._v(\"例如: if(data.jasonBo.fieldName == value ){ return true; }else{\\n return false;}\")])])]),_c('ht-form-item',{attrs:{\"label\":\"表单变量\",\"label-width\":\"\"}},[_c('ht-select',{attrs:{\"clearable\":\"\",\"placeholder\":\"选择表单变量\",\"options\":_vm.boData,\"props\":{ key: 'name', value: 'desc' }},on:{\"change\":_vm.diyScriptChange},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\n var options = ref.options;\nreturn _vm._l((options),function(group,idenx){return _c('el-option-group',{key:idenx,attrs:{\"label\":group.desc}},_vm._l((group.children),function(item){return _c('el-option',{key:item.id,attrs:{\"label\":item.desc,\"value\":'data.' + item.path + '.' + item.name}})}),1)})}}]),model:{value:(_vm.diyScript),callback:function ($$v) {_vm.diyScript=$$v},expression:\"diyScript\"}})],1),_c('div',{staticStyle:{\"width\":\"100%\",\"height\":\"100%\"}},[_c('codemirror',{ref:\"scriptText\",staticClass:\"code\",staticStyle:{\"width\":\"99%\",\"height\":\"100%\"},attrs:{\"options\":_vm.cmOptions},model:{value:(_vm.toolmethod),callback:function ($$v) {_vm.toolmethod=$$v},expression:\"toolmethod\"}})],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){return _vm.methodOk()}}},[_vm._v(\"确 定\")]),_c('el-button',{on:{\"click\":function($event){_vm.dialogMethodVisible = false}}},[_vm._v(\"取 消\")])],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }"]}