对接标准/译文获取申请
This commit is contained in:
+17
-14
@@ -42,15 +42,15 @@
|
||||
<el-col :span="12">
|
||||
<el-form-item label="标准类型" prop="standType" label-width="100px" class="add-form-item">
|
||||
<el-select
|
||||
v-model="StandardApplyForEO.standType"
|
||||
:placeholder="'请选择标准类型'"
|
||||
clearable
|
||||
v-model="StandardApplyForEO.standType"
|
||||
:placeholder="'请选择标准类型'"
|
||||
clearable
|
||||
>
|
||||
<el-option
|
||||
v-for="opt in standTypeList"
|
||||
:key="opt.value"
|
||||
:value="opt.value === undefined ? '' :opt.value"
|
||||
:label="opt.label"
|
||||
v-for="opt in standTypeList"
|
||||
:key="opt.value"
|
||||
:value="opt.value === undefined ? '' :opt.value"
|
||||
:label="opt.label"
|
||||
>
|
||||
{{ opt.label }}
|
||||
</el-option>
|
||||
@@ -61,15 +61,15 @@
|
||||
<el-col :span="12">
|
||||
<el-form-item label="标准类别" prop="standLb" label-width="100px" class="add-form-item">
|
||||
<el-select
|
||||
v-model="StandardApplyForEO.standLb"
|
||||
:placeholder="'请选择标准类别'"
|
||||
clearable
|
||||
v-model="StandardApplyForEO.standLb"
|
||||
:placeholder="'请选择标准类别'"
|
||||
clearable
|
||||
>
|
||||
<el-option
|
||||
v-for="opt in standLbList"
|
||||
:key="opt.value"
|
||||
:value="opt.value === undefined ? '' :opt.value"
|
||||
:label="opt.label"
|
||||
v-for="opt in standLbList"
|
||||
:key="opt.value"
|
||||
:value="opt.value === undefined ? '' :opt.value"
|
||||
:label="opt.label"
|
||||
>
|
||||
{{ opt.label }}
|
||||
</el-option>
|
||||
@@ -203,15 +203,18 @@ export default {
|
||||
submit () {
|
||||
this.$refs.addFormRef.validate((valid) => {
|
||||
if (valid) {
|
||||
this.isSubmit = true
|
||||
const url = this.id ? this.url.editUrl : this.url.addUrl
|
||||
this.$http.postData(url, this.StandardApplyForEO, { _this: this },
|
||||
res => {
|
||||
if (res.ok) {
|
||||
this.$emit('updateList')
|
||||
this.$message.success(res.message)
|
||||
this.visible = false
|
||||
}else{
|
||||
this.$message.warning(res.message)
|
||||
}
|
||||
this.isSubmit = false
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user