上报库自定义表头修改

This commit is contained in:
zyx.net
2023-04-07 14:00:14 +08:00
parent 043a5e09b8
commit 43e39f810d
2 changed files with 17 additions and 7 deletions
@@ -587,7 +587,10 @@
this.content = []
let checkedList = []
jsonHead.forEach((res, index) => {
checkedList.push(res.dataIndex)
if(res.headFieldCn == '操作'){
res.field = 'operation'
}
checkedList.push(res.field)
// 配置列
if (res.type) {
this.columns.push({
@@ -674,7 +677,10 @@
this.content = []
let checkedList = []
jsonHead.forEach((res, index) => {
checkedList.push(res.dataIndex)
if(res.headFieldCn == '操作'){
res.field = 'operation'
}
checkedList.push(res.field)
// 配置列
if (res.type) {
this.columns.push({
@@ -389,15 +389,14 @@
getcustomizeList(item){
let params = {
paramsManifestId: this.$route.query.id,
projectName:this.$route.query.projectName,
flag: '7'
flag: '8'
}
getAction('params/collectManifest/getHeader', params).then((res) => {
getAction('report/detail/getHeader', params).then((res) => {
if (res.success) {
let List = []
let sList = []
res.result.forEach((item,index) => {
if(!item.isLock){
if(!item.type){
if(item.headFieldCn == '操作'){
item.field = 'operation'
item.disabled = true
@@ -406,7 +405,7 @@
}
List.push(item)
}
if(item.isLock) {
if(item.type) {
sList.push(item)
}
})
@@ -929,4 +928,9 @@ popconfirmmize {
::v-deep .ant-popover-buttons {
display: none !important;
}
</style>
<style lang='less'>
.popconfirm .ant-popover-message-title {
margin-bottom: 50px;
}
</style>