Browse Source

fix:[表单管理]优化

luojie
15881625488@163.com 4 weeks ago
parent
commit
b835120882
2 changed files with 8 additions and 2 deletions
  1. +2
    -1
      src/views/business/study/comp/jhbdList.vue
  2. +6
    -1
      src/views/business/study/comp/ytbd/Bj.vue

+ 2
- 1
src/views/business/study/comp/jhbdList.vue View File

@ -70,7 +70,7 @@
$t('page.business.study.studyFormPlan.fh') }}</el-button> $t('page.business.study.studyFormPlan.fh') }}</el-button>
<!-- 更换归属人 --> <!-- 更换归属人 -->
<el-button type="text" <el-button type="text"
v-if="(scope.row.bdzt === 1 || scope.row.bdzt === 3 || scope.row.bdzt === 5) && id == scope.row.subjectLeader"
v-if="(scope.row.bdzt === 1 || scope.row.bdzt === 3 || scope.row.bdzt === 5) && id == leader"
@click="ghgsr(scope.row)" v-hasPermi="['business:studyFormPlan:ghgsr']">{{ @click="ghgsr(scope.row)" v-hasPermi="['business:studyFormPlan:ghgsr']">{{
$t('page.business.study.studyFormPlan.ghgsr') }}</el-button> $t('page.business.study.studyFormPlan.ghgsr') }}</el-button>
<!-- 审阅 --> <!-- 审阅 -->
@ -162,6 +162,7 @@ export default {
bdmc: '', bdmc: '',
studySn: '', studySn: '',
studyMc: '', studyMc: '',
leader: '',
userId: '', userId: '',
userMc: '', userMc: '',
cjsjjs: '', cjsjjs: '',

+ 6
- 1
src/views/business/study/comp/ytbd/Bj.vue View File

@ -89,7 +89,7 @@
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<el-form-item :label="$t('page.business.study.studyFormPre.fzrsh')" prop="fzrsh"> <el-form-item :label="$t('page.business.study.studyFormPre.fzrsh')" prop="fzrsh">
<el-radio-group v-model="form.fzrsh">
<el-radio-group v-model="form.fzrsh" @change="validFormSubmit">
<el-radio :label="$t('page.business.study.studyFormPre.yes')">{{ <el-radio :label="$t('page.business.study.studyFormPre.yes')">{{
$t('page.business.study.studyFormPre.yes') $t('page.business.study.studyFormPre.yes')
}}</el-radio> }}</el-radio>
@ -204,6 +204,11 @@ export default {
created() { created() {
}, },
methods: { methods: {
validFormSubmit() {
this.$refs["formSubmit"].validate(valid => {
if (valid) { }
})
},
onPreCallback(data) { onPreCallback(data) {
console.log("data:" + JSON.stringify(data)) console.log("data:" + JSON.stringify(data))
console.log("formdata:" + JSON.stringify(this.$refs.templateTable.getFilledFormData())) console.log("formdata:" + JSON.stringify(this.$refs.templateTable.getFilledFormData()))

Loading…
Cancel
Save