Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
zhaokaiyao@91isoft.com
2021-08-06 17:49:05 +08:00
10 changed files with 21 additions and 17 deletions
@@ -190,7 +190,7 @@
<p>点击或拖拽上传文件</p> <p>点击或拖拽上传文件</p>
</div> </div>
</el-upload> </el-upload>
<el-progress style="width: 380px; margin-top: 5px;" v-show="progressType" :percentage="loadProgress"></el-progress> <!-- <el-progress style="width: 380px; margin-top: 5px;" v-show="progressType" :percentage="loadProgress"></el-progress>-->
</el-dialog> </el-dialog>
</div> </div>
</template> </template>
@@ -329,7 +329,7 @@
this.form.title = data.title this.form.title = data.title
this.form.date = data.date this.form.date = data.date
this.json = data this.json = data
this.tableData = data.responUserListMap this.tableData = data.responUserList
this.form.hzfileId = data.hzfileId this.form.hzfileId = data.hzfileId
this.form.hzfileName = data.hzfileName this.form.hzfileName = data.hzfileName
}).catch(e => { }).catch(e => {
@@ -344,7 +344,7 @@
this.form.title = data.title this.form.title = data.title
this.form.date = data.date this.form.date = data.date
this.json = data this.json = data
this.tableData = data.responUserListMap this.tableData = data.responUserList
this.form.hzfileName = data.hzfileName this.form.hzfileName = data.hzfileName
this.form.hzfileId = data.hzfileId this.form.hzfileId = data.hzfileId
}).catch(e => { }).catch(e => {
@@ -344,7 +344,7 @@
this.form.title = data.title this.form.title = data.title
this.form.date = data.date this.form.date = data.date
this.json = data this.json = data
this.tableData = data.responUserListMap this.tableData = data.responUserList
this.form.hzfileName = data.hzfileName this.form.hzfileName = data.hzfileName
this.form.hzfileId = data.hzfileId this.form.hzfileId = data.hzfileId
}).catch(e => { }).catch(e => {
@@ -344,7 +344,7 @@
this.form.title = data.title this.form.title = data.title
this.form.date = data.date this.form.date = data.date
this.json = data this.json = data
this.tableData = data.responUserListMap this.tableData = data.responUserList
this.form.hzfileName = data.hzfileName this.form.hzfileName = data.hzfileName
this.form.hzfileId = data.hzfileId this.form.hzfileId = data.hzfileId
}).catch(e => { }).catch(e => {
@@ -344,7 +344,7 @@
this.form.title = data.title this.form.title = data.title
this.form.date = data.date this.form.date = data.date
this.json = data this.json = data
this.tableData = data.responUserListMap this.tableData = data.responUserList
this.form.hzfileName = data.hzfileName this.form.hzfileName = data.hzfileName
this.form.hzfileId = data.hzfileId this.form.hzfileId = data.hzfileId
}).catch(e => { }).catch(e => {
@@ -597,13 +597,13 @@
// this.form.itemsNum = bringData[0].showNumber // this.form.itemsNum = bringData[0].showNumber
// this.form.itemsName = bringData[0].standName // this.form.itemsName = bringData[0].standName
// } // }
this.form.standId = bringData[0].id this.form.standId = bringData[0].standId
this.sarType = bringData[0].standType this.sarType = bringData[0].standType
this.standId = bringData[0].standId this.standId = bringData[0].standId
this.listModel = false; this.listModel = false;
this.listModel2 = true this.listModel2 = true
this.$http.get('lawss/sarFileSplitItems/getSplitItemsByPage', { this.$http.get('lawss/sarFileSplitItems/getSplitItemsByPage', {
infoId: this.form.standId, infoId: bringData[0].id,
page: 1, page: 1,
pageSize: 9999 pageSize: 9999
}, { }, {
@@ -602,13 +602,13 @@
// this.form.itemsNum = bringData[0].showNumber // this.form.itemsNum = bringData[0].showNumber
// this.form.itemsName = bringData[0].standName // this.form.itemsName = bringData[0].standName
// } // }
this.form.standId = bringData[0].id this.form.standId = bringData[0].standId
this.sarType = bringData[0].standType this.sarType = bringData[0].standType
this.standId = bringData[0].standId this.standId = bringData[0].standId
this.listModel = false; this.listModel = false;
this.listModel2 = true this.listModel2 = true
this.$http.get('lawss/sarFileSplitItems/getSplitItemsByPage', { this.$http.get('lawss/sarFileSplitItems/getSplitItemsByPage', {
infoId: this.form.standId, infoId: bringData[0].id,
page: 1, page: 1,
pageSize: 9999 pageSize: 9999
}, { }, {
@@ -281,6 +281,7 @@ export default {
cid: '', // 编号 cid: '', // 编号
endTime: '', // 结束日期 endTime: '', // 结束日期
cname: '', // 名称 cname: '', // 名称
standType: '',
}, },
formRules: { formRules: {
cid: [ cid: [
@@ -454,6 +455,7 @@ export default {
} else { } else {
this.form.cid = bringData[0].standSortShow + '-' + bringData[0].standNumber this.form.cid = bringData[0].standSortShow + '-' + bringData[0].standNumber
} }
this.form.standType = bringData[0].standType
this.form.cname = bringData[0].standName; this.form.cname = bringData[0].standName;
this.listModel = false; this.listModel = false;
} else if (this.selectedList.length > 1) { } else if (this.selectedList.length > 1) {
@@ -429,17 +429,19 @@ export default {
}, },
checkedRole (data) { checkedRole (data) {
if (this.type === 1) { if (this.type === 1) {
this.dataList[this.zrIndex].liablePeopleId = data[0].id const newRow = JSON.parse(JSON.stringify(this.dataList[this.zrIndex]))
this.dataList[this.zrIndex].liablePeople = data[0].name newRow.liablePeopleId = data[0].id
this.$forceUpdate() newRow.liablePeople = data[0].name
this.$set(this.dataList, this.zrIndex, newRow)
} else if(this.type === 2) { } else if(this.type === 2) {
this.dataList.forEach( item => { this.dataList.forEach((item, index) => {
this.selectList.forEach( items => { this.selectList.forEach( items => {
if (item.standId === items.standId) { if (item.standId === items.standId) {
item.liablePeopleId = data[0].id const newRow = JSON.parse(JSON.stringify(item))
item.liablePeople = data[0].name newRow.liablePeopleId = data[0].id
newRow.liablePeople = data[0].name
this.$set(this.dataList, index, newRow)
} }
this.$forceUpdate()
}) })
}) })
} }