diff --git a/src/pages/processCenter/pages/phone/bzjd/step4.vue b/src/pages/processCenter/pages/phone/bzjd/step4.vue index 93a5e11f3..c7a1b468d 100644 --- a/src/pages/processCenter/pages/phone/bzjd/step4.vue +++ b/src/pages/processCenter/pages/phone/bzjd/step4.vue @@ -88,115 +88,124 @@ 拆分信息 - - - - - - - - 查看条款内容 - - - - - - - - - - - 符合 - 不符合 - - - - - - - - - - - {{ scope.row.applyArctic.toString() }} - - - - - - - + > + + + + + + + + 查看条款内容 + + + + + + + + + {{ typeof (scope.row.applyArctic) === 'string' ? JSON.parse(scope.row.applyArctic).join(',') : scope.row.applyArctic.join(',') }} + + + + + + + + + + + + + + + + + + + + + + + + + 查看比对 + + + 加载更多... @@ -219,13 +228,23 @@ show-submit :submitLoading="isSubmit" :saveLoading="saveLoading" - @save="handleSave" @submit="handleSubmit" show-back @back="handleSubmitNo" submitBTNText="同意" > + + 比对条款: {{ itemsNum }} + 相似度:{{ similarityDegree }} + + + + + @@ -246,6 +265,11 @@ return { tableIndex: 0, itemLists: [], + itemsNum: '', + similarityDegree: '', + BDmodel: false, + leftData: '', + rightData: '', dialogMadal: false, drawerModal: false, //折叠的标志,true为折叠,false为不折叠 @@ -336,6 +360,30 @@ this.dialogMadal = true this.itermsConditionsTitle = row }, + checkBD (id,id2,itemsNum) { + let itemsEoPage = { + oldItemId: id, + newItemId: id2, + flag: 1 + } + if (!id || !id2) { + this.$message.warning('暂无找到相似的文本') + return + } + this.$http.post('lawss/sarStandCompareHis/clauseComparison', itemsEoPage, { + _this: this + }, res => { + if (res.data.leftString === '' && res.data.rightString === '') { + this.$message.warning('暂无找到相似的文本') + } else { + this.itemsNum = itemsNum + this.leftData = res.data.leftString + this.rightData = res.data.rightString + this.BDmodel = true + this.similarityDegree = res.data.similarityDegree + } + }) + }, getHistoryData () { this.$http.get('lawss/activiti/get_list_by_instance', { prcNum: this.$route.query.prcNum, diff --git a/src/pages/processCenter/pages/phone/bzjd/step5.vue b/src/pages/processCenter/pages/phone/bzjd/step5.vue index 076bca762..67887e78d 100644 --- a/src/pages/processCenter/pages/phone/bzjd/step5.vue +++ b/src/pages/processCenter/pages/phone/bzjd/step5.vue @@ -86,115 +86,124 @@ 拆分信息 - - - - - - - - 查看条款内容 - - - - - - - - - - - 符合 - 不符合 - - - - - - - - - - - {{ scope.row.applyArctic.toString() }} - - - - - - - + > + + + + + + + + 查看条款内容 + + + + + + + + + {{ typeof (scope.row.applyArctic) === 'string' ? JSON.parse(scope.row.applyArctic).join(',') : scope.row.applyArctic.join(',') }} + + + + + + + + + + + + + + + + + + + + + + + + + 查看比对 + + + 加载更多... @@ -210,6 +219,17 @@ + + 比对条款: {{ itemsNum }} + 相似度:{{ similarityDegree }} + + + + + @@ -217,13 +237,13 @@ show-submit :submitLoading="isSubmit" :saveLoading="saveLoading" - @save="handleSave" @submit="handleSubmit" show-back @back="handleSubmitNo" submitBTNText="同意" > + @@ -242,6 +262,11 @@ name: "phoneBzjdStep5", data() { return { + BDmodel: false, + itemsNum: '', + similarityDegree: '', + leftData: '', + rightData: '', commentText5: '', tableIndex: 0, itemLists: [], @@ -334,6 +359,30 @@ this.dialogMadal = true this.itermsConditionsTitle = row }, + checkBD (id,id2,itemsNum) { + let itemsEoPage = { + oldItemId: id, + newItemId: id2, + flag: 1 + } + if (!id || !id2) { + this.$message.warning('暂无找到相似的文本') + return + } + this.$http.post('lawss/sarStandCompareHis/clauseComparison', itemsEoPage, { + _this: this + }, res => { + if (res.data.leftString === '' && res.data.rightString === '') { + this.$message.warning('暂无找到相似的文本') + } else { + this.itemsNum = itemsNum + this.leftData = res.data.leftString + this.rightData = res.data.rightString + this.BDmodel = true + this.similarityDegree = res.data.similarityDegree + } + }) + }, getHistoryData () { this.$http.get('lawss/activiti/get_list_by_instance', { prcNum: this.$route.query.prcNum, diff --git a/src/pages/processCenter/pages/phone/bzjd/step6.vue b/src/pages/processCenter/pages/phone/bzjd/step6.vue index 2570fa5be..728faffaf 100644 --- a/src/pages/processCenter/pages/phone/bzjd/step6.vue +++ b/src/pages/processCenter/pages/phone/bzjd/step6.vue @@ -86,115 +86,127 @@ 拆分信息 - - - - - - - - 查看条款内容 - - - - - - - - - - - 符合 - 不符合 - - - - - - - - - - - {{ scope.row.applyArctic.toString() }} - - - - - - - + > + + + + + + + + 查看条款内容 + + + + + + + + + {{ typeof (scope.row.applyArctic) === 'string' ? JSON.parse(scope.row.applyArctic).join(',') : scope.row.applyArctic.join(',') }} + + + + + + + + + + + + + + + + + + + + + {{ scope.row.complianceRequir === '1' ? '符合' : '不符合' }} + + + + + + + 查看比对 + + + 加载更多... @@ -217,13 +229,23 @@ show-submit :submitLoading="isSubmit" :saveLoading="saveLoading" - @save="handleSave" @submit="handleSubmit" show-back @back="handleSubmitNo" submitBTNText="同意" > + + 比对条款: {{ itemsNum }} + 相似度:{{ similarityDegree }} + + + + + @@ -243,6 +265,11 @@ data() { return { commentText6: '', + BDmodel: false, + itemsNum: '', + similarityDegree: '', + leftData: '', + rightData: '', tableIndex: 0, itemLists: [], dialogMadal: false, @@ -334,6 +361,30 @@ this.dialogMadal = true this.itermsConditionsTitle = row }, + checkBD (id,id2,itemsNum) { + let itemsEoPage = { + oldItemId: id, + newItemId: id2, + flag: 1 + } + if (!id || !id2) { + this.$message.warning('暂无找到相似的文本') + return + } + this.$http.post('lawss/sarStandCompareHis/clauseComparison', itemsEoPage, { + _this: this + }, res => { + if (res.data.leftString === '' && res.data.rightString === '') { + this.$message.warning('暂无找到相似的文本') + } else { + this.itemsNum = itemsNum + this.leftData = res.data.leftString + this.rightData = res.data.rightString + this.BDmodel = true + this.similarityDegree = res.data.similarityDegree + } + }) + }, getHistoryData () { this.$http.get('lawss/activiti/get_list_by_instance', { prcNum: this.$route.query.prcNum,