修改项目库参数收集责任领域

This commit is contained in:
范强强
2023-08-04 09:34:34 +08:00
parent f19f387c90
commit ad5606699c
@@ -710,7 +710,7 @@
this.dataSourcehistory = res.result.records this.dataSourcehistory = res.result.records
if (this.dataSourcehistory && this.dataSourcehistory.length > 0) { if (this.dataSourcehistory && this.dataSourcehistory.length > 0) {
this.dataSourcehistory.forEach(val => { this.dataSourcehistory.forEach(val => {
val.logContent = val.logContent.replace(/\"/g,"<span class='textData'>\"</span>") val.logContent = val.logContent.replace(/\"/g, '<span class=\'textData\'>"</span>')
}) })
} }
this.total = res.result.total this.total = res.result.total
@@ -812,7 +812,7 @@
customRender: 'detailClick', customRender: 'detailClick',
title: 'titleName' + num title: 'titleName' + num
} }
console.log( this.content," this.content this.content this.content this.content this.content") console.log(this.content, ' this.content this.content this.content this.content this.content')
// 非配置列 // 非配置列
} else { } else {
this.columns.push({ this.columns.push({
@@ -913,7 +913,7 @@
customRender: 'detailClick', customRender: 'detailClick',
title: 'titleName' + num title: 'titleName' + num
} }
console.log( this.content," this.content this.content this.content this.content this.content") console.log(this.content, ' this.content this.content this.content this.content this.content')
// 非配置列 // 非配置列
} else { } else {
this.columns.push({ this.columns.push({
@@ -1017,8 +1017,7 @@
if (Obj[item] instanceof Object && Obj[item].controlType !== undefined) { if (Obj[item] instanceof Object && Obj[item].controlType !== undefined) {
for (const key in Obj[item].paramsConfigData) { for (const key in Obj[item].paramsConfigData) {
Obj[item].paramsConfigData[key].forEach((itemLi) => Obj[item].paramsConfigData[key].forEach((itemLi) => {
{
itemLi.isLock = 1 itemLi.isLock = 1
if (itemLi.type === 'pull_more') { if (itemLi.type === 'pull_more') {
@@ -1103,6 +1102,12 @@
paramsManifestid = this.$route.query.it paramsManifestid = this.$route.query.it
url = 'params/collectManifestHistory/list' url = 'params/collectManifestHistory/list'
} }
let formInline = JSON.parse(JSON.stringify(this.formInline))
Object.keys(formInline).forEach(res => {
if (formInline[res] && formInline[res] instanceof Array) {
formInline[res] = formInline[res].join(',')
}
})
let params = { let params = {
pageNo: this.pageNo, pageNo: this.pageNo,
pageSize: this.pageSize, pageSize: this.pageSize,
@@ -1110,7 +1115,7 @@
paramsManifestId: paramsManifestid, paramsManifestId: paramsManifestid,
orderBy: this.orderBy, orderBy: this.orderBy,
orderByField: this.orderByField, orderByField: this.orderByField,
...this.formInline, ...formInline,
...currentPersonRole, ...currentPersonRole,
...this.queryParamQuery ...this.queryParamQuery
} }
@@ -1244,17 +1249,20 @@
.table .ant-table-column-title { .table .ant-table-column-title {
font-weight: bold; font-weight: bold;
} }
.textData { .textData {
font-family: cursive; font-family: cursive;
} }
</style> </style>
<style scoped lang="less"> <style scoped lang="less">
@import '~@assets/less/common.less'; @import '~@assets/less/common.less';
.box { .box {
width: 100%; width: 100%;
height: calc(100% - 100px); height: calc(100% - 100px);
overflow: auto; overflow: auto;
} }
.text { .text {
margin-right: 10px; margin-right: 10px;
} }