问卷基本信息

This commit is contained in:
shidongli 2024-07-19 11:15:24 +08:00
parent ee7021c80f
commit 554b509e74

View File

@ -64,8 +64,8 @@
<el-button size="mini" type="text" @click="switchstatus('UNPUBLISHED', scope.row)" <el-button size="mini" type="text" @click="switchstatus('UNPUBLISHED', scope.row)"
v-if="scope.row.questionnaireStatus == 'PUBLISHED'">取消发布</el-button> 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="switchstatus('PUBLISHED', scope.row)" v-else>发布</el-button>
<el-button size="mini" type="text" @click="handleClassification(scope.row)" <!-- <el-button size="mini" type="text" @click="handleClassification(scope.row)"
v-hasPermi="['system:question:edit']">分类管理</el-button> v-hasPermi="['system:question:edit']">分类管理</el-button> -->
<el-button size="mini" type="text" @click="handleUpdate(scope.row)" <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> 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)" <el-button size="mini" type="text" @click="handleDelete(scope.row)"
@ -239,25 +239,25 @@ export default {
}) })
}, },
// //
handleClassification(row) { // handleClassification(row) {
this.classificationform = JSON.parse(JSON.stringify(row)) // this.classificationform = JSON.parse(JSON.stringify(row))
let queryparam = { // let queryparam = {
hospitalAgencyId: this.queryParams.hospitalAgencyId, // hospitalAgencyId: this.queryParams.hospitalAgencyId,
nodeType:'DEPARTMENT' // nodeType:'DEPARTMENT'
} // }
selectUserDepartment(queryparam).then(res => { // selectUserDepartment(queryparam).then(res => {
this.departmentlist = res.data // this.departmentlist = res.data
}) // })
if (this.classificationform.departmentId) { // if (this.classificationform.departmentId) {
let query = { // let query = {
departmentId: this.classificationform.departmentId // departmentId: this.classificationform.departmentId
} // }
diseaseList(query).then(res => { // diseaseList(query).then(res => {
this.diseaselist = res.data // this.diseaselist = res.data
}) // })
} // }
this.classificationOpen = true // this.classificationOpen = true
}, // },
classificationOpenfalse() { classificationOpenfalse() {
this.classificationOpen = false this.classificationOpen = false
this.classificationform = {} this.classificationform = {}