This commit is contained in:
2024-08-05 09:21:53 +08:00
parent d5327ff470
commit fae9b69f90
10 changed files with 41 additions and 17 deletions

View File

@ -11,7 +11,7 @@ class Video extends BlockEmbed {
static create(value) {
const node = super.create();
// 添加video标签所需的属性
node.setAttribute('style', 'object-fit:fill;width: 100%;')
node.setAttribute('style', 'object-fit:fill;max-width: 100%;')
node.setAttribute('preload', 'auto') // auto - 当页面加载后载入整个视频 meta - 当页面加载后只载入元数据 none - 当页面加载后不载入视频
// node.setAttribute('playsinline', 'true')
// node.setAttribute('x-webkit-airplay', 'allow')

View File

@ -398,6 +398,12 @@ export default {
getRouteNodeInfo(this.$route.query.signRecordId).then(res => {
this.allroutelist = res.data
this.routelist = this.allroutelist.filter(item => item.conditionSatisfyStatus);
this.routelist.forEach(e => {
if (e.taskNodeType == 'PROPAGANDA_ARTICLE') {
e.templateDetail.propagandaContent = e.templateDetail?.propagandaContent?.replace(/\<img/gi,
"<img style='max-width:100%'")
}
})
this.tab = 2
loading.close();
}).catch(err => {

View File

@ -268,7 +268,7 @@ export default {
created() {
if (this.lookitemnew) {
this.questiondata = this.lookitemnew;
this.questiondata.subjectResultList.forEach((e) => {
this.questiondata.subjectResultList?.forEach((e) => {
e.optionResults.forEach((el) => {
console.log(el, "el");
if (

View File

@ -202,7 +202,7 @@
</div>
<div class="flex">
<div class="pushMethod">
次数
次数
<span>
<el-select v-model="form.phoneRedialTimes" style="width: 100px">
<el-option v-for="item in optionslistS" :key="item.dictValue" :label="item.dictLabel"

View File

@ -11,7 +11,7 @@
<img src="../../../assets/manage/blueliebiao.png" alt="" v-if="type == 'table'" />
</div>
</div>
<SearchFilter :labelWidths="280" style="width: calc(100% - 80px);" :widths="90" size="mini" @search="handleQuery"
<SearchFilter :labelWidths="280" style="width: calc(100% - 80px);" :widths="80" size="mini" @search="handleQuery"
@reset="resetQuery" @minShowCtrol="getMaxTableHeight">
<el-form-item label="患者姓名" prop="patientName">
<el-input v-model="queryParams.patientName" placeholder="请输入患者姓名" clearable @keyup.enter.native="handleQuery"

View File

@ -327,7 +327,7 @@
</div>
<div class="flex">
<div class="pushMethod">
次数
次数
<span>
<el-select v-model="form.phoneRedialTimes" style="width: 110px">
<el-option v-for="item in optionslistSname" :key="item.dictValue" :label="item.dictLabel"
@ -479,7 +479,7 @@ import indexjs from "./indexjs.js";
export default indexjs;
</script>
<style scoped lang="scss">
.txxt
.txxt
::v-deep.el-form-item--medium .el-form-item__content {
line-height: 36px;
height: 40px;

View File

@ -194,7 +194,7 @@ export default {
});
},
// 重次数
// 重次数
infolistMESSAGE() {
var dictType = "redial_times";
getAgencytype(dictType).then((res) => {

View File

@ -195,7 +195,7 @@
</div>
<div class="flex">
<div class="itemlist">
次数
次数
<span>
<el-select v-model="formInline.phoneRedialTimes" style="width: 100px">
<el-option v-for="item in optionslistS" :key="item.dictValue" :label="item.dictLabel"
@ -299,7 +299,7 @@
</div>
<div class="flex">
<div class="itemlist">
次数
次数
<span>
<el-select v-model="formInline.phoneRedialTimes" style="width: 100px">
<el-option v-for="item in optionslisttime" :key="item.dictValue" :label="item.dictLabel"

View File

@ -435,7 +435,7 @@
</div>
<div class="flex">
<div class="pushMethod">
次数
次数
<span>
<el-select
v-model="form.phoneRedialTimes"
@ -743,7 +743,6 @@ export default {
methods: {
//
looklist() {
console.log(22222)
this.lookquestionlist = true;
},
//
@ -1109,7 +1108,7 @@ export default {
this.$refs.wangeditor.emit();
}
},
//
//
async bottomclickevent(uitem, index, uindex) {
await this.onemit();
const loading = this.$loading({
@ -1348,6 +1347,29 @@ export default {
spinner: "el-icon-loading",
background: "rgba(0, 0, 0, 0.7)",
});
console.log(this.form)
if (this.form.taskNodeType != 'PHONE_OUTBOUND') {
if (this.form.messagePushSign == "1") {
if (!this.form.messageTemplateId) {
this.$message.error("请选择短信模板");
return loading.close();
}
}
if (this.form.officialPushSign == "1") {
if (!this.form.officialTemplateId) {
this.$message.error("请选择公众号模板");
return loading.close();
}
}
if (this.form.appletPushSign == "1") {
if (!this.form.appletTemplateId) {
this.$message.error("请选择小程序模板");
return loading.close();
}
}
}else{
}
if (
Number(this.form.routeNodeDay) != 0 &&
Number(this.form.routeNodeDay) < 0
@ -1367,10 +1389,6 @@ export default {
this.$message.error("请选择任务细分");
return loading.close();
}
// if (!this.form.taskStatus) {
// this.$message.error("");
// return loading.close();
// }
updateRouteCheckStatus({
routeCheckStatus: this.routeform.routeCheckStatus,
id: this.form.specialDiseaseNodeId,

View File

@ -178,7 +178,7 @@
<!-- 电话外呼 -->
<div v-if="form.taskType == 'PHONE_OUTBOUND'">
<div class="topitem">
<el-form-item label="重次数:" prop="patientId">
<el-form-item label="重次数:" prop="patientId">
<el-input v-model="form.phoneRedialTimes" style="width: 260px" disabled />
</el-form-item>
<el-form-item label="时间间隔:" prop="patientId">