From f6168f9a4d3fc1f171ec3d539543a03989197d99 Mon Sep 17 00:00:00 2001
From: yanyizhou <2311759275@qq.com>
Date: Sun, 14 Nov 2021 15:09:24 +0800
Subject: [PATCH] =?UTF-8?q?=E6=90=9C=E7=B4=A2=E9=9D=9E=E7=AC=AC=E4=B8=80?=
=?UTF-8?q?=E9=A1=B5=E7=9A=84=E6=95=B0=E6=8D=AE=E6=98=BE=E7=A4=BA=E6=90=9C?=
=?UTF-8?q?=E7=B4=A2=E6=97=A0=E6=95=B0=E6=8D=AE=E7=9A=84=E8=A7=A3=E5=86=B3?=
=?UTF-8?q?=E6=96=B9=E6=B3=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../creatProcess/zdrzbzORzchgxxmsc/step1.vue | 69 +++++--------------
1 file changed, 16 insertions(+), 53 deletions(-)
diff --git a/src/pages/processCenter/pages/creatProcess/zdrzbzORzchgxxmsc/step1.vue b/src/pages/processCenter/pages/creatProcess/zdrzbzORzchgxxmsc/step1.vue
index 07dacb208..c61938329 100644
--- a/src/pages/processCenter/pages/creatProcess/zdrzbzORzchgxxmsc/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/zdrzbzORzchgxxmsc/step1.vue
@@ -29,6 +29,7 @@
-
-
-
{
- if (res && res.data) {
- const bringData = res.data
-
- const json = Object.assign(bringData, bringData.attrInfoMap);
- this.form = JSON.parse(JSON.stringify(json))
- this.form.TGRLAWS = JSON.parse(JSON.stringify(json)).TGRLAWS && JSON.parse(JSON.stringify(json)).TGRLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGRLAWS.split(',') : []
- this.form.TGDWLAWS = JSON.parse(JSON.stringify(json)).TGDWLAWS && JSON.parse(JSON.stringify(json)).TGDWLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGDWLAWS.split(',') : []
- this.form.NYLXLAWS = JSON.parse(JSON.stringify(json)).NYLXLAWS && JSON.parse(JSON.stringify(json)).NYLXLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).NYLXLAWS.split(',') : []
- this.form.YYRZLAWS = JSON.parse(JSON.stringify(json)).YYRZLAWS && JSON.parse(JSON.stringify(json)).YYRZLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).YYRZLAWS.split(',') : []
- this.form.ZRBMLAWS = JSON.parse(JSON.stringify(json)).ZRBMLAWS && JSON.parse(JSON.stringify(json)).ZRBMLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRBMLAWS.split(',') : []
- this.form.ZRGCSLAWS = JSON.parse(JSON.stringify(json)).ZRGCSLAWS && JSON.parse(JSON.stringify(json)).ZRGCSLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRGCSLAWS.split(',') : []
- this.form.prcNum = this.prcNum
- this.form.prcName = this.prcName
- this.form['id'] = bringData.id
- this.standardDrawer = false
- this.verifySarStandard = true
- this.busVsFunc()
- this.modelFunc()
- this.$forceUpdate()
- }
- // 遍历对象初始化文件信息
- for (const p in this.form) {
- if (typeof (this.form[p]) != "function") {
- this.initializeFileList(p, this.form[p]);
- }
- }
- console.log("res", res);
- })
-
- } else if (this.standardCheckedList.length > 1) {
- this.$message.warning('最多可以带入一条政策信息')
+ if (this.standardCheckedList && this.standardCheckedList.length >= 1) {
+ console.log('504',this.standardCheckedList)
+ this.infoTableDatas = this.standardCheckedList
+ console.log('505',this.infoTableDatas)
+ this.standardDrawer = false
} else {
- this.$message.warning('请选择要带入的政策信息')
+ this.$message.warning('请选择要带入的数据')
}
break
// 取消
@@ -589,9 +550,11 @@ export default {
this.$http.get('sarIssueTrack/issueTrack', this.standardSearchForm, {_this: this}, res => {
this.loadSarStandard = false
if (res.ok) {
- this.standardSearchForm.page = 1
this.tableData.standardData = res.data.records
this.standardSearchForm.total = res.data.total
+ if ((this.tableData.standardData.length === 0 || this.tableData.standardData === []) && this.standardSearchForm.page !== 1) {
+ this.handleStandardPageChange(1)
+ }
}
}, e => {
this.loadSarStandard = false