问卷基本信息
This commit is contained in:
parent
ee7021c80f
commit
554b509e74
@ -64,8 +64,8 @@
|
||||
<el-button size="mini" type="text" @click="switchstatus('UNPUBLISHED', scope.row)"
|
||||
v-if="scope.row.questionnaireStatus == 'PUBLISHED'">取消发布</el-button>
|
||||
<el-button size="mini" type="text" @click="switchstatus('PUBLISHED', scope.row)" v-else>发布</el-button>
|
||||
<el-button size="mini" type="text" @click="handleClassification(scope.row)"
|
||||
v-hasPermi="['system:question:edit']">分类管理</el-button>
|
||||
<!-- <el-button size="mini" type="text" @click="handleClassification(scope.row)"
|
||||
v-hasPermi="['system:question:edit']">分类管理</el-button> -->
|
||||
<el-button size="mini" type="text" @click="handleUpdate(scope.row)"
|
||||
v-hasPermi="['system:question:edit']" v-if="!scope.row.sourceTemplateId ||scope.row.sourceTemplateId==0">编辑</el-button>
|
||||
<el-button size="mini" type="text" @click="handleDelete(scope.row)"
|
||||
@ -239,25 +239,25 @@ export default {
|
||||
})
|
||||
},
|
||||
//分类管理
|
||||
handleClassification(row) {
|
||||
this.classificationform = JSON.parse(JSON.stringify(row))
|
||||
let queryparam = {
|
||||
hospitalAgencyId: this.queryParams.hospitalAgencyId,
|
||||
nodeType:'DEPARTMENT'
|
||||
}
|
||||
selectUserDepartment(queryparam).then(res => {
|
||||
this.departmentlist = res.data
|
||||
})
|
||||
if (this.classificationform.departmentId) {
|
||||
let query = {
|
||||
departmentId: this.classificationform.departmentId
|
||||
}
|
||||
diseaseList(query).then(res => {
|
||||
this.diseaselist = res.data
|
||||
})
|
||||
}
|
||||
this.classificationOpen = true
|
||||
},
|
||||
// handleClassification(row) {
|
||||
// this.classificationform = JSON.parse(JSON.stringify(row))
|
||||
// let queryparam = {
|
||||
// hospitalAgencyId: this.queryParams.hospitalAgencyId,
|
||||
// nodeType:'DEPARTMENT'
|
||||
// }
|
||||
// selectUserDepartment(queryparam).then(res => {
|
||||
// this.departmentlist = res.data
|
||||
// })
|
||||
// if (this.classificationform.departmentId) {
|
||||
// let query = {
|
||||
// departmentId: this.classificationform.departmentId
|
||||
// }
|
||||
// diseaseList(query).then(res => {
|
||||
// this.diseaselist = res.data
|
||||
// })
|
||||
// }
|
||||
// this.classificationOpen = true
|
||||
// },
|
||||
classificationOpenfalse() {
|
||||
this.classificationOpen = false
|
||||
this.classificationform = {}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user