修改法规清单筛选法规工程师时,按项目相关人员内信息筛选
This commit is contained in:
@@ -347,22 +347,22 @@
|
|||||||
:title="text">{{text}}</a>
|
:title="text">{{text}}</a>
|
||||||
</span>
|
</span>
|
||||||
</a-table>
|
</a-table>
|
||||||
<!-- <div class="page" v-if="dataSource.length > 0">-->
|
<!-- <div class="page" v-if="dataSource.length > 0">-->
|
||||||
<!-- <a-pagination-->
|
<!-- <a-pagination-->
|
||||||
<!-- :show-total="total => $t('total')+` ${total} `+$t('strip')"-->
|
<!-- :show-total="total => $t('total')+` ${total} `+$t('strip')"-->
|
||||||
<!-- show-quick-jumper-->
|
<!-- show-quick-jumper-->
|
||||||
<!-- show-size-changer-->
|
<!-- show-size-changer-->
|
||||||
<!-- :page-size.sync="pageSize"-->
|
<!-- :page-size.sync="pageSize"-->
|
||||||
<!-- :total="total"-->
|
<!-- :total="total"-->
|
||||||
<!-- :pageSizeOptions="['50','100','200','300']"-->
|
<!-- :pageSizeOptions="['50','100','200','300']"-->
|
||||||
<!-- :current="pageNo"-->
|
<!-- :current="pageNo"-->
|
||||||
<!-- @change="onChangeSize"-->
|
<!-- @change="onChangeSize"-->
|
||||||
<!-- @showSizeChange="SizeChange"-->
|
<!-- @showSizeChange="SizeChange"-->
|
||||||
<!-- />-->
|
<!-- />-->
|
||||||
<!-- </div>-->
|
<!-- </div>-->
|
||||||
<div class="buttom-box" v-if="dataSource && dataSource.length > 0">
|
<div class="buttom-box" v-if="dataSource && dataSource.length > 0">
|
||||||
{{ $t('total') + ' ' + this.dataSource.length + ' ' + $t('strip') }}
|
{{ $t('total') + ' ' + this.dataSource.length + ' ' + $t('strip') }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<listAddModel :url="url" @addModelList="addModelList" ref="addModelRef"/>
|
<listAddModel :url="url" @addModelList="addModelList" ref="addModelRef"/>
|
||||||
<listEditModel :url="url" @editModelList="addModelList" ref="editModelRef"/>
|
<listEditModel :url="url" @editModelList="addModelList" ref="editModelRef"/>
|
||||||
@@ -1127,12 +1127,6 @@
|
|||||||
text: this.$t('areaOfResponsibility'),
|
text: this.$t('areaOfResponsibility'),
|
||||||
dictCode: 'duty_territory'//只要 dictCode 有值,无论 type 是什么,都显示为字典下拉框
|
dictCode: 'duty_territory'//只要 dictCode 有值,无论 type 是什么,都显示为字典下拉框
|
||||||
},
|
},
|
||||||
{
|
|
||||||
type: 'Personnel',
|
|
||||||
value: 'regulationOwnerId',
|
|
||||||
valueName: 'regulationOwnerIdName',
|
|
||||||
text: this.$t('regulatoryEngineer')
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
type: 'Personnel',
|
type: 'Personnel',
|
||||||
value: 'engineeringInterfacePerson',
|
value: 'engineeringInterfacePerson',
|
||||||
@@ -1318,6 +1312,7 @@
|
|||||||
mounted() {
|
mounted() {
|
||||||
this.JLoading = true
|
this.JLoading = true
|
||||||
this.getHeader()
|
this.getHeader()
|
||||||
|
this.queryLawEngineerByProjectId()
|
||||||
this.getRoleByUserId(() => {
|
this.getRoleByUserId(() => {
|
||||||
this.getAndUserId()
|
this.getAndUserId()
|
||||||
})
|
})
|
||||||
@@ -1366,7 +1361,32 @@
|
|||||||
handleToggleSearch() {
|
handleToggleSearch() {
|
||||||
this.toggleSearchStatus = !this.toggleSearchStatus
|
this.toggleSearchStatus = !this.toggleSearchStatus
|
||||||
},
|
},
|
||||||
|
queryLawEngineerByProjectId() {
|
||||||
|
let query = {
|
||||||
|
projectLibraryId: this.$route.query.id
|
||||||
|
}
|
||||||
|
getAction('/project/projectRelatedPersonnel/queryLawEngineerByProjectId', query).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
|
let regulatoryEngineer = {
|
||||||
|
value: 'regulationOwnerId',
|
||||||
|
text: this.$t('regulatoryEngineer'),
|
||||||
|
options:[],
|
||||||
|
}
|
||||||
|
if (res.result && res.result.length > 0){
|
||||||
|
res.result.forEach(val=>{
|
||||||
|
regulatoryEngineer.options.push({
|
||||||
|
value: val.id,
|
||||||
|
key: val.id,
|
||||||
|
label: val.userName
|
||||||
|
})
|
||||||
|
})
|
||||||
|
}
|
||||||
|
this.fieldList.push(regulatoryEngineer)
|
||||||
|
} else {
|
||||||
|
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
//流程状态点击事件
|
//流程状态点击事件
|
||||||
designFlowStatusClick(row, name) {
|
designFlowStatusClick(row, name) {
|
||||||
let query = {}
|
let query = {}
|
||||||
@@ -2081,7 +2101,7 @@
|
|||||||
projectLibraryId: this.$route.query.id,
|
projectLibraryId: this.$route.query.id,
|
||||||
orderBy: this.orderBy,
|
orderBy: this.orderBy,
|
||||||
orderByField: this.orderByField,
|
orderByField: this.orderByField,
|
||||||
roleCode: roleCode,
|
roleCode: roleCode
|
||||||
// pageNo: this.pageNo,
|
// pageNo: this.pageNo,
|
||||||
// pageSize: this.pageSize
|
// pageSize: this.pageSize
|
||||||
}
|
}
|
||||||
@@ -3029,15 +3049,17 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
::v-deep .page .ant-select-selection__rendered {
|
::v-deep .page .ant-select-selection__rendered {
|
||||||
height: 32px!important;
|
height: 32px !important;
|
||||||
line-height: 32px!important;
|
line-height: 32px !important;
|
||||||
}
|
}
|
||||||
::v-deep .ant-table-thead > tr > th[colspan]:not([colspan='1']){
|
|
||||||
|
::v-deep .ant-table-thead > tr > th[colspan]:not([colspan='1']) {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
padding-left: 16px!important;
|
padding-left: 16px !important;
|
||||||
}
|
}
|
||||||
.operator-text-title:last-child{
|
|
||||||
margin-bottom: 0;
|
.operator-text-title:last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<style lang="less">
|
<style lang="less">
|
||||||
|
|||||||
Reference in New Issue
Block a user