标准/译文获取申请 标准类型/标准编号联动 主页标准编号回显
This commit is contained in:
+13
-5
@@ -45,6 +45,7 @@
|
||||
v-model="StandardApplyForEO.standType"
|
||||
:placeholder="'请选择标准类型'"
|
||||
clearable
|
||||
@change="selectStandType"
|
||||
>
|
||||
<el-option
|
||||
v-for="opt in standTypeList"
|
||||
@@ -55,7 +56,6 @@
|
||||
{{ opt.label }}
|
||||
</el-option>
|
||||
</el-select>
|
||||
<!-- <el-select v-model="StandardApplyForEO.standType" placeholder="请选择标准类型" @change="selectStandType" />-->
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
@@ -168,11 +168,10 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
getDicTypeListCode () {
|
||||
this.$http.get('sys/dictype/getDicTypeListCode', '', {
|
||||
this.$http.get('/lawss/standardApplyFor/getStandTypeDropDownData', {}, {
|
||||
_this: this
|
||||
}, res => {
|
||||
this.typeList = res.data.BZJYWTYPE // 标准类别
|
||||
this.standTypeList = res.data.BZJYWSTADNTYPE
|
||||
this.standTypeList = res.data
|
||||
}, e => {
|
||||
})
|
||||
},
|
||||
@@ -198,7 +197,16 @@ export default {
|
||||
this.$refs.addFormRef.clearValidate()
|
||||
})
|
||||
},
|
||||
selectStandType () {
|
||||
selectStandType (value) {
|
||||
if (value === '') {
|
||||
this.standLbList = []
|
||||
}
|
||||
this.$http.get('/lawss/standardApplyFor/getStandLbDropDownData', { dicId: value },res=>{
|
||||
if (res.ok) {
|
||||
this.standLbList = res.data
|
||||
}
|
||||
this.standLbList = []
|
||||
})
|
||||
},
|
||||
submit () {
|
||||
this.$refs.addFormRef.validate((valid) => {
|
||||
|
||||
Reference in New Issue
Block a user