提交 644dbf39 authored 作者: lihuihui's avatar lihuihui

update

上级 0c7726fc
......@@ -168,7 +168,7 @@ export default {
message: '请编辑主题',
type: 'warning'
})
return false
return {}
}
}
return params
......
<template>
<div class="sms-three-box">
<div class="content-left">
<div class="card-textarea">
<div class="title">推送标题</div>
<textarea placeholder="请输入"></textarea>
</div>
<div class="card-textarea">
<div class="title">推送内容</div>
<textarea placeholder="请输入"></textarea>
</div>
</div>
<div class="content-right"></div>
</div>
</template>
<script>
export default {}
</script>
<style lang="scss" scoped>
.sms-three-box {
margin-bottom: 20px;
display: flex;
.content-left {
border-left: 1px solid #dedede;
border-right: 1px solid #dedede;
padding: 30px 30px 0;
.card-textarea {
width: 320px;
background: rgba(248, 248, 248, 0.39);
border-radius: 16px;
padding: 23px;
margin-bottom: 30px;
.title {
text-align: center;
margin-bottom: 23px;
font-size: 18px;
font-weight: bold;
line-height: 100%;
color: #333333;
}
textarea {
width: 100%;
height: 91px;
background: rgba(255, 255, 255, 0.39);
border: 1px solid #efefef;
border-radius: 6px;
padding: 10px 15px;
color: #333333;
font-size: 14px;
resize: none;
}
}
}
.content-right {
width: 588px;
padding-top: 95px;
box-sizing: border-box;
}
}
</style>
......@@ -104,11 +104,7 @@ export default {
}
cacheReport(this.$store.state.case.id, { reports: JSON.stringify(reports) }).then(res => {
this.caseId = res.data.id
if (val === 2) {
this.activeStep++
} else {
this.activeStep++
}
})
},
// 预览
......
......@@ -17,6 +17,9 @@
@getTime="getTime"
:stepTwoData="stepTwoData"
/>
<SmsStepThree
v-if="activeStep === 2"
/>
<div class="main_content_btn">
<div class="step_prev step_btn" @click="handlePrev" v-if="activeStep > 0">上一步</div>
<div class="step_next step_btn" @click="handleNext" v-if="activeStep >= 0 && activeStep < 2">下一步</div>
......@@ -35,17 +38,19 @@ import ToolCard from '@/components/base/ToolCard.vue'
import SmsStepOne from '../components/mobileSms/SmsStepOne.vue'
import Step from '@/components/base/Step.vue'
import SmsStepTwo from '../components/mobileSms/SmsStepTwo.vue'
import SmsStepThree from '../components/mobileSms/SmsStepThree.vue'
export default {
components: {
ToolCard,
SmsStepOne,
Step,
SmsStepTwo
SmsStepTwo,
SmsStepThree
},
data() {
return {
// times: '',
activeStep: 0,
activeStep: 2,
stepOneList: [],
caseId: '',
stepTwoData: {
......@@ -140,12 +145,11 @@ export default {
}
},
mounted() {
console.log(this.$route.query.type)
if (this.$route.query.type) {
this.getReportDetail(this.$route.query.id)
} else {
this.checkRecord()
}
// if (this.$route.query.type) {
// this.getReportDetail(this.$route.query.id)
// } else {
// this.checkRecord()
// }
}
}
</script>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论