Commit 39c05b07 authored by zL's avatar zL

fix:涉及存证id的去number化

parent d871e414
...@@ -299,7 +299,7 @@ export default class editTemplate extends Vue { ...@@ -299,7 +299,7 @@ export default class editTemplate extends Vue {
public modifyFormsShow: Boolean = false; // 改变表现形式 public modifyFormsShow: Boolean = false; // 改变表现形式
public existingEvidenceList: any = []; //增量数据列表 public existingEvidenceList: any = []; //增量数据列表
public checkId: string = ""; public checkId: string = "";
public incrementId: number = 0; public incrementId: String = '';
public isShowAddRootDialog: boolean = false; public isShowAddRootDialog: boolean = false;
public displayData: any = []; public displayData: any = [];
public TemplateType: number = 0; public TemplateType: number = 0;
...@@ -348,7 +348,7 @@ export default class editTemplate extends Vue { ...@@ -348,7 +348,7 @@ export default class editTemplate extends Vue {
) { ) {
this.personalTemplateId = String(query.personalTemplateId); this.personalTemplateId = String(query.personalTemplateId);
this.checkId = String(query.childId); this.checkId = String(query.childId);
this.incrementId = Number(query.childId); this.incrementId = String(query.childId);
this.saveState = 2; this.saveState = 2;
this.information(1); this.information(1);
} }
...@@ -783,7 +783,7 @@ export default class editTemplate extends Vue { ...@@ -783,7 +783,7 @@ export default class editTemplate extends Vue {
} else { } else {
// 切换至第一条数据 // 切换至第一条数据
this.personalTemplateId = item.id; this.personalTemplateId = item.id;
this.incrementId = 0; this.incrementId = '';
this.ShowPastData = true; this.ShowPastData = true;
this.saveState = 1; this.saveState = 1;
this.information(2); this.information(2);
...@@ -826,7 +826,7 @@ export default class editTemplate extends Vue { ...@@ -826,7 +826,7 @@ export default class editTemplate extends Vue {
} }
// 上链请求 // 上链请求
async uploadConfirm() { async uploadConfirm() {
this.incrementId === 0 this.incrementId === ''
? this.witnessTheChain() ? this.witnessTheChain()
: this.incrementWitnessTheChain(); : this.incrementWitnessTheChain();
} }
......
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