|
@@ -101,13 +101,13 @@ var components
|
|
try {
|
|
try {
|
|
components = {
|
|
components = {
|
|
uniSection: function () {
|
|
uniSection: function () {
|
|
- return __webpack_require__.e(/*! import() | uni_modules/uni-section/components/uni-section/uni-section */ "uni_modules/uni-section/components/uni-section/uni-section").then(__webpack_require__.bind(null, /*! @/uni_modules/uni-section/components/uni-section/uni-section.vue */ 424))
|
|
|
|
|
|
+ return __webpack_require__.e(/*! import() | uni_modules/uni-section/components/uni-section/uni-section */ "uni_modules/uni-section/components/uni-section/uni-section").then(__webpack_require__.bind(null, /*! @/uni_modules/uni-section/components/uni-section/uni-section.vue */ 440))
|
|
},
|
|
},
|
|
uniGroup: function () {
|
|
uniGroup: function () {
|
|
- return __webpack_require__.e(/*! import() | uni_modules/uni-group/components/uni-group/uni-group */ "uni_modules/uni-group/components/uni-group/uni-group").then(__webpack_require__.bind(null, /*! @/uni_modules/uni-group/components/uni-group/uni-group.vue */ 431))
|
|
|
|
|
|
+ return __webpack_require__.e(/*! import() | uni_modules/uni-group/components/uni-group/uni-group */ "uni_modules/uni-group/components/uni-group/uni-group").then(__webpack_require__.bind(null, /*! @/uni_modules/uni-group/components/uni-group/uni-group.vue */ 447))
|
|
},
|
|
},
|
|
uniPopup: function () {
|
|
uniPopup: function () {
|
|
- return __webpack_require__.e(/*! import() | uni_modules/uni-popup/components/uni-popup/uni-popup */ "uni_modules/uni-popup/components/uni-popup/uni-popup").then(__webpack_require__.bind(null, /*! @/uni_modules/uni-popup/components/uni-popup/uni-popup.vue */ 438))
|
|
|
|
|
|
+ return __webpack_require__.e(/*! import() | uni_modules/uni-popup/components/uni-popup/uni-popup */ "uni_modules/uni-popup/components/uni-popup/uni-popup").then(__webpack_require__.bind(null, /*! @/uni_modules/uni-popup/components/uni-popup/uni-popup.vue */ 454))
|
|
},
|
|
},
|
|
}
|
|
}
|
|
} catch (e) {
|
|
} catch (e) {
|
|
@@ -407,6 +407,58 @@ var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/r
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
|
|
+//
|
|
var _default = {
|
|
var _default = {
|
|
data: function data() {
|
|
data: function data() {
|
|
return {
|
|
return {
|
|
@@ -418,7 +470,11 @@ var _default = {
|
|
statusList: [],
|
|
statusList: [],
|
|
typeList: [],
|
|
typeList: [],
|
|
// 参演方
|
|
// 参演方
|
|
- signList: []
|
|
|
|
|
|
+ signList: [],
|
|
|
|
+ // 初审结果公示
|
|
|
|
+ preliminaryList: [],
|
|
|
|
+ // 决赛结果公示
|
|
|
|
+ finalsList: []
|
|
};
|
|
};
|
|
},
|
|
},
|
|
onLoad: function () {
|
|
onLoad: function () {
|
|
@@ -547,7 +603,7 @@ var _default = {
|
|
case 0:
|
|
case 0:
|
|
that = _this2;
|
|
that = _this2;
|
|
if (!that.id) {
|
|
if (!that.id) {
|
|
- _context4.next = 15;
|
|
|
|
|
|
+ _context4.next = 21;
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
_context4.next = 4;
|
|
_context4.next = 4;
|
|
@@ -555,7 +611,7 @@ var _default = {
|
|
case 4:
|
|
case 4:
|
|
res = _context4.sent;
|
|
res = _context4.sent;
|
|
if (!(res.errcode == '0')) {
|
|
if (!(res.errcode == '0')) {
|
|
- _context4.next = 14;
|
|
|
|
|
|
+ _context4.next = 20;
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
that.$set(that, "info", res.data);
|
|
that.$set(that, "info", res.data);
|
|
@@ -573,13 +629,27 @@ var _default = {
|
|
arr = _context4.sent;
|
|
arr = _context4.sent;
|
|
if (arr.errcode == '0') that.$set(that, "signList", arr.data);
|
|
if (arr.errcode == '0') that.$set(that, "signList", arr.data);
|
|
case 12:
|
|
case 12:
|
|
|
|
+ if (!(res.data.form == '4' && res.data.ext_status == '3')) {
|
|
|
|
+ _context4.next = 15;
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
_context4.next = 15;
|
|
_context4.next = 15;
|
|
|
|
+ return that.searchStep3();
|
|
|
|
+ case 15:
|
|
|
|
+ if (!(res.data.form == '4' && res.data.ext_status == '6')) {
|
|
|
|
+ _context4.next = 18;
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ _context4.next = 18;
|
|
|
|
+ return that.searchStep5();
|
|
|
|
+ case 18:
|
|
|
|
+ _context4.next = 21;
|
|
break;
|
|
break;
|
|
- case 14:
|
|
|
|
|
|
+ case 20:
|
|
uni.showToast({
|
|
uni.showToast({
|
|
title: res.errmsg
|
|
title: res.errmsg
|
|
});
|
|
});
|
|
- case 15:
|
|
|
|
|
|
+ case 21:
|
|
case "end":
|
|
case "end":
|
|
return _context4.stop();
|
|
return _context4.stop();
|
|
}
|
|
}
|
|
@@ -587,6 +657,54 @@ var _default = {
|
|
}, _callee4);
|
|
}, _callee4);
|
|
}))();
|
|
}))();
|
|
},
|
|
},
|
|
|
|
+ // 查询初审公示名单
|
|
|
|
+ searchStep3: function searchStep3() {
|
|
|
|
+ var _this3 = this;
|
|
|
|
+ return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5() {
|
|
|
|
+ var that, res;
|
|
|
|
+ return _regenerator.default.wrap(function _callee5$(_context5) {
|
|
|
|
+ while (1) {
|
|
|
|
+ switch (_context5.prev = _context5.next) {
|
|
|
|
+ case 0:
|
|
|
|
+ that = _this3;
|
|
|
|
+ _context5.next = 3;
|
|
|
|
+ return that.$api("/matchExt/step3/nameList/".concat(that.id), 'GET', {});
|
|
|
|
+ case 3:
|
|
|
|
+ res = _context5.sent;
|
|
|
|
+ if (res.errcode == '0') that.$set(that, "preliminaryList", res.data);
|
|
|
|
+ case 5:
|
|
|
|
+ case "end":
|
|
|
|
+ return _context5.stop();
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }, _callee5);
|
|
|
|
+ }))();
|
|
|
|
+ },
|
|
|
|
+ // 查询决赛公示名单
|
|
|
|
+ searchStep5: function searchStep5() {
|
|
|
|
+ var _this4 = this;
|
|
|
|
+ return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee6() {
|
|
|
|
+ var that, res;
|
|
|
|
+ return _regenerator.default.wrap(function _callee6$(_context6) {
|
|
|
|
+ while (1) {
|
|
|
|
+ switch (_context6.prev = _context6.next) {
|
|
|
|
+ case 0:
|
|
|
|
+ that = _this4;
|
|
|
|
+ _context6.next = 3;
|
|
|
|
+ return that.$api("/matchExt/step5/list/".concat(that.id), 'GET', {
|
|
|
|
+ final_confirm: '0'
|
|
|
|
+ });
|
|
|
|
+ case 3:
|
|
|
|
+ res = _context6.sent;
|
|
|
|
+ if (res.errcode == '0') that.$set(that, "finalsList", res.data);
|
|
|
|
+ case 5:
|
|
|
|
+ case "end":
|
|
|
|
+ return _context6.stop();
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }, _callee6);
|
|
|
|
+ }))();
|
|
|
|
+ },
|
|
// 处理时间
|
|
// 处理时间
|
|
getTime: function getTime(start_time, end_time) {
|
|
getTime: function getTime(start_time, end_time) {
|
|
if (start_time && end_time) {
|
|
if (start_time && end_time) {
|
|
@@ -595,12 +713,13 @@ var _default = {
|
|
var weekdays = ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"];
|
|
var weekdays = ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"];
|
|
var day = start.getDate();
|
|
var day = start.getDate();
|
|
var weekday = weekdays[start.getDay()];
|
|
var weekday = weekdays[start.getDay()];
|
|
|
|
+ var year = start.getFullYear();
|
|
var month = start.getMonth();
|
|
var month = start.getMonth();
|
|
var start_hours = start.getHours();
|
|
var start_hours = start.getHours();
|
|
var start_minutes = start.getMinutes();
|
|
var start_minutes = start.getMinutes();
|
|
var end_hours = end.getHours();
|
|
var end_hours = end.getHours();
|
|
var end_minutes = end.getMinutes();
|
|
var end_minutes = end.getMinutes();
|
|
- return "".concat(month, "/").concat(day < 10 ? '0' + day : day, " ").concat(weekday, " ").concat(start_hours.toString().padStart(2, '0'), ":").concat(start_minutes.toString().padStart(2, '0'), " - ").concat(end_hours.toString().padStart(2, '0'), ":").concat(end_minutes.toString().padStart(2, '0'), " ");
|
|
|
|
|
|
+ return "".concat(year, "/").concat(month + 1, "/").concat(day < 10 ? '0' + day : day, " ").concat(weekday, " ").concat(start_hours.toString().padStart(2, '0'), ":").concat(start_minutes.toString().padStart(2, '0'), " - ").concat(end_hours.toString().padStart(2, '0'), ":").concat(end_minutes.toString().padStart(2, '0'), " ");
|
|
}
|
|
}
|
|
},
|
|
},
|
|
// 处理字典表
|
|
// 处理字典表
|
|
@@ -715,27 +834,27 @@ var _default = {
|
|
title: '提示',
|
|
title: '提示',
|
|
content: '您确认要获取联系方式?',
|
|
content: '您确认要获取联系方式?',
|
|
success: function () {
|
|
success: function () {
|
|
- var _success = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5(res) {
|
|
|
|
|
|
+ var _success = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee7(res) {
|
|
var source_id, source, apply_user, _res;
|
|
var source_id, source, apply_user, _res;
|
|
- return _regenerator.default.wrap(function _callee5$(_context5) {
|
|
|
|
|
|
+ return _regenerator.default.wrap(function _callee7$(_context7) {
|
|
while (1) {
|
|
while (1) {
|
|
- switch (_context5.prev = _context5.next) {
|
|
|
|
|
|
+ switch (_context7.prev = _context7.next) {
|
|
case 0:
|
|
case 0:
|
|
if (!res.confirm) {
|
|
if (!res.confirm) {
|
|
- _context5.next = 10;
|
|
|
|
|
|
+ _context7.next = 10;
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
source_id = item.id;
|
|
source_id = item.id;
|
|
source = 'sign';
|
|
source = 'sign';
|
|
apply_user = that.user.id;
|
|
apply_user = that.user.id;
|
|
- _context5.next = 6;
|
|
|
|
|
|
+ _context7.next = 6;
|
|
return that.$api("/contactApply/sign", 'POST', {
|
|
return that.$api("/contactApply/sign", 'POST', {
|
|
source_id: source_id,
|
|
source_id: source_id,
|
|
source: source,
|
|
source: source,
|
|
apply_user: apply_user
|
|
apply_user: apply_user
|
|
});
|
|
});
|
|
case 6:
|
|
case 6:
|
|
- _res = _context5.sent;
|
|
|
|
|
|
+ _res = _context7.sent;
|
|
if (_res.errcode == 0) {
|
|
if (_res.errcode == 0) {
|
|
uni.showToast({
|
|
uni.showToast({
|
|
title: '申请获取联系方式成功,等待发送消息',
|
|
title: '申请获取联系方式成功,等待发送消息',
|
|
@@ -747,7 +866,7 @@ var _default = {
|
|
icon: 'none'
|
|
icon: 'none'
|
|
});
|
|
});
|
|
}
|
|
}
|
|
- _context5.next = 11;
|
|
|
|
|
|
+ _context7.next = 11;
|
|
break;
|
|
break;
|
|
case 10:
|
|
case 10:
|
|
if (res.cancel) {
|
|
if (res.cancel) {
|
|
@@ -755,10 +874,10 @@ var _default = {
|
|
}
|
|
}
|
|
case 11:
|
|
case 11:
|
|
case "end":
|
|
case "end":
|
|
- return _context5.stop();
|
|
|
|
|
|
+ return _context7.stop();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- }, _callee5);
|
|
|
|
|
|
+ }, _callee7);
|
|
}));
|
|
}));
|
|
function success(_x2) {
|
|
function success(_x2) {
|
|
return _success.apply(this, arguments);
|
|
return _success.apply(this, arguments);
|