Commit 82ef06de by zhangxw

警情研判详情样式修改

1 parent 525ef230
.base_box {
margin: 0 0 30px 0;
padding-bottom: 30px;
border-bottom: 1px #dadada solid;
.title {
font-size: 18px;
font-weight: bold;
......@@ -27,12 +28,12 @@
flex-wrap: wrap;
.cell {
flex: 0 0 33%;
flex: 0 0 50%;
display: flex;
padding: 4px 0;
font-size: 14px;
color: #666;
margin-bottom: 15px;
.name {
width: 130px;
flex-shrink: 0;
......@@ -55,6 +56,9 @@
}
}
.base_box:last-child{
border: none;
}
.filter_date_box {
margin: 10px 0;
......
......@@ -172,7 +172,7 @@
</div>
<el-form :model="form" :rules="rules" ref="form" :inline="false" size="mini" label-width="90px">
<el-form-item label="采取措施" prop="actionText">
<el-input type="text" v-model="form.actionText" show-word-limit maxlength="20" placeholder="请选择或输入采取措施"></el-input>
<el-input type="text" ref="actionRefs" v-model="form.actionText" show-word-limit maxlength="20" placeholder="请选择或输入采取措施"></el-input>
<el-tag type="info" size="mini" @click.native="addActionText('暂无异常')">暂无异常</el-tag>
<el-tag type="info" size="mini" @click.native="addActionText('待观察')">待观察</el-tag>
<el-tag type="info" size="mini" @click.native="addActionText('安排检修')">安排检修</el-tag>
......@@ -274,6 +274,8 @@ export default {
this.selectedDay = firstDate
this.defaultDate = firstDate ? new Date(firstDate) : date
this.calendarData = res.data
if (!this.currItem.length) return
this.getHandleResult()
})
},
init() {
......@@ -382,7 +384,10 @@ export default {
// },
// 采取措施快捷输入
addActionText(text) {
this.form.actionText = this.form.actionText+text;
this.form.actionText = this.form.actionText + text;
this.$nextTick(() => {
this.$refs.actionRefs.focus()
})
},
// 确认修改
editSure() {
......@@ -427,6 +432,7 @@ export default {
</script>
<style lang="scss">
.el_calendar {
width: 70%;
.el-calendar__header {
display: none !important;
}
......@@ -442,6 +448,9 @@ export default {
border-right: 1px solid #ebeef5;
}
}
.el-calendar-day{
height: 60px;
}
}
}
.el-tag.el-tag--info{
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!