@zhijiancloud/bpm 1.0.17 → 1.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bpmAppointment.umd.js +1 -1
- package/dist/bpmAudit.umd.js +1 -1
- package/dist/bpmField.umd.js +1 -1
- package/dist/bpmFormField.umd.js +1 -1
- package/dist/bpmMulFile.umd.js +1 -1
- package/dist/bpmMulImage.umd.js +1 -1
- package/dist/bpmSelectHouseOwner.umd.js +1 -1
- package/dist/bpmSignature.umd.js +1 -1
- package/dist/bpmSubFormField.umd.js +1 -1
- package/dist/css/bpmAppointment.css +1 -1
- package/dist/css/index.css +1 -1
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("lodash")):"function"==typeof define&&define.amd?define(["lodash"],t):"object"==typeof exports?exports.bpm2=t(require("lodash")):e.bpm2=t(e.lodash)}(self,(function(e){return function(){var t={6245:function(e,t,n){"use strict";var r=n(1601),o=n.n(r),i=n(6314),a=n.n(i)()(o());a.push([e.id,"\n .select-box{\n display: flex;\n .select-box-left{\n width: 200px;\n .title{\n margin-bottom: 10px;\n }\n }\n .select-box-right{\n flex: 1;\n padding-left: 20px;\n .title{\n margin-bottom: 10px;\n }\n }\n } \n .select-app,.select-app-item, .select-form, .select-form-item{\n list-style: none;\n margin: 0;\n padding: 0;\n margin-bottom: 10px;\n } \n .select-app, .select-form{\n padding: 10px;\n .select-app-item{\n cursor: pointer;\n }\n }\n\n .select-app-item.active{\n color: #409EFF;\n }\n",""]),t.A=a},5129:function(e,t,n){"use strict";var r=n(1601),o=n.n(r),i=n(6314),a=n.n(i),s=n(6245),l=a()(o());l.i(s.A),l.push([e.id,"\n",""]),t.A=l},6314:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var u=0;u<e.length;u++){var c=[].concat(e[u]);r&&a[c[0]]||(void 0!==i&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=i),n&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=n):c[2]=n),o&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=o):c[4]="".concat(o)),t.push(c))}},t}},1601:function(e){"use strict";e.exports=function(e){return e[1]}},5072:function(e){"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var i={},a=[],s=0;s<e.length;s++){var l=e[s],u=r.base?l[0]+r.base:l[0],c=i[u]||0,p="".concat(u," ").concat(c);i[u]=c+1;var f=n(p),d={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==f)t[f].references++,t[f].updater(d);else{var m=o(d,r);r.byIndex=s,t.splice(s,0,{identifier:p,updater:m,references:1})}a.push(p)}return a}function o(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,o){var i=r(e=e||[],o=o||{});return function(e){e=e||[];for(var a=0;a<i.length;a++){var s=n(i[a]);t[s].references--}for(var l=r(e,o),u=0;u<i.length;u++){var c=n(i[u]);0===t[c].references&&(t[c].updater(),t.splice(c,1))}i=l}}},7659:function(e){"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},540:function(e){"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},5056:function(e,t,n){"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},7825:function(e){"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},1113:function(e){"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},4486:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a,s){var l,u="function"==typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(l=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__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):o&&(l=s?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var p=u.beforeCreate;u.beforeCreate=p?[].concat(p,l):[l]}return{exports:e,options:u}}n.d(t,{A:function(){return r}})},7642:function(e){e.exports=function(){return this.ELEMENT}()},5554:function(e){e.exports=function(){return this.Vue}()},6773:function(t){"use strict";t.exports=e}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={id:e,exports:{}};return t[e](i,i.exports,r),i.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nc=void 0;var o={};return function(){"use strict";r.r(o),r.d(o,{default:function(){return I}});var e=function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.curComponent,e._g(e._b({tag:"component",staticClass:"bpm-select-house-owner",attrs:{fieldConf:e.fieldConf,row:e.row,mode:e.mode,uiType:e.uiType,orgInfo:e.orgInfo,formName:e.formName,isMultiple:e.isMultiple},on:{change:e.handleChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},"component",e.$attrs,!1),e.$listeners))};e._withStripped=!0;var t=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"house-owner"},[n("el-autocomplete",{attrs:{"fetch-suggestions":e.querySearch,placeholder:e.placeholder},on:{select:e.handleSelect},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.item;return[n("div",{staticClass:"name"},[e._v(e._s(r.value))]),e._v(" "),n("span",{staticClass:"addr"},[e._v(e._s(r.phone))])]}}]),model:{value:e.curVal.name,callback:function(t){e.$set(e.curVal,"name",t)},expression:"curVal.name"}}),e._v(" "),n("el-input",{staticClass:"bpm-default-input owner-phone",staticStyle:{"margin-top":"10px","user-select":"text"},attrs:{placeholder:e.$z("请输入业主电话","b2.common.select_owner_number")},model:{value:e.curVal.phone,callback:function(t){e.$set(e.curVal,"phone",t)},expression:"curVal.phone"}})],1)};t._withStripped=!0;var n=r(5554),i=r.n(n),a=r(6773),s=r.n(a),l=r(7642);i().use(l.Autocomplete);var u={props:["value","fieldConf","row","formName","orgInfo","isMultiple","selectList"],data(){return{placeholder:zj.z("请选择或输入业主名称","b2.common.select_owner"),curVal:{id:"",name:"",phone:""},restaurants:[],firstListVal:""}},watch:{value:{handler(e){this.curVal=e||{id:null,name:"",phone:""}},deep:!0},selectList(e){"EVCFirstElem"==s().get(this.fieldConf,"default.value.type")&&(!this.curVal||this.curVal&&!this.curVal.name)&&(this.curVal=s().get(e,"0",null)),this.firstListVal=s().get(e,"0",null)},curVal(e){this.$emit("input",this.curVal),this.$emit("change",this.curVal)},getSelectOptions:function(e){console.log("----selectHouseOwnerOptions----",e),this.setDefaultVal(e)}},computed:{getSelectOptions(){return this.selectOptions?this.selectOptions():[]}},inject:["selectOptions"],methods:{querySearch(e,t){var n=[];s().each(this.getSelectOptions,(e=>{n.push({value:e.name,phone:e.phone,id:e.id})})),t(e?n.filter(this.createFilter(e)):n)},createFilter(e){return t=>0===t.value.toLowerCase().indexOf(e.toLowerCase())},handleSelect(e){let t=s().cloneDeep(e);t.name=t.value,delete t.value,this.curVal=t},setDefaultVal(e){this.fieldConf.default&&"EVCFirstElem"==this.fieldConf.default.value.type&&(this.curVal.id?(this.curVal=s().get(e,"0",null),this.firstListVal=s().get(e,"0",null)):s().find(e,{id:this.curVal.id})||(this.curVal=s().get(e,"0",null),this.firstListVal=s().get(e,"0",null)))}}},c=u,p=r(4486),f=(0,p.A)(c,t,[],!1,null,null,null);f.options.__file="components/lib/bpmSelectHouseOwner/src/part/editor.vue";var d=f.exports,m=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.value?n("div",{staticClass:"qs-content"},[n("div",[e._v(e._s(e.value.name)+" "),n("el-tag",{attrs:{type:"info",size:"small"}},[e._v(e._s(e.value.phone))])],1)]):n("span",{staticClass:"qs-content",attrs:{title:e.value}},[e._v(e._s("--"))])])};m._withStripped=!0;var h=(0,p.A)({props:["type","value","fieldConf","row"]},m,[],!1,null,null,null);h.options.__file="components/lib/bpmSelectHouseOwner/src/part/reader.vue";var v=h.exports,y={name:"bpmSelectHouseOwner",components:{editorComponent:d,readerComponent:v},props:{value:{type:[String,Array]},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"default"}},orgInfo:{type:Object},formName:{type:String},isMultiple:{type:Boolean,default(){return!1}}},data(){return{curVal:""}},computed:{curComponent(){return"view"==this.mode?v:d}},watch:{value(){this.curVal=this.value}},mounted(){this.curVal=this.value},methods:{handleChange(e){this.$emit("input",e),this.$emit("change",e)}}},g=r(5072),_=r.n(g),b=r(7825),x=r.n(b),C=r(7659),S=r.n(C),V=r(5056),w=r.n(V),O=r(540),E=r.n(O),T=r(1113),A=r.n(T),$=r(5129),j={};j.styleTagTransform=A(),j.setAttributes=w(),j.insert=S().bind(null,"head"),j.domAPI=x(),j.insertStyleElement=E(),_()($.A,j),$.A&&$.A.locals&&$.A.locals;var M=(0,p.A)(y,e,[],!1,null,null,null);M.options.__file="components/lib/bpmSelectHouseOwner/src/main.vue";var L=M.exports;L.install=function(e){e.component(L.name,L)};var I=L}(),o}()}));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("lodash")):"function"==typeof define&&define.amd?define(["lodash"],t):"object"==typeof exports?exports.bpm2=t(require("lodash")):e.bpm2=t(e.lodash)}(self,(function(e){return function(){var t={6245:function(e,t,n){"use strict";var r=n(1601),o=n.n(r),i=n(6314),s=n.n(i)()(o());s.push([e.id,"\n .select-box{\n display: flex;\n .select-box-left{\n width: 200px;\n .title{\n margin-bottom: 10px;\n }\n }\n .select-box-right{\n flex: 1;\n padding-left: 20px;\n .title{\n margin-bottom: 10px;\n }\n }\n } \n .select-app,.select-app-item, .select-form, .select-form-item{\n list-style: none;\n margin: 0;\n padding: 0;\n margin-bottom: 10px;\n } \n .select-app, .select-form{\n padding: 10px;\n .select-app-item{\n cursor: pointer;\n }\n }\n\n .select-app-item.active{\n color: #409EFF;\n }\n",""]),t.A=s},5129:function(e,t,n){"use strict";var r=n(1601),o=n.n(r),i=n(6314),s=n.n(i),a=n(6245),l=s()(o());l.i(a.A),l.push([e.id,"\n",""]),t.A=l},6314:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(r)for(var a=0;a<this.length;a++){var l=this[a][0];null!=l&&(s[l]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);r&&s[u[0]]||(void 0!==i&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},1601:function(e){"use strict";e.exports=function(e){return e[1]}},5072:function(e){"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var i={},s=[],a=0;a<e.length;a++){var l=e[a],c=r.base?l[0]+r.base:l[0],u=i[c]||0,p="".concat(c," ").concat(u);i[c]=u+1;var f=n(p),d={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==f)t[f].references++,t[f].updater(d);else{var m=o(d,r);r.byIndex=a,t.splice(a,0,{identifier:p,updater:m,references:1})}s.push(p)}return s}function o(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,o){var i=r(e=e||[],o=o||{});return function(e){e=e||[];for(var s=0;s<i.length;s++){var a=n(i[s]);t[a].references--}for(var l=r(e,o),c=0;c<i.length;c++){var u=n(i[c]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}i=l}}},7659:function(e){"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},540:function(e){"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},5056:function(e,t,n){"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},7825:function(e){"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},1113:function(e){"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},4486:function(e,t,n){"use strict";function r(e,t,n,r,o,i,s,a){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),s?(l=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__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},c._ssrRegister=l):o&&(l=a?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,l):[l]}return{exports:e,options:c}}n.d(t,{A:function(){return r}})},7642:function(e){e.exports=function(){return this.ELEMENT}()},5554:function(e){e.exports=function(){return this.Vue}()},6773:function(t){"use strict";t.exports=e}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={id:e,exports:{}};return t[e](i,i.exports,r),i.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nc=void 0;var o={};return function(){"use strict";r.r(o),r.d(o,{default:function(){return I}});var e=function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.curComponent,e._g(e._b({tag:"component",staticClass:"bpm-select-house-owner",attrs:{fieldConf:e.fieldConf,row:e.row,mode:e.mode,uiType:e.uiType,orgInfo:e.orgInfo,formName:e.formName,isMultiple:e.isMultiple},on:{change:e.handleChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}},"component",e.$attrs,!1),e.$listeners))};e._withStripped=!0;var t=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"house-owner"},[n("el-autocomplete",{attrs:{"fetch-suggestions":e.querySearch,placeholder:e.placeholder},on:{select:e.handleSelect},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.item;return[n("div",{staticClass:"name"},[e._v(e._s(r.value))]),e._v(" "),n("span",{staticClass:"addr"},[e._v(e._s(r.phone))])]}}]),model:{value:e.curVal.name,callback:function(t){e.$set(e.curVal,"name",t)},expression:"curVal.name"}}),e._v(" "),n("el-input",{staticClass:"bpm-default-input owner-phone",staticStyle:{"margin-top":"10px","user-select":"text"},attrs:{placeholder:e.$z("请输入业主电话","b2.common.select_owner_number")},model:{value:e.curVal.phone,callback:function(t){e.$set(e.curVal,"phone",t)},expression:"curVal.phone"}})],1)};t._withStripped=!0;var n=r(5554),i=r.n(n),s=r(6773),a=r.n(s),l=r(7642);i().use(l.Autocomplete);var c={props:["value","fieldConf","row","formName","orgInfo","isMultiple","selectList"],data(){return{placeholder:zj.z("请选择或输入业主名称","b2.common.select_owner"),curVal:{id:"",name:"",phone:""},restaurants:[],firstListVal:""}},watch:{value:{handler(e){console.log("val",e),this.curVal=e||{id:null,name:"",phone:""}},deep:!0},selectList(e){"EVCFirstElem"==a().get(this.fieldConf,"default.value.type")&&(!this.curVal||this.curVal&&!this.curVal.name)&&(this.curVal=a().get(e,"0",null)),this.firstListVal=a().get(e,"0",null)},curVal(e){console.log("curVal_val",e),this.$emit("input",this.curVal),this.$emit("change",this.curVal)},getSelectOptions:function(e){console.log("----selectHouseOwnerOptions----",e),this.setDefaultVal(e)}},computed:{getSelectOptions(){return this.selectOptions?this.selectOptions():[]}},inject:["selectOptions"],methods:{querySearch(e,t){var n=[];a().each(this.getSelectOptions,(e=>{n.push({value:e.name,phone:e.phone,id:e.id})})),t(e?n.filter(this.createFilter(e)):n)},createFilter(e){return t=>0===t.value.toLowerCase().indexOf(e.toLowerCase())},handleSelect(e){let t=a().cloneDeep(e);t.name=t.value,delete t.value,console.log("select",t),this.$emit("input",t),this.$emit("change",t),this.curVal=t},setDefaultVal(e){this.fieldConf.default&&"EVCFirstElem"==this.fieldConf.default.value.type&&(this.curVal.id?(this.curVal=a().get(e,"0",null),this.firstListVal=a().get(e,"0",null)):a().find(e,{id:this.curVal.id})||(this.curVal=a().get(e,"0",null),this.firstListVal=a().get(e,"0",null)))}}},u=c,p=r(4486),f=(0,p.A)(u,t,[],!1,null,null,null);f.options.__file="components/lib/bpmSelectHouseOwner/src/part/editor.vue";var d=f.exports,m=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.value?n("div",{staticClass:"qs-content"},[n("div",[e._v(e._s(e.value.name)+" "),n("el-tag",{attrs:{type:"info",size:"small"}},[e._v(e._s(e.value.phone))])],1)]):n("span",{staticClass:"qs-content",attrs:{title:e.value}},[e._v(e._s("--"))])])};m._withStripped=!0;var h=(0,p.A)({props:["type","value","fieldConf","row"]},m,[],!1,null,null,null);h.options.__file="components/lib/bpmSelectHouseOwner/src/part/reader.vue";var v=h.exports,g={name:"bpmSelectHouseOwner",components:{editorComponent:d,readerComponent:v},props:{value:{type:[String,Array]},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"default"}},orgInfo:{type:Object},formName:{type:String},isMultiple:{type:Boolean,default(){return!1}}},data(){return{curVal:""}},computed:{curComponent(){return"view"==this.mode?v:d}},watch:{value(){this.curVal=this.value}},mounted(){this.curVal=this.value},methods:{handleChange(e){this.$emit("input",e),this.$emit("change",e)}}},y=r(5072),_=r.n(y),b=r(7825),x=r.n(b),C=r(7659),V=r.n(C),S=r(5056),w=r.n(S),O=r(540),E=r.n(O),$=r(1113),T=r.n($),A=r(5129),j={};j.styleTagTransform=T(),j.setAttributes=w(),j.insert=V().bind(null,"head"),j.domAPI=x(),j.insertStyleElement=E(),_()(A.A,j),A.A&&A.A.locals&&A.A.locals;var M=(0,p.A)(g,e,[],!1,null,null,null);M.options.__file="components/lib/bpmSelectHouseOwner/src/main.vue";var L=M.exports;L.install=function(e){e.component(L.name,L)};var I=L}(),o}()}));
|