diff --git a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue index 7dc2712f0..98f2d0e0f 100644 --- a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue @@ -449,7 +449,7 @@ label-width="150px" class="add-form-item" > - + @@ -459,7 +459,7 @@ label-width="150px" class="add-form-item" > - + @@ -1295,7 +1295,8 @@ export default { children: 'children', label: 'menuName' }, - id: '', + id: '', // 收藏数据的id + collectId: '', // 收藏id modalShowFlag1: false, // drawer开关 modalShowFlag2: false, // drawer开关 modalShowFlag3: false, // drawer开关 @@ -2264,6 +2265,7 @@ export default { // 编辑标准属性 selectStandardPro (item, state) { this.id = item.id + this.collectId = item.collectId this.addOrUPdateFlag = 2 this.modalshowtitle = '编辑国内标准' this.modalshowflag = true @@ -3120,8 +3122,10 @@ export default { if (res.ok) { this.personCollect.collectType = 'INLAND_STAND' this.personCollect.id = this.id + this.personCollect.collectResId = this.collectId + this.personCollect.collectTitle = this.sarStandardsInfoEO.standName this.personCollect.userId = this.$store.getters.userInfo.userId - this.$http.get('person/personCollect/updatePersonCollect', this.personCollect, { + this.$http.putData('person/personCollect/updatePersonCollect', this.personCollect, { _this: this, loading: 'loading' }, res => { diff --git a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue index accef9644..b394854ef 100644 --- a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue @@ -510,7 +510,7 @@ label-width="150px" class="add-form-item" > - + @@ -520,7 +520,7 @@ label-width="150px" class="add-form-item" > - + @@ -2048,7 +2048,7 @@ export default { Promise.all([this.queryDisplayLocation()]).then((values) => { const [displayLocation] = values const formFieldList = this.formFieldList - console.log(formFieldList) + console.log(formFieldList, 'AAAAAAAAAAAAAAAAAAAAA') this.sarStandardsInfoEO = JSON.parse(JSON.stringify(item)) this.defaultCheckedKeys = [this.sarStandardsInfoEO.standSystem]; this.sarStandardsInfoEO.standSort = item.standSort