对接认证清单引用交付物
This commit is contained in:
@@ -542,6 +542,7 @@
|
|||||||
// this.gData[0].isLeaf = false
|
// this.gData[0].isLeaf = false
|
||||||
this.defaultExpandedKeys = [this.departId]
|
this.defaultExpandedKeys = [this.departId]
|
||||||
if (num == 1) {
|
if (num == 1) {
|
||||||
|
console.log(this.personneQuery)
|
||||||
if (this.userName && this.userName.length == 0) {
|
if (this.userName && this.userName.length == 0) {
|
||||||
if (this.personneQuery[this.query.db_field_name + 'Name']) {
|
if (this.personneQuery[this.query.db_field_name + 'Name']) {
|
||||||
this.userName = this.personneQuery[this.query.db_field_name + 'Name'].split(',')
|
this.userName = this.personneQuery[this.query.db_field_name + 'Name'].split(',')
|
||||||
|
|||||||
+1
-1
@@ -448,6 +448,7 @@
|
|||||||
:query="{db_field_name:'dutyPerson',db_field_txt:$t('personLiable')}"
|
:query="{db_field_name:'dutyPerson',db_field_txt:$t('personLiable')}"
|
||||||
:personneQuery="formInline"
|
:personneQuery="formInline"
|
||||||
:isSingleChoice="true"
|
:isSingleChoice="true"
|
||||||
|
v-if="visible"
|
||||||
@change="PersonnelSelectionChange"
|
@change="PersonnelSelectionChange"
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
v-model="formInline.dutyPersonName"/>
|
v-model="formInline.dutyPersonName"/>
|
||||||
@@ -644,7 +645,6 @@
|
|||||||
this.title = this.$t('edit')
|
this.title = this.$t('edit')
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.formInline = {...this.formInline}
|
this.formInline = {...this.formInline}
|
||||||
console.log(this.formInline)
|
|
||||||
this.$refs.ruleForm.clearValidate()
|
this.$refs.ruleForm.clearValidate()
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -280,7 +280,9 @@
|
|||||||
</a>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
<span slot="DeliverablesResult" slot-scope="text,record,index">
|
<span slot="DeliverablesResult" slot-scope="text,record,index">
|
||||||
<span v-if="record.flowStatus == 'Results to be submitted'">
|
<span v-if="(record.flowStatus == 'Results to be submitted' &&
|
||||||
|
record.dutyPersonName == userInfoQuery.username && roleSwitchingCode == 20) ||
|
||||||
|
record.flowStatus == 'Results to be submitted' && roleSwitchingCode == 21">
|
||||||
<a-button type="primary" class="button-text"
|
<a-button type="primary" class="button-text"
|
||||||
v-if="record.valueType == 'file'"
|
v-if="record.valueType == 'file'"
|
||||||
@click="clickButtonToUpload('deliveryResult',index)">
|
@click="clickButtonToUpload('deliveryResult',index)">
|
||||||
@@ -291,10 +293,12 @@
|
|||||||
<a-input class="box-input-index"
|
<a-input class="box-input-index"
|
||||||
v-else-if="record.valueType == 'text'"
|
v-else-if="record.valueType == 'text'"
|
||||||
:maxLength="200"
|
:maxLength="200"
|
||||||
|
@blur="deliveryBlur"
|
||||||
onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g, '')"
|
onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g, '')"
|
||||||
v-model.trim="record.deliveryResult"
|
v-model.trim="record.deliveryResult"
|
||||||
:placeholder="$t('PleaseEnter')"/>
|
:placeholder="$t('PleaseEnter')"/>
|
||||||
<a-radio-group v-else-if="record.valueType == 'select'"
|
<a-radio-group v-else-if="record.valueType == 'select'"
|
||||||
|
@change="deliveryChange"
|
||||||
v-model="record.deliveryResult">
|
v-model="record.deliveryResult">
|
||||||
<a-radio :value="'1'">
|
<a-radio :value="'1'">
|
||||||
{{$t('yes')}}
|
{{$t('yes')}}
|
||||||
@@ -312,7 +316,7 @@
|
|||||||
v-if="record.deliveryResult && record.valueType == 'file'">
|
v-if="record.deliveryResult && record.valueType == 'file'">
|
||||||
{{$t('viewFile')}}
|
{{$t('viewFile')}}
|
||||||
</span>
|
</span>
|
||||||
<span v-else-if="record.deliveryResult && record.valueType == 'text'">
|
<span :title="record.deliveryResult" v-else-if="record.deliveryResult && record.valueType == 'text'">
|
||||||
{{record.deliveryResult}}
|
{{record.deliveryResult}}
|
||||||
</span>
|
</span>
|
||||||
<span v-else-if="record.deliveryResult && record.valueType == 'select'">
|
<span v-else-if="record.deliveryResult && record.valueType == 'select'">
|
||||||
@@ -658,7 +662,7 @@
|
|||||||
align: 'left',
|
align: 'left',
|
||||||
dataIndex: 'deliveryResult',
|
dataIndex: 'deliveryResult',
|
||||||
width: 180,
|
width: 180,
|
||||||
// ellipsis: true,
|
ellipsis: true,
|
||||||
scopedSlots: { customRender: 'DeliverablesResult' }
|
scopedSlots: { customRender: 'DeliverablesResult' }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -720,13 +724,15 @@
|
|||||||
isDisplayNum: 2,
|
isDisplayNum: 2,
|
||||||
long: '',
|
long: '',
|
||||||
toDoIds: [],
|
toDoIds: [],
|
||||||
toDoNotConditions: []
|
toDoNotConditions: [],
|
||||||
|
userInfoQuery: {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
// this.getList()
|
// this.getList()
|
||||||
this.long = localStorage.getItem('language') || 'zh-cn'
|
this.long = localStorage.getItem('language') || 'zh-cn'
|
||||||
this.loading = true
|
this.loading = true
|
||||||
|
this.userInfoQuery = this.userInfo()
|
||||||
this.getProcessStatus()
|
this.getProcessStatus()
|
||||||
this.getRoleByUserId(() => {
|
this.getRoleByUserId(() => {
|
||||||
this.getAndUserId()
|
this.getAndUserId()
|
||||||
@@ -1444,6 +1450,12 @@
|
|||||||
this.dataSource = [...this.dataSource]
|
this.dataSource = [...this.dataSource]
|
||||||
this.preservationClick()
|
this.preservationClick()
|
||||||
},
|
},
|
||||||
|
deliveryBlur() {
|
||||||
|
this.preservationClick()
|
||||||
|
},
|
||||||
|
deliveryChange() {
|
||||||
|
this.preservationClick()
|
||||||
|
},
|
||||||
CertificationProgressClick(val) {
|
CertificationProgressClick(val) {
|
||||||
let item = JSON.parse(JSON.stringify(val))
|
let item = JSON.parse(JSON.stringify(val))
|
||||||
item.roleCode = this.roleSwitchingCode
|
item.roleCode = this.roleSwitchingCode
|
||||||
|
|||||||
Reference in New Issue
Block a user