You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

3 lines
36 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["subPackages-user-infoFilling"],{"1ca6":function(e,t,i){"use strict";i.r(t);var n=i("26b8"),a=i("4577");for(var o in a)["default"].indexOf(o)<0&&function(e){i.d(t,e,(function(){return a[e]}))}(o);i("6c7f");var r=i("828b"),s=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,"a7eb12fe",null,!1,n["a"],void 0);t["default"]=s.exports},2634:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
t.default=function(){return e};var e={},i=Object.prototype,a=i.hasOwnProperty,o=Object.defineProperty||function(e,t,i){e[t]=i.value},r="function"==typeof Symbol?Symbol:{},s=r.iterator||"@@iterator",l=r.asyncIterator||"@@asyncIterator",c=r.toStringTag||"@@toStringTag";function u(e,t,i){return Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(V){u=function(e,t,i){return e[t]=i}}function d(e,t,i,n){var a=t&&t.prototype instanceof p?t:p,r=Object.create(a.prototype),s=new I(n||[]);return o(r,"_invoke",{value:_(e,i,s)}),r}function f(e,t,i){try{return{type:"normal",arg:e.call(t,i)}}catch(V){return{type:"throw",arg:V}}}e.wrap=d;var v={};function p(){}function h(){}function g(){}var m={};u(m,s,(function(){return this}));var b=Object.getPrototypeOf,y=b&&b(b(T([])));y&&y!==i&&a.call(y,s)&&(m=y);var w=g.prototype=p.prototype=Object.create(m);function x(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){var i;o(this,"_invoke",{value:function(o,r){function s(){return new t((function(i,s){(function i(o,r,s,l){var c=f(e[o],e,r);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==(0,n.default)(d)&&a.call(d,"__await")?t.resolve(d.__await).then((function(e){i("next",e,s,l)}),(function(e){i("throw",e,s,l)})):t.resolve(d).then((function(e){u.value=e,s(u)}),(function(e){return i("throw",e,s,l)}))}l(c.arg)})(o,r,i,s)}))}return i=i?i.then(s,s):s()}})}function _(e,t,i){var n="suspendedStart";return function(a,o){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===a)throw o;return E()}for(i.method=a,i.arg=o;;){var r=i.delegate;if(r){var s=S(r,i);if(s){if(s===v)continue;return s}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if("suspendedStart"===n)throw n="completed",i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);n="executing";var l=f(e,t,i);if("normal"===l.type){if(n=i.done?"completed":"suspendedYield",l.arg===v)continue;return{value:l.arg,done:i.done}}"throw"===l.type&&(n="completed",i.method="throw",i.arg=l.arg)}}}function S(e,t){var i=t.method,n=e.iterator[i];if(void 0===n)return t.delegate=null,"throw"===i&&e.iterator["return"]&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==i&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+i+"' method")),v;var a=f(n,e.iterator,t.arg);if("throw"===a.type)return t.method="throw",t.arg=a.arg,t.delegate=null,v;var o=a.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,v):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,v)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function T(e){if(e){var t=e[s];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,n=function t(){for(;++i<e.length;)if(a.call(e,i))return t.value=e[i],t.done=!1,t;return t.value=void 0,t.done=!0,t};return n.next=n}}return{next:E}}function E(){return{value:void 0,done:!0}}return h.prototype=g,o(w,"constructor",{value:g,configurable:!0}),o(g,"constructor",{value:h,configurable:!0}),h.displayName=u(g,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,u(e,c,"GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},x(k.prototype),u(k.prototype,l,(function(){return this})),e.AsyncIterator=k,e.async=function(t,i,n,a,o){void 0===o&&(o=Promise);var r=new k(d(t,i,n,a),o);return e.isGeneratorFunction(i)?r:r.next().then((function(e){return e.done?e.value:r.next()}))},x(w),u(w,c,"Generator"),u(w,s,(function(){return this})),u(w,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),i=[];for(var n in t)i.push(n);return i.reverse(),function e(){for(;i.length;){var n=i.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(L),!e)for(var t in this)"t"===t.charAt(0)&&a.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function i(i,n){return r.type="throw",r.arg=e,t.next=i,n&&(t.method="next",t.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],r=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var s=a.call(o,"catchLoc"),l=a.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var i=this.tryEntries.length-1;i>=0;--i){var n=this.tryEntries[i];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var r=o?o.completion:{};return r.type=e,r.arg=t,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(r)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var i=this.tryEntries[t];if(i.finallyLoc===e)return this.complete(i.completion,i.afterLoc),L(i),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var i=this.tryEntries[t];if(i.tryLoc===e){var n=i.completion;if("throw"===n.type){var a=n.arg;L(i)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,i){return this.delegate={iterator:T(e),resultName:t,nextLoc:i},"next"===this.method&&(this.arg=void 0),v}},e},i("6a54"),i("01a2"),i("e39c"),i("bf0f"),i("844d"),i("18f7"),i("de6c"),i("3872e"),i("4e9b"),i("114e"),i("c240"),i("926e"),i("7a76"),i("c9b5"),i("aa9c"),i("2797"),i("8a8d"),i("dc69"),i("f7a5");var n=function(e){return e&&e.__esModule?e:{default:e}}(i("fcf3"))},"26b8":function(e,t,i){"use strict";i.d(t,"b",(function(){return a})),i.d(t,"c",(function(){return o})),i.d(t,"a",(function(){return n}));var n={uniIcons:i("5b2b").default,uniPopup:i("d93e").default},a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",{class:["bg","honor"==e.valueType?"honorBG":""]},[i("v-uni-view",{staticClass:"user-other-info"},["scenic_ids"==e.valueType?i("v-uni-view",{staticClass:"scenic-container"},e._l(e.scenicIds,(function(t,n){return i("v-uni-view",{key:n,staticClass:"userinfo-item",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.changeSelection(t)}}},[i("span",[e._v(e._s(t.name))]),t.value.length>0?i("v-uni-view",{staticClass:"text-overflow"},[e._v(e._s(t.valueStr))]):i("v-uni-view",{staticClass:"empty-value"},[e._v("请选择")])],1)})),1):"lingo_ids"==e.valueType?i("v-uni-view",{staticClass:"lingo-container"},[e._l(e.lingoIds,(function(t,n){return i("v-uni-view",{key:n,staticClass:"userinfo-item",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.changeSelection(t)}}},[i("span",[e._v(e._s(t.name))]),t.value.length>0?i("v-uni-view",{staticClass:"text-overflow"},[e._v(e._s(t.valueStr))]):i("v-uni-view",{staticClass:"empty-value"},[e._v("请选择")])],1)})),i("v-uni-view",{staticClass:"language-doc-container"},[i("span",[e._v("证明材料")]),i("v-uni-view",{staticClass:"img-container"},[e._l(e.fileList,(function(t,n){return i("v-uni-view",{key:n,staticClass:"doc-image"},[i("v-uni-image",{staticClass:"doc-image",attrs:{src:e.showImg(t)}}),i("v-uni-view",{staticClass:"doc-del",nativeOn:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.removeFile(n)}}},[e._v("x")])],1)})),i("v-uni-view",{staticClass:"doc-image flex flex-center",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.uploadImage()}}},[i("v-uni-image",{staticClass:"upload-image",attrs:{src:e.showImg("/uploads/20241202/33e04a3b13241a6705616f6d6db315ce.png")}})],1)],2)],1)],2):"sparkle_text"==e.valueType?i("v-uni-view",{staticClass:"scenic-container"},[e._l(e.speakText,(function(t,n){return i("v-uni-view",{key:n,staticClass:"userinfo-item"},[i("span",[e._v(e._s(0==n?"主亮点":"副亮点"+n))]),i("v-uni-view",{staticClass:"point"},[i("v-uni-input",{attrs:{type:"text",placeholder:"请输入内容"},model:{value:t.text,callback:function(i){e.$set(t,"text",i)},expression:"item.text"}}),0!=n?i("uni-icons",{staticClass:"del-icon",attrs:{type:"trash",size:"20"},nativeOn:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.delText(n)}}}):e._e()],1)],1)})),i("v-uni-view",{staticClass:"add-btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.addText.apply(void 0,arguments)}}},[e._v("+ 添加更多")])],2):"video_list"==e.valueType?i("v-uni-view",{staticClass:"video-container"},[i("v-uni-view",{staticClass:"top-del",staticStyle:{"text-align":"right","padding-bottom":"15rpx",position:"relative"}},[i("uni-icons",{attrs:{type:"trash",size:"19"},nativeOn:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.changeDeleteMode(!0)}}}),e.deleteIndex.length>0?i("v-uni-view",{staticClass:"del-num"},[e._v(e._s(e.deleteIndex.length))]):e._e()],1),i("v-uni-view",{staticClass:"video-upload-container"},[i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:!e.deleteMode,expression:"!deleteMode"}],staticClass:"video-upload-image flex flex-column flex-center",staticStyle:{border:"1px dashed #ADADAD"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.uploadVideo()}}},[i("v-uni-image",{staticClass:"upload-image",staticStyle:{"margin-bottom":"12rpx"},attrs:{src:e.showImg("/uploads/20241202/33e04a3b13241a6705616f6d6db315ce.png")}}),e._v("上传视频")],1),e._l(e.fileList,(function(t,n){return i("v-uni-view",{key:n,staticClass:"video-upload-image"},[i("v-uni-video",{staticClass:"video-upload-image",attrs:{id:"fileList_"+n,src:e.showImg(t),preload:"metadata",controls:!1,"show-progress":!1,"show-fullscreen-btn":!1,"show-play-btn":!1,"show-center-play-btn":!1,"show-loading":!1},on:{loadedmetadata:function(t){arguments[0]=t=e.$handleEvent(t),e.startVideo("fileList_"+n)}}}),i("v-uni-view",{staticClass:"cover-div"},[i("v-uni-view",{staticClass:"cover-play",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.playVideo(t)}}},[i("v-uni-image",{staticStyle:{width:"66rpx",height:"66rpx"},attrs:{src:e.showImg("/uploads/20241202/44b29b02b77b0a0342bb38c2d9282f49.png")}})],1),e.deleteMode?i("v-uni-view",{class:["delete-container",e.deleteIndex.includes(n)?"selected":""],on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.changeDeleteIndex(n)}}},[e.deleteIndex.includes(n)?i("v-uni-image",{attrs:{src:e.showImg("/uploads/20241202/21f56765ccdc74a07fbd3b30a72a87a0.png"),title:"选中"}}):i("v-uni-image",{attrs:{src:e.showImg("/uploads/20241202/b6e64e71e01a6cfd8ade6c639583357b.png"),title:"未选中"}})],1):e._e()],1)],1)}))],2)],1):"honor"==e.valueType?i("v-uni-view",{staticClass:"scenic-container"},[e._l(e.honor,(function(t,n){return i("v-uni-view",{key:n,staticClass:"honor-item"},[e.honor.length>1?i("uni-icons",{staticClass:"del-icon",attrs:{type:"trash",size:"20"},nativeOn:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.removeArr(n,e.honor)}}}):e._e(),i("v-uni-view",{staticClass:"userinfo-item",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.changeHonorSelection(t,"name")}}},[i("span",[e._v(e._s("荣誉称号"+(n+1)))]),t.nameStr?i("v-uni-view",{staticClass:"text-overflow icon-select"},[e._v(e._s(t.nameStr))]):i("v-uni-view",{staticClass:"empty-value icon-select"},[e._v("请选择")])],1),i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:1!=t.name,expression:"item.name!=1"}],staticClass:"userinfo-item",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.openRankOption(t)}}},[i("span",[e._v("级别")]),t.rankStr?i("v-uni-view",{staticClass:"text-overflow icon-select"},[e._v(e._s(t.rankStr))]):i("v-uni-view",{staticClass:"empty-value icon-select"},[e._v("请选择")])],1),i("v-uni-view",{staticClass:"language-doc-container"},[i("span",[e._v("证明材料")]),i("v-uni-view",{staticClass:"img-container"},[e._l(t.fileList,(function(a,o){return i("v-uni-view",{key:"honor"+n+"_"+o,staticClass:"doc-image"},[i("v-uni-image",{staticClass:"doc-image",attrs:{src:e.showImg(a)}}),i("v-uni-view",{staticClass:"doc-del",nativeOn:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.removeArr(o,t.fileList)}}},[e._v("x")])],1)})),i("v-uni-view",{staticClass:"doc-image flex flex-center",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.uploadImage(t.fileList)}}},[i("v-uni-image",{staticClass:"upload-image",attrs:{src:e.showImg("/uploads/20241202/33e04a3b13241a6705616f6d6db315ce.png")}})],1)],2)],1)],1)})),i("v-uni-view",{staticClass:"add-btn",staticStyle:{background:"white"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.addHonor.apply(void 0,arguments)}}},[e._v("+ 添加更多")])],2):i("v-uni-view",{staticClass:"nickname-box"},[i("v-uni-input",{directives:[{name:"show",rawName:"v-show",value:!["duration"].includes(e.valueType),expression:"!['duration'].includes(valueType)"}],attrs:{type:"text",placeholder:"请输入内容"},model:{value:e.inputValue,callback:function(t){e.inputValue=t},expression:"inputValue"}}),i("v-uni-input",{directives:[{name:"show",rawName:"v-show",value:["duration"].includes(e.valueType),expression:"['duration'].includes(valueType)"}],attrs:{type:"number",placeholder:"请输入内容"},model:{value:e.inputValue,callback:function(t){e.inputValue=t},expression:"inputValue"}})],1),["scenic_ids","sparkle_text","video_list","honor"].includes(e.valueType)?e._e():i("v-uni-view",{staticClass:"btn-tao",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.submit.apply(void 0,arguments)}}},[e._v("保存")]),["scenic_ids","sparkle_text"].includes(e.valueType)?i("v-uni-view",{staticClass:"bottom-btn"},[i("v-uni-view",{staticClass:"btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.goBack()}}},[e._v("取消")]),i("v-uni-view",{staticClass:"btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.submit()}}},[e._v("保存")])],1):e._e(),["video_list","honor"].includes(e.valueType)?i("v-uni-view",{staticClass:"bottom-btn-fixed"},[e.deleteMode?[i("v-uni-view",{staticClass:"btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.changeDeleteMode(!1)}}},[e._v("取消删除")]),i("v-uni-view",{staticClass:"btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.confirmDelVideo()}}},[e._v("确认删除")])]:[i("v-uni-view",{staticClass:"btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.goBack()}}},[e._v("取消")]),i("v-uni-view",{staticClass:"btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.submit()}}},[e._v("保存")])]],2):e._e()],1),i("uni-popup",{ref:"popup",attrs:{type:"bottom"}},[i("v-uni-view",{staticClass:"popup-box"},[i("v-uni-view",{staticClass:"btn-top flex flex-between w-full"},[i("v-uni-view",{on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$refs.popup.close()}}},[e._v("取消")]),e.selection.single?e._e():i("v-uni-view",{on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.selectAll.apply(void 0,arguments)}}},[e._v("全选")])],1),i("v-uni-view",{staticClass:"popup-content"},e._l(e.selection.arr,(function(t,n){return i("v-uni-view",{key:n,class:["popup-item","flex-center",e.selection.value.includes(t.id)?"active":""],on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.changeItemSelect(t)}}},[e._v(e._s(t.name)),i("uni-icons",{directives:[{name:"show",rawName:"v-show",value:e.selection.value.includes(t.id),expression:"selection.value.includes(item.id)"}],staticClass:"active-img",attrs:{type:"checkmarkempty",size:"23",color:"#96684F"}})],1)})),1),i("v-uni-view",{staticClass:"popup-btns flex-center",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.popSubmit.apply(void 0,arguments)}}},[i("v-uni-view",[e._v("确定")])],1)],1)],1),i("uni-popup",{ref:"popupRank",attrs:{type:"bottom"}},[i("v-uni-view",{staticClass:"popup-box"},[i("v-uni-view",{staticClass:"btn-top flex flex-between w-full"},[i("v-uni-view",{on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$refs.popupRank.close()}}},[e._v("取消")])],1),i("v-uni-view",{staticClass:"popup-content"},e._l(e.honorRankList,(function(t,n){return i("v-uni-view",{key:n,class:["popup-item","flex-center",e.selectionItem&&e.selectionItem.rank==t.id?"active":""],on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.changeRank(t)}}},[e._v(e._s(t.name)),0!=n?i("uni-icons",{staticClass:"active-img",attrs:{type:"right",size:"20",color:"#96684F"}}):e._e(),2==t.id?i("v-uni-picker",{staticClass:"cover-picker",attrs:{range:e.province,"range-key":"name"},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.changeArea.apply(void 0,arguments)}}}):e._e(),3==t.id?i("v-uni-picker",{staticClass:"cover-picker",attrs:{range:e.mulProvince,"range-key":"name",mode:"multiSelector"},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.changeArea.apply(void 0,arguments)},columnchange:function(t){arguments[0]=t=e.$handleEvent(t),e.pickerColumnchange.apply(void 0,arguments)}}}):e._e()],1)})),1),i("v-uni-view",{staticClass:"popup-btns flex-center",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$refs.popupRank.close()}}},[i("v-uni-view",[e._v("确定")])],1)],1)],1)],1)},o=[]},"2fdc":function(e,t,i){"use strict";function n(e,t,i,n,a,o,r){try{var s=e[o](r),l=s.value}catch(c){return void i(c)}s.done?t(l):Promise.resolve(l).then(n,a)}i("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(){var t=this,i=arguments;return new Promise((function(a,o){var r=e.apply(t,i);function s(e){n(r,a,o,s,l,"next",e)}function l(e){n(r,a,o,s,l,"throw",e)}s(void 0)}))}},i("bf0f")},4577:function(e,t,i){"use strict";i.r(t);var n=i("d2b2"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(o);t["default"]=a.a},"6c7f":function(e,t,i){"use strict";var n=i("d85c"),a=i.n(n);a.a},d2b2:function(e,t,i){"use strict";i("6a54");var n=i("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n(i("2634")),o=n(i("9b1b")),r=n(i("2fdc"));i("aa77"),i("bf0f"),i("fd3c"),i("64aa"),i("8f71"),i("4626"),i("5ac7"),i("aa9c"),i("dd2b"),i("d4b5"),i("bd06"),i("2797"),i("0c26");i("8f59"),i("4435");var s={data:function(){return{valueType:"",inputValue:"",inputValueStr:"",keyNames:[{key:"nickname",value:"姓名"},{key:"mobile",value:"手机号"},{key:"certificate_number",value:"导游证号码"},{key:"duration",value:"工作年限"},{key:"bio",value:"个性签名"},{key:"scenic_ids",value:"擅长景区"},{key:"lingo_ids",value:"语言能力"},{key:"sparkle_text",value:"核心亮点"},{key:"video_list",value:"讲解视频"},{key:"honor",value:"荣誉称号"}],lingoIds:[],scenicIds:[],speakText:[],honor:[],honorNameList:[{id:1,name:"导游资源库"},{id:2,name:"文明导游"},{id:3,name:"金牌导游"},{id:4,name:"品牌导游"}],honorRankList:[{id:1,name:"全国级"},{id:2,name:"省级"},{id:3,name:"市级"}],selectionItem:null,selection:{arr:[],value:[],valueStr:"",single:!1},fileList:[],deleteIndex:[],deleteMode:!1,province:[],mulProvince:[[],[]]}},onLoad:function(e){this.initData(e)},methods:{startVideo:function(e){var t=uni.createVideoContext(e);t.play(),t.pause()},initData:function(e){var t=this;if(uni.setNavigationBarTitle({title:""}),this.valueType="",this.inputValue="",this.inputValueStr="",this.deleteMode=!1,this.fileList=[],this.speakText=[],e.inputValue&&"null"!=e.inputValue&&"undefined"!=e.inputValue&&(this.inputValue=e.inputValue),e.valueType){this.valueType=e.valueType;var i=this.keyNames.find((function(e){return e.key==t.valueType}));i&&uni.setNavigationBarTitle({title:i.value}),"lingo_ids"==this.valueType&&this.initLingoList(),"scenic_ids"==this.valueType&&this.initScenicList(),"sparkle_text"==this.valueType&&this.initSparkleText(),"video_list"==this.valueType&&this.initVideo(),"honor"==this.valueType&&this.initHonor()}else this.goBack()},initLingoList:function(){var e=this;return(0,r.default)((0,a.default)().mark((function t(){var i,n,r,s;return(0,a.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.Post({},"/api/guide/getGuideLingoList");case 2:i=t.sent,n=[];try{n=(e.inputValue||"").split(",").map((function(e){return Number(e)}))}catch(a){}console.log(n),r=[{arr:i.data||[],name:"语言能力"}],e.lingoIds=r.map((function(e){var t=e.arr.filter((function(e){return n.includes(e.id)}));return(0,o.default)((0,o.default)({},e),{},{value:t.map((function(e){return e.id})),valueStr:t.map((function(e){return e.name})).join(",")})}));try{s=uni.getStorageSync("userfileList"),e.fileList=JSON.parse(s),console.log(e.fileList)}catch(a){e.fileList=[]}case 9:case"end":return t.stop()}}),t)})))()},initScenicList:function(){var e=this;return(0,r.default)((0,a.default)().mark((function t(){var i,n;return(0,a.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.Post({},"/api/guide/getGuideScenicList");case 2:i=t.sent,n=[];try{n=(e.inputValue||"").split(",").map((function(e){return Number(e)}))}catch(a){}console.log(n),e.scenicIds=(i.data||[]).map((function(e){var t=e.arr.filter((function(e){return n.includes(e.id)}));return(0,o.default)((0,o.default)({},e),{},{value:t.map((function(e){return e.id})),valueStr:t.map((function(e){return e.name})).join(",")})}));case 7:case"end":return t.stop()}}),t)})))()},initSparkleText:function(){var e=(this.inputValue||"").split(",").map((function(e){return{text:e}}));this.speakText=e},addText:function(){this.speakText.push({text:""})},delText:function(e){this.speakText.splice(e,1)},initVideo:function(){try{var e=uni.getStorageSync("userVideofileList");this.fileList=JSON.parse(e),console.log(this.fileList)}catch(t){this.fileList=[]}},initHonor:function(){var e=[];try{e=uni.getStorageSync("userHonor"),e=JSON.parse(e),Array.isArray(e)||(e=[])}catch(t){e=[]}e.length<=0&&(e=[{nameStr:"",name:null,rank:null,rankId:null,rankStr:"",fileList:[]}]),this.honor=e,this.initAddress()},initAddress:function(){var e=this;this.Post({id:1},"/api/common/getAreaList").then((function(t){e.province=t.data||[],e.mulProvince[0]=t.data||[];var i=e.province[0];i&&e.initChildProvince(i.id)}))},initChildProvince:function(e){var t=this;this.Post({id:e},"/api/common/getAreaList").then((function(e){t.mulProvince[1]=e.data||[],t.$forceUpdate()}))},addHonor:function(){this.honor.push({nameStr:"",name:null,rank:null,rankId:null,rankStr:"",fileList:[]})},changeHonorSelection:function(e,t){this.selectionItem=e,this.selection={arr:this.honorNameList,value:e.name?[e.name]:[],valueStr:"",single:!0},this.$refs.popup.open()},openRankOption:function(e){this.selectionItem=e,this.$refs.popupRank.open()},changeRank:function(e){1==e.id&&(this.selectionItem.rank=1,this.selectionItem.rankId=null,this.selectionItem.rankStr="全国级")},changeArea:function(e){console.log(e);var t=e.detail.value;if(Array.isArray(t)){this.selectionItem.rank=3,this.selectionItem.rankId=this.mulProvince[1][t[1]].id;var i=this.mulProvince[0][t[0]].name+this.mulProvince[1][t[1]].name;this.selectionItem.rankStr="市级(".concat(i,")")}else{this.selectionItem.rank=2,this.selectionItem.rankId=this.mulProvince[0][t].id;var n=this.province[t].name;this.selectionItem.rankStr="省级(".concat(n,")")}console.log(this.selectionItem)},pickerColumnchange:function(e){if(0===e.detail.column){var t=e.detail.value,i=this.mulProvince[0][t];i&&this.initChildProvince(i.id)}},changeSelection:function(e){this.selectionItem=e;var t=e.single||!1,i=[];i=t&&e.value?[Number(e.value)]:JSON.parse(JSON.stringify(e.value)),this.selection={arr:e.arr,value:i,valueStr:"",single:t},this.$refs.popup.open()},changeItemSelect:function(e){var t=this.selection.value.findIndex((function(t){return t==e.id}));if(t>=0)this.selection.value.splice(t,1);else{var i=this.selection.single;i?this.selection.value=[e.id]:this.selection.value.push(e.id)}},selectAll:function(){this.selection.value=this.selection.arr.map((function(e){return e.id}))},popSubmit:function(){var e=JSON.parse(JSON.stringify(this.selection)),t=e.arr.filter((function(t){return e.value.includes(t.id)}));["scenic_ids","lingo_ids"].includes(this.valueType)?(this.selectionItem.value=e.value,this.selectionItem.valueStr=t.map((function(e){return e.name})).join(",")):["honor"].includes(this.valueType)&&(e.value.length>0?(this.selectionItem.name=e.value[0],this.selectionItem.nameStr=t.map((function(e){return e.name})).join(",")):(this.selectionItem.name=null,this.selectionItem.nameStr=""),console.log(this.selectionItem,this.honor)),this.$refs.popup.close()},uploadImage:function(e){var t=this;this.NEWAPIURL;uni.chooseImage({count:1,success:function(i){var n=i.tempFilePaths;uni.uploadFile({url:"/api/api/Common/upload",filePath:n[0],name:"file",success:function(i){try{var n=JSON.parse(i.data);1==n.code&&(Array.isArray(e)?e.push(n.data.url):t.fileList.push(n.data.url))}catch(a){}},fail:function(){uni.showToast({title:"上传失败",icon:"none"})}})},fail:function(){uni.showToast({title:"上传失败",icon:"none"})}})},uploadVideo:function(){var e=this;this.NEWAPIURL;uni.showLoading(),uni.chooseVideo({count:1,success:function(t){var i=t.tempFilePath;uni.uploadFile({url:"/api/api/Common/upload",filePath:i,name:"file",success:function(t){uni.hideLoading();try{var i=JSON.parse(t.data);1==i.code&&e.fileList.push(i.data.url)}catch(n){}},fail:function(){uni.hideLoading(),uni.showToast({title:"上传失败",icon:"none"})}})},fail:function(){uni.hideLoading(),uni.showToast({title:"上传失败",icon:"none"})}})},removeArr:function(e,t){t.splice(e,1)},playVideo:function(e){uni.navigateTo({url:"/subPackages/video/video?item="+encodeURIComponent(JSON.stringify(e))})},changeDeleteMode:function(e){this.deleteIndex=[],this.deleteMode=e},changeDeleteIndex:function(e){var t=this.deleteIndex.findIndex((function(t){return t==e}));t>=0?this.deleteIndex.splice(t,1):this.deleteIndex.push(e),console.log(this.deleteIndex)},confirmDelVideo:function(){var e=this;this.fileList=this.fileList.filter((function(t,i){return!e.deleteIndex.includes(i)})),this.changeDeleteMode(!1)},handleSubmitData:function(){if(["scenic_ids","lingo_ids"].includes(this.valueType)){var e=[];"lingo_ids"==this.valueType&&(e=this.lingoIds),"scenic_ids"==this.valueType&&(e=this.scenicIds);var t=[];e.forEach((function(e){Array.isArray(e.value)&&e.value.length>0&&t.push(e)})),this.inputValue=t.map((function(e){return e.value.join(",")})).join(","),this.inputValueStr=t.map((function(e){return e.valueStr})).join(","),console.log(this.inputValue,this.inputValueStr)}if("sparkle_text"==this.valueType){if(this.speakText.forEach((function(e){e.text&&e.text.trim&&(e.text=e.text.trim())})),!this.speakText[0].text)return uni.showToast({title:"主亮点必填",icon:"none"}),!0;this.inputValue=this.speakText.filter((function(e){return e.text})),this.inputValueStr=this.inputValue.map((function(e){return e.text})).join(",")}if("video_list"==this.valueType&&(this.inputValue=JSON.parse(JSON.stringify(this.fileList)),this.inputValueStr=""),"honor"==this.valueType){var i=this.honor.filter((function(e){return!(!e.name&&!e.rank&&e.fileList.length<=0)}));if(i.forEach((function(e){1==e.name&&(e.rank=null,e.rankId=null,e.rankStr="")})),i.length>0){if(!i.every((function(e){return e.name&&(1==e.name||1!=e.name&&e.rank)&&e.fileList.length>0})))return uni.showToast({title:"请补充信息",icon:"none"}),!0;this.inputValue=JSON.parse(JSON.stringify(i)),this.inputValueStr=i[0].nameStr}else this.inputValue=[],this.inputValueStr=""}},submit:function(){var e=this.handleSubmitData();if(!e){try{this.inputValue=this.inputValue.trim()}catch(t){}uni.$emit("updateInfo",{msgType:"registerInfo",data:{valueType:this.valueType,inputValue:this.inputValue,inputValueStr:this.inputValueStr,fileList:this.fileList}}),this.goBack()}}}};t.default=s},d85c:function(e,t,i){var n=i("e7ef");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var a=i("967d").default;a("3cea3ae9",n,!0,{sourceMap:!1,shadowMode:!1})},e7ef:function(e,t,i){var n=i("c86c");t=n(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */uni-view[data-v-a7eb12fe]{box-sizing:initial}.bg[data-v-a7eb12fe]{min-height:100vh;overflow-x:hidden;background:#fff;padding-bottom:%?200?%}.bg.honorBG[data-v-a7eb12fe]{background:#f1f1f1}.empty-value[data-v-a7eb12fe]{font-weight:500;font-size:%?28?%;color:#999}.nickname-box[data-v-a7eb12fe]{display:flex;align-items:center;background:#fff;margin-bottom:%?100?%;font-size:%?30?%;height:%?70?%;border-bottom:%?1?% solid #d8d8d8}.nickname-box span[data-v-a7eb12fe]{flex-shrink:0}.nickname-box uni-input[data-v-a7eb12fe]{flex:1;font-size:%?30?%;display:block}.user-other-info[data-v-a7eb12fe]{padding:%?30?%}.userinfo-item[data-v-a7eb12fe]{display:flex;align-items:center;font-size:%?28?%;color:#333;position:relative}.userinfo-item span[data-v-a7eb12fe]{flex-shrink:0;width:%?140?%}.userinfo-item > uni-view[data-v-a7eb12fe]{flex:1;padding:%?40?% %?10?% %?40?% 0;margin-left:%?30?%;border-bottom:1px solid #d8d8d8}.btn-tao[data-v-a7eb12fe]{width:%?333?%;height:%?80?%;background:#96684f;border-radius:%?40?%;text-align:center;font-size:%?30?%;line-height:%?80?%;color:#fff;margin:%?68?% auto 0}.popup-box[data-v-a7eb12fe]{border-radius:%?0?%;background:#fff;overflow:hidden}.popup-box .btn-top[data-v-a7eb12fe]{padding:%?26?% %?26?% 0 %?26?%;color:#999;font-size:%?31?%;box-sizing:border-box}.popup-box .popup-content[data-v-a7eb12fe]{max-height:%?500?%;width:100%;overflow-x:hidden;overflow-y:auto}.popup-box .popup-item[data-v-a7eb12fe]{width:%?697?%;height:%?99?%;font-weight:500;font-size:%?31?%;color:#12293c;margin:auto;border-bottom:%?1?% solid #d8d8d8;position:relative}.popup-box .popup-item .cover-picker[data-v-a7eb12fe]{position:absolute;left:0;right:0;top:0;bottom:0}.popup-box .popup-item.active[data-v-a7eb12fe]{color:#96684f}.popup-box .popup-item[data-v-a7eb12fe]:last-of-type{border:none}.popup-box .active-img[data-v-a7eb12fe]{position:absolute;right:%?10?%}.popup-box .popup-btns[data-v-a7eb12fe]{width:100%;height:%?153?%;background:#fff;color:#12293c;border-top:%?13?% solid #f2f2f2;box-shadow:%?0?% %?0?% %?13?% %?0?% rgba(82,82,82,.25);padding:%?40?% %?26?%;box-sizing:border-box}.popup-box .popup-btns uni-view[data-v-a7eb12fe]{box-sizing:border-box;width:100%;height:%?73.33?%;line-height:%?73.33?%;background:#dc2525;border-radius:%?11?%;font-weight:700;font-size:%?32?%;color:#fff;text-align:center}.del-num[data-v-a7eb12fe]{position:absolute;top:%?-5?%;right:%?-10?%;background:#e5131b;color:#fff;width:%?24?%;height:%?24?%;text-align:center;line-height:%?24?%;font-size:%?20?%;border-radius:50%}.language-doc-container[data-v-a7eb12fe]{display:flex;align-items:flex-start;padding-top:%?40?%}.language-doc-container span[data-v-a7eb12fe]{flex-shrink:0;width:%?140?%}.language-doc-container .img-container[data-v-a7eb12fe]{flex:1;flex-shrink:0;display:flex;flex-wrap:wrap;padding-left:%?20?%}.language-doc-container .img-container .doc-image[data-v-a7eb12fe]{width:%?141?%;height:%?151?%;border-radius:%?13?%;margin:0 %?40?% %?20?% 0;background:#f1f1f1;position:relative}.language-doc-container .img-container .doc-del[data-v-a7eb12fe]{width:%?40?%;height:%?40?%;text-align:center;line-height:%?40?%;background:#000;color:#fff;position:absolute;top:%?-10?%;right:%?-10?%;border-radius:50%}.language-doc-container .img-container .upload-image[data-v-a7eb12fe]{width:%?43?%;height:%?41?%}.userinfo-item .point[data-v-a7eb12fe]{display:flex;align-items:center;justify-content:space-between}.userinfo-item .point uni-input[data-v-a7eb12fe]{font-size:%?28?%}.userinfo-item .point .del-icon[data-v-a7eb12fe]{padding-left:%?20?%}.add-btn[data-v-a7eb12fe]{width:%?343?%;height:%?72?%;background:#f1f1f1;border-radius:%?13?%;line-height:%?72?%;text-align:center;font-weight:500;font-size:%?28?%;margin:%?55?% auto 0}.video-upload-container[data-v-a7eb12fe]{display:flex;flex-wrap:wrap;justify-content:space-between}.video-upload-container .upload-image[data-v-a7eb12fe]{width:%?72?%;height:%?68.67?%}.video-upload-container .video-upload-image[data-v-a7eb12fe]{width:%?330?%;height:%?330?%;background:#f1f1f1;border-radius:%?10?%;margin-bottom:%?20?%;position:relative;overflow:hidden}.video-upload-container .video-upload-image .cover-div[data-v-a7eb12fe]{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%}.video-upload-container .video-upload-image .cover-div .cover-play[data-v-a7eb12fe]{width:100%;height:100%;top:0;left:0;display:flex;align-items:center;justify-content:center;color:#fff;position:absolute;z-index:5}.video-upload-container .video-upload-image .cover-div .delete-container[data-v-a7eb12fe]{width:100%;height:100%;top:0;left:0;position:absolute;z-index:10;padding:%?20?%}.video-upload-container .video-upload-image .cover-div .delete-container uni-image[data-v-a7eb12fe]{width:%?44?%;height:%?44?%}.video-upload-container .video-upload-image .cover-div .delete-container.selected[data-v-a7eb12fe]{background:rgba(0,0,0,.8)}.bottom-btn[data-v-a7eb12fe]{padding:%?66?% %?80?% 0;display:flex;justify-content:space-between}.bottom-btn .btn[data-v-a7eb12fe]{width:%?244?%;height:%?81?%;border-radius:%?40?%;border:1px solid #000;line-height:%?81?%;text-align:center;font-weight:500;font-size:%?36?%;color:#010101}.bottom-btn .btn[data-v-a7eb12fe]:last-of-type{background:#96684f;border:none;color:#fff}.bottom-btn-fixed[data-v-a7eb12fe]{position:fixed;bottom:0;left:0;right:0;width:100%;height:%?133?%;background:#fff;box-shadow:%?0?% %?0?% %?24?% %?0?% hsla(0,0%,40%,.24);display:flex;justify-content:space-between;align-items:center;padding:0 %?92?%;box-sizing:border-box}.bottom-btn-fixed .btn[data-v-a7eb12fe]{width:%?244?%;height:%?81?%;border-radius:%?40?%;border:1px solid #000;line-height:%?81?%;text-align:center;font-weight:500;font-size:%?36?%;color:#010101}.bottom-btn-fixed .btn[data-v-a7eb12fe]:last-of-type{background:#96684f;border:none;color:#fff}.honor-item[data-v-a7eb12fe]{background:#fff;border-radius:%?13?%;padding:0 %?12?%;position:relative;margin-bottom:%?28?%}.honor-item .del-icon[data-v-a7eb12fe]{position:absolute;bottom:%?5?%;right:%?5?%}.icon-select[data-v-a7eb12fe]{display:flex;align-items:center;justify-content:space-between}.icon-select[data-v-a7eb12fe]::after{content:"";width:%?20?%;height:%?20?%;margin-left:%?6?%;background-image:url(https://static.ticket.sz-trip.com/tongli/images/user/rightIcon-gray.png);background-size:100% 100%}',""]),e.exports=t}}]);