| | |
| | | </el-form> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <el-button type="success" @click="nextstep('ruleForm')">{{ |
| | | quote ? "立即创建" : "任务详情配置" |
| | | }}</el-button> |
| | | <el-button @click="resetForm('ruleForm')">重置</el-button> |
| | | </div> |
| | | |
| | | <!-- 任务详情 --> |
| | | <div v-if="Editprogress == 2"> |
| | | <el-alert title="在本阶段选择随访病人" type="success" effect="dark"> |
| | | </el-alert> |
| | | <div class="leftvlue-jbxx"> |
| | | <div class="examine-jic"> |
| | | <div class="headline"> |
| | | <div>变量匹配量参</div> |
| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <el-button type="success" @click="nextstep('ruleForm')">{{ |
| | | quote ? "立即创建" : "任务详情配置" |
| | | }}</el-button> |
| | | <el-button @click="resetForm('ruleForm')">重置</el-button> |
| | | </div> |
| | | |
| | | <!-- 任务详情 --> |
| | | <div v-if="Editprogress == 2"> |
| | | <el-alert title="在本阶段选择随访病人" type="success" effect="dark"> |
| | | </el-alert> |
| | | <div class="leftvlue-jbxx"> |
| | | <div class="examine-jic"> |
| | | <div class="headline"> |
| | | <div>患者列表</div> |
| | |
| | | overallCase: [], //选择患者总 |
| | | allpids: [], |
| | | libId: null, //模板库模版id |
| | | nhh: null, //是否依照新增 |
| | | Editprogress: 1, //编辑进度 |
| | | drawermb: false, //选择模版弹窗 |
| | | previewtf: false, //预览 |
| | |
| | | this.id = this.$route.query.id; |
| | | this.form.type = this.$route.query.type; |
| | | this.form.typename = this.$route.query.typename; |
| | | this.form.nhh = this.$route.query.nhh; |
| | | this.listDept(); |
| | | this.Acquisitiontype(); |
| | | this.Getdetails(); |
| | |
| | | // 处理问题层变量 |
| | | Variablehandling(arr, type) { |
| | | let Variablist = []; |
| | | this.variableList = []; //变量列表 |
| | | if (type == 1) { |
| | | console.log(arr); |
| | | // 循环问题 |
| | |
| | | } |
| | | }); |
| | | }); |
| | | console.log(Variablist, "Variablist"); |
| | | const Aarr = Variablist.filter( |
| | | (obj, index, self) => |
| | | index === |
| | | self.findIndex((t) => t.name === obj.name && t.value === obj.value) |
| | | ); |
| | | this.variableList = this.transitionList.concat(Aarr); |
| | | console.log(this.variableList, "variableList"); |
| | | // this.form.textParam = this.convertFormat2ToFormat1(this.variableList); |
| | | } |
| | | }, |
| | |
| | | this.formatFn(2); |
| | | console.log(this.form.showDate, "this.form"); |
| | | this.daytime = this.form.showDate.split(","); |
| | | this.changeTimeday(this.daytime); |
| | | if (this.form.showTimeMorn) { |
| | | if (this.form.sendType == 3) { |
| | | this.time4 = this.form.showTimeMorn; |
| | |
| | | console.log(this.form.sendTimeslot, "时间"); |
| | | }, |
| | | changeTimeday(row) { |
| | | console.log(row, "日期"); |
| | | const startDate = new Date(row[0]); |
| | | const endDate = new Date(row[1]); |
| | | this.applydaytime = this.getDates(startDate, endDate); |
| | | this.processingTime(); |
| | | if (!top) { |
| | | this.processingTime(); |
| | | } |
| | | }, |
| | | getDates(startDate, endDate) { |
| | | const dates = []; |