合并分支 'master' 到 'dev_third_stage'
Master 查看合并请求 laws-nio/laws-weilai!148
This commit is contained in:
@@ -680,8 +680,9 @@
|
||||
uploadFileChangeDown
|
||||
},
|
||||
mounted() {
|
||||
console.log(this.detailDate)
|
||||
this.detailDate.list.forEach((item) => {
|
||||
if (item.type === 'pull_more') {
|
||||
if (item.type === 'pull_more' && !item.dataValue) {
|
||||
item.dataValue = []
|
||||
}
|
||||
// this.detailDatetransformation.push(item)
|
||||
@@ -737,11 +738,11 @@
|
||||
},
|
||||
watch: {
|
||||
detailDate(newold, oldold) {
|
||||
console.log(newold, oldold, 'll')
|
||||
// console.log(newold, oldold, 'll')
|
||||
},
|
||||
formInline: {
|
||||
handler(newOld, oldval) {
|
||||
console.log(newOld, oldval, 'll')
|
||||
// console.log(newOld, oldval, 'll')
|
||||
},
|
||||
deep: true
|
||||
}
|
||||
|
||||
@@ -220,10 +220,10 @@
|
||||
type: Object,
|
||||
default: true
|
||||
},
|
||||
queryParamQuery: {
|
||||
type: Object,
|
||||
default: true
|
||||
},
|
||||
// queryParamQuery: {
|
||||
// type: Object,
|
||||
// default: true
|
||||
// },
|
||||
currentPersonRole: {
|
||||
type: String,
|
||||
default: true
|
||||
@@ -649,7 +649,6 @@
|
||||
}
|
||||
})
|
||||
this.columns = [...this.columns]
|
||||
console.log(this.columns)
|
||||
}
|
||||
})
|
||||
},
|
||||
@@ -726,9 +725,6 @@
|
||||
this.selectedRowKeys = []
|
||||
},
|
||||
getTableList(currentPersonRole) {
|
||||
console.log(currentPersonRole)
|
||||
console.log(this.queryParamQuery)
|
||||
// todo
|
||||
let paramsManifestid
|
||||
let url
|
||||
if (this.$route.query.it === undefined) {
|
||||
@@ -752,7 +748,6 @@
|
||||
this.loading = true
|
||||
getAction(url, params).then((res) => {
|
||||
if (res.success) {
|
||||
// todo
|
||||
// console.log(res.result,'res.result')
|
||||
// let tt = []
|
||||
// this.dataSource = []
|
||||
@@ -771,13 +766,14 @@
|
||||
// })
|
||||
let tt = []
|
||||
if (this.currentPersonRole !== 'dre') {
|
||||
console.log(res.result.records,'res.result.records')
|
||||
res.result.records.forEach((Obj) => {
|
||||
Object.keys(Obj).forEach((item) => {
|
||||
if (Obj[item] instanceof Object && Obj[item].controlType !== undefined) {
|
||||
Obj[item].list.forEach((itemLi) => {
|
||||
itemLi.isLock = 1
|
||||
if (itemLi.type === 'pull_more') {
|
||||
itemLi.dataValue = itemLi.dataValue === null ? [] : itemLi.dataValue.split(',')
|
||||
itemLi.dataValue = !itemLi.dataValue ? [] : itemLi.dataValue.split(',')
|
||||
}
|
||||
})
|
||||
}
|
||||
@@ -790,7 +786,7 @@
|
||||
if (Obj[item] instanceof Object && Obj[item].controlType !== undefined) {
|
||||
Obj[item].list.forEach((itemLi) => {
|
||||
if (itemLi.type === 'pull_more') {
|
||||
itemLi.dataValue = itemLi.dataValue === null ? [] : itemLi.dataValue.split(',')
|
||||
itemLi.dataValue = !itemLi.dataValue ? [] : itemLi.dataValue.split(',')
|
||||
}
|
||||
})
|
||||
}
|
||||
@@ -798,7 +794,7 @@
|
||||
tt.push(Obj)
|
||||
})
|
||||
}
|
||||
this.dataSource = tt
|
||||
this.dataSource = JSON.parse(JSON.stringify(tt))
|
||||
this.total = res.result.total
|
||||
this.selectedRowKeys = []
|
||||
this.selectedRowrowValue = []
|
||||
|
||||
@@ -62,7 +62,7 @@ import { mapGetters } from 'vuex'
|
||||
}
|
||||
},
|
||||
created() {
|
||||
console.log(this.detailDate, 'detailDate')
|
||||
// console.log(this.detailDate, 'detailDate')
|
||||
// this.detailDate.list.forEach((item) => {
|
||||
// if (item.type == 'file' && item.isLock == '1') {
|
||||
// this.disabled = true
|
||||
|
||||
@@ -168,7 +168,8 @@
|
||||
{{$t('Adjustareasofresponsibility')}}
|
||||
</div>
|
||||
</template>
|
||||
<div class="operator-text" style="position: relative " @click='morepop' v-if='currentPersonRole == "homo" || currentPersonRole == "sdt"'>
|
||||
<!-- @click='morepop'-->
|
||||
<div class="operator-text" style="position: relative " v-if='currentPersonRole == "homo" || currentPersonRole == "sdt"'>
|
||||
<span style="position: absolute;left: -13px;top: -4px">...</span>{{ $t('more') }}
|
||||
</div>
|
||||
</a-popconfirm>
|
||||
@@ -226,8 +227,9 @@
|
||||
</div>
|
||||
<div style="width: 100%">
|
||||
<!-- 表格-10控件-->
|
||||
<!-- :queryParamQuery='queryParamQuery'-->
|
||||
<table-collection ref="CollectionTabel" :url='url' :paramsManifest='paramsManifest' @rowValue='rowValue'
|
||||
:formInline='formInline' :queryParamQuery='queryParamQuery' :currentPersonRole='currentPersonRole'
|
||||
:formInline='formInline' :currentPersonRole='currentPersonRole'
|
||||
@getDataSource="getDataSource"
|
||||
@handlePreservation="handlePreservation"
|
||||
@value='value'
|
||||
|
||||
Reference in New Issue
Block a user