From 701d2778be86d2381f014c8c4bf4b61d3c88d13c Mon Sep 17 00:00:00 2001 From: nikitam Date: Thu, 27 Sep 2018 16:55:28 +0530 Subject: [PATCH] previous-state-files-not-edted --- client/src/components/SchemaSubForm.vue | 29 +++++++++++++++++++++---- client/src/components/SchemaView.vue | 3 ++- client/src/masterLayout/SideBar.vue | 2 +- 3 files changed, 28 insertions(+), 6 deletions(-) diff --git a/client/src/components/SchemaSubForm.vue b/client/src/components/SchemaSubForm.vue index 5f64c61..084978d 100644 --- a/client/src/components/SchemaSubForm.vue +++ b/client/src/components/SchemaSubForm.vue @@ -132,6 +132,13 @@ +
+
+ + {{val}} + +
+
  {{fileNumber}} / {{fileSize}} @@ -144,10 +151,17 @@
- {{schemainstance.data[index][field.name].length}} + {{val}} - + ✕  + +
+
+
+
+ + {{val}}
@@ -192,7 +206,7 @@ - {{field.name}} + {{field.name}}1 @@ -201,7 +215,14 @@
{{val}} - ✕  + ✕ 1 + +
+ +
+
+ + {{val}}
diff --git a/client/src/components/SchemaView.vue b/client/src/components/SchemaView.vue index c5c4d90..a229fea 100644 --- a/client/src/components/SchemaView.vue +++ b/client/src/components/SchemaView.vue @@ -526,6 +526,7 @@ export default { } if (arr) { let m = [arr] + this.setFileList(m, self.formSchemaInstance) this.formSchemaInstance.data = m } else { this.handleAdd() @@ -1201,7 +1202,7 @@ export default { '_state': this.$route.params.stateid }, heads) .then(res => { - console.log('res.data.total', res.data.total) + // console.log('res.data.total', res.data.total) this.isFlowzLoaded = true this.dataTotal = res.data.total if (res.data.data.length > 0) { diff --git a/client/src/masterLayout/SideBar.vue b/client/src/masterLayout/SideBar.vue index 63f48f6..481cb2d 100644 --- a/client/src/masterLayout/SideBar.vue +++ b/client/src/masterLayout/SideBar.vue @@ -37,7 +37,7 @@