| | |
| | | _vm.show = true |
| | | } |
| | | _vm.e1 = function ($event) { |
| | | _vm.show2 = true |
| | | _vm.show = true |
| | | } |
| | | _vm.e2 = function ($event) { |
| | | _vm.show2 = true |
| | | } |
| | | _vm.e3 = function ($event) { |
| | | _vm.show2 = true |
| | | } |
| | | } |
| | |
| | | value: true |
| | | }); |
| | | exports.default = void 0; |
| | | var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11)); |
| | | var _toConsumableArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ 18)); |
| | | var _methods; |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | |
| | | onReachBottom: function onReachBottom() { |
| | | this.getList(); |
| | | }, |
| | | methods: (_methods = { |
| | | methods: { |
| | | // 签署 |
| | | confirm1: function confirm1() { |
| | | var _this = this; |
| | |
| | | }).then(function (url) { |
| | | if (url.code === 200) { |
| | | uni.navigateTo({ |
| | | url: "/pages/webView/webView?url=".concat(url.data) |
| | | url: "/pages/webView/webView?url=".concat(encodeURIComponent(url.data)) |
| | | }); |
| | | } |
| | | }); |
| | |
| | | _this.error = ''; |
| | | _this.show1 = false; |
| | | uni.navigateTo({ |
| | | url: "/pages/webView/webView?url=".concat(res.data) |
| | | url: "/pages/webView/webView?url=".concat(encodeURIComponent(res.data)) |
| | | }); |
| | | } else { |
| | | _this.error = 2; |
| | |
| | | }, |
| | | cancel: function cancel() { |
| | | this.show = false; |
| | | } |
| | | }, (0, _defineProperty2.default)(_methods, "confirm1", function confirm1() { |
| | | this.show1 = false; |
| | | }), (0, _defineProperty2.default)(_methods, "cancel1", function cancel1() { |
| | | this.show1 = false; |
| | | }), (0, _defineProperty2.default)(_methods, "confirm2", function confirm2() { |
| | | var _this5 = this; |
| | | this.$u.api.applyChangeOpt({ |
| | | applyId: this.info.id, |
| | | optType: 6 |
| | | }).then(function (res) { |
| | | if (res.code === 200) { |
| | | _this5.show2 = false; |
| | | _this5.getDetail(); |
| | | }, |
| | | cancel1: function cancel1() { |
| | | this.show1 = false; |
| | | }, |
| | | confirm2: function confirm2() { |
| | | var _this5 = this; |
| | | this.$u.api.applyChangeOpt({ |
| | | applyId: this.info.id, |
| | | optType: 6 |
| | | }).then(function (res) { |
| | | if (res.code === 200) { |
| | | _this5.show2 = false; |
| | | _this5.getDetail(); |
| | | } |
| | | }); |
| | | }, |
| | | cancel2: function cancel2() { |
| | | this.show2 = false; |
| | | }, |
| | | returnStyle: function returnStyle(type) { |
| | | if ([2].includes(type)) { |
| | | return 'linear-gradient(#97DDC5 0%, #F7F7F7 100%);'; |
| | | } else if ([1, 0].includes(type)) { |
| | | return 'linear-gradient( 180deg, #FBC88C 0%, #F7F7F7 100%);'; |
| | | } else if ([3, 4, 5, 8, 6].includes(type)) { |
| | | return ''; |
| | | } |
| | | }); |
| | | }), (0, _defineProperty2.default)(_methods, "cancel2", function cancel2() { |
| | | this.show2 = false; |
| | | }), (0, _defineProperty2.default)(_methods, "returnStyle", function returnStyle(type) { |
| | | if ([2].includes(type)) { |
| | | return 'linear-gradient(#97DDC5 0%, #F7F7F7 100%);'; |
| | | } else if ([1, 0].includes(type)) { |
| | | return 'linear-gradient( 180deg, #FBC88C 0%, #F7F7F7 100%);'; |
| | | } else if ([3, 4, 5, 8, 6].includes(type)) { |
| | | return ''; |
| | | }, |
| | | returnStyle1: function returnStyle1(type) { |
| | | if ([2].includes(type)) { |
| | | return 'linear-gradient( 180deg, #E5F7F1 0%, rgba(255,255,255,0) 100%)'; |
| | | } else if ([1, 0].includes(type)) { |
| | | return 'linear-gradient( 180deg, #FFF2E3 0%, rgba(255,255,255,0) 100%);'; |
| | | } else if ([3, 4, 5, 8, 6].includes(type)) { |
| | | return '#ffffff'; |
| | | } |
| | | } |
| | | }), (0, _defineProperty2.default)(_methods, "returnStyle1", function returnStyle1(type) { |
| | | if ([2].includes(type)) { |
| | | return 'linear-gradient( 180deg, #E5F7F1 0%, rgba(255,255,255,0) 100%)'; |
| | | } else if ([1, 0].includes(type)) { |
| | | return 'linear-gradient( 180deg, #FFF2E3 0%, rgba(255,255,255,0) 100%);'; |
| | | } else if ([3, 4, 5, 8, 6].includes(type)) { |
| | | return '#ffffff'; |
| | | } |
| | | }), _methods) |
| | | } |
| | | }; |
| | | exports.default = _default; |
| | | /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"])) |