| | |
| | | <!-- 左侧栏 --> |
| | | <div class="sidecolumn"> |
| | | <div class="sidecolumn-top"> |
| | | <div class="top-wj">问题类型</div> |
| | | <div class="top-tj" @click="dialogFormVisible = true">+添加</div> |
| | | <div class="top-wj">问题分类</div> |
| | | <div class="top-tj" @click="Newcategory">+添加</div> |
| | | </div> |
| | | <div class="center-ss"> |
| | | <el-input |
| | |
| | | v-show="showSearch" |
| | | label-width="98px" |
| | | > |
| | | <el-form-item label="问题标题" prop="userName"> |
| | | <el-form-item label="问题主题" prop="userName"> |
| | | <el-input |
| | | v-model="queryParams.scriptTopic" |
| | | placeholder="请输入" |
| | |
| | | icon="el-icon-plus" |
| | | size="medium" |
| | | @click="compileUpdate" |
| | | v-hasPermi="['system:user:add']" |
| | | >新增</el-button |
| | | > |
| | | </el-col> |
| | |
| | | size="medium" |
| | | :disabled="multiple" |
| | | @click="handleDelete" |
| | | v-hasPermi="['system:user:remove']" |
| | | >删除</el-button |
| | | > |
| | | </el-col> |
| | |
| | | prop="id" |
| | | /> --> |
| | | <el-table-column |
| | | label="题目标题" |
| | | label="问题主题" |
| | | fixed |
| | | align="center" |
| | | key="scriptTopic" |
| | | prop="scriptTopic" |
| | | width="200" |
| | | :show-overflow-tooltip="true" |
| | | /> |
| | | <el-table-column |
| | | label="问题内容" |
| | | align="center" |
| | | key="scriptContent" |
| | | prop="scriptContent" |
| | | width="200" |
| | | :show-overflow-tooltip="true" |
| | | /> |
| | |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="指标名称" |
| | | fixed |
| | | align="center" |
| | | key="targetname" |
| | | prop="targetname" |
| | | width="200" |
| | | :show-overflow-tooltip="true" |
| | | /> |
| | | <el-table-column |
| | | label="题目内容" |
| | | align="center" |
| | | key="scriptContent" |
| | | prop="scriptContent" |
| | | width="200" |
| | | :show-overflow-tooltip="true" |
| | | /> |
| | | |
| | | |
| | | /><el-table-column |
| | | label="适用方式" |
| | |
| | | size="medium" |
| | | type="text" |
| | | @click="illnessUpdate(scope.row)" |
| | | v-hasPermi="['system:user:edit']" |
| | | ><span class="button-textxg" |
| | | ><i class="el-icon-date"></i>详情</span |
| | | ></el-button |
| | |
| | | size="medium" |
| | | type="text" |
| | | @click="compileUpdate(scope.row)" |
| | | v-hasPermi="['system:user:edit']" |
| | | |
| | | ><span class="button-bji" |
| | | ><i class="el-icon-edit"></i>编辑</span |
| | | ></el-button |
| | |
| | | size="medium" |
| | | type="text" |
| | | @click="handleDelete(scope.row)" |
| | | v-hasPermi="['system:user:remove']" |
| | | |
| | | ><span class="button-textsc" |
| | | ><i class="el-icon-delete-solid"></i>删除</span |
| | | ></el-button |
| | |
| | | size="medium" |
| | | type="text" |
| | | @click="topicpreview(scope.row)" |
| | | v-hasPermi="['system:user:remove']" |
| | | |
| | | ><span class="button-text" |
| | | ><i class="el-icon-view"></i>预览</span |
| | | ></el-button |
| | |
| | | <el-button type="primary" @click="confirmillness">确 定</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | <el-dialog title="题目预览" :visible.sync="topicVisible" width="50%"> |
| | | <el-dialog title="问题预览" :visible.sync="topicVisible" width="50%"> |
| | | <div class="preview-left"> |
| | | <div class="dev-text"> |
| | | <span>{{ topicform.scriptContent }}</span> |
| | |
| | | userList: [], |
| | | // 弹出层标题 |
| | | tag: "", |
| | | title: "", |
| | | title: "新增类别", |
| | | // 是否显示弹出层 |
| | | open: false, |
| | | // 日期范围 |
| | |
| | | indexid: null, |
| | | inputValue: "", |
| | | radio: "主分类", |
| | | zufon: true, |
| | | zifon: true, |
| | | inputVisible: false, |
| | | illnessVisible: false, //指标疾病弹框 |
| | | deptOptions: [], |
| | |
| | | this.dialogFormVisible = true; |
| | | if (!b.pid) { |
| | | this.radio = "主分类"; |
| | | this.title = "修改主分类"; |
| | | this.zufon = false; |
| | | } else { |
| | | this.radio = "子分类"; |
| | | this.title = "修改子分类"; |
| | | this.zifon = false; |
| | | } |
| | | this.classifyform = b; |
| | | this.dialogFormVisible = true; |
| | | }, |
| | | Newcategory(){ |
| | | this.classifyform= {}, //类别表单 |
| | | this.radio = "主分类"; |
| | | this.dialogFormVisible = true |
| | | this.zifon = true; |
| | | this.zufon = true; |
| | | }, |
| | | |
| | | // 筛选节点 |
| | | filterNode(value, data) { |