Merge remote-tracking branch 'origin/dev_2nd_LCYH' into dev_2nd_LCYH
This commit is contained in:
@@ -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 = {}
|
||||||
@@ -1474,7 +1494,11 @@
|
|||||||
getAction(this.url.AndUserId, query).then((res) => {
|
getAction(this.url.AndUserId, query).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
// this.isDisplay = true
|
// this.isDisplay = true
|
||||||
|
if (this.$route.query.roleOpen && this.$route.query.roleOpen == 'fggcs'){
|
||||||
|
this.formInlineRoleSwitching.roleSwitchingCode = '1'
|
||||||
|
}else{
|
||||||
this.formInlineRoleSwitching.roleSwitchingCode = res.result.roleCode
|
this.formInlineRoleSwitching.roleSwitchingCode = res.result.roleCode
|
||||||
|
}
|
||||||
this.AndUserId = res.result.id
|
this.AndUserId = res.result.id
|
||||||
if (this.formInlineRoleSwitching.roleSwitchingCode) {
|
if (this.formInlineRoleSwitching.roleSwitchingCode) {
|
||||||
if (!(this.roleSwitchingList.some(val => val.roleCode == this.formInlineRoleSwitching.roleSwitchingCode))) {
|
if (!(this.roleSwitchingList.some(val => val.roleCode == this.formInlineRoleSwitching.roleSwitchingCode))) {
|
||||||
@@ -2081,7 +2105,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
|
||||||
}
|
}
|
||||||
@@ -3032,10 +3056,12 @@
|
|||||||
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 {
|
.operator-text-title:last-child {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -266,7 +266,8 @@
|
|||||||
projectNameId: row.projectNameId,
|
projectNameId: row.projectNameId,
|
||||||
targetMarket: row.targetMarket,
|
targetMarket: row.targetMarket,
|
||||||
studioEngineer: row.studioEngineer,
|
studioEngineer: row.studioEngineer,
|
||||||
type: '102'
|
type: '102',
|
||||||
|
roleOpen:'fggcs',
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
window.open(newUrl.href, '_blank')
|
window.open(newUrl.href, '_blank')
|
||||||
@@ -279,7 +280,7 @@
|
|||||||
projectNameId: row.projectNameId,
|
projectNameId: row.projectNameId,
|
||||||
targetMarket: row.targetMarket,
|
targetMarket: row.targetMarket,
|
||||||
studioEngineer: row.studioEngineer,
|
studioEngineer: row.studioEngineer,
|
||||||
type: '106'
|
type: '106',
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
window.open(newUrl.href, '_blank')
|
window.open(newUrl.href, '_blank')
|
||||||
|
|||||||
Reference in New Issue
Block a user