3 lines
51 KiB
JavaScript
3 lines
51 KiB
JavaScript
|
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-epidemic-epidemic-vaccine"],{"1dd9":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return o}));var o={hzHeader:n("3e71").default,uniDatetimePicker:n("8a82").default},a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"hzIndex"},[n("hzHeader",{attrs:{title:"疫苗接种"}}),n("v-uni-view",{staticClass:"hzContent",staticStyle:{"padding-top":"200upx"}},[n("v-uni-view",{staticStyle:{padding:"0px 20upx"}},[n("v-uni-view",{staticClass:"form-box",staticStyle:{"border-radius":"10upx",margin:"20upx 0px"}},[n("v-uni-view",{staticClass:"form-item"},[n("v-uni-text",{staticClass:"label"},[t._v("姓 名:")]),n("v-uni-view",{staticClass:"ipt-box"},[n("v-uni-input",{staticClass:"top-t",attrs:{placeholder:"请输入姓名",type:"text",maxlength:"50",disabled:"true"},model:{value:t.formData.userName,callback:function(e){t.$set(t.formData,"userName",e)},expression:"formData.userName"}})],1)],1),n("v-uni-view",{staticClass:"form-item"},[n("v-uni-text",{staticClass:"label"},[t._v("联系方式:")]),n("v-uni-view",{staticClass:"ipt-box"},[n("v-uni-input",{staticClass:"top-t",attrs:{placeholder:"请输入联系方式",type:"text",maxlength:"50",disabled:"true"},model:{value:t.formData.phone,callback:function(e){t.$set(t.formData,"phone",e)},expression:"formData.phone"}})],1)],1),n("v-uni-view",{staticClass:"form-item"},[n("v-uni-text",{staticClass:"label"},[t._v("部 门:")]),n("v-uni-view",{staticClass:"ipt-box"},[n("v-uni-input",{staticClass:"top-t",attrs:{placeholder:"请输入部门",type:"text",maxlength:"50",disabled:"true"},model:{value:t.formData.orgName,callback:function(e){t.$set(t.formData,"orgName",e)},expression:"formData.orgName"}})],1)],1)],1),n("v-uni-view",{staticClass:"form-box-ud",staticStyle:{"border-radius":"10upx"}},t._l(t.questions,(function(e,o){return e.show?n("v-uni-view",{key:o,staticClass:"form-item"},[n("v-uni-text",{staticClass:"label"},[e.required?n("v-uni-text",{staticStyle:{color:"red"}},[t._v("*")]):t._e(),t._v(t._s(e.title))],1),n("v-uni-view",{staticClass:"ipt-box"},["radius"==e.type?n("v-uni-radio-group",{on:{change:function(n){arguments[0]=n=t.$handleEvent(n),t.changeRadioGroup(n,e.formName)}}},t._l(e.options,(function(o,a){return n("v-uni-label",{key:a,staticClass:"uni-list-cell uni-list-cell-pd radio-group"},[n("v-uni-view",[n("v-uni-radio",{attrs:{color:"#4db4ea",value:o,checked:o==t.formData[e.formName]}})],1),n("v-uni-view",[t._v(t._s(o))])],1)})),1):t._e(),"textarea"==e.type?n("v-uni-textarea",{attrs:{maxlength:"120",placeholder:e.placeholderText},model:{value:t.formData[e.formName],callback:function(n){t.$set(t.formData,e.formName,n)},expression:"formData[item.formName]"}}):t._e(),e.imgName?n("v-uni-view",{staticClass:"img-box"},[t.formData[e.imgName]?n("v-uni-view",{staticClass:"img-item"},[n("v-uni-image",{staticClass:"remove-btn",attrs:{src:"/static/icons/delete-icon.png",mode:""},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.removeImg(e.imgName)}}}),n("v-uni-image",{staticClass:"img",attrs:{src:t.img[e.imgName][0].replace(/[\r\n]/g,""),mode:""}})],1):n("v-uni-view",{staticClass:"img-item upload-btn",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.chooseImg(e.imgName)}}},[n("v-uni-image",{staticClass:"img",attrs:{src:"/static/imgs/tianjia-img.png",mode:""}})],1)],1):t._e(),e.imgName?n("v-uni-view",{staticStyle:{"font-size":"28rpx","font-weight":"600",color:"red","border-bottom":"1px solid #eee"}},[t._v("互联网信息系统严禁存储、传输、处理涉及国家秘密企业秘密以及敏感信息,违者将严肃问责追责!")]):t._e(),"date"==e.type?n("uni-datetime-picker",{attrs:{type:"date"},model:{value:t.formData[e.formName],callback:function(n){t.$set(t.formData,e.formName,n)},expression:"formData[item.formName]"}}):t._e()],1)],1):t._e()})),1)],1),n("v-uni-view",{staticClass:"occupied"})],1),n("v-uni-view",{staticClass:"footer-btn",on:{click:function(e){arguments[0]=e=t.$hand
|
||
|
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
||
|
|
e.default=function(){return t};var t={},n=Object.prototype,a=n.hasOwnProperty,i=Object.defineProperty||function(t,e,n){t[e]=n.value},r="function"==typeof Symbol?Symbol:{},c=r.iterator||"@@iterator",f=r.asyncIterator||"@@asyncIterator",u=r.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(B){s=function(t,e,n){return t[e]=n}}function d(t,e,n,o){var a=e&&e.prototype instanceof b?e:b,r=Object.create(a.prototype),c=new Q(o||[]);return i(r,"_invoke",{value:k(t,n,c)}),r}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(B){return{type:"throw",arg:B}}}t.wrap=d;var m={};function b(){}function v(){}function g(){}var h={};s(h,c,(function(){return this}));var p=Object.getPrototypeOf,A=p&&p(p(N([])));A&&A!==n&&a.call(A,c)&&(h=A);var x=g.prototype=b.prototype=Object.create(h);function E(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function y(t,e){var n;i(this,"_invoke",{value:function(i,r){function c(){return new e((function(n,c){(function n(i,r,c,f){var u=l(t[i],t,r);if("throw"!==u.type){var s=u.arg,d=s.value;return d&&"object"==(0,o.default)(d)&&a.call(d,"__await")?e.resolve(d.__await).then((function(t){n("next",t,c,f)}),(function(t){n("throw",t,c,f)})):e.resolve(d).then((function(t){s.value=t,c(s)}),(function(t){return n("throw",t,c,f)}))}f(u.arg)})(i,r,n,c)}))}return n=n?n.then(c,c):c()}})}function k(t,e,n){var o="suspendedStart";return function(a,i){if("executing"===o)throw new Error("Generator is already running");if("completed"===o){if("throw"===a)throw i;return S()}for(n.method=a,n.arg=i;;){var r=n.delegate;if(r){var c=I(r,n);if(c){if(c===m)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===o)throw o="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o="executing";var f=l(t,e,n);if("normal"===f.type){if(o=n.done?"completed":"suspendedYield",f.arg===m)continue;return{value:f.arg,done:n.done}}"throw"===f.type&&(o="completed",n.method="throw",n.arg=f.arg)}}}function I(t,e){var n=e.method,o=t.iterator[n];if(void 0===o)return e.delegate=null,"throw"===n&&t.iterator["return"]&&(e.method="return",e.arg=void 0,I(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var a=l(o,t.iterator,e.arg);if("throw"===a.type)return e.method="throw",e.arg=a.arg,e.delegate=null,m;var i=a.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,m):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,m)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function w(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function Q(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function N(t){if(t){var e=t[c];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(a.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:S}}function S(){return{value:void 0,done:!0}}return v.prototype=g,i(x,"constructor",{value:g,configurable:!0}),i(g,"constructor",{value:v,configurable:!0}),v.displayName=s(g,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,s(t,u,"GeneratorFunction")),t.prototype=Object.create(x),t},t.awrap=function(t){return{__await:t}},E(y.prototype),s(y.prototype,f,(function(){return this})),t.AsyncIterator=y,t.async=function(e,n,o,a,i){void 0===i&&(i=Promise);var r=new y(d(e,n,o,a),i);return t.isGeneratorFunction(n)?r:r.next().then((function(t){return t.do
|