上报库自定义表头修改
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user