From 068b79f6b6f889b7cf20f0202b4c1959aae8f314 Mon Sep 17 00:00:00 2001
From: yanyizhou <2311759275@qq.com>
Date: Wed, 22 Dec 2021 17:58:36 +0800
Subject: [PATCH 1/2] =?UTF-8?q?=E5=88=86=E8=A7=A3=E5=8D=95=E7=BC=96?=
=?UTF-8?q?=E8=BE=91=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../details/otherStandardDetails/index.vue | 253 +++++++++++++++++-
1 file changed, 245 insertions(+), 8 deletions(-)
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 {