|
@@ -270,9 +270,8 @@ var _default = {
|
|
|
if (type === 1) {
|
|
|
//完成
|
|
|
(0, _checklistPoint.checklistComplete)(recordId, checklistId).then(function () {
|
|
|
- uni.$emit('type', 1);
|
|
|
uni.switchTab({
|
|
|
- url: '/pages/history/history'
|
|
|
+ url: '/pages/index/index'
|
|
|
});
|
|
|
}).catch(function () {
|
|
|
uni.showToast({
|
|
@@ -285,7 +284,7 @@ var _default = {
|
|
|
//放弃
|
|
|
(0, _checklistPoint.checklistCancel)(recordId).then(function () {
|
|
|
uni.switchTab({
|
|
|
- url: '/pages/history/history'
|
|
|
+ url: '/pages/index/index'
|
|
|
});
|
|
|
}).catch(function () {
|
|
|
uni.showToast({
|