From 800ffe29f328c84d4de46e8867ad3ca5cbae0d4f Mon Sep 17 00:00:00 2001
From: liuwh <liuwh@hugeinfo.com.cn>
Date: Tue, 10 Mar 2020 15:44:59 +0800
Subject: [PATCH] 提交
---
SunshineLnsMinApp/app.js | 17 ++++++++++++-----
1 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/SunshineLnsMinApp/app.js b/SunshineLnsMinApp/app.js
index ec79139..b434732 100644
--- a/SunshineLnsMinApp/app.js
+++ b/SunshineLnsMinApp/app.js
@@ -10,11 +10,11 @@
globalData: {
userInfo: null,
pageData: {},
- //url: 'https://hugeinfo.com.cn/nsjc-charge',
- //url: 'http://192.168.0.31:8085/nsjc-charge',
- //imgUrl: 'https://hugeinfo.com.cn/nsjc-charge',
- url: 'https://xnwj.gznsjc.gov.cn/nsjc-charge',
- imgUrl: 'https://xnwj.gznsjc.gov.cn/nsjc-charge'
+ // url: 'https://nsjcy.hugeinfo.com.cn/nsjc-charge',
+ //url: 'http://192.168.0.31:8085/nsjc-charge',
+ // imgUrl: 'https://nsjcy.hugeinfo.com.cn/nsjc-charge',
+ url: 'http://nsjc.vaiwan.com/nsjc-charge',
+ imgUrl: 'http://nsjc.vaiwan.com/nsjc-charge'
},
// 过滤数组
where: (collection, source) => {
@@ -92,6 +92,11 @@
},
//上传文件
upload: function(these, path, associateTypeId, way, id) {
+ console.log(these)
+ console.log(path)
+ console.log(associateTypeId)
+ console.log(way)
+ console.log(id)
var status = these.data['status'];
var batch;
if (status == 4) {
@@ -99,6 +104,7 @@
} else {
batch = 0
}
+ console.log(batch)
wx.showToast({
icon: "loading",
title: "正在上传"
@@ -116,6 +122,7 @@
batch
},
success: function(res) {
+ console.log(res)
var evalList = these.data.evalList;
var evalListType = 'evalList' + associateTypeId;
var data = JSON.parse(res.data)
--
Gitblit v1.8.0