xiaoxin 2 лет назад
Родитель
Сommit
7c4b360836

+ 17 - 1
pages/index/index.vue

@@ -480,18 +480,34 @@ const submit = async () => {
 		url: '/informationReporting/add',
 		url: '/informationReporting/add',
 		method: 'post',
 		method: 'post',
 		data: {
 		data: {
+			// 姓名
 			name: name.value,
 			name: name.value,
+			// 手机号码
 			phone: phone.value,
 			phone: phone.value,
+			// 单位名称
 			company: company.value,
 			company: company.value,
+			// 客户名称
 			customerName: clientName.value,
 			customerName: clientName.value,
+			// 项目名称
 			entryName: projectName.value,
 			entryName: projectName.value,
+			// 项目金额
 			projectAmount: projectAmount.value,
 			projectAmount: projectAmount.value,
+			// 预计投标时间
 			tenderTime: biddingTime.value,
 			tenderTime: biddingTime.value,
+			// 项目基本情况
 			content: projectInformation.value,
 			content: projectInformation.value,
+			// 所属行业
 			trade: range.value[industry.value].text,
 			trade: range.value[industry.value].text,
+			// 产品类型
 			bProduct,
 			bProduct,
+			// 提交人手机号码
 			wxPhone: wxPhone.value,
 			wxPhone: wxPhone.value,
-			bFile: subImgList.value
+			// 附件材料
+			bFile: subImgList.value,
+			// 是否授权
+			licensing: isAzt.value,
+			// 加入的控标参数
+			parameters: projectParams.value
 		}
 		}
 	})
 	})
 	// console.log(res)
 	// console.log(res)

+ 17 - 1
unpackage/dist/dev/mp-weixin/pages/index/index.js

@@ -321,18 +321,34 @@ const _sfc_main = {
         url: "/informationReporting/add",
         url: "/informationReporting/add",
         method: "post",
         method: "post",
         data: {
         data: {
+          // 姓名
           name: name.value,
           name: name.value,
+          // 手机号码
           phone: phone.value,
           phone: phone.value,
+          // 单位名称
           company: company.value,
           company: company.value,
+          // 客户名称
           customerName: clientName.value,
           customerName: clientName.value,
+          // 项目名称
           entryName: projectName.value,
           entryName: projectName.value,
+          // 项目金额
           projectAmount: projectAmount.value,
           projectAmount: projectAmount.value,
+          // 预计投标时间
           tenderTime: biddingTime.value,
           tenderTime: biddingTime.value,
+          // 项目基本情况
           content: projectInformation.value,
           content: projectInformation.value,
+          // 所属行业
           trade: range.value[industry.value].text,
           trade: range.value[industry.value].text,
+          // 产品类型
           bProduct,
           bProduct,
+          // 提交人手机号码
           wxPhone: wxPhone.value,
           wxPhone: wxPhone.value,
-          bFile: subImgList.value
+          // 附件材料
+          bFile: subImgList.value,
+          // 是否授权
+          licensing: isAzt.value,
+          // 加入的控标参数
+          parameters: projectParams.value
         }
         }
       });
       });
       if (res.success && res.code == 1) {
       if (res.success && res.code == 1) {

+ 1 - 1
unpackage/dist/dev/mp-weixin/util/api.js

@@ -1,6 +1,6 @@
 "use strict";
 "use strict";
 const common_vendor = require("../common/vendor.js");
 const common_vendor = require("../common/vendor.js");
-const BASE_URL = "https://jiangxih3cpartner.com/reporting";
+const BASE_URL = "http://172.16.20.80:8888/reporting";
 const myRequest = (options) => {
 const myRequest = (options) => {
   common_vendor.index.showLoading({
   common_vendor.index.showLoading({
     title: "加载中",
     title: "加载中",

+ 5 - 2
util/api.js

@@ -1,5 +1,8 @@
-// const BASE_URL = "https://chtech.ncjti.edu.cn/gradiate-school/reporting"
-const BASE_URL = "https://jiangxih3cpartner.com/reporting"
+// 测试服务器
+const BASE_URL = 'http://172.16.20.80:8888/reporting'
+
+// 正式服务器
+// const BASE_URL = "https://jiangxih3cpartner.com/reporting"
 export const myRequest = (options) => {
 export const myRequest = (options) => {
 	uni.showLoading({
 	uni.showLoading({
 		title: "加载中",
 		title: "加载中",