| | |
| | | >下一步</el-button |
| | | > |
| | | <el-button type="info" @click="closeFm('ruleForm')">关闭</el-button> |
| | | <el-button type="success" @click="Departmenttreatment('ruleForm')" |
| | | >保存随访模版基础信息</el-button |
| | | <el-button |
| | | type="success" |
| | | @click="Departmenttreatment('ruleForm')" |
| | | >{{ task ? "保存到任务模版" : "保存随访模版基础信息" }}</el-button |
| | | > |
| | | </el-form-item> |
| | | </el-form> |
| | |
| | | <el-input |
| | | v-model="topicobj.questiontitle" |
| | | placeholder="请从左侧列表选择" |
| | | :disabled="true" |
| | | ></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="问题节点"> |
| | |
| | | </div> |
| | | </div> |
| | | |
| | | <el-button type="success" @click="Departmenttreatment('ruleForm')" |
| | | >保存题目数据</el-button |
| | | > |
| | | <el-button type="success" @click="Departmenttreatment('ruleForm')">{{ |
| | | task ? "保存到任务模版" : "保存题目数据" |
| | | }}</el-button> |
| | | <el-button type="primary" plain @click="laststep()">上一步</el-button> |
| | | <el-button type="success" plain @click="preview('ruleForm')" |
| | | >查看预览</el-button |
| | |
| | | drawer: false, //控制展开 |
| | | radios: [], //多选题选中 |
| | | radioas: "", //填空题答案 |
| | | task: null, //是否来自任务 |
| | | taskform: null, //任务信息 |
| | | labelInfovalue: [], //标签临时存储 |
| | | deptNamesvalue: [], //科室临时存储 |
| | | dynamicTags: [], |
| | |
| | | }, |
| | | ], |
| | | |
| | | valssu: [ |
| | | { |
| | | idd: 1, |
| | | wssd: "你最近怎么样", |
| | | sdadd: ["sss", "ssccss", "ssaas", "ss"], |
| | | }, |
| | | ], |
| | | valssu: [], |
| | | radio: "", |
| | | addvalue: "添加题目", |
| | | // 题目表格数据 |
| | | userList: [ |
| | | { |
| | | userid: "1", |
| | | userName: "一号随访模版", |
| | | verbaltrick: "一号随访模版", |
| | | }, |
| | | { |
| | | userid: "2", |
| | | userName: "二号随访模版", |
| | | verbaltrick: "一号随访模版", |
| | | }, |
| | | { |
| | | userid: "3", |
| | | userName: "三号随访模版", |
| | | verbaltrick: "一号随访模版", |
| | | }, |
| | | { |
| | | userid: "4", |
| | | userName: "四号随访模版", |
| | | verbaltrick: "一号随访模版", |
| | | }, |
| | | ], |
| | | userList: [], |
| | | // 查询参数 |
| | | queryParams: { |
| | | pageNum: 1, |
| | |
| | | }, |
| | | |
| | | created() { |
| | | this.RoutingDataProcessing(); |
| | | this.gettabList(); |
| | | this.getvFollowup(); |
| | | this.auxiliary(); |
| | |
| | | processElement(element) { |
| | | return { ...element, isoperation: 0 }; |
| | | }, |
| | | // 路由数据处理 |
| | | RoutingDataProcessing() { |
| | | this.id = this.$route.query.id; |
| | | this.task = this.$route.query.task; |
| | | console.log(this.task,'task'); |
| | | if (this.task) { |
| | | this.id = this.$route.query.id; |
| | | } |
| | | }, |
| | | // 获取表单数据 |
| | | getvFollowup() { |
| | | this.id = this.$route.query.id; |
| | | |
| | | getvFollowup({ id: this.id }).then((res) => { |
| | | this.ruleForm = res.data; |
| | | |