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.

12 lines
5.7 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["component/serviceArchive/service-archive"],{464:function(e,n,r){"use strict";r.r(n);var t=r(465),o=r(467);for(var i in o)["default"].indexOf(i)<0&&function(e){r.d(n,e,(function(){return o[e]}))}(i);r(469);var u,c=r(35),s=Object(c["default"])(o["default"],t["render"],t["staticRenderFns"],!1,null,"6cb5f3c8",null,!1,t["components"],u);s.options.__file="component/serviceArchive/service-archive.vue",n["default"]=s.exports},465:function(e,n,r){"use strict";r.r(n);var t=r(466);r.d(n,"render",(function(){return t["render"]})),r.d(n,"staticRenderFns",(function(){return t["staticRenderFns"]})),r.d(n,"recyclableRender",(function(){return t["recyclableRender"]})),r.d(n,"components",(function(){return t["components"]}))},466:function(e,n,r){"use strict";var t;r.r(n),r.d(n,"render",(function(){return o})),r.d(n,"staticRenderFns",(function(){return u})),r.d(n,"recyclableRender",(function(){return i})),r.d(n,"components",(function(){return t}));try{t={uPopup:function(){return r.e("uview-ui/components/u-popup/u-popup").then(r.bind(null,332))},uForm:function(){return r.e("uview-ui/components/u-form/u-form").then(r.bind(null,356))},uFormItem:function(){return Promise.all([r.e("common/vendor"),r.e("uview-ui/components/u-form-item/u-form-item")]).then(r.bind(null,363))},uInput:function(){return Promise.all([r.e("common/vendor"),r.e("uview-ui/components/u-input/u-input")]).then(r.bind(null,374))},uRadioGroup:function(){return Promise.all([r.e("common/vendor"),r.e("uview-ui/components/u-radio-group/u-radio-group")]).then(r.bind(null,412))},uRadio:function(){return r.e("uview-ui/components/u-radio/u-radio").then(r.bind(null,419))},uButton:function(){return r.e("uview-ui/components/u-button/u-button").then(r.bind(null,311))}}}catch(c){if(-1===c.message.indexOf("Cannot find module")||-1===c.message.indexOf(".vue"))throw c;console.error(c.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范文档https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var o=function(){var e=this,n=e.$createElement;e._self._c},i=!1,u=[];o._withStripped=!0},467:function(e,n,r){"use strict";r.r(n);var t=r(468),o=r.n(t);for(var i in t)["default"].indexOf(i)<0&&function(e){r.d(n,e,(function(){return t[e]}))}(i);n["default"]=o.a},468:function(e,n,r){"use strict";(function(e){var t=r(4);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=t(r(11));function i(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),r.push.apply(r,t)}return r}function u(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?i(Object(r),!0).forEach((function(n){(0,o.default)(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))}))}return e}var c={data:function(){var e=this;return{btnStyle:(0,o.default)({"background-image":"linear-gradient(-90deg, #e26165 0%, #c10d12 94%, #c10d12 100%)","font-weight":"500","font-size":"28rpx",color:"#fff",width:"436rpx",margin:"0 auto","letter-spacing":"2rpx"},"width","80%"),btnStyle1:(0,o.default)({"background-image":"linear-gradient(-90deg, #ddd 0%, #ccc 94%, #eee 100%)","font-weight":"500","font-size":"28rpx",color:"#fff",width:"436rpx",margin:"0 auto","letter-spacing":"2rpx"},"width","80%"),isShow:!1,form:{name:"",idcard:"",mobile:"",is_move:1,address:"",remark:""},rules:{name:[{required:!0,message:"请输入姓名",trigger:["blur","change"]}],idcard:[{required:!0,message:"请输入身份证号",trigger:["blur","change"]},{validator:function(n,r,t){return e.$u.test.idCard(r)},message:"身份证号不正确",trigger:["change","blur"]}],mobile:[{required:!0,message:"请输入手机号",trigger:["blur","change"]},{validator:function(n,r,t){return e.$u.test.mobile(r)},message:"手机号码不正确",trigger:["change","blur"]}],address:[{required:!0,message:"请输入地址",trigger:["blur","change"]}]}}},onReady:function(){this.$refs.uForm1.setRules(this.rules)},methods:{save:function(){var n=this;this.$refs.uForm1.validate((function(r){var t=n;r?(console.log("验证通过"),console.log("form",n.form),console.log("that.$u.api.userArchiveSave",t.$u.api.userArchiveSave),console.log("this.$u.api.userArchiveSave",n.$u.api.userArchiveSave),n.$u.api.userArchiveSave(u({},t.form)).then((function(n){e.showToast({title:"更新成功",icon:"none",success:function(){t.isShow=!1,t.$emit("addSuccess",!0)}})})).then((function(e){console.log("err",e)}))):console.log("验证失败")}))},cancel:function(){this.$refs.uForm1.resetFields(),this.form={name:"",idcard:"",mobile:"",is_move:1,address:"",remark:""},this.isShow=!1}}};n.default=c}).call(this,r(2)["default"])},469:function(e,n,r){"use strict";r.r(n);var t=r(470),o=r.n(t);for(var i in t)["default"].indexOf(i)<0&&function(e){r.d(n,e,(function(){return t[e]}))}(i);n["default"]=o.a},470:function(e,n,r){}}]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/component/serviceArchive/service-archive.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'component/serviceArchive/service-archive-create-component',
{
'component/serviceArchive/service-archive-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('2')['createComponent'](__webpack_require__(464))
})
},
[['component/serviceArchive/service-archive-create-component']]
]);