{"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\\FormPrintTemplateManager.vue?vue&type=template&id=473c1d41&scoped=true&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\src\\views\\form\\FormPrintTemplateManager.vue","mtime":1675071992913},{"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-table',{ref:\"htTable\",attrs:{\"data\":_vm.data,\"quick-search-props\":\"fileName\",\"page-result\":_vm.pageResult,\"default-querys\":[{ property: 'form_key_', value: _vm.formKey }],\"show-export\":false,\"show-custom-column\":false},on:{\"load\":_vm.loadData},scopedSlots:_vm._u([{key:\"toolbar\",fn:function(){return [_c('el-button-group',[_c('el-upload',{ref:\"printTemplateFile\",staticClass:\"upload-demo\",attrs:{\"action\":_vm.actionUrl,\"headers\":_vm.header,\"show-file-list\":false,\"on-success\":_vm.success,\"on-progress\":_vm.progress,\"before-upload\":_vm.beforeAvatarUpload,\"multiple\":\"\"}},[_c('el-tooltip',{attrs:{\"placement\":\"top\",\"effect\":\"light\"}},[_c('div',{attrs:{\"slot\":\"content\"},slot:\"content\"},[_vm._v(\"附件格式支持:docx\")]),_c('el-button',{attrs:{\"icon\":\"el-icon-plus\"}},[_c('el-tooltip',{attrs:{\"effect\":\"light\"}},[_c('div',{attrs:{\"slot\":\"content\"},slot:\"content\"},[_c('p',[_c('span',{staticClass:\"word-template-state\"},[_vm._v(\"主表字段设置\")])]),_c('table',{attrs:{\"cellspacing\":\"0\",\"cellpadding\":\"0\",\"width\":\"100%\"}},[_c('tbody',[_c('tr',{staticClass:\"firstRow\"},[_c('td',{staticStyle:{\"padding\":\"0px\"},attrs:{\"width\":\"294\",\"valign\":\"top\"}},[_c('p',[_c('span',{staticClass:\"word-template-state\"},[_vm._v(\"姓名\")]),_c('span',{staticClass:\"word-template-state\"},[_vm._v(\":\")]),_c('strong',[_c('span',{staticClass:\"word-template-state\"},[_vm._v(\"{{\")])]),_c('span',{staticClass:\"word-template-state\"},[_vm._v(\"xm\"),_c('strong',[_vm._v(\"}}\")])])]),_c('p',[_c('span',{staticClass:\"word-template-state\"},[_vm._v(\"客户 ID:\")]),_c('strong',[_c('span',{staticClass:\"word-template-state\"},[_vm._v(\"{{\")])]),_c('span',{staticClass:\"word-template-state\"},[_vm._v(\"id_\"),_c('strong',[_vm._v(\"}}\")])])])]),_c('td',{staticStyle:{\"padding\":\"0px\"},attrs:{\"width\":\"66\",\"valign\":\"top\"}}),_c('td',{staticStyle:{\"padding\":\"0px\"},attrs:{\"width\":\"360\",\"valign\":\"top\"}},[_vm._v(\"\\r\\n 年龄:\"),_c('strong',[_vm._v(\"{{\")]),_vm._v(\"nl\"),_c('strong',[_vm._v(\"}}\")]),_vm._v(\" \\r\\n \"),_c('p',[_vm._v(\"\\r\\n 出生日期:\"),_c('strong',[_vm._v(\"{{\")]),_vm._v(\"csrq\"),_c('strong',[_vm._v(\"}}\")])])])])])]),_c('p',[_c('br')]),_c('p',[_c('span',{staticClass:\"word-template-state\"},[_vm._v(\"子表字段设置:\")])]),_c('p',[_c('span',{staticClass:\"word-template-state\"},[_vm._v(\"建模关系为一对多:\")])]),_c('table',{attrs:{\"cellspacing\":\"0\",\"cellpadding\":\"0\",\"width\":\"54\"}},[_c('tbody',[_c('tr',{staticClass:\"firstRow\"},[_c('td',{staticStyle:{\"border\":\"1px solid rgb(166, 166, 166)\",\"background\":\"rgb(242, 242, 242)\",\"padding\":\"0px 5px\",\"word-break\":\"break-all\"},attrs:{\"width\":\"100\",\"colspan\":\"3\",\"valign\":\"top\"}},[_c('p',[_c('strong',[_c('span',{staticClass:\"word-template-state\"},[_vm._v(\"{{\")])]),_c('span',{staticClass:\"word-template-state\"},[_vm._v(\"sub_zsttest}}\")]),_c('span',{staticClass:\"word-template-state\"},[_vm._v(\"子实体test\")])])])]),_c('tr',[_c('td',{staticStyle:{\"border-right\":\"1px solid rgb(166, 166, 166)\",\"border-bottom\":\"1px solid rgb(166, 166, 166)\",\"border-left\":\"1px solid rgb(166, 166, 166)\",\"border-image\":\"initial\",\"border-top\":\"none\",\"background\":\"rgb(242, 242, 242)\",\"padding\":\"0px 5px\"},attrs:{\"width\":\"33\",\"valign\":\"top\"}},[_c('p',[_c('span',{staticClass:\"word-template-state\"},[_vm._v(\"字段1\")])])]),_c('td',{staticStyle:{\"border-top\":\"none\",\"border-left\":\"none\",\"border-bottom\":\"1px solid rgb(166, 166, 166)\",\"border-right\":\"1px solid rgb(166, 166, 166)\",\"background\":\"rgb(242, 242, 242)\",\"padding\":\"0px 5px\"},attrs:{\"width\":\"33\",\"valign\":\"top\"}},[_c('p',[_c('span',{staticClass:\"word-template-state\"},[_vm._v(\"字段2\")])])]),_c('td',{staticStyle:{\"border-top\":\"none\",\"border-left\":\"none\",\"border-bottom\":\"1px solid rgb(166, 166, 166)\",\"border-right\":\"1px solid rgb(166, 166, 166)\",\"background\":\"rgb(242, 242, 242)\",\"padding\":\"0px 5px\"},attrs:{\"width\":\"33\",\"valign\":\"top\"}},[_c('p',[_c('span',{staticClass:\"word-template-state\"},[_vm._v(\"字段3\")])])])]),_c('tr',[_c('td',{staticStyle:{\"border-right\":\"1px solid rgb(166, 166, 166)\",\"border-bottom\":\"1px solid rgb(166, 166, 166)\",\"border-left\":\"1px solid rgb(166, 166, 166)\",\"border-image\":\"initial\",\"border-top\":\"none\",\"padding\":\"0px 5px\"},attrs:{\"width\":\"33\",\"valign\":\"top\"}},[_c('p',{staticStyle:{\"text-align\":\"left\"}},[_c('span',{staticClass:\"word-template-state\"},[_vm._v(\"{\")]),_c('span',{staticClass:\"word-template-state\"},[_vm._v(\"sub_zsttest\")]),_c('span',{staticClass:\"word-template-state\"},[_vm._v(\".zd1}\")])])]),_c('td',{staticStyle:{\"border-top\":\"none\",\"border-left\":\"none\",\"border-bottom\":\"1px solid rgb(166, 166, 166)\",\"border-right\":\"1px solid rgb(166, 166, 166)\",\"padding\":\"0px 5px\"},attrs:{\"width\":\"33\",\"valign\":\"top\"}},[_c('p',[_c('span',{staticClass:\"word-template-state\"},[_vm._v(\"{\")]),_c('span',{staticClass:\"word-template-state\"},[_vm._v(\"sub_zsttest\")]),_c('span',{staticClass:\"word-template-state\"},[_vm._v(\".zd2}\")])])]),_c('td',{staticStyle:{\"border-top\":\"none\",\"border-left\":\"none\",\"border-bottom\":\"1px solid rgb(166, 166, 166)\",\"border-right\":\"1px solid rgb(166, 166, 166)\",\"padding\":\"0px 5px\"},attrs:{\"width\":\"33\",\"valign\":\"top\"}},[_c('p',[_c('span',{staticClass:\"word-template-state\"},[_vm._v(\"{\")]),_c('span',{staticClass:\"word-template-state\"},[_vm._v(\"sub_zsttest\")]),_c('span',{staticClass:\"word-template-state\"},[_vm._v(\".zd3}\")])])])])])]),_c('p',[_c('span',{staticClass:\"word-template-state\"},[_vm._v(\"建模关系为一对一:\")])]),_c('p',[_c('span',{staticClass:\"word-template-state\"},[_vm._v(\"字段一: {{\")]),_c('span',{staticClass:\"word-template-state\"},[_vm._v(\"sub_zsttest.zd1}}\")]),_c('span',{staticClass:\"word-template-state\",staticStyle:{\"margin-left\":\"15px\"}},[_vm._v(\"字段二: {{\")]),_c('span',{staticClass:\"word-template-state\"},[_vm._v(\"sub_zsttest.zd2}}\")])]),_c('p',[_c('span',{staticStyle:{\"color\":\"red\"}},[_vm._v(\"常用标签类型:文本(\"),_c('span',[_vm._v(\"{{\")]),_vm._v(\"var\"),_c('span',[_vm._v(\"}}\")]),_vm._v(\")、图片(\"),_c('span',[_vm._v(\"{{\")]),_vm._v(\"var\"),_c('span',[_vm._v(\"}}\")]),_vm._v(\")、富文本(\"),_c('span',[_vm._v(\"{{\")]),_vm._v(\"+var\"),_c('span',[_vm._v(\"}}\")]),_vm._v(\")\")])])]),_c('i',{staticClass:\"icon-question\",staticStyle:{\"margin-right\":\"8px\"}})]),_vm._v(\"word模板\\r\\n \")],1)],1)],1)],1),_c('el-button',{attrs:{\"icon\":\"el-icon-download\"},on:{\"click\":function($event){return _vm.downloadTemplate()}}},[_vm._v(\"模板下载\")]),_c('el-button',{attrs:{\"icon\":\"el-icon-plus\"},on:{\"click\":function($event){return _vm.addFormTemplate()}}},[_vm._v(\"表单模板\")]),_c('ht-delete-button',{attrs:{\"url\":_vm.formDeleteUrl,\"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\":\"fileName\",\"label\":\"名称\",\"show-overflow-tooltip\":true}}),_c('ht-table-column',{attrs:{\"prop\":\"createTime\",\"label\":\"创建时间\",\"show-overflow-tooltip\":true}}),_c('ht-table-column',{attrs:{\"prop\":\"isMain\",\"width\":\"80\",\"label\":\"主版本\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar row = ref.row;\nreturn [(row.isMain == 'Y')?_c('el-tag',[_vm._v(\"是\")]):_c('el-tag',{attrs:{\"type\":\"danger\"}},[_vm._v(\"否\")])]}}])}),_c('ht-table-column',{attrs:{\"prop\":\"printType\",\"width\":\"120\",\"label\":\"打印类型\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar row = ref.row;\nreturn [(row.printType == 'word')?_c('el-tag',{attrs:{\"type\":\"success\"}},[_vm._v(\"word套打\")]):_vm._e(),(row.printType == 'form')?_c('el-tag',{attrs:{\"type\":\"warning\"}},[_vm._v(\"表单模板\")]):_vm._e()]}}])}),_c('ht-table-column',{attrs:{\"width\":\"150\",\"label\":\"操作\",\"align\":\"left\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar row = ref.row;\nreturn [_c('el-dropdown',{attrs:{\"size\":\"mini\",\"split-button\":\"\"},on:{\"command\":_vm.handleCommand,\"click\":function($event){return _vm.handleCommand({ row: row, command: 'download' })}}},[(row.printType == 'word')?_c('span',[_c('i',{staticClass:\"el-icon-tickets\"}),_vm._v(\"下载\")]):_vm._e(),(row.printType == 'form')?_c('span',[_c('i',{staticClass:\"el-icon-tickets\"}),_vm._v(\"编辑\")]):_vm._e(),_c('el-dropdown-menu',{attrs:{\"slot\":\"dropdown\"},slot:\"dropdown\"},[(row.isMain == 'N')?_c('el-dropdown-item',{attrs:{\"icon\":\"el-icon-menu\",\"command\":{ row: row, command: 'setMainVersion' }}},[_vm._v(\"设为主版本\")]):_vm._e(),(row.printType == 'word')?_c('el-dropdown-item',{attrs:{\"icon\":\"el-icon-menu\",\"command\":{ row: row, command: 'setScriptStr' }}},[_vm._v(\"编写脚本\")]):_vm._e()],1)],1)]}}])})],_c('el-dialog',{attrs:{\"title\":\"编写脚本\",\"visible\":_vm.scriptStrDialog,\"width\":\"70%\",\"append-to-body\":\"\"},on:{\"update:visible\":function($event){_vm.scriptStrDialog=$event}}},[(_vm.scriptStrDialog)?_c('span',[_c('table',{staticClass:\"form-table\",attrs:{\"cellspacing\":\"0\",\"cellpadding\":\"0\",\"border\":\"0\"}},[_c('tbody',[_c('tr',[_c('th',{attrs:{\"width\":\"12%\"}},[_vm._v(\"脚本描述:\")]),_c('td',[_c('label',[_vm._v(\"该脚本在 打印模板 时执行,用户可以使用 boMap 做操作。 例如 获取模板字段数据:boMap.get(\\\"sex\\\"); 设置模板字段数据: boMap.put(\\\"sex\\\", \\\"男\\\");\")])])]),_c('tr',[_c('th',{attrs:{\"width\":\"12%\"}},[_vm._v(\"脚本内容:\")]),_c('td',[_c('codemirror',{staticStyle:{\"width\":\"98%\"},attrs:{\"options\":_vm.cmOptions2},model:{value:(_vm.scriptStr),callback:function ($$v) {_vm.scriptStr=$$v},expression:\"scriptStr\"}})],1)])])])]):_vm._e(),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.scriptStrDialog = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.updateScriptStr}},[_vm._v(\"确 定\")])],1)]),_c('el-dialog',{attrs:{\"width\":\"60%\",\"title\":\"添加表单打印模板\",\"visible\":_vm.dialogSaveCopyVisible,\"before-close\":_vm.handleCloseSaveCopy,\"destroy-on-close\":true,\"append-to-body\":true}},[_c('form',{directives:[{name:\"form\",rawName:\"v-form\"}],attrs:{\"data-vv-scope\":\"saveCopyForm\"}},[_c('table',{staticClass:\"form-table\",attrs:{\"cellspacing\":\"0\",\"cellpadding\":\"0\",\"border\":\"0\"}},[_c('tbody',[_c('tr',[_c('th',{attrs:{\"width\":\"140px\"}},[_vm._v(\"表单名称:\")]),_c('td',[_vm._v(_vm._s(_vm.oldForm.name))]),_c('th',{staticClass:\"is-required\",attrs:{\"width\":\"140px\"}},[_vm._v(\"表单打印模板名称\")]),_c('td',[_c('ht-input',{attrs:{\"validate\":{ required: true }},model:{value:(_vm.newForm.name),callback:function ($$v) {_vm.$set(_vm.newForm, \"name\", $$v)},expression:\"newForm.name\"}})],1)]),_c('tr',[_c('th',{attrs:{\"width\":\"140px\"}},[_vm._v(\"表单别名:\")]),_c('td',[_vm._v(_vm._s(_vm.oldForm.formKey))]),_c('th',{staticClass:\"is-required\",attrs:{\"width\":\"140px\"}},[_vm._v(\"表单打印模板别名\")]),_c('td',[_c('ht-input',{directives:[{name:\"pinyin\",rawName:\"v-pinyin\",value:(_vm.newForm.name),expression:\"newForm.name\"}],attrs:{\"autocomplete\":\"off\",\"validate\":{\r\n required: true,\r\n isExist: '${form}/form/form/v1/checkKey?key=',\r\n regex:{exp:'^[a-zA-Z][a-zA-Z0-9_]*$'}\r\n },\"placeholder\":\"请输入别名\"},model:{value:(_vm.newForm.formKey),callback:function ($$v) {_vm.$set(_vm.newForm, \"formKey\", $$v)},expression:\"newForm.formKey\"}})],1)]),_c('tr',[_c('th',{attrs:{\"width\":\"140px\"}},[_vm._v(\"表单分类:\")]),_c('td',[_vm._v(_vm._s(_vm.oldForm.typeName))]),_c('th',{staticClass:\"is-required\",attrs:{\"width\":\"140px\"}},[_vm._v(\"表单打印模板分类\")]),_c('td',[_c('EipSysTypeSelector',{attrs:{\"placeholder\":\"请选择表单分类\",\"cat-id\":\"7\",\"sys-type-id\":_vm.newForm.typeId,\"validate\":{ required: true }},on:{\"update:sysTypeId\":function($event){return _vm.$set(_vm.newForm, \"typeId\", $event)},\"update:sys-type-id\":function($event){return _vm.$set(_vm.newForm, \"typeId\", $event)}},model:{value:(_vm.newForm.typeName),callback:function ($$v) {_vm.$set(_vm.newForm, \"typeName\", $$v)},expression:\"newForm.typeName\"}})],1)])])])]),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){return _vm.save()}}},[_vm._v(\"保存\")]),_c('el-button',{on:{\"click\":_vm.handleCloseSaveCopy}},[_vm._v(\"\\r\\n \"+_vm._s(_vm.$t(\"eip.common.cancel\"))+\"\\r\\n \")])],1)]),_c('el-dialog',{staticClass:\"form-editor-dialog\",attrs:{\"fullscreen\":\"\",\"destroy-on-close\":true,\"visible\":_vm.formEditorDialogVisible,\"before-close\":_vm.handleCloseFormEditor,\"close-on-press-escape\":false,\"append-to-body\":true},on:{\"update:visible\":function($event){_vm.formEditorDialogVisible=$event}}},[_c('FormDesigner',{attrs:{\"visibleDialog\":_vm.formEditorDialogVisible,\"form-id\":_vm.formId,\"form-def-id\":_vm.formDefId,\"bos\":_vm.bpmForm.bos,\"add-bpm-form\":_vm.bpmForm},on:{\"update:visibleDialog\":function($event){_vm.formEditorDialogVisible=$event},\"update:visible-dialog\":function($event){_vm.formEditorDialogVisible=$event},\"update:formId\":function($event){_vm.formId=$event},\"update:form-id\":function($event){_vm.formId=$event},\"update:formDefId\":function($event){_vm.formDefId=$event},\"update:form-def-id\":function($event){_vm.formDefId=$event}}})],1)],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }"]}