Commit 381ae7d8 by swl

gx

parent 4ed921c0
No preview for this file type
const domain = { const domain = {
// dev: "http://192.168.3.87:8881", // 姚镇接口 // dev: "http://192.168.3.87:8881", // 姚镇接口
// dev: "http://81.69.231.72:8881", // 姚镇接口 // dev: "http://81.69.231.72:8881", // 姚镇接口
dev: "http://81.69.231.72:8881", // 测试接口 // dev: "http://81.69.231.72:8881", // 测试接口
// dev: "https://exam.smart-zj.cn:9100/smartExam/", // 新正式接口 dev: "https://exam.smart-zj.cn:9100/smartExam/", // 新正式接口
}; };
// 腾讯地图 key // 腾讯地图 key
const map = { const map = {
......
...@@ -4,9 +4,9 @@ import { getToken } from "@/utils/auth"; ...@@ -4,9 +4,9 @@ import { getToken } from "@/utils/auth";
const config = { const config = {
// proxy: "https://exam.smart-zj.cn:9100/exam/", // 新线上地址 // proxy: "https://exam.smart-zj.cn:9100/exam/", // 新线上地址
proxy: "http://81.69.231.72:8881/", // 测试地址 // proxy: "http://81.69.231.72:8881/", // 测试地址
// proxy: "http://192.168.3.87:8881/", //本地 // proxy: "http://192.168.3.87:8881/", //本地
// proxy: "https://exam.smart-zj.cn:9100/smartExam/", // 新正式接口 proxy: "https://exam.smart-zj.cn:9100/smartExam/", // 新正式接口
}; };
//axios基本配置 //axios基本配置
......
...@@ -751,7 +751,8 @@ export default { ...@@ -751,7 +751,8 @@ export default {
this.areaCode = this.$route.query.areaCode this.areaCode = this.$route.query.areaCode
? this.$route.query.areaCode ? this.$route.query.areaCode
: ""; : "";
this.code = this.$route.query.code ? this.$route.query.code : ""; console.log(this.areaCode, "area");
// this.code = this.$route.query.code ? this.$route.query.code : "";
this.searchForm.name = ""; this.searchForm.name = "";
this.searchForm.phone = ""; this.searchForm.phone = "";
this.searchForm.areaCode = this.areaCode; this.searchForm.areaCode = this.areaCode;
...@@ -779,7 +780,7 @@ export default { ...@@ -779,7 +780,7 @@ export default {
this.tableData = []; this.tableData = [];
this.loading = true; this.loading = true;
let params = { let params = {
areaCode: this.searchForm.areaCode, areaCode: this.areaCode,
name: this.searchForm.name, name: this.searchForm.name,
phone: this.searchForm.phone, phone: this.searchForm.phone,
stateCode: this.searchForm.stateCode, stateCode: this.searchForm.stateCode,
...@@ -849,7 +850,6 @@ export default { ...@@ -849,7 +850,6 @@ export default {
} }
}); });
this.passOptions = arr; this.passOptions = arr;
console.log(this.passOptions, "pass");
}); });
}, },
...@@ -981,7 +981,7 @@ export default { ...@@ -981,7 +981,7 @@ export default {
? this.$route.query.areaCode ? this.$route.query.areaCode
: ""; : "";
console.log(this.$route.query.areaCode, 111); console.log(this.$route.query.areaCode, 111);
this.code = this.$route.query.code ? this.$route.query.code : ""; // this.code = this.$route.query.code ? this.$route.query.code : "";
this.init(); this.init();
this.initType(); this.initType();
this.initReviewState(); this.initReviewState();
......
const env = process.env.NODE_ENV === "production"; const env = process.env.NODE_ENV === "production";
// const publicPath = env ? "/manage-h5/" : "/"; //正式 const publicPath = env ? "/manage-h5/" : "/"; //正式
const publicPath = env ? "/smartExam-h5/" : "/"; //测试 // const publicPath = env ? "/smartExam-h5/" : "/"; //测试
module.exports = { module.exports = {
publicPath, publicPath,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment