Commit 254090d8 by hd

fix: 模板信息提交回跳犯罪团伙详情

parent 9be587e6
...@@ -281,9 +281,8 @@ export default { ...@@ -281,9 +281,8 @@ export default {
this.$store.commit("user/SET_Menu", this.Menu); this.$store.commit("user/SET_Menu", this.Menu);
this.$store.commit("user/SET_LeftMenu", this.leftMenus); this.$store.commit("user/SET_LeftMenu", this.leftMenus);
// this.$store.commit("user/SET_Header", this.header); // this.$store.commit("user/SET_Header", this.header);
this.isdisabled = this.$route.query.editFlag const editFlag = Boolean(this.$route.query.editFlag);
? this.$route.query.editFlag this.isdisabled = editFlag ? editFlag : false;
: false;
}, },
watch: { watch: {
$route: { $route: {
...@@ -311,11 +310,16 @@ export default { ...@@ -311,11 +310,16 @@ export default {
submitSave() { submitSave() {
var params = new FormData(); var params = new FormData();
params.append("bgbt", this.$route.query.bgbt); params.append("bgbt", this.$route.query.bgbt);
params.append("bgnr", this.editorTextCopy); params.append("bgnr", this.editorTextCopy || this.$route.query.bgnr);
params.append("glxxXxzjbh", this.$route.query.glxxXxzjbh); params.append("glxxXxzjbh", this.$route.query.glxxXxzjbh);
saveYpbgnr(params).then(res => { saveYpbgnr(params).then(res => {
console.log('asdfasdf',res) console.log("asdfasdf", res);
}) this.$message({
type: "success",
message: "操作成功"
});
this.$router.push("/fzthDetail");
});
// var url = `${this.$baseUrl.alyIP}/fzth/saveYpbgnr`; // var url = `${this.$baseUrl.alyIP}/fzth/saveYpbgnr`;
// axios.post(url,params,{ // axios.post(url,params,{
// headers: { // headers: {
...@@ -365,7 +369,7 @@ export default { ...@@ -365,7 +369,7 @@ export default {
loading.close(); loading.close();
this.$message({ this.$message({
type: "success", type: "success",
message: "操作成功", message: "操作成功"
}); });
this.$router.push("/queryMbxx"); this.$router.push("/queryMbxx");
} }
......
...@@ -69,7 +69,7 @@ module.exports = { ...@@ -69,7 +69,7 @@ module.exports = {
}, },
proxy: { proxy: {
"/apialy": { "/apialy": {
target: "http://192.168.0.129:8762", //西藏: https://155.1.33.10:20010/ 阿里云:http://39.99.155.173:9022 target: "http://192.168.1.109:8762", //西藏: https://155.1.33.10:20010/ 阿里云:http://39.99.155.173:9022
// ws: true, // ws: true,
changeOrigin: true, changeOrigin: true,
secure: false, secure: false,
......
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