feature(法规意见收集-发起流程): 修改评估人数据来源
This commit is contained in:
+29
-8
@@ -61,12 +61,22 @@
|
|||||||
<span class="title-text-text" :title="$t('Assessor')">{{$t('Assessor')}}</span>
|
<span class="title-text-text" :title="$t('Assessor')">{{$t('Assessor')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel" prop="evaluatorIdsName">
|
<a-form-model-item class="itemModel" prop="evaluatorIdsName">
|
||||||
<PersonnelSelection class="box-input"
|
<!-- <PersonnelSelection class="box-input"-->
|
||||||
:personneQuery="formInline"
|
<!-- :personneQuery="formInline"-->
|
||||||
:query="{db_field_name:'evaluatorIds',db_field_txt:$t('Assessor')}"
|
<!-- :query="{db_field_name:'evaluatorIds',db_field_txt:$t('Assessor')}"-->
|
||||||
:isInput="true"
|
<!-- :isInput="true"-->
|
||||||
@change="PersonnelSelectionChange"
|
<!-- @change="PersonnelSelectionChange"-->
|
||||||
v-model="formInline.evaluatorIdsName"/>
|
<!-- v-model="formInline.evaluatorIdsName"/>-->
|
||||||
|
<a-select
|
||||||
|
mode="multiple"
|
||||||
|
class="box-input"
|
||||||
|
v-model="formInline.evaluatorIdsName"
|
||||||
|
:placeholder="$t('PleaseSelect')+$t('Assessor')"
|
||||||
|
>
|
||||||
|
<a-select-option v-for="i in evaluatorIdsNameOptions" :key="i.id">
|
||||||
|
{{ i.username }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -156,7 +166,8 @@
|
|||||||
//url传参严格按照当前命名
|
//url传参严格按照当前命名
|
||||||
url: {
|
url: {
|
||||||
seachList: 'document/bussDocumentLibraryEO/queryCondition', //搜索字段
|
seachList: 'document/bussDocumentLibraryEO/queryCondition', //搜索字段
|
||||||
addModelList: '/dummy/dummyInventoryInfoEO/queryPageDummy'
|
addModelList: '/dummy/dummyInventoryInfoEO/queryPageDummy',
|
||||||
|
getEvaluatorList: '/project/projectLawsInventoryEO/getEvaluatorList',
|
||||||
},
|
},
|
||||||
loading: false,
|
loading: false,
|
||||||
JLoading: false,
|
JLoading: false,
|
||||||
@@ -243,7 +254,8 @@
|
|||||||
width: 150,
|
width: 150,
|
||||||
dataIndex: 'corresponding_standard'
|
dataIndex: 'corresponding_standard'
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
evaluatorIdsNameOptions: [],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
@@ -262,6 +274,14 @@
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
...mapGetters(['userInfo']),
|
...mapGetters(['userInfo']),
|
||||||
|
getEvaluatorList () {
|
||||||
|
const query = { documentId: this.selectedRowKeysRecord[0].id }
|
||||||
|
getAction(this.url.getEvaluatorList, query).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
|
this.evaluatorIdsNameOptions = res.result
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
disabledDate(current) {
|
disabledDate(current) {
|
||||||
return current && current < moment().subtract(1, 'day')
|
return current && current < moment().subtract(1, 'day')
|
||||||
},
|
},
|
||||||
@@ -302,6 +322,7 @@
|
|||||||
return res.id == this.selectedRowKeys[0]
|
return res.id == this.selectedRowKeys[0]
|
||||||
})
|
})
|
||||||
this.selectedRowKeysRecord = [...this.selectedRowKeysRecord]
|
this.selectedRowKeysRecord = [...this.selectedRowKeysRecord]
|
||||||
|
this.getEvaluatorList()
|
||||||
},
|
},
|
||||||
clickButtonToUpload(item) {
|
clickButtonToUpload(item) {
|
||||||
this.$refs.uploadFile.perentHandleFunc()
|
this.$refs.uploadFile.perentHandleFunc()
|
||||||
|
|||||||
Reference in New Issue
Block a user