Merge remote-tracking branch 'origin/dev_2nd_LCYH' into dev_2nd_LCYH

This commit is contained in:
wangzhijiang
2023-04-04 13:59:47 +08:00
3 changed files with 19 additions and 14 deletions
@@ -144,8 +144,8 @@
</a-select> </a-select>
</div> </div>
</div> </div>
</a-form-model-item> </a-form-model-item>
</div> </div>
@@ -285,9 +285,10 @@ export default {
} }
}) })
} else {
this.form.bapc = undefined
} }
// else {
// this.form.bapc = undefined
// }
}) })
}, },
@@ -353,8 +354,8 @@ export default {
}, },
changeId(value, option) { changeId(value, option) {
this.$nextTick(() => { this.$nextTick(() => {
// this.form = { ...this.form } this.form = { ...this.form }
this.$refs.ruleForm.validateField('bapc') this.$refs.ruleForm.clearValidate('bapc')
}) })
this.selectListPc.map(item => { this.selectListPc.map(item => {
if (item.id == value) { if (item.id == value) {
@@ -133,7 +133,7 @@
<!-- // R&H Manager manager--> <!-- // R&H Manager manager-->
<!-- // 系统管理员 admin--> <!-- // 系统管理员 admin-->
<!-- // 游客 guest--> <!-- // 游客 guest-->
<a-popconfirm overlayClassName='popconfirm' placement="bottomRight" v-if='currentPersonRole == "homo"'> <a-popconfirm overlayClassName='popconfirmIndex' placement="bottomRight" v-if='currentPersonRole == "homo"'>
<template slot="title" id="popconfirm"> <template slot="title" id="popconfirm">
<!-- 添加--> <!-- 添加-->
<div @click="handleAdd" class="operator-text-title" v-if='currentPersonRole == "homo"'> <div @click="handleAdd" class="operator-text-title" v-if='currentPersonRole == "homo"'>
@@ -269,7 +269,7 @@
{{$t('CompulsoryWithdrawal')}} {{$t('CompulsoryWithdrawal')}}
</div> </div>
<!-- 列表设置--> <!-- 列表设置-->
<a-popconfirm :visible="customizevisible" overlayClassName="popconfirm" <a-popconfirm :visible="customizevisible" overlayClassName="popconfirmIndex"
placement="bottomRight" v-if="!this.$route.query.it"> placement="bottomRight" v-if="!this.$route.query.it">
<template slot="title" id="popconfirmmize"> <template slot="title" id="popconfirmmize">
<div style="max-height:360px;overflow:scroll;overflow-x: auto;width: 188px"> <div style="max-height:360px;overflow:scroll;overflow-x: auto;width: 188px">
@@ -2360,15 +2360,15 @@
} }
</script> </script>
<style lang="less"> <style lang="less">
.popconfirm { .popconfirmIndex {
z-index: 999; z-index: 999;
} }
.popconfirm .ant-popover-buttons { .popconfirmIndex .ant-popover-buttons {
display: none !important; display: none !important;
} }
.popconfirm .anticon-exclamation-circle { .popconfirmIndex .anticon-exclamation-circle {
display: none !important; display: none !important;
} }
::v-deep .ant-table-fixed-header .ant-table-body-inner { ::v-deep .ant-table-fixed-header .ant-table-body-inner {
@@ -2643,7 +2643,7 @@
} }
</style> </style>
<style lang='less'> <style lang='less'>
.ant-popover-message-title { .popconfirmIndex .ant-popover-message-title {
margin-bottom: 50px; margin-bottom: 50px;
} }
</style> </style>
@@ -53,7 +53,7 @@
ref="table" ref="table"
:loading="loading" :loading="loading"
:pagination="false" :pagination="false"
:scroll="{x: true}" :scroll="{x: '100%'}"
rowKey="id" rowKey="id"
:data-source="dataSource" :data-source="dataSource"
:row-selection="{ selectedRowKeys: selectedRowKeys}" :row-selection="{ selectedRowKeys: selectedRowKeys}"
@@ -172,6 +172,7 @@
width: 180, width: 180,
fixed: 'left', fixed: 'left',
sorter: true, sorter: true,
ellipsis: true,
scopedSlots: { customRender: 'standard' } scopedSlots: { customRender: 'standard' }
}, },
{ {
@@ -180,6 +181,7 @@
dataIndex: 'title', dataIndex: 'title',
width: 180, width: 180,
fixed: 'left', fixed: 'left',
ellipsis: true,
scopedSlots: { customRender: 'titleName' } scopedSlots: { customRender: 'titleName' }
}, },
{ {
@@ -584,7 +586,9 @@
<style lang="less" scoped> <style lang="less" scoped>
@import '~@assets/less/common.less'; @import '~@assets/less/common.less';
::v-deep .ant-table-fixed-left table, .ant-table-fixed-right table{
width: min-content;
}
.doc-detail { .doc-detail {
background: #fff; background: #fff;
height: 100%; height: 100%;