定版
This commit is contained in:
@@ -487,7 +487,7 @@
|
||||
<a-select allowClear
|
||||
:placeholder="$t('pleaseSelect')+$t('expeditionProcess')"
|
||||
mode="multiple"
|
||||
v-model="formInlineQuestion.questionStatus">
|
||||
v-model="formInlineQuestion.expeditingType">
|
||||
<a-select-option :value="item.value" v-for="item in questionList">
|
||||
<span class="itemOption-index" :title="item.name">
|
||||
{{ item.name }}
|
||||
@@ -559,7 +559,7 @@
|
||||
roleSwitchingList: [],
|
||||
formInlineQuestion: {},
|
||||
rulesRoleQuestion: {
|
||||
questionStatus: [
|
||||
expeditingType: [
|
||||
{
|
||||
required: true,
|
||||
message: this.$t('expeditionProcess') + this.$t('cannotEmpty'),
|
||||
@@ -569,11 +569,11 @@
|
||||
},
|
||||
questionList: [
|
||||
{
|
||||
value: '1',
|
||||
value: 'lawsInventoryDesignExpediting',
|
||||
name: this.$t('designComplianceProcess')
|
||||
},
|
||||
{
|
||||
value: '2',
|
||||
value: 'lawsInventoryVerifyExpediting',
|
||||
name: this.$t('validationComplianceProcess')
|
||||
}
|
||||
],
|
||||
@@ -1524,13 +1524,13 @@
|
||||
handleOkQuestion() {
|
||||
this.$refs.ruleFormQuestion.validate(valid => {
|
||||
let formInlineQuestion = JSON.parse(JSON.stringify(this.formInlineQuestion))
|
||||
if (formInlineQuestion.questionStatus && formInlineQuestion.questionStatus.length > 0) {
|
||||
formInlineQuestion.questionStatus = formInlineQuestion.questionStatus.join(',')
|
||||
if (formInlineQuestion.expeditingType && formInlineQuestion.expeditingType.length > 0) {
|
||||
formInlineQuestion.expeditingType = formInlineQuestion.expeditingType.join(',')
|
||||
}
|
||||
let query = {
|
||||
ids: this.questionIdList.join(','),
|
||||
projectLibraryId: this.$route.query.id,
|
||||
questionStatus: formInlineQuestion.questionStatus
|
||||
expeditingType: formInlineQuestion.expeditingType
|
||||
}
|
||||
this.confirmLoadingQuestion = true
|
||||
postAction('project/projectLawsInventoryEO/expediting', query).then((res) => {
|
||||
|
||||
Reference in New Issue
Block a user