Commit ee4d8aba by gao_yingdong

车辆档案

parent 30512e05
...@@ -106,7 +106,7 @@ export default { ...@@ -106,7 +106,7 @@ export default {
ypbgbt: "", ypbgbt: "",
ypbgnr: "", ypbgnr: "",
ypbglx: "02", ypbglx: "02",
glhm: sessionStorage.getItem("cphm"), glhm: this.$route.query["cphm"],
}, },
rules: { rules: {
ypbgbt: [ ypbgbt: [
...@@ -143,7 +143,7 @@ export default { ...@@ -143,7 +143,7 @@ export default {
], ],
sjhQueryData: { sjhQueryData: {
ypbglx: "02", ypbglx: "02",
glhm: sessionStorage.getItem("cphm"), glhm: this.$route.query["cphm"],
page: 1, page: 1,
limit: 5, limit: 5,
}, },
......
...@@ -106,7 +106,7 @@ export default { ...@@ -106,7 +106,7 @@ export default {
ypbgbt: "", ypbgbt: "",
ypbgnr: "", ypbgnr: "",
ypbglx: "03", ypbglx: "03",
glhm: sessionStorage.getItem("cphm"), glhm: this.$route.query["cphm"],
}, },
rules: { rules: {
ypbgbt: [ ypbgbt: [
...@@ -143,7 +143,7 @@ export default { ...@@ -143,7 +143,7 @@ export default {
], ],
sjhQueryData: { sjhQueryData: {
ypbglx: "03", ypbglx: "03",
glhm: sessionStorage.getItem("cphm"), glhm: this.$route.query["cphm"],
page: 1, page: 1,
limit: 5, limit: 5,
}, },
......
...@@ -1610,7 +1610,7 @@ export default { ...@@ -1610,7 +1610,7 @@ export default {
// }; // };
let self = this, let self = this,
json = {}; json = {};
json["hphm"] = sessionStorage.getItem("cphm"); json["hphm"] = this.$route.query["cphm"];
self.postCarJbxx(JSON.stringify(json)).then((res) => { self.postCarJbxx(JSON.stringify(json)).then((res) => {
if (res.success) { if (res.success) {
console.log(res); console.log(res);
...@@ -1694,7 +1694,7 @@ export default { ...@@ -1694,7 +1694,7 @@ export default {
getTbStQgjbryxxList() { getTbStQgjbryxxList() {
let self = this; let self = this;
let json = {}; let json = {};
json["hphm"] = sessionStorage.getItem("cphm"); json["hphm"] = this.$route.query["cphm"];
json["jdczt"] = "正常"; json["jdczt"] = "正常";
(json["page"] = 1), (json["limit"] = 1); (json["page"] = 1), (json["limit"] = 1);
self.postgetTbStQgjbryxx(JSON.stringify(json)).then((res) => { self.postgetTbStQgjbryxx(JSON.stringify(json)).then((res) => {
...@@ -1744,7 +1744,7 @@ export default { ...@@ -1744,7 +1744,7 @@ export default {
for (let i in self.formDataBq) { for (let i in self.formDataBq) {
json[i] = self.formDataBq[i]; json[i] = self.formDataBq[i];
} }
json["hphm"] = sessionStorage.getItem("cphm"); json["hphm"] = this.$route.query["cphm"];
self self
.postInsertTbStCldaClbq(JSON.stringify(json)) .postInsertTbStCldaClbq(JSON.stringify(json))
.then((res) => { .then((res) => {
...@@ -1775,7 +1775,7 @@ export default { ...@@ -1775,7 +1775,7 @@ export default {
for (let i in self.formDataBq) { for (let i in self.formDataBq) {
json[i] = self.formDataBq[i]; json[i] = self.formDataBq[i];
} }
json["hphm"] = sessionStorage.getItem("cphm"); json["hphm"] = this.$route.query["cphm"];
json["xxzjbh"] = self.xxzjbh; json["xxzjbh"] = self.xxzjbh;
self self
.postUpdateTbStCldaClbq(JSON.stringify(json)) .postUpdateTbStCldaClbq(JSON.stringify(json))
...@@ -1805,7 +1805,7 @@ export default { ...@@ -1805,7 +1805,7 @@ export default {
postGetTbStCldaClbqLisr() { postGetTbStCldaClbqLisr() {
let self = this; let self = this;
let json = {}; let json = {};
json["hphm"] = sessionStorage.getItem("cphm"); json["hphm"] = this.$route.query["cphm"];
self.postGetTbStCldaClbq(JSON.stringify(json)).then((res) => { self.postGetTbStCldaClbq(JSON.stringify(json)).then((res) => {
console.log("res", res); console.log("res", res);
if (res.success) { if (res.success) {
...@@ -1920,7 +1920,7 @@ export default { ...@@ -1920,7 +1920,7 @@ export default {
json[i] = self.formDataLsjsr[i]; json[i] = self.formDataLsjsr[i];
} }
json["edzzplj"] = base ? base : ""; json["edzzplj"] = base ? base : "";
json["hphm"] = sessionStorage.getItem("cphm"); json["hphm"] = this.$route.query["cphm"];
self self
.postInsertTbStQgjbryxx(JSON.stringify(json)) .postInsertTbStQgjbryxx(JSON.stringify(json))
.then((res) => { .then((res) => {
...@@ -1955,7 +1955,7 @@ export default { ...@@ -1955,7 +1955,7 @@ export default {
} }
json["edzzplj"] = this.imageUrlLsjsr ? this.imageUrlLsjsr : base; json["edzzplj"] = this.imageUrlLsjsr ? this.imageUrlLsjsr : base;
json["xxzjbh"] = this.xxzjbhLsclr; json["xxzjbh"] = this.xxzjbhLsclr;
json["hphm"] = sessionStorage.getItem("cphm"); json["hphm"] = this.$route.query["cphm"];
self self
.postUpdateTbStQgjbryxx(JSON.stringify(json)) .postUpdateTbStQgjbryxx(JSON.stringify(json))
.then((res) => { .then((res) => {
...@@ -2108,7 +2108,7 @@ export default { ...@@ -2108,7 +2108,7 @@ export default {
postGetClcxsjglLsit() { postGetClcxsjglLsit() {
let self = this; let self = this;
let json = {}; let json = {};
json["hphm"] = sessionStorage.getItem("cphm"); json["hphm"] = this.$route.query["cphm"];
json["kssj"] = self.valueCxgl[0] ? self.valueCxgl[0] : ""; json["kssj"] = self.valueCxgl[0] ? self.valueCxgl[0] : "";
json["jssj"] = self.valueCxgl[1] ? self.valueCxgl[1] : ""; json["jssj"] = self.valueCxgl[1] ? self.valueCxgl[1] : "";
self.postGetClcxsjgl(JSON.stringify(json)).then((res) => { self.postGetClcxsjgl(JSON.stringify(json)).then((res) => {
......
...@@ -798,7 +798,7 @@ export default { ...@@ -798,7 +798,7 @@ export default {
let self = this; let self = this;
let json = { let json = {
objectType: "phone", objectType: "phone",
objectValue: sessionStorage.getItem("cphm"), objectValue: this.$route.query["cphm"],
}; };
self.postGetAjbq(JSON.stringify(json)).then((res) => { self.postGetAjbq(JSON.stringify(json)).then((res) => {
if (res.success == true) { if (res.success == true) {
...@@ -813,7 +813,7 @@ export default { ...@@ -813,7 +813,7 @@ export default {
let self = this; let self = this;
let json = { let json = {
objectType: "phone", objectType: "phone",
objectValue: sessionStorage.getItem("cphm"), objectValue: this.$route.query["cphm"],
}; };
self.postGetSjbz(JSON.stringify(json)).then((res) => { self.postGetSjbz(JSON.stringify(json)).then((res) => {
if (res.success == true) { if (res.success == true) {
......
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