Pārlūkot izejas kodu

```
feat(config): 更新代理和基础API地址为生产环境配置

将开发环境的API地址替换为生产环境地址,确保应用在生产环境中正确请求数据。
同时更新了代理配置以匹配新的目标地址。

修改包括:
- config/index.js 中的 proxyTable 目标地址更新为 https://master.dstapp.cn/sqx_fast/
- static/config/index.js 中的 baseUrl 更新为 https://master.dstapp.cn/sqx_fast/
- 在 technician.vue 中增加 classifyId 的传递逻辑以支持审核功能
```

zhangtao 1 dienu atpakaļ
vecāks
revīzija
4a5140cdea
3 mainītis faili ar 8 papildinājumiem un 4 dzēšanām
  1. 2 2
      config/index.js
  2. 3 1
      src/views/applyList/technician.vue
  3. 3 1
      static/config/index.js

+ 2 - 2
config/index.js

@@ -15,8 +15,8 @@ module.exports = {
 		proxyTable: {
 			// proxyTable: devEnv.OPEN_PROXY === false ? {} : {
 			'/proxyApi': {
-				// target: 'http://smam.qd-xiaomage.com:9210/sqx_fast/',
-				target: 'http://192.168.1.166:8188/sqx_fast',
+				target: 'https://master.dstapp.cn/sqx_fast/',
+				// target: 'http://192.168.1.166:8188/sqx_fast',
 				changeOrigin: true,
 				pathRewrite: {
 					'^/proxyApi': ''

+ 3 - 1
src/views/applyList/technician.vue

@@ -1779,6 +1779,7 @@
 			// 审核
 			shenhe(row) {
 				this.userId1 = row.userId
+				this.classifyId = row.classifyId
 				this.artificerId = row.artificerId
 				this.classSelect1(row.artificerId)
 				this.dialogFormVisible8 = true
@@ -2493,7 +2494,8 @@
 						'city': this.citys,
 						'title': this.title,
 						'authentication':'',
-						'by': ''
+						'by': '',
+						classifyId:this.classifyId
 					})
 				}).then(({
 					data

+ 3 - 1
static/config/index.js

@@ -5,7 +5,9 @@
 	window.SITE_CONFIG = {};
 
 	// api接口请求地址
-	window.SITE_CONFIG['baseUrl'] = 'http://192.168.1.166:8188/sqx_fast';
+	// window.SITE_CONFIG['baseUrl'] = 'http://192.168.1.166:8188/sqx_fast';
+	window.SITE_CONFIG['baseUrl'] = 'https://master.dstapp.cn/sqx_fast/';
+
 
 	// cdn地址 = 域名 + 版本号
 	window.SITE_CONFIG['domain'] = './'; // 域名