Browse Source

fix:[模板管理]新增

lkf
15881625488@163.com 2 months ago
parent
commit
e622b49d37
14 changed files with 142 additions and 64 deletions
  1. +6
    -2
      src/views/business/comps/select/SelectTemplate.vue
  2. +2
    -1
      src/views/business/form/drug/comp/sqbdList.vue
  3. +3
    -0
      src/views/business/form/drug/comp/tbbdList.vue
  4. +1
    -0
      src/views/business/form/drug/comp/ytbdList.vue
  5. +7
    -3
      src/views/business/form/nonTrial/comp/tbbdList.vue
  6. +3
    -1
      src/views/business/form/nonTrial/comp/ytbdList.vue
  7. +6
    -2
      src/views/business/study/comp/jhbd/Bj.vue
  8. +3
    -2
      src/views/business/study/comp/jhbdList.vue
  9. +6
    -2
      src/views/business/study/comp/sqbd/Bj.vue
  10. +4
    -2
      src/views/business/study/comp/tbbd/Bj.vue
  11. +5
    -1
      src/views/business/study/comp/tbbdList.vue
  12. +4
    -2
      src/views/business/study/comp/ytbd/Bj.vue
  13. +3
    -1
      src/views/business/study/comp/ytbdList.vue
  14. +89
    -45
      src/views/business/template/list.vue

+ 6
- 2
src/views/business/comps/select/SelectTemplate.vue View File

@ -31,7 +31,11 @@ export default {
},
studyType: {
type: Number,
default: 20
default: null
},
studyFormType: {
type: Number,
default: null
},
},
watch: {
@ -61,7 +65,7 @@ export default {
methods: {
showSelectTemplate(){
if(!this.disabled){
this.$refs.selectTemplateDialog.show({needPre:this.needPre,studyType:this.studyType})
this.$refs.selectTemplateDialog.show({needPre:this.needPre,studyType:this.studyType,studyFormType:this.studyFormType})
}
},
handleChange(obj) {

+ 2
- 1
src/views/business/form/drug/comp/sqbdList.vue View File

@ -322,7 +322,8 @@ export default {
add() {
this.showEdit = true
this.$emit('showDetail', this.showEdit)
this.$refs.Bj.edit({studySn:this.searchForm.studySn, studyMc:this.searchForm.studyMc, studyId: this.searchForm.studyId })
this.$refs.Bj.edit({
studyFormType:15,studyType: 10,studySn:this.searchForm.studySn, studyMc:this.searchForm.studyMc, studyId: this.searchForm.studyId })
},
edit(row) {
this.showEdit = true

+ 3
- 0
src/views/business/form/drug/comp/tbbdList.vue View File

@ -331,6 +331,7 @@ export default {
url: this.$route.fullPath,
studyId: this.searchForm.studyId,
studyType: 10,
studyFormType:5,
formId: null
}))
this.$tab.openPage(this.$t('page.business.study.studyFormFill.xzbd'), '/drug/formFillBj/' + params)
@ -342,6 +343,8 @@ export default {
let params = caesarCipher(JSON.stringify({
url: this.$route.fullPath,
studyId: this.searchForm.studyId,
studyType: 10,
studyFormType:5,
formId: row.id
}))
this.$tab.openPage(row.bdmc, '/drug/formFillBj/' + params)

+ 1
- 0
src/views/business/form/drug/comp/ytbdList.vue View File

@ -403,6 +403,7 @@ export default {
studyMc: this.searchForm.studyMc,
studyId: this.searchForm.studyId,
studyType: 10,
studyFormType:1,
permitForSecectUser: 'business:drugFormPre:sh'
})
},

+ 7
- 3
src/views/business/form/nonTrial/comp/tbbdList.vue View File

@ -401,13 +401,15 @@ export default {
// this.$emit('showDetail', this.showEdit)
// this.$refs.Bj.edit({ studySn:this.searchForm.studySn, studyMc:this.searchForm.studyMc,studyId: this.searchForm.studyId })
this.$modal.loading()
studyMethod_getReadAllMethodStatus({ userId: this.id, studyId: this.searchForm.studyId }).then(response => {
studyMethod_getReadAllMethodStatus({
studyType: 5,userId: this.id, studyId: this.searchForm.studyId }).then(response => {
if (response.data.toUrl) {
this.toRead(response.data)
} else {
let params = caesarCipher(JSON.stringify({
url: this.$route.fullPath,
studyId: this.searchForm.studyId,
studyFormType:5,
formId: null
}))
this.$tab.openPage(this.$t('page.business.study.studyFormFill.xzbd'), '/nonTrial/formFillBj/' + params)
@ -421,14 +423,16 @@ export default {
// this.$emit('showDetail', this.showEdit)
// this.$refs.Bj.edit(row)
this.$modal.loading()
studyMethod_getReadAllMethodStatus({ userId: this.id, studyId: this.searchForm.studyId }).then(response => {
studyMethod_getReadAllMethodStatus({
studyType: 5, userId: this.id, studyId: this.searchForm.studyId }).then(response => {
if (response.data.toUrl) {
this.toRead(response.data)
} else {
let params = caesarCipher(JSON.stringify({
url: this.$route.fullPath,
studyId: this.searchForm.studyId,
formId: row.id
formId: row.id,
studyFormType:5,
}))
this.$tab.openPage(row.bdmc, '/nonTrial/formFillBj/' + params)
}

+ 3
- 1
src/views/business/form/nonTrial/comp/ytbdList.vue View File

@ -439,12 +439,14 @@ export default {
studySn: this.searchForm.studySn,
studyMc: this.searchForm.studyMc,
studyId: this.searchForm.studyId,
studyType: 5,
studyFormType:1,
permitForSecectUser: 'business:nonTrialFormPre:sh'
})
},
edit(row) {
this.$modal.loading()
studyMethod_getReadAllMethodStatus({ userId: this.id, studyId: this.searchForm.studyId }).then(response => {
studyMethod_getReadAllMethodStatus({ studyType: 5,userId: this.id, studyId: this.searchForm.studyId }).then(response => {
if (response.data.toUrl) {
this.toRead(response.data)
} else {

+ 6
- 2
src/views/business/study/comp/jhbd/Bj.vue View File

@ -41,7 +41,7 @@
<el-row>
<el-col :span="24">
<el-form-item :label="$t('page.business.form.bdmb')" prop="templateId">
<SelectTemplate v-model="form.templateId" :disabled="true" :needPre="1" :name="form.templateMc"
<SelectTemplate v-model="form.templateId" :studyType="studyType" :studyFormType="studyFormType" :needPre="1" :name="form.templateMc"
@change="selectTemplateChange" />
</el-form-item>
</el-col>
@ -179,7 +179,9 @@ export default {
}],
},
templateData: {}
templateData: {},
studyType: null,
studyFormType:null
}
},
computed: {
@ -265,6 +267,8 @@ export default {
},
edit(row) {
this.reset()
this.studyType = row.studyType||null
this.studyFormType = row.studyFormType||null
this.form.qmyy = this.$t('page.business.study.studyFormPlan.cjjl')
if (row && row.id) {
this.showIndex = 2

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

@ -254,7 +254,8 @@ export default {
} else {
this.showEdit = true
this.$emit('showDetail', this.showEdit)
this.$refs.Bj.edit({ studySn: this.searchForm.studySn, studyMc: this.searchForm.studyMc, studyId: this.searchForm.studyId, studySubjectId: this.searchForm.studySubjectId })
this.$refs.Bj.edit({
studyFormType:10, studyType: 1,studySn: this.searchForm.studySn, studyMc: this.searchForm.studyMc, studyId: this.searchForm.studyId, studySubjectId: this.searchForm.studySubjectId })
}
}).finally(() => {
this.$modal.closeLoading()
@ -262,7 +263,7 @@ export default {
},
edit(row) {
this.$modal.loading()
studyMethod_getReadAllMethodStatus({ userId: this.id, studyId: this.searchForm.studyId, studySubjectId: this.searchForm.studySubjectId }).then(response => {
studyMethod_getReadAllMethodStatus({ studyType: 1,userId: this.id, studyId: this.searchForm.studyId, studySubjectId: this.searchForm.studySubjectId }).then(response => {
if (response.data.toUrl) {
this.toRead(response.data)
} else {

+ 6
- 2
src/views/business/study/comp/sqbd/Bj.vue View File

@ -41,7 +41,7 @@
<el-row>
<el-col :span="24">
<el-form-item :label="$t('page.business.form.bdmb')" prop="templateId">
<SelectTemplate v-model="form.templateId" :disabled="true" :name="form.templateMc"
<SelectTemplate v-model="form.templateId" :studyType="studyType" :studyFormType="studyFormType" :name="form.templateMc"
@change="selectTemplateChange" />
</el-form-item>
</el-col>
@ -179,7 +179,9 @@ export default {
}],
},
templateData: {}
templateData: {},
studyType: null,
studyFormType:null
}
},
computed: {
@ -268,6 +270,8 @@ export default {
},
edit(row) {
this.reset()
this.studyType = row.studyType||null
this.studyFormType = row.studyFormType||null
if (row && row.id) {
this.showIndex = 2
this.$modal.loading()

+ 4
- 2
src/views/business/study/comp/tbbd/Bj.vue View File

@ -44,7 +44,7 @@
<el-col :span="24">
<el-form-item :label="bdmbTitle" prop="templateId">
<SelectTemplate v-model="form.templateId" :disabled="form.id && form.id !== ''"
:name="form.templateMc" :studyType="studyType" @change="selectTemplateChange" :needPre="1" />
:name="form.templateMc" :studyType="studyType" :studyFormType="studyFormType" @change="selectTemplateChange" :needPre="1" />
</el-form-item>
</el-col>
</el-row>
@ -459,7 +459,8 @@ export default {
}]
},
templateData: {},
studyType: null
studyType: null,
studyFormType:null
}
},
computed: {
@ -531,6 +532,7 @@ export default {
try {
params = JSON.parse(caesarDecipher(this.$route.params.key))
this.studyType = params.studyType || null
this.studyFormType = params.studyFormType || null
} catch (e) {
console.log('参数错误')
}

+ 5
- 1
src/views/business/study/comp/tbbdList.vue View File

@ -413,6 +413,8 @@ export default {
let params = caesarCipher(JSON.stringify({
url: this.$route.fullPath,
studyId: this.searchForm.studyId,
studyType: 1,
studyFormType:5,
id: null
}))
this.$tab.openPage(this.$t('page.business.study.studyFormFill.xzbd'), '/study/formFillBj/' + params)
@ -426,13 +428,15 @@ export default {
// this.$emit('showDetail', this.showEdit)
// this.$refs.Bj.edit(row)
this.$modal.loading()
studyMethod_getReadAllMethodStatus({ userId: this.id, studyId: this.searchForm.studyId, studySubjectId: this.searchForm.studySubjectId }).then(response => {
studyMethod_getReadAllMethodStatus({userId: this.id, studyId: this.searchForm.studyId, studySubjectId: this.searchForm.studySubjectId }).then(response => {
if (response.data.toUrl) {
this.toRead(response.data)
} else {
let params = caesarCipher(JSON.stringify({
url: this.$route.fullPath,
studyId: this.searchForm.studyId,
studyType: 1,
studyFormType:5,
formId: row.id
}))
this.$tab.openPage(row.bdmc, '/study/formFillBj/' + params)

+ 4
- 2
src/views/business/study/comp/ytbd/Bj.vue View File

@ -42,7 +42,7 @@
<el-col :span="24">
<el-form-item :label="$t('page.business.form.bdmb')" prop="templateId">
<SelectTemplate v-model="form.templateId" :disabled="form.id && form.id !== ''" :needPre="10"
:name="form.templateMc" :studyType="studyType" @change="selectTemplateChange" />
:name="form.templateMc" :studyType="studyType" :studyFormType="studyFormType" @change="selectTemplateChange" />
</el-form-item>
</el-col>
</el-row>
@ -186,7 +186,8 @@ export default {
},
templateData: {},
studyType:null
studyType:null,
studyFormType:null,
}
},
computed: {
@ -265,6 +266,7 @@ export default {
this.reset()
this.permitForSecectUser = row.permitForSecectUser
this.studyType = row.studyType||null
this.studyFormType = row.studyFormType||null
if (row && row.id) {
this.showIndex = 2
this.$modal.loading()

+ 3
- 1
src/views/business/study/comp/ytbdList.vue View File

@ -346,6 +346,7 @@ export default {
studySn: this.searchForm.studySn,
studyMc: this.searchForm.studyMc,
studyId: this.searchForm.studyId,
studyType: 1,
permitForSecectUser: 'business:studyFormPre:sh'
})
}).finally(() => {
@ -438,6 +439,7 @@ export default {
studySn: this.searchForm.studySn,
studyMc: this.searchForm.studyMc,
studyId: this.searchForm.studyId,
studyType: 1,
studySubjectId: this.searchForm.studySubjectId,
permitForSecectUser: 'business:studyFormPre:sh'
})
@ -450,7 +452,7 @@ export default {
} else {
this.showEdit = true
this.$emit('showDetail', this.showEdit)
this.$refs.Bj.edit(_.merge({}, row, { permitForSecectUser: 'business:studyFormPre:sh' }))
this.$refs.Bj.edit(_.merge({}, row, { permitForSecectUser: 'business:studyFormPre:sh',studyType: 1 }))
}
}).finally(() => {
this.$modal.closeLoading()

+ 89
- 45
src/views/business/template/list.vue View File

@ -45,7 +45,7 @@
<span v-if="scope.row.needPre === 1"></span>
</template>
</el-table-column>
<el-table-column label="产物" prop="product" align="center" width="100">
<el-table-column label="产物" prop="product" align="center" width="100">
<template slot-scope="scope">
<span v-if="scope.row.product == 1">试剂</span>
<span v-if="scope.row.product == 3">给药制剂</span>
@ -62,7 +62,8 @@
<el-table-column :label="$t('form.operate')" fixed="right" align="center" width="100">
<template slot-scope="scope">
<el-button type="text" @click="edit(scope.row)">{{ $t('page.system.template.bj') }}</el-button>
<el-button type="text" @click="bdpz(scope.row)" v-hasPermi="['business:template:detail']">{{ $t('page.system.template.detail') }}</el-button>
<el-button type="text" @click="bdpz(scope.row)" v-hasPermi="['business:template:detail']">{{
$t('page.system.template.detail') }}</el-button>
</template>
</el-table-column>
</el-table>
@ -70,8 +71,8 @@
<pagination v-show="total > 0" :total="total" :page.sync="searchForm.pageNum" :limit.sync="searchForm.pageSize"
@pagination="getList" />
<el-dialog :close-on-click-modal="false" :close-on-press-escape="false" :title="infoDialog.title" :visible.sync="infoDialog.visible" width="800px"
append-to-body>
<el-dialog :close-on-click-modal="false" :close-on-press-escape="false" :title="infoDialog.title"
:visible.sync="infoDialog.visible" width="800px" append-to-body>
<el-form ref="infoDialogForm" :model="infoDialog.formData" :rules="infoDialog.rules" label-width="180px">
<el-row>
<el-col :span="24">
@ -91,7 +92,8 @@
</el-col>
<el-col :span="24">
<el-form-item label="状态:" prop="status">
<el-select v-model="infoDialog.formData.status" :placeholder="$t('form.placeholderSelect')" style="width:100%">
<el-select v-model="infoDialog.formData.status" :placeholder="$t('form.placeholderSelect')"
style="width:100%">
<el-option label="启用" :value="10" />
<el-option label="禁用" :value="1" />
</el-select>
@ -99,7 +101,8 @@
</el-col>
<el-col :span="24">
<el-form-item label="是否需要预填:" prop="needPre">
<el-select v-model="infoDialog.formData.needPre" :placeholder="$t('form.placeholderSelect')" style="width:100%">
<el-select v-model="infoDialog.formData.needPre" :placeholder="$t('form.placeholderSelect')"
style="width:100%">
<el-option label="是" :value="10" />
<el-option label="否" :value="1" />
</el-select>
@ -107,7 +110,8 @@
</el-col>
<el-col :span="24">
<el-form-item label="产物:" prop="product">
<el-select v-model="infoDialog.formData.product" :placeholder="$t('form.placeholderSelect')" style="width:100%">
<el-select v-model="infoDialog.formData.product" :placeholder="$t('form.placeholderSelect')"
style="width:100%">
<el-option label="试剂" :value="1" />
<el-option label="给药制剂" :value="3" />
<el-option label="麻精药" :value="5" />
@ -117,33 +121,47 @@
</el-col>
<el-col :span="24">
<el-form-item label="填报是否显示观察按钮:" prop="showGc">
<el-select v-model="infoDialog.formData.showGc" :placeholder="$t('form.placeholderSelect')" style="width:100%">
<el-select v-model="infoDialog.formData.showGc" :placeholder="$t('form.placeholderSelect')"
style="width:100%">
<el-option label="否" :value="1" />
<el-option label="是" :value="10" />
</el-select>
</el-form-item>
</el-col>
<el-col :span="24">
<el-col :span="24">
<el-form-item label="填报显示药剂存储按钮:" prop="showYjcc">
<el-select v-model="infoDialog.formData.showYjcc" :placeholder="$t('form.placeholderSelect')" style="width:100%">
<el-select v-model="infoDialog.formData.showYjcc" :placeholder="$t('form.placeholderSelect')"
style="width:100%">
<el-option label="否" :value="1" />
<el-option label="是" :value="10" />
</el-select>
</el-form-item>
</el-col>
<el-col :span="24">
<el-col :span="24">
<el-form-item label="所属试验类型:" prop="studyType">
<el-select v-model="infoDialog.formData.studyType" :placeholder="$t('form.placeholderSelect')" style="width:100%">
<el-option label="试验" :value="1" />
<el-option label="非试验" :value="5" />
<el-option label="麻精药表单" :value="10" />
<el-option label="全部" :value="20" />
<el-select v-model="studyTypeArr" multiple @change="studyTypeChange"
:placeholder="$t('form.placeholderSelect')" style="width:100%">
<el-option label="试验" value="1" />
<el-option label="非试验" value="5" />
<el-option label="麻精药表单" value="10" />
</el-select>
</el-form-item>
</el-col>
<el-col :span="24">
<el-col :span="24">
<el-form-item label="所属表单类型:" prop="studyFormType">
<el-select v-model="studyFormTypeArr" multiple @change="studyFormTypeChange"
:placeholder="$t('form.placeholderSelect')" style="width:100%">
<el-option label="预填表单" value="1" />
<el-option label="填报表单" value="5" />
<el-option label="配置计划表" value="10" />
<el-option label="领取申请单" value="15" />
</el-select>
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="pdf导出大小:" prop="pdfSize">
<el-select v-model="infoDialog.formData.pdfSize" :placeholder="$t('form.placeholderSelect')" style="width:100%">
<el-select v-model="infoDialog.formData.pdfSize" :placeholder="$t('form.placeholderSelect')"
style="width:100%">
<el-option label="a1" value="a1" />
<el-option label="a2" value="a2" />
<el-option label="a3" value="a3" />
@ -162,12 +180,13 @@
<el-col :span="24">
<el-form-item label="步骤库:" prop="stepGroupIds">
<el-select multiple v-model="stepGroupIdArr" :placeholder="$t('form.placeholderSelect')" style="width:100%" @change="changeStepGroup">
<el-select multiple v-model="stepGroupIdArr" :placeholder="$t('form.placeholderSelect')"
style="width:100%" @change="changeStepGroup">
<el-option v-for="item in stepGroupList" :key="item.id" :label="item.name" :value="item.id" />
</el-select>
</el-form-item>
</el-col>
</el-row>
</el-form>
<div slot="footer" class="dialog-footer">
@ -175,9 +194,9 @@
<el-button @click="infoDialog.visible = false"> </el-button>
</div>
</el-dialog>
<el-dialog :close-on-click-modal="false" :close-on-press-escape="false" :title="$t('page.system.template.bdpz')" :visible.sync="tableDialog.visible"
width="90%" append-to-body>
<TemplateTable ref = "templateTable" :sn="tableDialog.sn" v-if="tableDialog.visible" fillType="preFill" />
<el-dialog :close-on-click-modal="false" :close-on-press-escape="false" :title="$t('page.system.template.bdpz')"
:visible.sync="tableDialog.visible" width="90%" append-to-body>
<TemplateTable ref="templateTable" :sn="tableDialog.sn" v-if="tableDialog.visible" fillType="preFill" />
</el-dialog>
</div>
</template>
@ -192,7 +211,7 @@ const EmptyDialogData = {
name: '',
sn: '',
deptId: '',
status:10,
status: 10,
needPre: 10,
type: 10,
@ -212,6 +231,8 @@ export default {
},
data() {
return {
studyTypeArr: [],
studyFormTypeArr: [],
searchForm: {
pageNum: 1,
pageSize: 10,
@ -225,9 +246,9 @@ export default {
total: 0,
list: [],
stepGroupList:[],
stepGroupIdArr:[],
stepGroupList: [],
stepGroupIdArr: [],
infoDialog: {
title: '',
visible: false,
@ -236,37 +257,40 @@ export default {
rules: {
showGc: [
{ required: true, message:'请选择', trigger: "blur" }
{ required: true, message: '请选择', trigger: "blur" }
],
sn: [
{ required: true, message:'请输入', trigger: "blur" }
{ required: true, message: '请输入', trigger: "blur" }
],
name: [
{ required: true, message:'请输入', trigger: "blur" }
{ required: true, message: '请输入', trigger: "blur" }
],
deptId: [
{ required: true, message:'请选择', trigger: "change" }
{ required: true, message: '请选择', trigger: "change" }
],
status: [
{ required: true, message:'请选择', trigger: "change" }
{ required: true, message: '请选择', trigger: "change" }
],
product: [
{ required: true, message:'请选择', trigger: "change" }
{ required: true, message: '请选择', trigger: "change" }
],
needPre: [
{ required: true, message:'请选择', trigger: "change" }
{ required: true, message: '请选择', trigger: "change" }
],
type: [
{ required: true, message:'请选择', trigger: "change" }
{ required: true, message: '请选择', trigger: "change" }
],
pdfSize: [
{ required: true, message:'请选择', trigger: "change" }
{ required: true, message: '请选择', trigger: "change" }
],
showYjcc: [
{ required: true, message:'请选择', trigger: "change" }
{ required: true, message: '请选择', trigger: "change" }
],
studyType: [
{ required: true, message:'请选择', trigger: "change" }
{ required: true, message: '请选择', trigger: "change" }
],
studyFormType: [
{ required: true, message: '请选择', trigger: "change" }
],
},
},
@ -282,17 +306,17 @@ export default {
this.getGroupList()
},
methods: {
getGroupList(){
stepGroup_list({ pageNum: 1, pageSize:9999}).then(response => {
getGroupList() {
stepGroup_list({ pageNum: 1, pageSize: 9999 }).then(response => {
this.stepGroupList = response.rows;
});
},
bdpz(row) {
this.saveSimpleLog({name:row.name+'('+row.showSn+')',nameEn:row.name+'('+row.showSn+')',jcmc:'模板详情',jcmcEn:'Function Detail'})
this.saveSimpleLog({ name: row.name + '(' + row.showSn + ')', nameEn: row.name + '(' + row.showSn + ')', jcmc: '模板详情', jcmcEn: 'Function Detail' })
this.tableDialog.title = '表单配置'
this.tableDialog.sn=row.sn
this.tableDialog.visible=true
this.tableDialog.sn = row.sn
this.tableDialog.visible = true
},
getList() {
this.loading = true;
@ -326,7 +350,13 @@ export default {
this.$modal.loading()
template_info({ id: row.id }).then(({ data }) => {
this.infoDialog.formData = data
this.stepGroupIdArr = this.infoDialog.formData.stepGroupIds ? _.map(this.infoDialog.formData.stepGroupIds.split(','),(o)=>{return parseInt(o)}): []
if (this.infoDialog.formData.studyType && this.infoDialog.formData.studyType != '') {
this.studyTypeArr = this.infoDialog.formData.studyType.split(',')
}
if (this.infoDialog.formData.studyFormType && this.infoDialog.formData.studyFormType != '') {
this.studyFormTypeArr = this.infoDialog.formData.studyFormType.split(',')
}
this.stepGroupIdArr = this.infoDialog.formData.stepGroupIds ? _.map(this.infoDialog.formData.stepGroupIds.split(','), (o) => { return parseInt(o) }) : []
}).finally(() => {
this.$modal.closeLoading()
})
@ -341,9 +371,23 @@ export default {
// this.$modal.closeLoading()
// })
},
changeStepGroup(val){
changeStepGroup(val) {
this.infoDialog.formData.stepGroupIds = val.join(',')
},
studyTypeChange() {
if (this.studyTypeArr && this.studyTypeArr.length > 0) {
this.infoDialog.formData.studyType = this.studyTypeArr.join(',')
} else {
this.infoDialog.formData.studyType = ''
}
},
studyFormTypeChange() {
if (this.studyFormTypeArr && this.studyFormTypeArr.length > 0) {
this.infoDialog.formData.studyFormType = this.studyFormTypeArr.join(',')
} else {
this.infoDialog.formData.studyFormType = ''
}
},
save() {
this.$refs['infoDialogForm'].validate(valid => {
if (valid) {

Loading…
Cancel
Save