标准/译文获取申请 标准类型/标准编号联动 主页标准编号回显
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) => {
|
||||
|
||||
@@ -116,7 +116,11 @@
|
||||
width="150"
|
||||
align="center"
|
||||
prop="standNum"
|
||||
/>
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.standLb }}{{ scope.row.standName }}{{ scope.row.standYear}}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
show-overflow-tooltip
|
||||
label="标准名称"
|
||||
@@ -159,8 +163,8 @@
|
||||
<el-table-column label="操作" align="center" width="200" fixed="right">
|
||||
<template slot-scope="scope">
|
||||
<div class="table-operate-btn" @click="toView(scope.row)">查看</div>
|
||||
<div class="table-operate-btn" v-show="scope.row.status==='pendingApproval'" @click="batchPass([scope.row.id])">通过</div>
|
||||
<div class="table-operate-btn" v-show="scope.row.status==='pendingApproval'" @click="batchOverrule([scope.row.id])">驳回</div>
|
||||
<div v-show="scope.row.status==='pendingApproval'" class="table-operate-btn" @click="batchPass([scope.row.id])">通过</div>
|
||||
<div v-show="scope.row.status==='pendingApproval'" class="table-operate-btn" @click="batchOverrule([scope.row.id])">驳回</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
||||
Reference in New Issue
Block a user