修改任务管理--处理
This commit is contained in:
parent
bc37303345
commit
10ae82f280
@ -9,11 +9,7 @@
|
||||
v-if="$route.query.taskNodeType == 'PHONE_OUTBOUND'"
|
||||
>
|
||||
<div class="nexttime">
|
||||
<el-form
|
||||
ref="formlist"
|
||||
:model="formlist"
|
||||
label-width="110px"
|
||||
>
|
||||
<el-form ref="formlist" :model="formlist" label-width="110px">
|
||||
<el-form-item label="电话" prop="patientPhone">
|
||||
<el-input
|
||||
disabled
|
||||
@ -68,14 +64,14 @@
|
||||
<el-form-item label="第二次拨打时间" prop="secondTime ">
|
||||
<el-input
|
||||
disabled
|
||||
v-model="formlist.secondTime "
|
||||
v-model="formlist.secondTime"
|
||||
placeholder="请输入第二次拨打时间"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="第三次拨打时间" prop="thirdTime ">
|
||||
<el-input
|
||||
disabled
|
||||
v-model="formlist.thirdTime "
|
||||
v-model="formlist.thirdTime"
|
||||
placeholder="请输入第三次拨打时间"
|
||||
/>
|
||||
</el-form-item>
|
||||
@ -91,7 +87,6 @@
|
||||
placeholder=""
|
||||
/>
|
||||
</el-form-item>
|
||||
|
||||
</el-form>
|
||||
</div>
|
||||
</el-tab-pane>
|
||||
@ -574,12 +569,12 @@ export default {
|
||||
e.questionType == "COMBINATION_MULTIPLE_SUBJECT" ||
|
||||
e.questionType == "COMBINATION_SCORING_SUBJECT"
|
||||
) {
|
||||
if(e.whetherScore==true){
|
||||
if (e.whetherScore == true) {
|
||||
e.whetherScore = 1;
|
||||
}else if(e.whetherScore==false){
|
||||
} else if (e.whetherScore == false) {
|
||||
e.whetherScore = 0;
|
||||
}
|
||||
}else{
|
||||
} else {
|
||||
e.whetherScore = 0;
|
||||
}
|
||||
e.questionSubjectOptionList.forEach((el) => {
|
||||
@ -604,7 +599,7 @@ export default {
|
||||
this.$delete(this.questiondata, "updateTime");
|
||||
var score = 0;
|
||||
// 单选、多选、打分分值
|
||||
var lengthScore=this.questiondata.questionSubjectList.filter(f=> f.whetherScore == 0)
|
||||
var lengthScore = this.questiondata.questionSubjectList.filter(f => f.whetherScore == 0)
|
||||
this.questiondata.questionSubjectList.forEach((e) => {
|
||||
if (e.questionSubjectOptionList?.length > 0) {
|
||||
e.questionSubjectOptionList.forEach((el) => {
|
||||
@ -622,9 +617,9 @@ export default {
|
||||
}
|
||||
|
||||
});
|
||||
if(lengthScore.length==this.questiondata.questionSubjectList.length){
|
||||
if (lengthScore.length == this.questiondata.questionSubjectList.length) {
|
||||
this.questiondata.totalScore = '';
|
||||
}else{
|
||||
} else {
|
||||
this.questiondata.totalScore = score;
|
||||
}
|
||||
}
|
||||
@ -677,9 +672,17 @@ export default {
|
||||
this.$store
|
||||
.dispatch("tagsView/delView", this.$route)
|
||||
.then(({ visitedViews }) => {
|
||||
if (this.$route.query.path == "/task/taskmanagement") {
|
||||
this.$router.push({
|
||||
path: "/task/taskmanagement",
|
||||
});
|
||||
} else {
|
||||
this.$router.push({
|
||||
path: "/task/followup",
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
})
|
||||
.catch(() => {
|
||||
@ -721,9 +724,16 @@ export default {
|
||||
this.$store
|
||||
.dispatch("tagsView/delView", this.$route)
|
||||
.then(({ visitedViews }) => {
|
||||
if (this.$route.query.path == "/task/taskmanagement") {
|
||||
this.$router.push({
|
||||
path: "/task/taskmanagement",
|
||||
});
|
||||
} else {
|
||||
this.$router.push({
|
||||
path: "/task/followup",
|
||||
});
|
||||
|
||||
}
|
||||
});
|
||||
})
|
||||
.catch(() => {
|
||||
@ -832,17 +842,16 @@ export default {
|
||||
height: calc(100vh - 84px);
|
||||
// background-color: #f1f3f5;
|
||||
display: flex;
|
||||
::v-deep .el-tabs__item{
|
||||
::v-deep .el-tabs__item {
|
||||
padding: 0 13px;
|
||||
}
|
||||
.nexttime{
|
||||
.nexttime {
|
||||
height: calc(100vh - 300px);
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
// background: aliceblue;
|
||||
/* height: 30vh; */
|
||||
margin-top: 25px;
|
||||
|
||||
}
|
||||
|
||||
::v-deep .el-tabs__header {
|
||||
@ -857,7 +866,7 @@ export default {
|
||||
margin-top: 20px;
|
||||
width: 27%;
|
||||
// background: red;
|
||||
::v-deep .el-form{
|
||||
::v-deep .el-form {
|
||||
padding-right: 9px;
|
||||
// margin-left: -14px;
|
||||
}
|
||||
@ -938,11 +947,10 @@ export default {
|
||||
.right_top {
|
||||
// width: 39%;
|
||||
width: 350px;
|
||||
::v-deep .el-textarea__inner{
|
||||
::v-deep .el-textarea__inner {
|
||||
width: 338px;
|
||||
height: 250px;
|
||||
margin-top: 10px;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -1507,7 +1507,7 @@
|
||||
this.$router.push({
|
||||
path: "/task/followupsee",
|
||||
query: {
|
||||
path: "/task/followup",
|
||||
path: "/task/taskmanagement",
|
||||
patientId: row.patientId,
|
||||
taskNodeType: row.taskNodeType,
|
||||
templateId: row.templateId,
|
||||
|
||||
@ -60,10 +60,7 @@
|
||||
<el-tab-pane label="签约记录" name="five">
|
||||
<signingRecords v-if="activeName == 'five'"></signingRecords>
|
||||
</el-tab-pane>
|
||||
<el-tab-pane
|
||||
label="任务处理"
|
||||
name="six"
|
||||
>
|
||||
<el-tab-pane label="任务处理" name="six">
|
||||
<keep-alive>
|
||||
<Taskprocess v-if="activeName == 'six'" ref="process"></Taskprocess>
|
||||
</keep-alive>
|
||||
@ -133,9 +130,17 @@ export default {
|
||||
},
|
||||
// 取消
|
||||
cencal() {
|
||||
if (this.$route.query.path == "/task/taskmanagement") {
|
||||
this.$router.push({
|
||||
path: "/task/taskmanagement",
|
||||
});
|
||||
} else {
|
||||
this.$router.push({
|
||||
path: "/task/followup",
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
},
|
||||
},
|
||||
};
|
||||
@ -275,7 +280,6 @@ export default {
|
||||
background-color: #fff;
|
||||
margin: 10px auto;
|
||||
padding: 10px 0px 10px 20px;
|
||||
|
||||
}
|
||||
.topheaderup {
|
||||
width: 99%;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user