(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{271:function(t,v,a){t.exports=a.p+"assets/img/640.3b07f3df.gif"},349:function(t,v,a){"use strict";a.r(v);var _=a(33),s=Object(_.a)({},(function(){var t=this,v=t.$createElement,_=t._self._c||v;return _("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[_("h1",{attrs:{id:"模板设计器"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#模板设计器"}},[t._v("#")]),t._v(" 模板设计器")]),t._v(" "),_("p",[_("img",{attrs:{src:a(271),alt:"An image"}})]),t._v(" "),_("h2",{attrs:{id:"简单介绍"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#简单介绍"}},[t._v("#")]),t._v(" 简单介绍")]),t._v(" "),_("p",[t._v("  随着新一代信息技术的发展，学校为了满足当前的教学与管理需求，引入了各类业务系统。教务管理、学生管理、科研管理、OA办公、人事管理等系统陆续完成建设，提高了工作效率，促进了教育变革，也使学校的运转速度从火车提到了高铁。")]),t._v(" "),_("p",[t._v(" 繁琐且麻烦的表格设计与多层次的表单填写,使学校的事务办理即缓慢且低效.")]),t._v(" "),_("p",[t._v(" 因此,模板设计器即应运而生,配置人员可直接在页面上进行配置项配置,通过调用不同的组件,编写不同的sql,从而设计出一个全新可修改表单页面,再搭配流程设计器,在不同流程配置情况下,通过给流程人员展示各自对应的表单供其输入,从而达到无纸化办公,快捷化办公的需求.极大的减少了普通流程办理时所花费的精力以及花费")]),t._v(" "),_("h2",{attrs:{id:"组件简介"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#组件简介"}},[t._v("#")]),t._v(" 组件简介")]),t._v(" "),_("p",[t._v(" 模板设计器提供了非常丰富的组件库,用户可以自主选择自己所需要的组件进行配置,以下为组件列表,组件详情请查看模板组件介绍")]),t._v(" "),_("ul",[_("li",[t._v("标签")]),t._v(" "),_("li",[t._v("按钮")]),t._v(" "),_("li",[t._v("描述组件")]),t._v(" "),_("li",[t._v("列表组件")]),t._v(" "),_("li",[t._v("文本框")]),t._v(" "),_("li",[t._v("隐藏值组件")]),t._v(" "),_("li",[t._v("数字输入框组件")]),t._v(" "),_("li",[t._v("文本域组件")]),t._v(" "),_("li",[t._v("单选框")]),t._v(" "),_("li",[t._v("多选框")]),t._v(" "),_("li",[t._v("下拉选择框")]),t._v(" "),_("li",[t._v("图表")]),t._v(" "),_("li",[t._v("二维码")]),t._v(" "),_("li",[t._v("弹出列表选择框")]),t._v(" "),_("li",[t._v("开关控件")]),t._v(" "),_("li",[t._v("日期选择器")]),t._v(" "),_("li",[t._v("起止时间选择器")]),t._v(" "),_("li",[t._v("附件上传组件")]),t._v(" "),_("li",[t._v("位置组件")]),t._v(" "),_("li",[t._v("图片上传组件")]),t._v(" "),_("li",[t._v("签名组件")]),t._v(" "),_("li",[t._v("组件片段")]),t._v(" "),_("li",[t._v("子表单组件")])]),t._v(" "),_("h2",{attrs:{id:"sql内置变量介绍"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#sql内置变量介绍"}},[t._v("#")]),t._v(" SQL内置变量介绍")]),t._v(" "),_("p",[t._v("以下为内部提供"),_("strong",[t._v("变量")]),t._v(",配置人员可直接调用")]),t._v(" "),_("h3",{attrs:{id:"obj"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#obj"}},[t._v("#")]),t._v(" obj")]),t._v(" "),_("h3",{attrs:{id:"init"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#init"}},[t._v("#")]),t._v(" init")]),t._v(" "),_("h3",{attrs:{id:"defaultvalues"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#defaultvalues"}},[t._v("#")]),t._v(" defaultValues")]),t._v(" "),_("h3",{attrs:{id:"env"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#env"}},[t._v("#")]),t._v(" env")]),t._v(" "),_("h3",{attrs:{id:"index"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#index"}},[t._v("#")]),t._v(" index")]),t._v(" "),_("h3",{attrs:{id:"fathercode"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#fathercode"}},[t._v("#")]),t._v(" fatherCode")]),t._v(" "),_("h3",{attrs:{id:"utils"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#utils"}},[t._v("#")]),t._v(" utils")]),t._v(" "),_("p",[t._v("该变量为一个对象,内含以下操作项")]),t._v(" "),_("blockquote",[_("p",[t._v("moment")]),t._v(" "),_("p",[t._v("  时间格式化方法,将时间戳传入进行格式化展示")]),t._v(" "),_("p",[t._v("  示例 moment(传入时间戳).format('YYYY-MM-DD HH:mm:ss')")]),t._v(" "),_("p",[t._v("sql")]),t._v(" "),_("p",[t._v("message")]),t._v(" "),_("p",[t._v("setValues")]),t._v(" "),_("p",[t._v("req")]),t._v(" "),_("p",[t._v("md5")]),t._v(" "),_("p",[t._v("render")]),t._v(" "),_("p",[t._v("base64")])]),t._v(" "),_("h3",{attrs:{id:""}},[_("a",{staticClass:"header-anchor",attrs:{href:"#"}},[t._v("#")]),t._v(" $")]),t._v(" "),_("p",[t._v("该变量为中台系统自有函数库,提供数以百计的函数,配置人员可根据提供函数完成对数据的"),_("strong",[t._v("判空")]),t._v(","),_("strong",[t._v("类型判断")]),t._v(","),_("strong",[t._v("数据转换")]),t._v(","),_("strong",[t._v("数据格式化")]),t._v("等操作")]),t._v(" "),_("h3",{attrs:{id:"routerstate"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#routerstate"}},[t._v("#")]),t._v(" routerState")]),t._v(" "),_("p",[t._v("该变量为当前路由中所携带的参数数据,模板通过router.push()跳转后,如果在跳转时传入了参数,即可通过当前变量获取传入的参数")]),t._v(" "),_("h3",{attrs:{id:"sharedata"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#sharedata"}},[t._v("#")]),t._v(" shareData")]),t._v(" "),_("p",[t._v("该变量为多组件之间共享参数,场景设计器会监听该参数是否修改,从而重新渲染表单")]),t._v(" "),_("h2",{attrs:{id:"注意事项"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#注意事项"}},[t._v("#")]),t._v(" 注意事项:")]),t._v(" "),_("p",[_("strong",[t._v("routerState")]),t._v("和"),_("strong",[t._v("shareData")]),t._v("为场景设计器提供的变量,配置人员配置时需对数据进行判断是否存在,测试时应在场景设计器预览模式下进行预览")])])}),[],!1,null,null,null);v.default=s.exports}}]);