| | |
| | | }); |
| | | exports.default = void 0; |
| | | var _toConsumableArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ 18)); |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11)); |
| | | var _vuex = __webpack_require__(/*! vuex */ 160); |
| | | function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } |
| | | function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } |
| | | var _default = { |
| | | data: function data() { |
| | | return { |
| | |
| | | code: '', |
| | | num: 0, |
| | | error: false, |
| | | timer: null |
| | | timer: null, |
| | | loading: false |
| | | }; |
| | | }, |
| | | onLoad: function onLoad(options) { |
| | |
| | | this.getInfo(); |
| | | this.getList(); |
| | | }, |
| | | computed: _objectSpread({}, (0, _vuex.mapState)(['userInfo'])), |
| | | onReachBottom: function onReachBottom() { |
| | | this.getList(); |
| | | }, |
| | |
| | | }, |
| | | // 打开发送验证码弹窗 |
| | | openmessage: function openmessage(type) { |
| | | this.code = ''; |
| | | clearInterval(this.timer); |
| | | this.error = ''; |
| | | this.timer = null; |
| | | this.num = 0; |
| | | // this.code = '' |
| | | // clearInterval(this.timer) |
| | | // this.error = '' |
| | | // this.timer = null |
| | | // this.num = 0 |
| | | this.type = type; |
| | | this.show1 = true; |
| | | this.confirm1(); |
| | | // this.show1 = true |
| | | }, |
| | | IdCard: function IdCard(UUserCard) { |
| | | var idcard = UUserCard.toString(); |
| | |
| | | // 签署 |
| | | confirm1: function confirm1() { |
| | | var _this6 = this; |
| | | if (!this.code) { |
| | | this.error = 1; |
| | | return; |
| | | } |
| | | // if (!this.code) { |
| | | // this.error = 1 |
| | | // return |
| | | // } |
| | | this.loading = true; |
| | | // 签署投保单 |
| | | if (this.type === 1) { |
| | | console.log('签署申请单'); |
| | |
| | | code: this.code |
| | | }).then(function (res) { |
| | | if (res.code === 200) { |
| | | _this6.error = ''; |
| | | _this6.show1 = false; |
| | | // this.error = '' |
| | | // this.show1 = false |
| | | _this6.$u.api.getJiajianBaoSignLink({ |
| | | id: _this6.info.id |
| | | }).then(function (url) { |
| | | if (url.code === 200) { |
| | | _this6.loading = false; |
| | | uni.navigateTo({ |
| | | url: "/pages/webView/webView?url=".concat(url.data) |
| | | url: "/pages/webView/webView?url=".concat(encodeURIComponent(url.data)) |
| | | }); |
| | | } |
| | | }); |
| | | } else { |
| | | _this6.error = 2; |
| | | } |
| | | // else { |
| | | // this.error = 2 |
| | | // } |
| | | }); |
| | | this.show1 = false; |
| | | // this.show1 = false |
| | | // 申请单 |
| | | } else if (this.type === 2) { |
| | | this.$u.api.getChangeMemberListOnlineSignLink({ |
| | |
| | | code: this.code |
| | | }).then(function (res) { |
| | | if (res.code === 200) { |
| | | _this6.error = ''; |
| | | _this6.show1 = false; |
| | | // this.error = '' |
| | | // this.show1 = false |
| | | _this6.loading = false; |
| | | uni.navigateTo({ |
| | | url: "/pages/webView/webView?url=".concat(res.data) |
| | | url: "/pages/webView/webView?url=".concat(encodeURIComponent(res.data)) |
| | | }); |
| | | } else { |
| | | _this6.error = 2; |
| | | } |
| | | // else { |
| | | // this.error = 2 |
| | | // } |
| | | }); |
| | | } |
| | | }, |
| | |
| | | this.show2 = false; |
| | | }, |
| | | returnStyle: function returnStyle(type) { |
| | | if ([2].includes(type)) { |
| | | if ([2, 9].includes(type)) { |
| | | return 'linear-gradient(#97DDC5 0%, #F7F7F7 100%);'; |
| | | } else if ([0, 1, 9, 7].includes(type)) { |
| | | } else if ([0, 1, 7].includes(type)) { |
| | | return 'linear-gradient( 180deg, #FBC88C 0%, #F7F7F7 100%);'; |
| | | } else if ([3, 5, 6].includes(type)) { |
| | | return ''; |
| | | } |
| | | }, |
| | | returnStyle1: function returnStyle1(type) { |
| | | if ([2].includes(type)) { |
| | | if ([2, 9].includes(type)) { |
| | | return 'linear-gradient( 180deg, #E5F7F1 0%, rgba(255,255,255,0) 100%)'; |
| | | } else if ([0, 1, 9, 7].includes(type)) { |
| | | } else if ([0, 1, 7].includes(type)) { |
| | | return 'linear-gradient( 180deg, #FFF2E3 0%, rgba(255,255,255,0) 100%);'; |
| | | } else if ([3, 5, 6].includes(type)) { |
| | | return '#ffffff'; |