From 13d7349ea1beda3ebd48d27092aed0f17cd1c4b1 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 25 Feb 2022 18:59:42 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/qfqk-android
---
store/positions.js | 16 +++++++++++-----
1 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/store/positions.js b/store/positions.js
index 8142ed7..af5163b 100644
--- a/store/positions.js
+++ b/store/positions.js
@@ -89,15 +89,21 @@
serid = val.serid,
type = val.type,
that = val.that,
+ goto1 = val.goto,
// data = val.data,
tips = (type, title) => {
- that.$refs.uTips.show({
- title: title,
- type: type,
- duration: '2300'
- })
+ if (that.$refs.uTips) {
+ that.$refs.uTips.show({
+ title: title,
+ type: type,
+ duration: '2300'
+ })
+ }
// that.getGrabOrders(that.current); //重获取数据
}
+ if (type == "start") {
+ type = goto1 + ',' + type
+ }
uni.request({
url: $store.state.piAPI + "taskqd/startTask?" +
`rid=${rid}&serid=${serid}&type=${type}`,
--
Gitblit v1.9.3