diff --git a/jero-web/src/views/businessSupport/regulationReport/components/modules/defaultTemplate.vue b/jero-web/src/views/businessSupport/regulationReport/components/modules/defaultTemplate.vue
index f8b17a2ce..23ffd3f15 100644
--- a/jero-web/src/views/businessSupport/regulationReport/components/modules/defaultTemplate.vue
+++ b/jero-web/src/views/businessSupport/regulationReport/components/modules/defaultTemplate.vue
@@ -10,7 +10,7 @@
@@ -24,7 +24,7 @@
@@ -128,7 +128,7 @@
@@ -158,7 +158,7 @@
@@ -172,7 +172,7 @@
@@ -267,7 +267,7 @@
diff --git a/jero-web/src/views/businessSupport/regulationReport/components/modules/releaseStandard.vue b/jero-web/src/views/businessSupport/regulationReport/components/modules/releaseStandard.vue
index afea487f4..8fe91d578 100644
--- a/jero-web/src/views/businessSupport/regulationReport/components/modules/releaseStandard.vue
+++ b/jero-web/src/views/businessSupport/regulationReport/components/modules/releaseStandard.vue
@@ -1,15 +1,15 @@
-
+
@@ -18,10 +18,13 @@
{{$t('standardNo')}}
-
+
@@ -32,10 +35,13 @@
{{$t('standardNameCn')}}
-
+
@@ -47,10 +53,13 @@
{{$t('standardNameEn')}}
-
+
@@ -101,13 +110,12 @@
export default {
name: 'releaseStandard',
- props:['formInlineQuery','disabled'],
+ props: ['formInlineQuery', 'disabled'],
data() {
return {
rules: {},
formInline: {},
- CategoryTreeList: [],
- dataList: []
+ CategoryTreeList: []
}
},
mounted() {
@@ -115,19 +123,19 @@
if (this.formInlineQuery.id) {
this.formInline = JSON.parse(JSON.stringify(this.formInlineQuery))
this.formInline = { ...this.formInline }
- this.dataList = this.formInline.newStandardTemplateEOList
- this.dataList = [...this.dataList]
+ this.formInline.dataList = this.formInline.newStandardTemplateEOList
+ this.formInline = { ...this.formInline }
} else {
- this.dataList = [
+ this.formInline.dataList = [
{
standardNumber: '',
standardNameCn: '',
standardNameEn: '',
issueTime: '',
- implementTime:'',
+ implementTime: ''
}
]
- this.dataList = [...this.dataList]
+ this.formInline = { ...this.formInline }
}
})
},
@@ -139,28 +147,28 @@
})
},
addData() {
- this.dataList.push({
+ this.formInline.dataList.push({
standardNumber: '',
standardNameCn: '',
standardNameEn: '',
issueTime: '',
- implementTime:'',
+ implementTime: ''
})
- this.dataList = [...this.dataList]
+ this.formInline = { ...this.formInline }
},
deleteData() {
- this.dataList.pop()
- this.dataList = [...this.dataList]
+ this.formInline.dataList.pop()
+ this.formInline = { ...this.formInline }
},
- dateChange(item,index) {
- this.dataList[index][item] = this.dataList[index][item] ? moment(this.dataList[index][item]).format('YYYY-MM-DD') : ''
+ dateChange(item, index) {
+ this.formInline.dataList[index][item] = this.formInline.dataList[index][item] ? moment(this.formInline.dataList[index][item]).format('YYYY-MM-DD') : ''
},
getData(callback) {
this.$refs.ruleForm.validate(valid => {
if (valid) {
let query = {
id: this.formInline.id,
- newStandardTemplateEOList: this.dataList
+ newStandardTemplateEOList: this.formInline.dataList
}
callback && callback(query)
}
diff --git a/jero-web/src/views/businessSupport/regulationReport/components/modules/solicitOpinions.vue b/jero-web/src/views/businessSupport/regulationReport/components/modules/solicitOpinions.vue
index 271a1c8d7..905c0be26 100644
--- a/jero-web/src/views/businessSupport/regulationReport/components/modules/solicitOpinions.vue
+++ b/jero-web/src/views/businessSupport/regulationReport/components/modules/solicitOpinions.vue
@@ -1,15 +1,15 @@
-
+
@@ -18,10 +18,13 @@
{{$t('planNoChinese')}}
-
+
@@ -32,10 +35,13 @@
{{$t('standardNameCn')}}
-
+
@@ -47,10 +53,13 @@
{{$t('standardNameEn')}}
-
+
@@ -82,13 +91,12 @@
export default {
name: 'solicitOpinions',
- props: ['formInlineQuery','disabled'],
+ props: ['formInlineQuery', 'disabled'],
data() {
return {
rules: {},
formInline: {},
- CategoryTreeList: [],
- dataList: []
+ CategoryTreeList: []
}
},
mounted() {
@@ -96,10 +104,10 @@
if (this.formInlineQuery.id) {
this.formInline = JSON.parse(JSON.stringify(this.formInlineQuery))
this.formInline = { ...this.formInline }
- this.dataList = this.formInline.newOpinionTemplateEOList
- this.dataList = [...this.dataList]
+ this.formInline.dataList = this.formInline.newOpinionTemplateEOList
+ this.formInline = { ...this.formInline }
} else {
- this.dataList = [
+ this.formInline.dataList = [
{
planNumberCn: '',
standardNameCn: '',
@@ -107,7 +115,7 @@
expirationDate: ''
}
]
- this.dataList = [...this.dataList]
+ this.formInline = { ...this.formInline }
}
})
},
@@ -119,27 +127,27 @@
})
},
addData() {
- this.dataList.push({
+ this.formInline.dataList.push({
planNumberCn: '',
standardNameCn: '',
standardNameEn: '',
expirationDate: ''
})
- this.dataList = [...this.dataList]
+ this.formInline = { ...this.formInline }
},
deleteData() {
- this.dataList.pop()
- this.dataList = [...this.dataList]
+ this.formInline.dataList.pop()
+ this.formInline = { ...this.formInline }
},
dateChange(item, index) {
- this.dataList[index][item] = this.dataList[index][item] ? moment(this.dataList[index][item]).format('YYYY-MM-DD') : ''
+ this.formInline.dataList[index][item] = this.formInline.dataList[index][item] ? moment(this.formInline.dataList[index][item]).format('YYYY-MM-DD') : ''
},
getData(callback) {
this.$refs.ruleForm.validate(valid => {
if (valid) {
let query = {
id: this.formInline.id,
- newOpinionTemplateEOList: this.dataList
+ newOpinionTemplateEOList: this.formInline.dataList
}
callback && callback(query)
}