diff --git a/src/pages/details/otherStandardDetails/index.vue b/src/pages/details/otherStandardDetails/index.vue index ee6e15663..173972eba 100644 --- a/src/pages/details/otherStandardDetails/index.vue +++ b/src/pages/details/otherStandardDetails/index.vue @@ -656,6 +656,12 @@ v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'd5b28957b5105c805e90a16fd5056a45' : '824f3bf9edef83fc7488917136167232'" >关联条款 + 编辑
- - - - - - + + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0){ + this.editResolveListShowflag = true + let editItem = JSON.parse(JSON.stringify(this.selectedItemList[0])) + this.resolveListForm = editItem + this.resolveListForm.termsConditions = this.resolveListForm.termsConditions?this.resolveListForm.termsConditions.replace(/<.*?>/ig, ' '):'' + // this.resolveListForm.readContent = this.readContent?this.readContent.replace(/<.*?>/ig, ' '):'' + }else { + this.$message.warning('请选择一条数据') } }, + saveEditInfo(){ + console.log('2530',this.resolveListForm) + this.resolveListForm.xccssrq = this.resolveListForm.xccssrq.join(',') + this.resolveListForm.zccssrq = this.resolveListForm.zccssrq.join(',') + this.$http.putData( + 'SarStandItems/sar-stand-items/updateSarItemAndInterpretation', + this.resolveListForm, + { + _this: this, + }, + (res) => { + console.log(res) + if (res.ok){ + this.$message.success('修改成功') + this.resetEditResolveListForm() + this.showItemsModel() + } + } + ) + }, + resetEditResolveListForm(){ + this.editResolveListShowflag = false + }, // 分页点击后方法 pageChange(page) { this.standItemSearch.page = page @@ -3298,6 +3525,16 @@ export default {