1
guanqb
2022-11-12 eef9fb0a70d6249b80f067663d910b5c2becc4ef
1
2 files modified
58 ■■■■ changed files
src/views/home/components/leftContainer.vue 4 ●●● patch | view | raw | blame | history
src/views/home/components/rightContainer.vue 54 ●●●● patch | view | raw | blame | history
src/views/home/components/leftContainer.vue
@@ -863,10 +863,11 @@
            border-radius: 50%;
            background: #43bafe;
            box-shadow: 0px 0px 8px 2px #43bafe;
            margin-left: 8px;
        }
        .title {
            padding: 0 18px;
            padding: 0 18px 0 25px;
            position: relative;
            text-align: left;
            height: 40px;
@@ -874,6 +875,7 @@
            font-size: 20px;
            display: flex;
            justify-content: space-between;
            background-image: linear-gradient(to right, #2e4aba, #010d3e);
            .choosed {
                color: #fff;
src/views/home/components/rightContainer.vue
@@ -4,9 +4,16 @@
            <div class="title">
                案件统计
                <div class="timer">
                    <el-date-picker v-model="eventTime" type="daterange" align="right" unlink-panels range-separator="至"
                        start-placeholder="开始日期" end-placeholder="结束日期" :picker-options="pickerOptions">
                    </el-date-picker>
                    <el-date-picker
                        v-model="eventTime"
                        type="daterange"
                        align="right"
                        unlink-panels
                        range-separator="至"
                        start-placeholder="开始日期"
                        end-placeholder="结束日期"
                        :picker-options="pickerOptions"
                    ></el-date-picker>
                </div>
            </div>
            <div id="EventChangeEcharts" class="echarts-box"></div>
@@ -14,15 +21,28 @@
        <div class="alert-box">
            <div class="title">
                <span style="margin-right:130px">安保活动</span>
                <span class="activity" :class="{ choosed: acttype == 0 }" @click="actTabClick(0)">正在进行</span>
                <span
                    class="activity"
                    :class="{ choosed: acttype == 0 }"
                    @click="actTabClick(0)"
                >正在进行</span>
                <span>/</span>
                <span class="activity" :class="{ choosed: acttype == 1 }" @click="actTabClick(1)">历史活动</span>
                <span
                    class="activity"
                    :class="{ choosed: acttype == 1 }"
                    @click="actTabClick(1)"
                >历史活动</span>
            </div>
            <div id="peopleList" class="echarts-box">
                <el-table :data="acttype == 0 ? underwayArr : historyArr" style="width: 100%"
                <el-table
                    :data="acttype == 0 ? underwayArr : historyArr"
                    style="width: 100%"
                    :header-cell-style="{ 'text-align': 'center', 'background-color': '#203c60', 'borderColor': '#324e75' }"
                    :cell-style="{ 'text-align': 'center', 'borderColor': '#324e75' }"
                    :row-class-name="tableRowClassName" ref="activityTable" @row-click="activityRowClick">
                    :row-class-name="tableRowClassName"
                    ref="activityTable"
                    @row-click="activityRowClick"
                >
                    <el-table-column prop="activityName" label="活动名称" width="100"></el-table-column>
                    <el-table-column prop="startTime" label="开始时间" width="100"></el-table-column>
                    <el-table-column prop="endTime" label="结束时间" width="100"></el-table-column>
@@ -33,9 +53,17 @@
        <div class="crowd-box">
            <div class="title">
                <span style="margin-right:130px">现有设备</span>
                <span class="equiment" :class="{ choosed: linetype == 0 }" @click="lineTabClick(0)">在线设备</span>
                <span
                    class="equiment"
                    :class="{ choosed: linetype == 0 }"
                    @click="lineTabClick(0)"
                >在线设备</span>
                <span>/</span>
                <span class="activity" :class="{ choosed: linetype == 1 }" @click="lineTabClick(1)">离线设备</span>
                <span
                    class="activity"
                    :class="{ choosed: linetype == 1 }"
                    @click="lineTabClick(1)"
                >离线设备</span>
            </div>
            <div style="overflow: hidden;" id="EquipmentEcharts" class="echarts-box"></div>
        </div>
@@ -502,15 +530,17 @@
            border-radius: 50%;
            background: #43bafe;
            box-shadow: 0px 0px 8px 2px #43bafe;
            margin-left: 8px;
        }
        .title {
            padding: 0 18px;
            padding: 0 18px 0 25px;
            position: relative;
            text-align: left;
            height: 40px;
            line-height: 40px;
            font-size: 20px;
            background-image: linear-gradient(to right, #2e4aba, #010d3e);
            .timer {
                width: 250px;
@@ -554,7 +584,7 @@
                border: 1px solid rgba(20, 50, 123, 1);
                cursor: pointer;
                &>div {
                & > div {
                    height: 26px;
                    line-height: 26px;
                }
@@ -569,7 +599,7 @@
            flex: 1;
        }
        .sub-tab+.echarts-box {
        .sub-tab + .echarts-box {
            margin-top: 10px;
        }