[update 标准征求意见流程] 选择标准去掉多余参数、选择文本更换接口
This commit is contained in:
@@ -64,7 +64,6 @@
|
||||
<standard-selection v-decorator="['standardNumber', validatorRules.standardNumber]"
|
||||
:disabled="basicServiceInfoDisabled"
|
||||
:placeholder="$t('pleaseSelect') + $t('standardNumber')"
|
||||
:filters="{releaseSplitFlag: '1'}"
|
||||
:can-selected-source="[StandardSource.DOMESTIC.value]"
|
||||
type="radio"
|
||||
select-only
|
||||
@@ -919,7 +918,7 @@ export default {
|
||||
},
|
||||
/**
|
||||
* 选择标准带出标准名称
|
||||
* @param name
|
||||
* @param list
|
||||
*/
|
||||
handleStandardChange (list) {
|
||||
const standard = list[0] || {}
|
||||
@@ -944,7 +943,7 @@ export default {
|
||||
this.$message.warning(this.$t('workCenter.standardConsultationProcess.pleaseSelectCriteriaFirst'))
|
||||
return
|
||||
}
|
||||
this.$refs.selectStandardFileModal.open(selectedStandard, this.basicServiceInfo.standardText)
|
||||
this.$refs.selectStandardFileModal.open(this.basicServiceInfo.standardId, this.basicServiceInfo.standardText)
|
||||
},
|
||||
/**
|
||||
* 下发人员类型修改
|
||||
@@ -1313,7 +1312,7 @@ export default {
|
||||
this.basicServiceInfoForm.setFieldsValue({ standardTextFileName: item.fileName })
|
||||
this.basicServiceInfo.standardTextFileName = item.fileName
|
||||
this.basicServiceInfo.standardText = item.publishBeforeId
|
||||
this.basicServiceInfo.standardTextFileId = item.fileId
|
||||
this.basicServiceInfo.standardTextFileId = item.id
|
||||
},
|
||||
/**
|
||||
* 修改意见
|
||||
|
||||
+6
-6
@@ -18,9 +18,9 @@
|
||||
show-search
|
||||
:filter-option="filterOption"
|
||||
v-decorator="['fileType']">
|
||||
<a-select-option v-for="item in optionList" :key="item.publishBeforeId" :value="item.publishBeforeId">
|
||||
<div style="display: inline-block;width: 100%" :title=" item.fileType_dictText">
|
||||
{{ item.fileType_dictText }}
|
||||
<a-select-option v-for="item in optionList" :key="item.id" :value="item.id">
|
||||
<div style="display: inline-block;width: 100%" :title=" item.standardFileType_dictText">
|
||||
{{ item.standardFileType_dictText }}
|
||||
</div>
|
||||
</a-select-option>
|
||||
</a-select>
|
||||
@@ -55,10 +55,10 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
open (standardNumber, selectedValue) {
|
||||
open (standardId, selectedValue) {
|
||||
this.visible = true
|
||||
this.confirmLoading = true
|
||||
querySpitFileByStandardNumber({ standardNumber }).then(res => {
|
||||
querySpitFileByStandardNumber({ standardId }).then(res => {
|
||||
if (res.success) {
|
||||
this.optionList = res.result || []
|
||||
this.$nextTick(() => {
|
||||
@@ -75,7 +75,7 @@ export default {
|
||||
this.form.validateFields((errors, values) => {
|
||||
if (!errors) {
|
||||
this.$emit('ok', values.fileType)
|
||||
const item = values.fileType ? this.optionList.find(tt => tt.publishBeforeId === values.fileType) : {}
|
||||
const item = values.fileType ? this.optionList.find(tt => tt.id === values.fileType) : {}
|
||||
console.log(item)
|
||||
this.$emit('okItem', item)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user