Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
闫晓茹 2024-07-03 10:22:04 +08:00
commit c48f3cac86
12 changed files with 368 additions and 177 deletions

View File

@ -33,7 +33,7 @@
"
>
{{ ulitem.taskTypeName
}}<span class="spanitme" v-if="ulitem.taskTypeName">|</span
}}<span class="spanitme" v-if="ulitem.taskTypeName">~</span
>{{ ulitem.taskPartitionDictName }}
</div>
</div>
@ -349,16 +349,13 @@ export default {
}
.timelist {
width: 25%;
overflow: hidden;
.left {
width: 100%;
background-color: #fff;
padding: 17px 20px;
height: calc(100% - 56px);
// height: 680px;
// height: calc(100vh - 294px);
overflow-y: scroll;
.left {
height: calc(100vh - 119px);
overflow: hidden;
height: calc(100vh - 156px);
overflow-y: auto;
.name {
font-weight: 700;
margin-bottom: 10px;

View File

@ -224,7 +224,7 @@
<span v-if="item.officialPushSign == 1">
公众号
</span>
<span v-if="item.AppletPushSign == 1">
<span v-if="item.appletPushSign == 1">
小程序
</span>
</div>
@ -247,7 +247,7 @@
{{ item.officialNodeContent }}
</div>
</div>
<div class="tabtext" v-if="item.AppletPushSign == 1">
<div class="tabtext" v-if="item.appletPushSign == 1">
<div class="lefttext">
小程序模板
</div>

View File

@ -2,7 +2,7 @@
<div class="topform">
<div v-if="getParamslistData">
<div v-for="(aitem, aindex) in getParamslistData" :key="aindex">
<div style="margin-left: 80px;">
<div style="margin-left: 60px;">
<div class="toptitle">{{ aitem.taskPartitionDictName }}</div>
<div
style="display: flex"

View File

@ -511,6 +511,8 @@
:max-height="maxTableHeight"
v-loading="loading"
:data="partitionList"
@cell-dblclick="nurseclickzx"
@selection-change="handleSelectionChange"
>
<el-table-column label="请选择" width="100" align="center">
@ -622,6 +624,7 @@
:max-height="maxTableHeight"
v-loading="loading"
:data="taskTypeList"
@cell-dblclick="nurseclicktype"
@selection-change="handleSelectionChange"
>
<el-table-column label="请选择" width="100" align="center">
@ -885,33 +888,32 @@ export default {
},
//
clicktype(aitem, index) {
console.log(aitem, '0000000')
this.getListType();
this.taskTypeId = aitem.taskTypeId ? aitem.taskTypeId : '';
this.nnerVisibleindex = index;
this.innertype = true;
this.form.taskPartitionDictName = '请选择任务细分';
this.form.taskPartitionDictId = '';
this.innertype = true
},
//
clickinnerVisible(aitem, index) {
if (this.taskTypeId == '') {
if (this.taskTypeId == ''|| !aitem.taskTypeId) {
this.$modal.msgError("请先选择任务类型");
} else {
this.taskTypeId = aitem.taskTypeId ? aitem.taskTypeId : '';
this.nnerVisibleindex = index;
this.taskPartitionDictId = aitem.taskPartitionDictId ? aitem.taskPartitionDictId : '';
this.innerVisible = true;
}
// this.getListpartit();
if(aitem.taskTypeId){
this.queryParamstask.taskTypeId=aitem.taskTypeId
}
this.getListpartit();
},
//
clicktypexg() {
if (this.form.taskTypeId) {
this.taskTypeId = this.form.taskTypeId
}
this.getListType();
this.innertype = true;
@ -938,6 +940,7 @@ export default {
this.innertype = false;
},
nurseclickzx(row) {
this.taskPartitionDictId = row.id
if (this.title == '添加标签字段信息') {
this.form.labelFieldInfoList[this.nnerVisibleindex].taskPartitionDictName =
row.taskPartitionName;
@ -955,18 +958,23 @@ export default {
nurseclicktype(row) {
console.log(row, 'row')
this.queryParamstask.taskTypeId = row.id
this.taskTypeId=this.queryParamstask.taskTypeId
this.getListpartit()
this.taskTypeId = this.queryParamstask.taskTypeId
// this.getListpartit()
if (this.title == '添加标签字段信息') {
this.form.labelFieldInfoList[this.nnerVisibleindex].taskTypeName =
row.taskTypeName;
this.form.labelFieldInfoList[this.nnerVisibleindex].taskTypeId =
row.id;
this.form.labelFieldInfoList[this.nnerVisibleindex].taskPartitionDictName ='请选择任务细分',
this.form.labelFieldInfoList[this.nnerVisibleindex].taskPartitionDictId = '';
// this.form.taskPartitionDictName = '',
this.taskPartitionDictId = '';
} else if (this.titleup == '修改标签字段信息') {
this.form.taskTypeName = row.taskTypeName;
this.form.taskTypeId =row.id;
this.form.taskTypeId = row.id;
this.form.taskPartitionDictName = "请选择任务细分";
this.form.taskPartitionDictId ='';
this.form.taskPartitionDictId = '';
}
this.innertype = false;
},
@ -994,6 +1002,7 @@ export default {
fieldCode: null,
};
this.taskTypeId=''
if (this.form.labelFieldInfoList.length == 5) {
this.$message.error("最多批量添加5条");
} else {
@ -1059,7 +1068,7 @@ export default {
this.handleQuerytask();
},
//
handleQuerytype(){
handleQuerytype() {
this.queryType.pageNum = 1;
this.getListType();
@ -1078,24 +1087,24 @@ export default {
/** 新增按钮操作 */
handleAdd() {
this.reset();
this.taskTypeId='',
this.taskPartitionDictId='',
this.form = {
labelFieldInfoList: [
{
fieldType: null,
fieldName: null,
fieldRemark: null,
fieldSort: undefined,
taskPartitionDictName: '请选择任务细分',
taskPartitionDictId: '',
taskTypeName: '请选择任务类型',
taskTypeId: '',
this.taskTypeId = '',
this.taskPartitionDictId = '',
this.form = {
labelFieldInfoList: [
{
fieldType: null,
fieldName: null,
fieldRemark: null,
fieldSort: undefined,
taskPartitionDictName: '请选择任务细分',
taskPartitionDictId: '',
taskTypeName: '请选择任务类型',
taskTypeId: '',
},
],
};
},
],
};
this.open = true;
this.title = "添加标签字段信息";
},
@ -1116,7 +1125,6 @@ export default {
this.queryParamstask.taskTypeId = this.form.taskTypeId
this.getListpartit();
}
this.openup = true;
this.titleup = "修改标签字段信息";
});
@ -1151,7 +1159,6 @@ export default {
}
});
console.log(obj, 'obj')
// return
addLabelfieldinfo(obj).then(response => {
this.$modal.msgSuccess("新增成功");

View File

@ -231,16 +231,16 @@
</el-form-item> -->
<el-form-item label="所属服务方式" prop="serviceWayId">
<el-select v-model="form.serviceWayId" clearable :disabled="disableedit" placeholder="请选择服务方式"
style="width: 250px">
style="width: 478px">
<el-option v-for="item in DepartmentoList" :key="item.id" :label="item.serviceWayName"
:value="item.id"></el-option>
</el-select>
<!-- <el-input v-model="form.serviceWayId" placeholder="请输入所属服务方式id" /> -->
</el-form-item>
<el-form-item label="服务内容" prop="serviceContent" label-width="80">
<el-input type="textarea" style="width: 400px" placeholder="请输入服务内容" v-model="form.serviceContent" />
<el-form-item label="服务内容" prop="serviceContent">
<el-input type="textarea" style="width: 478px" placeholder="请输入服务内容" v-model="form.serviceContent" />
</el-form-item>
<el-form-item label="服务频次" prop="serviceFrequencyType" label-width="80px">
<el-form-item label="服务频次" prop="serviceFrequencyType">
<el-form-item label="" prop="serviceFrequencyType" label-width="">
<el-checkbox v-model="DIGIT" @change="DIGITlist">数字</el-checkbox>
</el-form-item>
@ -248,12 +248,12 @@
<div style="display: flex; margin: -32px 34px 0 66px">
<el-form-item label="" prop="serviceFrequencyStart" label-width="">
<el-input :disabled="disableda" :change="checkPrice()" v-model="form.serviceFrequencyStart"
placeholder="请输入服务频次数字起始值" />
placeholder="请输入服务频次数字起始值" style="width:200px"/>
</el-form-item>
<span>~</span>
<el-form-item label="" prop="serviceFrequencyEnd" label-width="">
<el-input :disabled="disabledb" :change="checkPricemax()" oninput="value=value.replace(/[^\d.]/g,'')"
v-model="form.serviceFrequencyEnd" placeholder="请输入服务频次数字结束值" />
v-model="form.serviceFrequencyEnd" placeholder="请输入服务频次数字结束值" style="width:200px"/>
</el-form-item>
</div>
<div>
@ -265,14 +265,14 @@
<div style="margin: -23px 45px 0px 74px">
<el-form-item label="" prop="serviceFrequencyText" label-width="">
<el-input :disabled="disabled" v-model="form.serviceFrequencyText" placeholder="请输入服务频次文本"
style="width: 250px" />
style="width: 405px" />
</el-form-item>
</div>
</div>
</el-form-item>
<el-form-item label="排序" prop="serviceSort">
<el-input-number v-model="form.serviceSort" controls-position="right" :min="0" @change="$forceUpdate()"
style="width: 250px" />
style="width: 478px" />
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
@ -858,7 +858,11 @@ export default {
},
};
</script>
<style lang="scss">
<style lang="scss" scoped>
::v-deep .el-input-number .el-input__inner {
text-align: left;
}
.el-form-item__error {
color: #ff4949;
font-size: 12px;

View File

@ -122,7 +122,7 @@
<!-- </el-row> -->
<!-- 添加或修改常用术语(知识库)对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form ref="form" :model="form" :rules="rules" label-width="100px">
<!-- <el-form-item label="画像标签和知识库字段表id" prop="termCode">
<el-input
v-model="form.termCode"
@ -137,7 +137,7 @@
<!-- <editor v-model="form.termContent" :min-height="192" /> -->
</el-form-item>
<el-form-item label="父级名称" prop="parentTermCode">
<el-select v-model="form.parentTermCode" placeholder="请选择" @change="change">
<el-select v-model="form.parentTermCode" placeholder="请选择" @change="change" style="width:360px">
<el-option v-for="item in treeOptions" :key="item.termCode" :label="item.termContent"
:value="item.termCode">
</el-option>

View File

@ -95,7 +95,7 @@
<myPagination v-show="total > 0" :total="total" :pageSize="queryParams.pageSize"
:indexFromWrap="queryParams.pageNum" @updateCPage="updateCPage"></myPagination>
<!-- 添加或修改标准科室对照信息对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-dialog :title="title" :visible.sync="open" width="700px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="110px" :inline="true">
<!-- <el-form-item label="所属科室id" prop="departmentId">
<el-input v-model="form.departmentId" placeholder="请输入所属科室id" />

View File

@ -65,7 +65,7 @@
"
>
<div
style="float: right; margin-top: 20px"
class="handle"
v-if="
$route.query.taskType == 'QUESTIONNAIRE_SCALE' ||
$route.query.taskType == 'ARTIFICIAL_FOLLOW_UP'
@ -656,8 +656,8 @@ export default {
.tk {
::v-deep .el-textarea__inner {
margin: 20px 0 10px 30px;
width: 60% !important;
width: 35% !important;
height: 100px;
}
}
@ -726,8 +726,19 @@ export default {
.right {
width: 100%;
height: 500px;
// background: yellow;
padding-bottom: 50px;
.handle {
float: right;
margin-right: 100px;
// position: absolute;
right: 100px;
margin-top: 20px;
::v-deep .el-textarea__inner {
width: 500px;
height: 250px;
}
}
}
.header {

View File

@ -55,7 +55,7 @@
"
>
<div
style="float: right; margin-top: 20px"
class="handle"
v-if="
$route.query.taskType == 'QUESTIONNAIRE_SCALE' ||
$route.query.taskType == 'ARTIFICIAL_FOLLOW_UP'
@ -503,7 +503,7 @@ export default {
timepickerselect(e, index) {
this.questiondata.questionSubjectList[index].fillBlanksAnswer = e;
},
radioGroupChange(e, item) {},
radioGroupChange(e, item) { },
// radio
radioChange(e, item, index) {
console.log(e, item, index, "选中某个单选框时");
@ -725,6 +725,13 @@ export default {
};
</script>
<style lang="scss" scoped>
::v-deep .custom-radio-group {
width: 25%;
// background: red;
}
::v-deep .el-checkbox {
width: 25%;
}
::v-deep .el-input.is-disabled .el-input__inner {
background: #fff !important;
color: #606266;
@ -742,7 +749,8 @@ export default {
.tk {
::v-deep .el-textarea__inner {
margin: 20px 0 10px 30px;
width: 60% !important;
width: 35% !important;
height: 100px;
}
}
@ -811,9 +819,18 @@ export default {
.right {
width: 100%;
height: 500px;
// overflow-y: auto;
// background: yellow;
padding-bottom: 50px;
.handle {
float: right;
margin-right: 100px;
// position: absolute;
right: 100px;
margin-top: 20px;
::v-deep .el-textarea__inner {
width: 500px;
height: 250px;
}
}
}
.header {
@ -902,13 +919,6 @@ export default {
font-weight: 550;
padding: 10px 50px 10px 10px;
}
// .videobottom
// {
// font-size: 14px;
// font-weight: 550;
// padding: 10px 50px 10px 10px;
// }
}
.topheader {

View File

@ -2,8 +2,18 @@
<div class="header">
<div class="topheader">
<div class="user">
<img class="headsculpture" src="../../../assets/manage/touxiang.png" alt="" v-if="list.sex == 'MALE'" />
<img class="headsculpture" src="../../../assets/manage/nvtouxiang.png" alt="" v-if="list.sex == 'FEMALE'" />
<img
class="headsculpture"
src="../../../assets/manage/touxiang.png"
alt=""
v-if="list.sex == 'MALE'"
/>
<img
class="headsculpture"
src="../../../assets/manage/nvtouxiang.png"
alt=""
v-if="list.sex == 'FEMALE'"
/>
<div class="name">
{{ list.patientName }}
</div>
@ -14,16 +24,31 @@
{{ list.age }}
</div>
<div class="source">
<div class="item" style="color: #00e06e; border-color: #00e06e"
v-if="list.patientSource == 'WE_CHAT_OFFICIAL_ACCOUNT'">
<img src="../../../assets/manage/gzh.png" alt="" style="width: 24px" />
<div
class="item"
style="color: #00e06e; border-color: #00e06e"
v-if="list.patientSource == 'WE_CHAT_OFFICIAL_ACCOUNT'"
>
<img
src="../../../assets/manage/gzh.png"
alt=""
style="width: 24px"
/>
<div>公众号</div>
</div>
<div class="item" style="color: #339de5; border-color: #339de5" v-if="list.patientSource == 'WE_CHAT_APPLET'">
<div
class="item"
style="color: #339de5; border-color: #339de5"
v-if="list.patientSource == 'WE_CHAT_APPLET'"
>
<img src="../../../assets/manage/xcx.png" alt="" />
<div>小程序</div>
</div>
<div class="item" style="color: #f4881f; border-color: #f4881f" v-if="list.patientSource == 'MANAGE_END'">
<div
class="item"
style="color: #f4881f; border-color: #f4881f"
v-if="list.patientSource == 'MANAGE_END'"
>
<img src="../../../assets/manage/gld.png" alt="" />
<div>管理端</div>
</div>
@ -97,97 +122,211 @@
<div>
<div class="know">{{ formview.propagandaTitle }}</div>
<div class="knowlist">
<Editorxj
v-model="formview.propagandaContent"
:min-height="192"
/>
</div>
<Editorxj
v-model="formview.propagandaContent"
:min-height="192"
/>
</div>
<!-- <div class="knowlist">
{{ formview.propagandaContent }}
</div> -->
<img :src="baseUrl + formview.propagandaCoverPath" alt="" />
<video v-if="materialsType == 'VIDEO'" ref="myVideo" :src="baseUrl + materialsFilePath" controls></video>
<video
v-if="materialsType == 'VIDEO'"
ref="myVideo"
:src="baseUrl + materialsFilePath"
controls
></video>
</div>
</div>
</div>
<!-- 问卷模板 -->
<div class="right" v-if="$route.query.taskType == 'QUESTIONNAIRE_SCALE' ||
$route.query.taskType == 'ARTIFICIAL_FOLLOW_UP'
">
<div style="float: right; margin-top: 20px" v-if="$route.query.taskType == 'QUESTIONNAIRE_SCALE' ||
$route.query.taskType == 'ARTIFICIAL_FOLLOW_UP'
">
<el-form :inline="true" class="demo-form-inline" :model="questiondata" ref="questiondata">
<div
class="right"
v-if="
$route.query.taskType == 'QUESTIONNAIRE_SCALE' ||
$route.query.taskType == 'ARTIFICIAL_FOLLOW_UP'
"
>
<div
class="handle"
v-if="
$route.query.taskType == 'QUESTIONNAIRE_SCALE' ||
$route.query.taskType == 'ARTIFICIAL_FOLLOW_UP'
"
>
<el-form
:inline="true"
class="demo-form-inline"
:model="questiondata"
ref="questiondata"
>
<el-form-item label="任务处理信息" prop="routeHandleRemark">
<el-input type="textarea" disabled placeholder="请输入任务处理信息" v-model="questiondata.routeHandleRemark" />
<el-input
type="textarea"
disabled
placeholder="请输入任务处理信息"
v-model="questiondata.routeHandleRemark"
/>
</el-form-item>
</el-form>
</div>
<div class="sport" v-if="$route.query.taskType == 'QUESTIONNAIRE_SCALE'">
<div
class="sport"
v-if="$route.query.taskType == 'QUESTIONNAIRE_SCALE'"
>
问卷模板: Barthel指数评定问卷
</div>
<div class="words" v-if="$route.query.taskType == 'QUESTIONNAIRE_SCALE'">
<div
class="words"
v-if="$route.query.taskType == 'QUESTIONNAIRE_SCALE'"
>
您好!本问卷用于评估日常生活能力请根据自身日常实际表现选择合适的选项
</div>
<div class="sport" v-if="$route.query.taskType == 'ARTIFICIAL_FOLLOW_UP'">
<div
class="sport"
v-if="$route.query.taskType == 'ARTIFICIAL_FOLLOW_UP'"
>
人工随访模板: 神经内科人工随访
</div>
<div class="words" v-if="$route.query.taskType == 'ARTIFICIAL_FOLLOW_UP'">
<div
class="words"
v-if="$route.query.taskType == 'ARTIFICIAL_FOLLOW_UP'"
>
**您好!
</div>
<div class="words" v-if="$route.query.taskType == 'ARTIFICIAL_FOLLOW_UP'">
<div
class="words"
v-if="$route.query.taskType == 'ARTIFICIAL_FOLLOW_UP'"
>
我是医院的工作人员今天给您打电话想要了解一下您的恢复情况
</div>
<div class="words" v-for="(item, index) in questiondata.subjectResultList" :key="index">
<div
class="words"
v-for="(item, index) in questiondata.subjectResultList"
:key="index"
>
{{ index + 1 }}.{{ item.questionName }}
<span v-if="item.questionType == 'MULTIPLE_CHOICE'">单选题</span>
<span v-if="item.questionType == 'MULTIPLE_CHOICE_QUESTIONS'">多选题</span>
<span v-if="item.questionType == 'SCORING_QUESTIONS'">打分题</span>
<span v-if="item.questionType == 'COMBINATION_RADIO_SUBJECT'">组合单选题</span>
<span v-if="item.questionType == 'COMBINATION_MULTIPLE_SUBJECT'">组合多选题</span>
<span v-if="item.questionType == 'COMBINATION_BLANKS_SUBJECT'">组合填空题</span>
<span v-if="item.questionType == 'FILL_IN_THE_BLANKS'">填空题</span>
<span v-if="item.questionType == 'COMBINATION_SCORING_SUBJECT'">组合打分题</span>
<span v-if="item.questionType == 'DATE_BLANKS_SUBJECT'">日期填空题</span>
<span v-if="item.questionType == 'TIME_BLANKS_SUBJECT'">时间填空题</span>
<el-radio-group v-if="item.questionType == 'MULTIPLE_CHOICE' ||
item.questionType == 'COMBINATION_RADIO_SUBJECT' ||
item.questionType == 'SCORING_QUESTIONS' ||
item.questionType == 'COMBINATION_SCORING_SUBJECT'
" v-model="item.checked" class="custom-radio-group" @change="radioGroupChange($event, item)">
<el-radio disabled class="custom" v-for="(aitem, aindex) in item.optionResults" :key="aindex"
:label="aitem.id" @change="radioChange($event, aitem, index)">{{ aitem.optionName }}</el-radio>
<span v-if="item.questionType == 'MULTIPLE_CHOICE'"
>单选题</span
>
<span v-if="item.questionType == 'MULTIPLE_CHOICE_QUESTIONS'"
>多选题</span
>
<span v-if="item.questionType == 'SCORING_QUESTIONS'"
>打分题</span
>
<span v-if="item.questionType == 'COMBINATION_RADIO_SUBJECT'"
>组合单选题</span
>
<span v-if="item.questionType == 'COMBINATION_MULTIPLE_SUBJECT'"
>组合多选题</span
>
<span v-if="item.questionType == 'COMBINATION_BLANKS_SUBJECT'"
>组合填空题</span
>
<span v-if="item.questionType == 'FILL_IN_THE_BLANKS'"
>填空题</span
>
<span v-if="item.questionType == 'COMBINATION_SCORING_SUBJECT'"
>组合打分题</span
>
<span v-if="item.questionType == 'DATE_BLANKS_SUBJECT'"
>日期填空题</span
>
<span v-if="item.questionType == 'TIME_BLANKS_SUBJECT'"
>时间填空题</span
>
<el-radio-group
v-if="
item.questionType == 'MULTIPLE_CHOICE' ||
item.questionType == 'COMBINATION_RADIO_SUBJECT' ||
item.questionType == 'SCORING_QUESTIONS' ||
item.questionType == 'COMBINATION_SCORING_SUBJECT'
"
v-model="item.checked"
class="custom-radio-group"
@change="radioGroupChange($event, item)"
>
<el-radio
disabled
class="custom"
v-for="(aitem, aindex) in item.optionResults"
:key="aindex"
:label="aitem.id"
@change="radioChange($event, aitem, index)"
>{{ aitem.optionName }}</el-radio
>
</el-radio-group>
<!-- 多选组合多选 -->
<el-checkbox-group v-model="checkeddata" @change="radioGroupChange($event, item, 'checkbox')" v-if="item.questionType == 'MULTIPLE_CHOICE_QUESTIONS' ||
item.questionType == 'COMBINATION_MULTIPLE_SUBJECT'
">
<el-checkbox disabled v-for="(aitem, aindex) in item.optionResults" :key="aindex" :label="aitem.id"
@change="radioChangecheck($event, aitem, index, aindex)">{{ aitem.optionName }}</el-checkbox>
<el-checkbox-group
v-model="checkeddata"
@change="radioGroupChange($event, item, 'checkbox')"
v-if="
item.questionType == 'MULTIPLE_CHOICE_QUESTIONS' ||
item.questionType == 'COMBINATION_MULTIPLE_SUBJECT'
"
>
<el-checkbox
disabled
v-for="(aitem, aindex) in item.optionResults"
:key="aindex"
:label="aitem.id"
@change="radioChangecheck($event, aitem, index, aindex)"
>{{ aitem.optionName }}</el-checkbox
>
</el-checkbox-group>
<!-- 填空题组合填空 -->
<div v-if="item.questionType == 'FILL_IN_THE_BLANKS' ||
item.questionType == 'COMBINATION_BLANKS_SUBJECT'
" class="tk">
<el-input disabled v-model="item.fillBlanksAnswer" placeholder="请输入答案" type="textarea" />
<div
v-if="
item.questionType == 'FILL_IN_THE_BLANKS' ||
item.questionType == 'COMBINATION_BLANKS_SUBJECT'
"
class="tk"
>
<el-input
disabled
v-model="item.fillBlanksAnswer"
placeholder="请输入答案"
type="textarea"
/>
<!-- <el-input></el-input> -->
</div>
<!-- 日期填空题 -->
<div v-if="item.questionType == 'DATE_BLANKS_SUBJECT'" style="margin: 20px 0 10px 30px">
<el-date-picker disabled @change="timepicker($event, index)" clearable v-model="item.fillBlanksAnswer"
type="date" value-format="yyyy-MM-dd" placeholder="选择日期">
<div
v-if="item.questionType == 'DATE_BLANKS_SUBJECT'"
style="margin: 20px 0 10px 30px"
>
<el-date-picker
disabled
@change="timepicker($event, index)"
clearable
v-model="item.fillBlanksAnswer"
type="date"
value-format="yyyy-MM-dd"
placeholder="选择日期"
>
</el-date-picker>
</div>
<!-- 时间填空题 -->
<div style="margin: 20px 0 10px 30px" v-if="item.questionType == 'TIME_BLANKS_SUBJECT'">
<el-time-select disabled @change="timepickerselect($event, index)" clearable
v-model="item.fillBlanksAnswer" :picker-options="{
start: '08:30',
step: '00:30',
end: '23:30',
}" placeholder="选择时间">
<div
style="margin: 20px 0 10px 30px"
v-if="item.questionType == 'TIME_BLANKS_SUBJECT'"
>
<el-time-select
disabled
@change="timepickerselect($event, index)"
clearable
v-model="item.fillBlanksAnswer"
:picker-options="{
start: '08:30',
step: '00:30',
end: '23:30',
}"
placeholder="选择时间"
>
</el-time-select>
</div>
</div>
@ -195,7 +334,7 @@
<!-- 电话外呼 -->
<!-- <div v-if="$route.query.taskType == 'PHONE_OUTBOUND'">
<div class="sport">电话外呼</div> -->
<div v-if="$route.query.taskType == 'PHONE_OUTBOUND'">
<div v-if="$route.query.taskType == 'PHONE_OUTBOUND'">
<div class="sport">电话外呼</div>
<div class="nexttime">
@ -204,14 +343,17 @@
:model="formlist"
label-width="110px"
:inline="true"
>
<!-- <br/> -->
<!-- <br/> -->
<el-form-item label="是否接通" prop="phone">
<el-radio v-model="formlist.phoneConnectStatus" label="CONNECTED"
<el-radio
v-model="formlist.phoneConnectStatus"
label="CONNECTED"
>已接通</el-radio
>
<el-radio v-model="formlist.phoneConnectStatus" label="NOTCONNECTED"
<el-radio
v-model="formlist.phoneConnectStatus"
label="NOTCONNECTED"
>未接通</el-radio
>
</el-form-item>
@ -276,7 +418,7 @@
<el-radio disabled v-model="formlist.phonePushSign" label="1"
>已开启</el-radio
>
<el-radio disabled v-model="formlist.phonePushSign" label="0"
<el-radio disabled v-model="formlist.phonePushSign" label="0"
>未开启</el-radio
>
</el-form-item>
@ -328,25 +470,23 @@
/> -->
</el-form-item>
<br />
<div class="pushMethod">
<el-form-item label="短信模板:" prop="phone">
<span class="spanname">
<message
style="width: 200px;height: 10px;"
@on-template="messageontemplateMESSAGE"
:templateId="formlist.phoneMessageTemplateId"
:templateName="formlist.phoneMessageTemplateName"
></message>
</span>
</el-form-item>
</div>
<br/>
<div class="pushMethod">
<el-form-item label="短信模板:" prop="phone">
<span class="spanname">
<message
style="width: 200px; height: 10px"
@on-template="messageontemplateMESSAGE"
:templateId="formlist.phoneMessageTemplateId"
:templateName="formlist.phoneMessageTemplateName"
></message>
</span>
</el-form-item>
</div>
<br />
<el-form-item label="话术图" prop="phone">
<img
:src="formlist.scriptFilePath"
style="width: 250px; height: 200px"
/>
</el-form-item>
<br />
@ -376,10 +516,20 @@
<div class="sport">文字提醒</div>
<div class="nexttime">
<el-form ref="form" :model="formlists" label-width="110px" :inline="true">
<el-form
ref="form"
:model="formlists"
label-width="110px"
:inline="true"
>
<el-form-item label="提醒内容" prop="textRemindContent">
<el-input disabled type="textarea" style="width: 500px" v-model="formlists.textRemindContent"
placeholder="请输入提醒内容" />
<el-input
disabled
type="textarea"
style="width: 500px"
v-model="formlists.textRemindContent"
placeholder="请输入提醒内容"
/>
</el-form-item>
</el-form>
</div>
@ -430,8 +580,8 @@ export default {
formlist: {},
materialsFilePath: "",
materialsType: "",
optionslistS:[],
optionslist:[],
optionslistS: [],
optionslist: [],
};
},
created() {
@ -460,18 +610,18 @@ export default {
selectPhonePush(this.$route.query.manageRouteNodeId).then((response) => {
if (response.data) {
this.formlist = response.data;
if(this.formlist.phonePushSign==0){
this.formlist.phonePushSign='0'
}else if(this.formlist.phonePushSign==1){
this.formlist.phonePushSign='1'
if (this.formlist.phonePushSign == 0) {
this.formlist.phonePushSign = '0'
} else if (this.formlist.phonePushSign == 1) {
this.formlist.phonePushSign = '1'
}
}
});
}
},
methods: {
//
infolistword() {
//
infolistword() {
var dictType = "text_message_remind";
getAgencytype(dictType).then((res) => {
this.optionslist = res.data;
@ -594,13 +744,15 @@ export default {
};
</script>
<style lang="scss" scoped>
::v-deep iframe{
width:100%;
height: 500px;
::v-deep iframe {
width: 100%;
height: 500px;
}
.tk {
::v-deep .el-textarea__inner {
margin: 20px 0 10px 30px;
width: 35% !important;
height: 100px;
}
}
@ -683,8 +835,18 @@ export default {
.right {
width: 70%;
height: 500px;
// background: yellow;
padding-bottom: 30px;
.handle {
float: right;
margin-right: 50px;
// position: absolute;
margin-top: 20px;
::v-deep .el-textarea__inner {
width: 350px;
height: 250px;
}
}
}
.header {
@ -692,7 +854,6 @@ export default {
padding-top: 10px;
height: calc(100vh - 84px);
::v-deep .el-tabs__header {
margin: 0 !important;
width: 100%;

View File

@ -69,7 +69,7 @@
<myPagination v-show="total > 0" :total="total" :pageSize="queryParams.pageSize"
:indexFromWrap="queryParams.pageNum" @updateCPage="updateCPage"></myPagination>
<!-- 添加或修改细分类别信息对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-dialog :title="title" :visible.sync="open" width="700px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="110px" :inline="true">
<el-form-item label="细分类别名称" prop="subdivisionCategoryName">
<el-input maxlength="50" v-model="form.subdivisionCategoryName" placeholder="请输入细分类别名称" />

View File

@ -381,7 +381,8 @@ export default {
width: 25%;
.list {
height: 450px;
height: calc(100vh - 191px);
// height: 450px;
overflow: scroll;
//
overflow-x: hidden !important;