"use strict";(self.webpackChunkmy_package_ext=self.webpackChunkmy_package_ext||[]).push([[6392],{16392:function(e,t,a){a.r(t),a.d(t,{default:function(){return o}}),t={name:"demo-config",props:["activeData","formConf"],data:function(){return{}},computed:{},watch:{},methods:{getProcessDefName:function(e){console.log(e,"processes"),this.activeData.extConfig.processDefName=e.value}}};var o=(0,a(51900).Z)(t,(function(){var e=this,t=e._self._c;return t("el-form",{attrs:{"label-position":"top"}},[t("el-form-item",{attrs:{label:"图标"}},[t("PmSelectIcon",{attrs:{placeholder:"请选择图标名称"},model:{value:e.activeData.extConfig.icon,callback:function(t){e.$set(e.activeData.extConfig,"icon",t)},expression:"activeData.extConfig.icon"}})],1),e._v(" "),t("el-form-item",{attrs:{label:"绑定变量"}},[t("VW",{model:{value:e.activeData.datasource.test,callback:function(t){e.$set(e.activeData.datasource,"test",t)},expression:"activeData.datasource.test"}},[t("el-input",{attrs:{placeholder:"请输入test数据"},model:{value:e.activeData.datasource.test,callback:function(t){e.$set(e.activeData.datasource,"test",t)},expression:"activeData.datasource.test"}})],1)],1),e._v(" "),t("el-form-item",{attrs:{label:"选择字段"}},[t("SelectEntityField",{attrs:{"show-children":!0,"label-is-formatted":!0,"entity-name":e.formConf.entityName},on:{change:e.fieldChanged},model:{value:e.activeData.extConfig.fieldName,callback:function(t){e.$set(e.activeData.extConfig,"fieldName",t)},expression:"activeData.extConfig.fieldName"}})],1),e._v(" "),t("el-form-item",{attrs:{label:"流程"}},[t("selectProcess",{on:{setProcessDefName:e.getProcessDefName}})],1),e._v(" "),t("el-form-item",{attrs:{label:"页面资源"}},[t("FormViewSelector",{staticClass:"w-100p",attrs:{placeholder:"页面资源","view-id":e.activeData.extConfig.viewId,"view-code":e.activeData.extConfig.viewCode,"resource-code":e.formConf.resourceCode},on:{"update:viewId":function(t){return e.$set(e.activeData.extConfig,"viewId",t)},"update:view-id":function(t){return e.$set(e.activeData.extConfig,"viewId",t)},"update:viewCode":function(t){return e.$set(e.activeData.extConfig,"viewCode",t)},"update:view-code":function(t){return e.$set(e.activeData.extConfig,"viewCode",t)}}})],1)],1)}),[],!1,null,null,null).exports},51900:function(e,t,a){function o(e,t,a,o,n,i,s,c){var r,l,f="function"==typeof e?e.options:e;return t&&(f.render=t,f.staticRenderFns=a,f._compiled=!0),o&&(f.functional=!0),i&&(f._scopeId="data-v-"+i),s?(r=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},f._ssrRegister=r):n&&(r=c?function(){n.call(this,(f.functional?this.parent:this).$root.$options.shadowRoot)}:n),r&&(f.functional?(f._injectStyles=r,l=f.render,f.render=function(e,t){return r.call(t),l(e,t)}):(t=f.beforeCreate,f.beforeCreate=t?[].concat(t,r):[r])),{exports:e,options:f}}a.d(t,{Z:function(){return o}})}}]);