iedc-go/tpt/js/chunk-c155d0dc.8000c006.js

1 line
17 KiB
JavaScript
Raw Normal View History

2022-10-30 19:27:23 +00:00
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-c155d0dc"],{"08fb":function(e,t,n){},"6bfc":function(e,t,n){"use strict";n("afe5")},"72ad":function(e){e.exports=JSON.parse('{"form":[{"type":"select","label":"mz","name":"民族","value":1,"options":[{"name":"汉","value":1},{"name":"汉2","value":2},{"name":"汉3","value":3}]},{"type":"time","label":"time","name":"开业时间","value":"2021-10-10"},{"type":"text","label":"address","name":"开业地址","value":"四川省成都市"},{"type":"image","label":"sfz-front","name":"身份证正面","value":""},{"type":"image","label":"sfz-back","name":"身份证反面","value":""},{"type":"file","label":"file","name":"证明材料","fileName":"证明材料.txt","value":""},{"type":"select","label":"radio-test","name":"状态","value":1,"options":[{"name":"成功","value":1},{"name":"失败","value":2}]}]}')},ada9:function(e,t,n){"use strict";n("fb8c")},afe5:function(e,t,n){},b42e:function(e,t,n){},ceb0:function(e,t,n){"use strict";var u=n("f2bf"),c={style:{border:"1px solid #ccc"},class:"full-screen-container"};var l=n("1da1"),a=(n("b0c0"),n("96cf"),n("560e"),n("4e15")),o=n("2934"),a={components:{Editor:a.a,Toolbar:a.b},props:{modelValue:String},emits:["update:modelValue"],data:function(){return{}},setup:function(){var t=Object(u.X)(),e={hoverbarKeys:{attachment:{menuKeys:["downloadAttachment"]}},placeholder:"请输入内容...",MENU_CONF:{uploadImage:{customUpload:function(n,a){return Object(l.a)(regeneratorRuntime.mark(function e(){var t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(o.h)(n);case 2:t=e.sent,a(t.result,"",t.result);case 4:case"end":return e.stop()}},e)}))()}},uploadVideo:{customUpload:function(n,a){return Object(l.a)(regeneratorRuntime.mark(function e(){var t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(o.h)(n);case 2:t=e.sent,a(t.result,null,t.result);case 4:case"end":return e.stop()}},e)}))()}},uploadAttachment:{customUpload:function(n,a){return Object(l.a)(regeneratorRuntime.mark(function e(){var t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(o.h)(n);case 2:t=e.sent,a(n.name,t.result);case 4:case"end":return e.stop()}},e)}))()}}}};Object(u.F)(function(){var e=t.value;null!=e&&e.destroy()});return{editorRef:t,valueHtml:Object(u.Q)(""),mode:"default",toolbarConfig:{insertKeys:{index:0,keys:["uploadAttachment"]}},editorConfig:e,handleCreated:function(e){t.value=e}}},mounted:function(){},methods:{handleChange:function(e){"<p><br></p>"!=e.getHtml()&&this.$emit("update:modelValue",e.getHtml())}},watch:{modelValue:function(){-1==this.modelValue.indexOf("<p>")?this.valueHtml="<p>"+this.modelValue+"</p>":this.valueHtml=this.modelValue}}},r=(n("d1c3"),n("6b0d")),n=n.n(r);t.a=n()(a,[["render",function(e,t,n,a,l,o){var r=Object(u.U)("Toolbar"),i=Object(u.U)("Editor",!0);return Object(u.L)(),Object(u.n)("div",c,[Object(u.s)(r,{style:{"border-bottom":"1px solid #ccc"},editor:a.editorRef,defaultConfig:a.toolbarConfig,mode:a.mode},null,8,["editor","defaultConfig","mode"]),Object(u.s)(i,{style:{height:"700px","overflow-y":"hidden"},modelValue:a.valueHtml,"onUpdate:modelValue":t[0]||(t[0]=function(e){return a.valueHtml=e}),defaultConfig:a.editorConfig,mode:a.mode,onOnCreated:a.handleCreated,onOnChange:o.handleChange},null,8,["modelValue","defaultConfig","mode","onOnCreated","onOnChange"])])}],["__scopeId","data-v-12e6b782"]])},d0c8:function(e,t,n){"use strict";n.r(t);n("9911"),n("b0c0");function a(e){return Object(v.O)("data-v-96cdfb38"),e=e(),Object(v.M)(),e}var v=n("f2bf"),g={key:0},y=Object(v.r)(" 清除 "),w={key:1},k={style:{position:"relative"}},x=["id"],L=a(function(){return Object(v.o)("div",{style:{position:"absolute",top:"10px",left:"10px","z-index":"2",background:"#fff",padding:"5px 10px"}},[Object(v.o)("div",{id:"r-result"},[Object(v.r)("搜索:"),Object(v.o)("input",{type:"text",id:"suggestId",size:"20",value:"",style:{width:"150px"}})]),Object(v.o)("div",{id:"searchResultPanel",styl