seimin 1 year ago
parent
commit
e6a7c73fd3

+ 2 - 2
config/index.js

@@ -14,7 +14,7 @@ module.exports = {
14 14
     proxyTable: {
15 15
       '/service': {//自定义名字,代表的是以下target中的内容
16 16
         // target: host.host+'/service/',//微信
17
-        target: 'http://192.168.3.111',//微信
17
+        target: 'http://192.168.4.105',//微信
18 18
         changeOrigin: true,//是否允许跨域
19 19
         // pathRewrite: {
20 20
         //   '^/service': ''
@@ -22,7 +22,7 @@ module.exports = {
22 22
       },
23 23
       '/file': {//自定义名字,代表的是以下target中的内容
24 24
         // target: host.host+'/service/',//微信
25
-        target: 'http://192.168.3.111',//微信
25
+        target: 'http://192.168.4.105',//微信
26 26
         changeOrigin: true,//是否允许跨域
27 27
         // pathRewrite: {
28 28
         //   '^/service': ''

+ 270 - 0
src/components/showModelPicture/showModelPicture.vue

@@ -0,0 +1,270 @@
1
+<template>
2
+  <div class="showModel" v-if="disjunctor">
3
+    <div class="showModel__wrap">
4
+      <div class="showModel__header" v-if="title">
5
+        {{ title }}
6
+      </div>
7
+      <div class="showModel__article">
8
+        <div v-if="content" class="showModel__content" v-html="content"></div>
9
+        <div class="imgs-container">
10
+          <img :src="img.previewUrl" v-for="(img, index) in repairImgs" :key="index" class="imgs" @click="showImgs(repairImgs)" />
11
+        </div>
12
+      </div>
13
+      <div class="showModel__footer">
14
+        <div v-if="operate.know" class="showModel__know" @click.stop="know">
15
+          {{ operate.know || "" }}
16
+        </div>
17
+      </div>
18
+    </div>
19
+  </div>
20
+</template>
21
+
22
+<script>
23
+export default {
24
+  data() {
25
+    return {
26
+      loginUser: JSON.parse(localStorage.getItem("loginUser")),
27
+      repairImgs: [], //报修图片
28
+    };
29
+  },
30
+  props: {
31
+    // 显示隐藏
32
+    disjunctor: {
33
+      type: Boolean,
34
+      default: false
35
+    },
36
+    // 标题
37
+    title: {
38
+      type: String,
39
+      default: "提示"
40
+    },
41
+    // 内容
42
+    content: {
43
+      type: String,
44
+      default: ""
45
+    },
46
+    // 报修单id
47
+    wxIncidentId: {
48
+      type: Number,
49
+    },
50
+    // 操作按钮文字
51
+    operate: {
52
+      type: Object,
53
+      default: () => {
54
+        return {
55
+          know: "知道了"
56
+        };
57
+      }
58
+    }
59
+  },
60
+  methods: {
61
+    // 知道了
62
+    know() {
63
+      this.$emit("know");
64
+    },
65
+    // 获取报修图片
66
+    getRepairImgs() {
67
+      const toast = this.$createToast({
68
+        txt: "Loading...",
69
+        mask: true
70
+      });
71
+      toast.show();
72
+      this.$http
73
+        .get(
74
+          "service/common/common/listAttachment/wechatRequesterIncident/" +
75
+            this.wxIncidentId,
76
+          {}
77
+        )
78
+        .then((res) => {
79
+          toast.hide();
80
+          console.log(res.data);
81
+          res.data.data = res.data.data || [];
82
+          res.data.data.forEach(v => {
83
+            v.previewUrl = location.origin + "/file" + v.relativeFilePath;
84
+          })
85
+          this.repairImgs = res.data.data;
86
+        });
87
+    },
88
+    //展示图片
89
+    showImgs(imgs){
90
+      this.$createImagePreview({
91
+        imgs:imgs.map(v=>v.previewUrl)
92
+      }).show()
93
+    },
94
+  },
95
+  mounted() {
96
+    this.getRepairImgs();
97
+  }
98
+};
99
+</script>
100
+
101
+<style lang="less">
102
+.showModel {
103
+  position: fixed;
104
+  left: 0;
105
+  right: 0;
106
+  top: 0;
107
+  bottom: 0;
108
+  background-color: rgba(0, 0, 0, 0.2);
109
+  z-index: 99;
110
+  .red{
111
+    color: red;
112
+  }
113
+
114
+  .imgs-container {
115
+    display: flex;
116
+    justify-content: space-between;
117
+    flex-wrap: wrap;
118
+    img {
119
+      width: 1.5rem;
120
+      height: 1.5rem;
121
+      margin: 0.2rem 0.1rem;
122
+    }
123
+  }
124
+
125
+  .tipsAll {
126
+    .tips {
127
+      word-break: break-all;
128
+      margin-bottom: 0.1rem;
129
+    }
130
+  }
131
+
132
+  .showModel__wrap {
133
+    width: 6rem;
134
+    position: absolute;
135
+    left: 50%;
136
+    top: 50%;
137
+    transform: translate(-50%, -50%);
138
+    background-color: #fff;
139
+    border-radius: 0.12rem;
140
+
141
+    .showModel__header {
142
+      font-size: 0.28rem;
143
+      color: #000;
144
+      height: 0.84rem;
145
+      display: flex;
146
+      justify-content: center;
147
+      align-items: center;
148
+      font-weight: bold;
149
+    }
150
+
151
+    .showModel__article {
152
+      margin: 0 auto 0.2rem;
153
+      width: 5.28rem;
154
+      padding: 0.2rem 0 0;
155
+      background-color: rgb(249, 250, 251);
156
+      border: 0.02rem solid rgb(229, 233, 237);
157
+      border-radius: 0.12rem;
158
+      box-sizing: border-box;
159
+      display: flex;
160
+      flex-direction: column;
161
+      justify-content: center;
162
+      align-items: center;
163
+
164
+      .showModel__icon {
165
+        font-size: 1.38rem;
166
+        margin-bottom: 0.32rem;
167
+
168
+        &.showModel__icon--success {
169
+          color: rgb(52, 179, 73);
170
+        }
171
+
172
+        &.showModel__icon--warn {
173
+          color: rgb(245, 165, 35);
174
+        }
175
+
176
+        &.showModel__icon--error {
177
+          color: rgb(255, 58, 82);
178
+        }
179
+      }
180
+
181
+      .showModel__content {
182
+        width: 100%;
183
+        font-size: 0.26rem;
184
+        padding: 0 0 0.2rem;
185
+        border-bottom: 0.02rem solid #B7B7B7;
186
+        text-align: center;
187
+      }
188
+
189
+      .showModel__info {
190
+        font-size: 0.32rem;
191
+        color: rgb(102, 102, 102);
192
+      }
193
+      .select-wrap {
194
+        width: 80%;
195
+        margin: 0 auto;
196
+        &.hc{
197
+          font-size: 0.32rem;
198
+          .hc_item{
199
+            margin-bottom: 0.1rem;
200
+            display: flex;
201
+            align-items: center;
202
+          }
203
+        }
204
+      }
205
+      .specialCloseFlag {
206
+        width: 90%;
207
+        height: 100%;
208
+        padding: 0.16rem;
209
+      }
210
+    }
211
+
212
+    .showModel__footer {
213
+      box-sizing: border-box;
214
+      height: 1rem;
215
+      border-top: 0.02rem solid rgb(229, 233, 237);
216
+      display: flex;
217
+      align-items: center;
218
+
219
+      div {
220
+        height: 100%;
221
+        display: flex;
222
+        align-items: center;
223
+        justify-content: center;
224
+        font-size: 0.36rem;
225
+        color: rgb(102, 102, 102);
226
+        position: relative;
227
+
228
+        &:nth-of-type(2)::before {
229
+          content: "";
230
+          position: absolute;
231
+          left: 0;
232
+          bottom: 0;
233
+          width: 0.02rem;
234
+          height: 0.87rem;
235
+          background-color: rgb(229, 233, 237);
236
+        }
237
+        &:nth-of-type(3)::before {
238
+          content: "";
239
+          position: absolute;
240
+          left: 0;
241
+          bottom: 0;
242
+          width: 0.02rem;
243
+          height: 0.87rem;
244
+          background-color: rgb(229, 233, 237);
245
+        }
246
+      }
247
+
248
+      .showModel__ok {
249
+        flex: 1;
250
+        color: #005395;
251
+      }
252
+
253
+      .showModel__remove {
254
+        flex: 1;
255
+        color: #f30922;
256
+      }
257
+
258
+      .showModel__cancel {
259
+        flex: 1;
260
+      }
261
+
262
+      .showModel__know {
263
+        flex: 1;
264
+        color: #005395;
265
+        font-size: 0.28rem;
266
+      }
267
+    }
268
+  }
269
+}
270
+</style>

+ 3 - 3
src/router/index.js

@@ -127,7 +127,7 @@ export default new Router({
127 127
       },
128 128
     },
129 129
     {
130
-      path: '/main/consumableList/:incidentId/:summaryId/:processInstanceId',
130
+      path: '/main/consumableList/:incidentId/:summaryId/:processInstanceId/:dutyId',
131 131
       name: 'ConsumableList',
132 132
       component: ConsumableList,
133 133
       meta: {
@@ -215,7 +215,7 @@ export default new Router({
215 215
     },
216 216
   },
217 217
   {
218
-    path: '/summaryOrder/:incidentId/:processInstanceId',
218
+    path: '/summaryOrder/:incidentId/:processInstanceId/:dutyId',
219 219
     name: 'SummaryOrder',
220 220
     component: SummaryOrder,
221 221
     meta: {
@@ -223,7 +223,7 @@ export default new Router({
223 223
     },
224 224
   },
225 225
   {
226
-    path: '/summaryOrderDetail/:incidentId',
226
+    path: '/summaryOrderDetail/:incidentId/:dutyId',
227 227
     name: 'SummaryOrderDetail',
228 228
     component: SummaryOrderDetail,
229 229
     meta: {

+ 10 - 3
src/views/ConsumableList.vue

@@ -224,7 +224,7 @@ export default {
224 224
                 this.items = [];
225 225
                 this.idx = 0;
226 226
                 this.$router.push({
227
-                  path: `/summaryOrder/${this.$route.params.incidentId}/${this.$route.params.processInstanceId}`
227
+                  path: `/summaryOrder/${this.$route.params.incidentId}/${this.$route.params.processInstanceId}/${this.$route.params.dutyId}`
228 228
                 })
229 229
               }
230 230
             }).show();
@@ -238,7 +238,7 @@ export default {
238 238
                 this.items = [];
239 239
                 this.idx = 0;
240 240
                 this.$router.push({
241
-                  path: `/summaryOrder/${this.$route.params.incidentId}/${this.$route.params.processInstanceId}`
241
+                  path: `/summaryOrder/${this.$route.params.incidentId}/${this.$route.params.processInstanceId}/${this.$route.params.dutyId}`
242 242
                 })
243 243
               }
244 244
             }).show();
@@ -302,6 +302,7 @@ export default {
302 302
     },
303 303
     // 获取列表
304 304
     getData() {
305
+      console.log(this.$route, 777)
305 306
       console.log(this.stateValue);
306 307
       if (this.searching) {
307 308
         this.idx = 0;
@@ -312,6 +313,7 @@ export default {
312 313
         sum: this.sum,
313 314
         consumable: {
314 315
           keyWord: this.title || '',
316
+          dutyDTO: {id: this.$route.params.dutyId}
315 317
         }
316 318
       };
317 319
       this.$http
@@ -320,6 +322,7 @@ export default {
320 322
           postData
321 323
         )
322 324
         .then((res) => {
325
+          console.log(this.searching, 'res')
323 326
           if(res.status == 200){
324 327
             if(title == this.title){
325 328
               if (res.data.list.length > 0) {
@@ -330,7 +333,11 @@ export default {
330 333
                   this.items = this.items.concat(res.data.list);
331 334
                 }
332 335
               } else {
333
-                this.wushuju = this.searching;
336
+                if(this.items.length){
337
+                  this.wushuju = this.searching;
338
+                }else{
339
+                  this.wushuju = true;
340
+                }
334 341
               }
335 342
             }
336 343
           }else{

+ 41 - 5
src/views/IncidentNewList.vue

@@ -78,11 +78,10 @@
78 78
                       ></span
79 79
                     >
80 80
                   </p>
81
-                  <p v-if="valConfig == 2">
81
+                  <p v-if="valConfig == 2" style="padding-right:1rem;position:relative;">
82 82
                     报修科室 :
83
-                    <span class="grayFont">{{
84
-                      item.department ? item.department.dept : ""
85
-                    }}</span>
83
+                    <span class="grayFont">{{ item.department ? item.department.dept : "" }}</span>
84
+                    <span v-if="item.reqAttachment" class="newicon newicon-a-11111" style="position:absolute;right:0;top:50%;transform:translateY(-50%);" @click.stop="clickImgs(item)"></span>
86 85
                   </p>
87 86
                 </div>
88 87
                 <div class="bottom">
@@ -172,6 +171,16 @@
172 171
       </div>
173 172
     </div>
174 173
     <load-ing v-show="loadShow"></load-ing>
174
+    <!-- 图片弹窗 -->
175
+    <showModelPicture
176
+      v-if="models3.disjunctor"
177
+      :title="models3.title"
178
+      :content="models3.content"
179
+      :disjunctor="models3.disjunctor"
180
+      @know="know3"
181
+      :operate="models3.operate"
182
+      :wxIncidentId="wxIncidentId"
183
+    ></showModelPicture>
175 184
     <!-- 指派弹窗 -->
176 185
     <showModel
177 186
       v-if="models.disjunctor"
@@ -218,6 +227,7 @@
218 227
 import seiminDrawer from "../custom/seiminDrawer.vue";
219 228
 import showModel from "../components/showModel/showModel.vue";
220 229
 import showModel2 from "../components/showModel2/showModel2.vue";
230
+import showModelPicture from "../components/showModelPicture/showModelPicture.vue";
221 231
 import CubePage from "../components/cube-page.vue";
222 232
 import SwitchOption from "../components/switch-option";
223 233
 import InputOption from "../components/input-option";
@@ -227,6 +237,7 @@ import LoadIng from "./../views/loading.vue";
227 237
 export default {
228 238
   data() {
229 239
     return {
240
+      wxIncidentId: '',
230 241
       evt: null,
231 242
       isShowDrawer: false,
232 243
       tabTypeIdActive: 2,
@@ -256,6 +267,9 @@ export default {
256 267
       models2: {
257 268
         disjunctor: false
258 269
       },
270
+      models3: {
271
+        disjunctor: false
272
+      },
259 273
       isAssign: false, //是否有权限指派
260 274
       isTransfer: false, //是否有权限转派
261 275
       isAll: false, //是否显示全部事件
@@ -302,6 +316,7 @@ export default {
302 316
     LoadIng,
303 317
     showModel,
304 318
     showModel2,
319
+    showModelPicture,
305 320
     seiminDrawer,
306 321
   },
307 322
   computed: {
@@ -333,6 +348,26 @@ export default {
333 348
     }
334 349
   },
335 350
   methods: {
351
+    // 图片----------------------start
352
+    //取消
353
+    know3() {
354
+      this.models3.disjunctor = false;
355
+    },
356
+    // 点击图片图标
357
+    clickImgs(item) {
358
+      console.log(item)
359
+      this.modelsData = item;
360
+      this.wxIncidentId = item.wxIncidentId;
361
+      this.models3 = {
362
+        disjunctor: true,
363
+        title: "提示",
364
+        content: "您申请的报修图片如下,请查看。",
365
+        operate: {
366
+          know: "知道了",
367
+        }
368
+      };
369
+    },
370
+    // 图片----------------------end
336 371
     // 确认侧边筛选框
337 372
     confirmDrawer(evt){
338 373
       console.log(evt);
@@ -697,6 +732,7 @@ export default {
697 732
       };
698 733
     },
699 734
     // 转派----------------------end
735
+
700 736
     //确定
701 737
     ok1(obj) {
702 738
       console.log(obj);
@@ -839,7 +875,7 @@ export default {
839 875
       if(data.duty && data.duty.addSummary == 1 && name == "Processing" && (data.handlerUser.id == this.loginUser.id)){
840 876
         // 责任科室【是否需要填写汇总单】开启,并且工单状态是处理中
841 877
         this.$router.push({
842
-          path: `/summaryOrder/${data.id}/${data.processInstanceId}`
878
+          path: `/summaryOrder/${data.id}/${data.processInstanceId}/${data.duty.id}`
843 879
         });
844 880
       }else{
845 881
         this.$router.push({

+ 2 - 2
src/views/WorkHourManagementTwo.vue

@@ -109,7 +109,7 @@ export default {
109 109
                 this.items = [];
110 110
                 this.idx = 0;
111 111
                 this.$router.push({
112
-                  path: `/summaryOrder/${this.$route.params.incidentId}/${this.$route.params.processInstanceId}`
112
+                  path: `/summaryOrder/${this.$route.params.incidentId}/${this.$route.params.processInstanceId}/${this.$route.params.dutyId}`
113 113
                 })
114 114
               }
115 115
             }).show();
@@ -123,7 +123,7 @@ export default {
123 123
                 this.items = [];
124 124
                 this.idx = 0;
125 125
                 this.$router.push({
126
-                  path: `/summaryOrder/${this.$route.params.incidentId}/${this.$route.params.processInstanceId}`
126
+                  path: `/summaryOrder/${this.$route.params.incidentId}/${this.$route.params.processInstanceId}/${this.$route.params.dutyId}`
127 127
                 })
128 128
               }
129 129
             }).show();

+ 2 - 2
src/views/closed.vue

@@ -208,12 +208,12 @@ export default {
208 208
       if(this.model.incident.duty && this.model.incident.duty.addSummary == 1 && this.model.incident.state.value == "resolved"){
209 209
         // 责任科室【是否需要填写汇总单】开启,并且工单状态是已解决
210 210
         this.$router.push({
211
-          path: `/summaryOrderDetail/${this.model.incident.id}`
211
+          path: `/summaryOrderDetail/${this.model.incident.id}/${this.model.incident.duty.id}`
212 212
         });
213 213
       }else if(this.model.incident.duty && this.model.incident.duty.addSummary == 1 && this.model.incident.state.value == "close"){
214 214
         // 责任科室【是否需要填写汇总单】开启,并且工单状态是已关闭
215 215
         this.$router.push({
216
-          path: `/summaryOrderDetail/${this.model.incident.id}`
216
+          path: `/summaryOrderDetail/${this.model.incident.id}/${this.model.incident.duty.id}`
217 217
         });
218 218
       }
219 219
     },

+ 1 - 1
src/views/incidentList.vue

@@ -801,7 +801,7 @@ export default {
801 801
       if(data.duty && data.duty.addSummary == 1 && name == "Processing"){
802 802
         // 责任科室【是否需要填写汇总单】开启,并且工单状态是处理中
803 803
         this.$router.push({
804
-          path: `/summaryOrder/${data.id}/${data.processInstanceId}`
804
+          path: `/summaryOrder/${data.id}/${data.processInstanceId}/${data.duty.id}`
805 805
         });
806 806
       }else{
807 807
         this.$router.push({

+ 1 - 1
src/views/indes.vue

@@ -422,7 +422,7 @@ export default {
422 422
         name = 'SummaryOrder';
423 423
         // 责任科室【是否需要填写汇总单】开启,并且工单状态是处理中
424 424
         this.$router.push({
425
-          path: `/summaryOrder/${data.id}/${data.processInstanceId}`
425
+          path: `/summaryOrder/${data.id}/${data.processInstanceId}/${data.duty.id}`
426 426
         });
427 427
       }else{
428 428
         this.$router.push({

+ 3 - 2
src/views/processing.vue

@@ -863,11 +863,12 @@ export default {
863 863
     },
864 864
     // 获取耗材列表
865 865
     getHcs() {
866
+      console.log(this.modelData, 777)
866 867
       this.$http
867 868
         .post("service/bpm/data/fetchDataList/consumable", {
868 869
           idx: 0,
869 870
           sum: 1000,
870
-          consumable: { isInventory: 1 }
871
+          consumable: { isInventory: 1, dutyDTO: this.modelData.incident.duty }
871 872
         })
872 873
         .then(res => {
873 874
           if (res.data.status == 200) {
@@ -984,6 +985,7 @@ export default {
984 985
           this.getMessage();
985 986
           // 故障现象
986 987
           this.getIncidentcategory();
988
+          this.getHcs();
987 989
 
988 990
           // 回显故障描述
989 991
           this.model.description = this.modelData.incident.description;
@@ -2020,7 +2022,6 @@ export default {
2020 2022
 
2021 2023
     this.action.target += this.processInstanceId;
2022 2024
     this.getParamsData();
2023
-    this.getHcs();
2024 2025
     // 处理方式
2025 2026
     this.getHandleCategory();
2026 2027
     // 关闭代码

+ 2 - 2
src/views/solved.vue

@@ -240,12 +240,12 @@ export default {
240 240
       if(this.model.incident.duty && this.model.incident.duty.addSummary == 1 && this.model.incident.state.value == "resolved"){
241 241
         // 责任科室【是否需要填写汇总单】开启,并且工单状态是已解决
242 242
         this.$router.push({
243
-          path: `/summaryOrderDetail/${this.model.incident.id}`
243
+          path: `/summaryOrderDetail/${this.model.incident.id}/${this.model.incident.duty.id}`
244 244
         });
245 245
       }else if(this.model.incident.duty && this.model.incident.duty.addSummary == 1 && this.model.incident.state.value == "close"){
246 246
         // 责任科室【是否需要填写汇总单】开启,并且工单状态是已关闭
247 247
         this.$router.push({
248
-          path: `/summaryOrderDetail/${this.model.incident.id}`
248
+          path: `/summaryOrderDetail/${this.model.incident.id}/${this.model.incident.duty.id}`
249 249
         });
250 250
       }
251 251
     },

+ 2 - 1
src/views/summaryOrder.vue

@@ -1037,8 +1037,9 @@ export default {
1037 1037
     },
1038 1038
     // 新增耗材
1039 1039
     addConsumableMaterial() {
1040
+      console.log(this.$route.params);
1040 1041
       this.$router.push({
1041
-        path: `/main/ConsumableList/${this.$route.params.incidentId}/${this.summaryId}/${this.$route.params.processInstanceId}`
1042
+        path: `/main/ConsumableList/${this.$route.params.incidentId}/${this.summaryId}/${this.$route.params.processInstanceId}/${this.$route.params.dutyId}`
1042 1043
       });
1043 1044
     },
1044 1045
     // 新增工时

+ 2 - 1
src/views/summaryOrderDetail.vue

@@ -93,8 +93,9 @@ export default {
93 93
     },
94 94
     // 新增耗材
95 95
     addConsumableMaterial() {
96
+      console.log(this.$route.params)
96 97
       this.$router.push({
97
-        path: `/main/ConsumableList/${this.$route.params.incidentId}/${this.summaryId}/${this.$route.params.processInstanceId}`
98
+        path: `/main/ConsumableList/${this.$route.params.incidentId}/${this.summaryId}/${this.$route.params.processInstanceId}/${this.$route.params.dutyId}`
98 99
       });
99 100
     },
100 101
     // 新增工时

+ 26 - 3
static/css/newicon/demo_index.html

@@ -55,6 +55,12 @@
55 55
           <ul class="icon_lists dib-box">
56 56
           
57 57
             <li class="dib">
58
+              <span class="icon newicon">&#xe606;</span>
59
+                <div class="name">图片</div>
60
+                <div class="code-name">&amp;#xe606;</div>
61
+              </li>
62
+          
63
+            <li class="dib">
58 64
               <span class="icon newicon">&#xe609;</span>
59 65
                 <div class="name">设备巡检</div>
60 66
                 <div class="code-name">&amp;#xe609;</div>
@@ -78,9 +84,9 @@
78 84
 <pre><code class="language-css"
79 85
 >@font-face {
80 86
   font-family: 'newicon';
81
-  src: url('iconfont.woff2?t=1705398572308') format('woff2'),
82
-       url('iconfont.woff?t=1705398572308') format('woff'),
83
-       url('iconfont.ttf?t=1705398572308') format('truetype');
87
+  src: url('iconfont.woff2?t=1706169341925') format('woff2'),
88
+       url('iconfont.woff?t=1706169341925') format('woff'),
89
+       url('iconfont.ttf?t=1706169341925') format('truetype');
84 90
 }
85 91
 </code></pre>
86 92
           <h3 id="-iconfont-">第二步:定义使用 iconfont 的样式</h3>
@@ -107,6 +113,15 @@
107 113
         <ul class="icon_lists dib-box">
108 114
           
109 115
           <li class="dib">
116
+            <span class="icon newicon newicon-a-11111"></span>
117
+            <div class="name">
118
+              图片
119
+            </div>
120
+            <div class="code-name">.newicon-a-11111
121
+            </div>
122
+          </li>
123
+          
124
+          <li class="dib">
110 125
             <span class="icon newicon newicon-shebeixunjian"></span>
111 126
             <div class="name">
112 127
               设备巡检
@@ -144,6 +159,14 @@
144 159
           
145 160
             <li class="dib">
146 161
                 <svg class="icon svg-icon" aria-hidden="true">
162
+                  <use xlink:href="#newicon-a-11111"></use>
163
+                </svg>
164
+                <div class="name">图片</div>
165
+                <div class="code-name">#newicon-a-11111</div>
166
+            </li>
167
+          
168
+            <li class="dib">
169
+                <svg class="icon svg-icon" aria-hidden="true">
147 170
                   <use xlink:href="#newicon-shebeixunjian"></use>
148 171
                 </svg>
149 172
                 <div class="name">设备巡检</div>

+ 7 - 3
static/css/newicon/iconfont.css

@@ -1,8 +1,8 @@
1 1
 @font-face {
2 2
   font-family: "newicon"; /* Project id 4304860 */
3
-  src: url('iconfont.woff2?t=1705398572308') format('woff2'),
4
-       url('iconfont.woff?t=1705398572308') format('woff'),
5
-       url('iconfont.ttf?t=1705398572308') format('truetype');
3
+  src: url('iconfont.woff2?t=1706169341925') format('woff2'),
4
+       url('iconfont.woff?t=1706169341925') format('woff'),
5
+       url('iconfont.ttf?t=1706169341925') format('truetype');
6 6
 }
7 7
 
8 8
 .newicon {
@@ -13,6 +13,10 @@
13 13
   -moz-osx-font-smoothing: grayscale;
14 14
 }
15 15
 
16
+.newicon-a-11111:before {
17
+  content: "\e606";
18
+}
19
+
16 20
 .newicon-shebeixunjian:before {
17 21
   content: "\e609";
18 22
 }

File diff suppressed because it is too large
+ 1 - 1
static/css/newicon/iconfont.js


+ 7 - 0
static/css/newicon/iconfont.json

@@ -6,6 +6,13 @@
6 6
   "description": "",
7 7
   "glyphs": [
8 8
     {
9
+      "icon_id": "39056749",
10
+      "name": "图片",
11
+      "font_class": "a-11111",
12
+      "unicode": "e606",
13
+      "unicode_decimal": 58886
14
+    },
15
+    {
9 16
       "icon_id": "2492912",
10 17
       "name": "设备巡检",
11 18
       "font_class": "shebeixunjian",

BIN
static/css/newicon/iconfont.ttf


BIN
static/css/newicon/iconfont.woff


BIN
static/css/newicon/iconfont.woff2