Browse Source

current.scss文件漏提 和 考勤作业详情

wangkang3 4 years ago
parent
commit
40bfcda762

+ 8 - 0
ebc-middle-platform/src/modules/attendance/attendance.scss

@ -40,4 +40,12 @@
40 40
  .table-pager{
41 41
    margin: 20px auto;
42 42
  }
43
}
44
.modal{
45
  .title{
46
    display: flex;
47
    >div{
48
      margin-right: 40px;
49
    }
50
  }
43 51
}

+ 44 - 2
ebc-middle-platform/src/modules/attendance/attendance.vue

@ -42,7 +42,7 @@
42 42
          width="120"
43 43
        >
44 44
          <template slot-scope="scope">
45
            <a href="javascript:void(0)" size="sm" @click="handleClick(scope.row)">详情</a>
45
            <a href="javascript:void(0)" size="sm" @click="detail(scope.row)">详情</a>
46 46
          </template>
47 47
        </t-table-column>
48 48
      </t-table>
@ -55,6 +55,20 @@
55 55
               @on-change="onPagerChange">
56 56
      </t-pager>
57 57
    </div>
58
    <t-modal :visibled.sync="modal" :footer-visibled="false" class="modal" title="考勤详情" width="1200px">
59
      <div class="title">
60
        <div>姓名:张三</div>
61
        <div>职务:运维人员</div>
62
        <div>考勤时间:2020-08-01 ~ 2020-08-07</div>
63
        <div>出勤天数:7天</div>
64
      </div>
65
      <div>
66
        <t-table :data="modalData.table">
67
          <t-table-column prop="date" label="日期"></t-table-column>
68
          <t-table-column prop="time" label="打卡时间" ></t-table-column>
69
        </t-table>
70
      </div>
71
    </t-modal>
58 72
  </div>
59 73
</template>
60 74
<script>
@ -98,7 +112,32 @@ export default {
98 112
        type: '',
99 113
        alarmPerson: ''
100 114
      },
101
      singleDateVal: ''
115
      singleDateVal: '',
116
      modal: false,
117
      modalData: {
118
        table: [{
119
          date: '2020-08-01',
120
          time: '08:18'
121
        }, {
122
          date: '2020-08-02',
123
          time: '08:18'
124
        }, {
125
          date: '2020-08-03',
126
          time: '08:18'
127
        }, {
128
          date: '2020-08-04',
129
          time: '08:18'
130
        }, {
131
          date: '2020-08-05',
132
          time: '08:18'
133
        }, {
134
          date: '2020-08-06',
135
          time: '08:18'
136
        }, {
137
          date: '2020-08-07',
138
          time: '08:18'
139
        }]
140
      }
102 141
    }
103 142
  },
104 143
  mounted() {
@ -132,6 +171,9 @@ export default {
132 171
    },
133 172
    onSizeChange(number) {
134 173
174
    },
175
    detail(row) {
176
      this.modal = true
135 177
    }
136 178
  }
137 179
}

+ 165 - 0
ebc-middle-platform/src/modules/call-help/current.scss

@ -0,0 +1,165 @@
1
.current-container{
2
  display: flex;
3
  width: "100%";
4
  height: 700px;
5
  .left{
6
    margin-top: 30px;
7
    width: 360px;
8
    height: 700px;
9
    .item{
10
      width: 300px;
11
      margin: 10px 30px;
12
      border: 1px solid #E0E0E0;
13
      border-radius: 5px;
14
      .top{
15
        display: flex;
16
        border-bottom: 1px solid #E0E0E0;
17
        height: 40px;
18
        line-height: 40px;
19
        padding-left: 20px;
20
        font-size: 12px;
21
        color: #000000;
22
        .user-pic{
23
          width: 25px;
24
          height: 25px;
25
          background-image: url('/static/images/user.png');
26
          background-size: 100% 100%;
27
          margin: 7.5px 5px 0 0;
28
        }
29
        .alarm{
30
          color: #F5222D;
31
          background-color: #FEE9EA;
32
          margin: 7.5px 0 0 5px;
33
          padding: 0 5px;
34
          font-size: 8px;
35
          height: 25px;
36
          line-height: 25px;
37
        }
38
        .hand-alarm{
39
          color: #FAAD14;
40
          background-color: #FFF7E8;
41
          margin: 7.5px 0 0 5px;
42
          padding: 0 5px;
43
          font-size: 8px;
44
          height: 25px;
45
          line-height: 25px;
46
        }
47
      }
48
      .middle{
49
        padding-left: 20px;
50
        line-height: 30px;
51
        font-size: 10px;
52
        .row{
53
          display: flex;
54
          margin: 0;
55
          justify-content: space-between;
56
          >div{
57
            flex: 1;
58
            text-align: left;
59
          }
60
        }
61
      }
62
      .footer{
63
        height: 40px;
64
        border-top: 1px solid #E0E0E0;
65
        display: flex;
66
        justify-content: flex-end;
67
        button{
68
          height: 25px;
69
          line-height: 25px;
70
          margin: 7.5px 10px 0 0;
71
        }
72
      }
73
    }
74
    .active{
75
      border: 2px solid #147BD1;
76
    }
77
  }
78
  .right{
79
    flex: 1;
80
    padding: 40px 30px 0 0;
81
    #current-map{
82
      width: 100%;
83
      height: 700px;
84
    }
85
  }
86
}
87
.aimap-popup-content-wrapper{
88
  background: #344979!important;
89
  .aimap-popup-content{
90
    margin: 0;
91
  }
92
}
93
.aimap-popup-tip-container{
94
  .aimap-popup-tip{
95
    background-color: #344979;
96
  }
97
} 
98
.tips-item{
99
  // width: 300px;
100
  // margin: 10px 30px;
101
  // border: 1px solid #E0E0E0;
102
  border-radius: 5px;
103
  background: #344979;
104
  .top{
105
    display: flex;
106
    border-bottom: 1px solid #99A3BA;
107
    height: 40px;
108
    line-height: 40px;
109
    padding-left: 20px;
110
    font-size: 12px;
111
    color: #ffffff;
112
    .user-pic{
113
      width: 25px;
114
      height: 25px;
115
      border-radius: 50%;
116
      background-image: url('/static/images/user.png');
117
      background-size: 100% 100%;
118
      margin: 7.5px 5px 0 0;
119
    }
120
    .alarm{
121
      color: #F5222D;
122
      background-color: #343E6B;
123
      margin: 7.5px 0 0 5px;
124
      padding: 0 5px;
125
      font-size: 8px;
126
      height: 25px;
127
      line-height: 25px;
128
    }
129
    .hand-alarm{
130
      color: #FAAD14;
131
      background-color: #FFF7E8;
132
      margin: 7.5px 0 0 5px;
133
      padding: 0 5px;
134
      font-size: 8px;
135
      height: 25px;
136
      line-height: 25px;
137
    }
138
  }
139
  .middle{
140
    padding-left: 20px;
141
    line-height: 30px;
142
    font-size: 10px;
143
    color: #ffffff;
144
    .row{
145
      display: flex;
146
      margin: 0;
147
      justify-content: space-between;
148
      >div{
149
        flex: 1;
150
        text-align: left;
151
      }
152
    }
153
  }
154
  .footer{
155
    height: 40px;
156
    border-top: 1px solid #E0E0E0;
157
    display: flex;
158
    justify-content: flex-end;
159
    button{
160
      height: 25px;
161
      line-height: 25px;
162
      margin: 7.5px 10px 0 0;
163
    }
164
  }
165
}