Commit 36c685e4 by swl

feat: gx

parent c04d8468
No preview for this file type
const domain = {
// dev: "http://192.168.3.87:8881", // 姚镇接口
// dev: "http://81.69.231.72:8881", // 姚镇接口
dev: "http://81.69.231.72:8881", // 测试接口
// dev: "https://exam.smart-zj.cn:9100/smartExam/", // 新正式接口
// dev: "http://81.69.231.72:8881", // 测试接口
dev: "https://exam.smart-zj.cn:9100/smartExam/", // 新正式接口
};
// 腾讯地图 key
const map = {
......
......@@ -5,9 +5,9 @@ import { TokenKey } from "@/utils/auth";
const config = {
// 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: "https://exam.smart-zj.cn:9100/smartExam", // 新正式接口zs
proxy: "https://exam.smart-zj.cn:9100/smartExam", // 新正式接口zs
// proxy: "http://81.69.231.72:9089/", // 测试地址
// proxy1: "http://81.69.231.72:8881/admin-api", // 测试地址
// proxy1: "https://exam.smart-zj.cn:9100/smartExam/admin-api", // 新正式接口
......
......@@ -946,11 +946,18 @@ export default {
// })
// }
} else {
this.appLoading?.close();
this.$message.warning(
res.msg || "该申请已被其他部门驳回,无法审核通过"
);
}
});
} else {
this.appLoading?.close();
this.$message.warning(
res.msg || "该申请已被其他部门驳回,无法审核通过"
);
}
});
})
......@@ -971,13 +978,6 @@ export default {
this.$message.error("未输入原因");
return;
}
this.appLoading = this.$loading({
lock: true,
text: "审核中",
spinner: "el-icon-loading",
background: "rgba(0, 0, 0, 0.7)",
customClass: "fullLoading",
});
queryCommerDeedTaxDetailInfo({ code: row.code }).then((res) => {
if (res.success) {
......@@ -1221,8 +1221,8 @@ export default {
});
} else {
that.$message.error(res.msg);
queryCommerDeedTaxDetailInfo({ code: that.rowDetail.code }).then(
(res) => {
queryCommerDeedTaxDetailInfo({ code: that.rowDetail.code })
.then((res) => {
if (res.success) {
let params = {
code: that.rowDetail.code,
......@@ -1235,8 +1235,10 @@ export default {
resolve(res);
});
}
}
);
})
.finally(() => {
that.appLoading?.close();
});
}
});
});
......
......@@ -818,7 +818,6 @@ export default {
this.tableData = [];
}
}
console.log(" this.appLoading?.close();--->", 111);
this.appLoading?.close();
});
});
......@@ -996,11 +995,15 @@ export default {
}
});
} else {
this.appLoading?.close();
this.$message.warning(
res.msg || "该申请已被其他部门驳回,无法审核通过"
);
}
});
} else {
this.appLoading?.close();
}
});
})
......@@ -1125,8 +1128,8 @@ export default {
});
} else {
that.$message.error(res.msg);
queryCommerDeedTaxDetailInfo({ code: that.rowDetail.code }).then(
(res) => {
queryCommerDeedTaxDetailInfo({ code: that.rowDetail.code })
.then((res) => {
console.log(res);
if (res.success) {
let params = {
......@@ -1136,14 +1139,15 @@ export default {
state: res.data.state,
};
initCommerDepartmentRevocation(params).then(async (res) => {
console.log(res);
await that.initNew();
resolve();
resolve(res);
});
}
}
);
})
.finally(() => {
that.appLoading?.close();
});
}
});
// 将目标文件对象保存为目标类型的文件,并命名
......
......@@ -722,26 +722,30 @@ export default {
checkArea: this.realEstateArea,
checkArealEstateArea: this.searchForm.checkArealEstateArea,
};
queryListDeedTax(parmas).then((res) => {
this.loading = false;
if (res.success) {
this.pagination.total = res.data.total;
if (res.data.total) {
this.tableData = res.data.list.map((item) => {
item.stateName = this.getSatusArr(item.state).stateName;
item.type = this.getSatusArr(item.state).type;
return item;
});
if (localStorage.getItem("userName") == "admin") {
this.tableData = changeList(this.tableData);
queryListDeedTax(parmas)
.then((res) => {
this.loading = false;
if (res.success) {
this.pagination.total = res.data.total;
if (res.data.total) {
this.tableData = res.data.list.map((item) => {
item.stateName = this.getSatusArr(item.state).stateName;
item.type = this.getSatusArr(item.state).type;
return item;
});
if (localStorage.getItem("userName") == "admin") {
this.tableData = changeList(this.tableData);
}
resolve();
} else {
this.tableData = [];
}
resolve();
} else {
this.tableData = [];
}
}
this.appLoading?.close();
});
this.appLoading?.close();
})
.finally(() => {
this.appLoading?.close();
});
});
},
onSubmit() {
......@@ -946,11 +950,18 @@ export default {
// })
// }
} else {
this.appLoading?.close();
this.$message.warning(
res.msg || "该申请已被其他部门驳回,无法审核通过"
);
}
});
} else {
this.appLoading?.close();
this.$message.warning(
res.msg || "该申请已被其他部门驳回,无法审核通过"
);
}
});
})
......@@ -971,13 +982,7 @@ export default {
this.$message.error("未输入原因");
return;
}
this.appLoading = this.$loading({
lock: true,
text: "审核中",
spinner: "el-icon-loading",
background: "rgba(0, 0, 0, 0.7)",
customClass: "fullLoading",
});
queryDeedTaxDetailInfo({ code: row.code }).then((res) => {
if (res.success) {
let params = {
......@@ -1226,8 +1231,8 @@ export default {
});
} else {
that.$message.error(res.msg);
queryDeedTaxDetailInfo({ code: that.rowDetail.code }).then(
(res) => {
queryDeedTaxDetailInfo({ code: that.rowDetail.code })
.then((res) => {
console.log(res);
if (res.success) {
let params = {
......@@ -1242,8 +1247,10 @@ export default {
resolve();
});
}
}
);
})
.finally(() => {
that.appLoading?.close();
});
}
});
});
......
......@@ -992,6 +992,8 @@ export default {
}
});
} else {
this.appLoading?.close();
this.$message.warning(
res.msg || "该申请已被其他部门驳回,无法审核通过"
);
......@@ -1123,9 +1125,8 @@ export default {
});
} else {
that.$message.error(res.msg);
queryDeedTaxDetailInfo({ code: that.rowDetail.code }).then(
(res) => {
console.log(res);
queryDeedTaxDetailInfo({ code: that.rowDetail.code })
.then((res) => {
if (res.success) {
let params = {
code: that.rowDetail.code,
......@@ -1139,8 +1140,10 @@ export default {
resolve();
});
}
}
);
})
.finally(() => {
that.appLoading?.close();
});
}
});
// 将目标文件对象保存为目标类型的文件,并命名
......
......@@ -945,11 +945,18 @@ export default {
// })
// }
} else {
this.appLoading?.close();
this.$message.warning(
res.msg || "该申请已被其他部门驳回,无法审核通过"
);
}
});
} else {
this.appLoading?.close();
this.$message.warning(
res.msg || "该申请已被其他部门驳回,无法审核通过"
);
}
});
})
......@@ -970,13 +977,7 @@ export default {
this.$message.error("未输入原因");
return;
}
this.appLoading = this.$loading({
lock: true,
text: "审核中",
spinner: "el-icon-loading",
background: "rgba(0, 0, 0, 0.7)",
customClass: "fullLoading",
});
queryHouseDeedTaxDetailInfo({ code: row.code }).then((res) => {
if (res.success) {
let params = {
......@@ -1225,8 +1226,8 @@ export default {
});
} else {
that.$message.error(res.msg);
queryHouseDeedTaxDetailInfo({ code: that.rowDetail.code }).then(
(res) => {
queryHouseDeedTaxDetailInfo({ code: that.rowDetail.code })
.then((res) => {
console.log(res);
if (res.success) {
let params = {
......@@ -1241,8 +1242,10 @@ export default {
resolve();
});
}
}
);
})
.finally(() => {
that.appLoading?.close();
});
}
});
});
......
......@@ -996,17 +996,15 @@ export default {
: "";
});
this.initTemplate();
} else {
this.appLoading?.close();
}
});
} else {
this.$message.warning(
res.msg || "该申请已被其他部门驳回,无法审核通过"
);
this.appLoading?.close();
}
});
} else {
this.appLoading?.close();
this.$message.warning(res.msg);
}
});
......@@ -1133,8 +1131,8 @@ export default {
});
} else {
that.$message.error(res.msg);
queryHouseDeedTaxDetailInfo({ code: that.rowDetail.code }).then(
(res) => {
queryHouseDeedTaxDetailInfo({ code: that.rowDetail.code })
.then((res) => {
console.log(res);
if (res.success) {
let params = {
......@@ -1149,8 +1147,10 @@ export default {
resolve();
});
}
}
);
})
.finally(() => {
that.appLoading?.close();
});
}
});
// 将目标文件对象保存为目标类型的文件,并命名
......
......@@ -945,11 +945,19 @@ export default {
// })
// }
} else {
this.appLoading?.close();
this.$message.warning(
res.msg || "该申请已被其他部门驳回,无法审核通过"
);
}
});
} else {
this.appLoading?.close();
this.$message.warning(
res.msg || "该申请已被其他部门驳回,无法审核通过"
);
}
});
})
......@@ -970,13 +978,7 @@ export default {
this.$message.error("未输入原因");
return;
}
this.appLoading = this.$loading({
lock: true,
text: "审核中",
spinner: "el-icon-loading",
background: "rgba(0, 0, 0, 0.7)",
customClass: "fullLoading",
});
queryMultipleDeedTaxDetailInfo({ code: row.code }).then((res) => {
if (res.success) {
let params = {
......@@ -1228,22 +1230,28 @@ export default {
queryMultipleDeedTaxDetailInfo({
code: that.rowDetail.code,
}).then((res) => {
console.log(res);
if (res.success) {
let params = {
code: that.rowDetail.code,
phone: res.data.phone,
reviewerId: that.rowDetail.reviewerId,
state: res.data.state,
};
initMultipleDepartmentRevocation(params).then(async (res) => {
console.log(res);
await that.initNew();
resolve();
});
}
});
})
.then((res) => {
console.log(res);
if (res.success) {
let params = {
code: that.rowDetail.code,
phone: res.data.phone,
reviewerId: that.rowDetail.reviewerId,
state: res.data.state,
};
initMultipleDepartmentRevocation(params).then(
async (res) => {
console.log(res);
await that.initNew();
resolve();
}
);
}
})
.finally(() => {
that.appLoading?.close();
});
}
});
});
......
......@@ -993,12 +993,16 @@ export default {
}
});
} else {
this.appLoading?.close();
this.$message.warning(
res.msg || "该申请已被其他部门驳回,无法审核通过"
);
}
});
} else {
this.appLoading?.close();
this.$message.warning(res.msg);
}
});
......@@ -1127,22 +1131,28 @@ export default {
that.$message.error(res.msg);
queryMultipleDeedTaxDetailInfo({
code: that.rowDetail.code,
}).then((res) => {
console.log(res);
if (res.success) {
let params = {
code: that.rowDetail.code,
phone: res.data.phone,
reviewerId: that.rowDetail.reviewerId,
state: res.data.state,
};
initMultipleDepartmentRevocation(params).then(async (res) => {
console.log(res);
await that.initNew();
resolve();
});
}
});
})
.then((res) => {
console.log(res);
if (res.success) {
let params = {
code: that.rowDetail.code,
phone: res.data.phone,
reviewerId: that.rowDetail.reviewerId,
state: res.data.state,
};
initMultipleDepartmentRevocation(params).then(
async (res) => {
console.log(res);
await that.initNew();
resolve();
}
);
}
})
.finally(() => {
that.appLoading?.close();
});
}
});
// 将目标文件对象保存为目标类型的文件,并命名
......
const env = process.env.NODE_ENV === "production";
// const publicPath = env ? "/manage-h5/" : "/"; //正式
const publicPath = env ? "/smartExam-h5/" : "/"; //测试
const publicPath = env ? "/manage-h5/" : "/"; //正式
// const publicPath = env ? "/smartExam-h5/" : "/"; //测试
module.exports = {
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