上报库自定义表头修改
This commit is contained in:
@@ -587,7 +587,10 @@
|
|||||||
this.content = []
|
this.content = []
|
||||||
let checkedList = []
|
let checkedList = []
|
||||||
jsonHead.forEach((res, index) => {
|
jsonHead.forEach((res, index) => {
|
||||||
checkedList.push(res.dataIndex)
|
if(res.headFieldCn == '操作'){
|
||||||
|
res.field = 'operation'
|
||||||
|
}
|
||||||
|
checkedList.push(res.field)
|
||||||
// 配置列
|
// 配置列
|
||||||
if (res.type) {
|
if (res.type) {
|
||||||
this.columns.push({
|
this.columns.push({
|
||||||
@@ -674,7 +677,10 @@
|
|||||||
this.content = []
|
this.content = []
|
||||||
let checkedList = []
|
let checkedList = []
|
||||||
jsonHead.forEach((res, index) => {
|
jsonHead.forEach((res, index) => {
|
||||||
checkedList.push(res.dataIndex)
|
if(res.headFieldCn == '操作'){
|
||||||
|
res.field = 'operation'
|
||||||
|
}
|
||||||
|
checkedList.push(res.field)
|
||||||
// 配置列
|
// 配置列
|
||||||
if (res.type) {
|
if (res.type) {
|
||||||
this.columns.push({
|
this.columns.push({
|
||||||
|
|||||||
@@ -389,15 +389,14 @@
|
|||||||
getcustomizeList(item){
|
getcustomizeList(item){
|
||||||
let params = {
|
let params = {
|
||||||
paramsManifestId: this.$route.query.id,
|
paramsManifestId: this.$route.query.id,
|
||||||
projectName:this.$route.query.projectName,
|
flag: '8'
|
||||||
flag: '7'
|
|
||||||
}
|
}
|
||||||
getAction('params/collectManifest/getHeader', params).then((res) => {
|
getAction('report/detail/getHeader', params).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
let List = []
|
let List = []
|
||||||
let sList = []
|
let sList = []
|
||||||
res.result.forEach((item,index) => {
|
res.result.forEach((item,index) => {
|
||||||
if(!item.isLock){
|
if(!item.type){
|
||||||
if(item.headFieldCn == '操作'){
|
if(item.headFieldCn == '操作'){
|
||||||
item.field = 'operation'
|
item.field = 'operation'
|
||||||
item.disabled = true
|
item.disabled = true
|
||||||
@@ -406,7 +405,7 @@
|
|||||||
}
|
}
|
||||||
List.push(item)
|
List.push(item)
|
||||||
}
|
}
|
||||||
if(item.isLock) {
|
if(item.type) {
|
||||||
sList.push(item)
|
sList.push(item)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -929,4 +928,9 @@ popconfirmmize {
|
|||||||
::v-deep .ant-popover-buttons {
|
::v-deep .ant-popover-buttons {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
<style lang='less'>
|
||||||
|
.popconfirm .ant-popover-message-title {
|
||||||
|
margin-bottom: 50px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
Reference in New Issue
Block a user