认证清单--分页展示数量

This commit is contained in:
范强强
2023-03-24 17:46:10 +08:00
parent ed22c26c0a
commit 71748c477d
4 changed files with 16 additions and 2 deletions
@@ -902,6 +902,7 @@
// }) // })
// this.detailDatetransformation.push(item) // this.detailDatetransformation.push(item)
}) })
console.log(this.detailDate)
console.log(this.detailDateList, 'oooooo') console.log(this.detailDateList, 'oooooo')
}, },
methods: { methods: {
@@ -931,6 +931,10 @@
if (itemLi.type === 'pull_more') { if (itemLi.type === 'pull_more') {
itemLi.dataValue = itemLi.dataValue === null ? [] : itemLi.dataValue.split(',') itemLi.dataValue = itemLi.dataValue === null ? [] : itemLi.dataValue.split(',')
} }
if (Obj.state == '已同步至上报库' || Obj.state == 'Synced to library'){
Obj[item].referencesColFlag = '1'
itemLi.isLock = '1'
}
}) })
} }
// Obj[item].list.forEach((itemLi) => { // Obj[item].list.forEach((itemLi) => {
@@ -1025,6 +1029,7 @@
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) => {
console.log(item) console.log(item)
console.log(this.currentPersonRole)
if((this.currentPersonRole == 'homo' || this.currentPersonRole == 'admin') && item == 'referencesCol'){ if((this.currentPersonRole == 'homo' || this.currentPersonRole == 'admin') && item == 'referencesCol'){
itemLi.isLock = 0 itemLi.isLock = 0
}else{ }else{
@@ -1060,6 +1065,10 @@
if (itemLi.type === 'pull_more') { if (itemLi.type === 'pull_more') {
itemLi.dataValue = !itemLi.dataValue ? [] : itemLi.dataValue.split(',') itemLi.dataValue = !itemLi.dataValue ? [] : itemLi.dataValue.split(',')
} }
if (Obj.state == '已同步至上报库' || Obj.state == 'Synced to library'){
itemLi.isLock = '1'
Obj[item].referencesColFlag = '1'
}
}) })
} }
// Obj[item].list.forEach((itemLi) => { // Obj[item].list.forEach((itemLi) => {
@@ -18,7 +18,7 @@
</div> </div>
<a-form-model-item class="itemModel"> <a-form-model-item class="itemModel">
<a-input class="box-input" <a-input class="box-input"
v-model="formInline.configItem" v-model.trim="formInline.configItem"
:placeholder="$t('PleaseEnter')+$t('configurationItem')"/> :placeholder="$t('PleaseEnter')+$t('configurationItem')"/>
<!-- <j-dict-select-tag class="box-input" v-model="formInline.configItem"--> <!-- <j-dict-select-tag class="box-input" v-model="formInline.configItem"-->
@@ -226,6 +226,9 @@
} else { } else {
url = this.url.setBatch url = this.url.setBatch
} }
if (!query.configItem){
query.configItem = undefined
}
postAction(url, query).then((res) => { postAction(url, query).then((res) => {
if (res.success) { if (res.success) {
this.$message.success(this.$t('OperationSuccessful')) this.$message.success(this.$t('OperationSuccessful'))
@@ -383,6 +383,7 @@
show-size-changer show-size-changer
:page-size.sync="pageSize" :page-size.sync="pageSize"
:total="total" :total="total"
:pageSizeOptions="['50','100','200','300']"
:current="pageNo" :current="pageNo"
@change="onChange" @change="onChange"
@showSizeChange="SizeChange" @showSizeChange="SizeChange"
@@ -510,7 +511,7 @@
return { return {
queryParam: {}, queryParam: {},
pageNo: 1, pageNo: 1,
pageSize: 10, pageSize: 50,
total: 0, total: 0,
CertificationColor: { CertificationColor: {
'Test passed': 'accordColor', 'Test passed': 'accordColor',