dingxin 6 年前
父节点
当前提交
f4e3206571
共有 2 个文件被更改,包括 172 次插入50 次删除
  1. 137
    24
      CODE/smart-community-word/.idea/workspace.xml
  2. 35
    26
      VUECODE/smart-property-manage/src/views/ticket/details.vue

+ 137
- 24
CODE/smart-community-word/.idea/workspace.xml 查看文件

@@ -3,7 +3,7 @@
3 3
   <component name="ChangeListManager">
4 4
     <list default="true" id="051ae1e0-ece1-4622-91c0-3f05ac339943" name="Default Changelist" comment="">
5 5
       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
6
-      <change beforePath="$PROJECT_DIR$/../smart-community/property-api/src/main/java/com/community/huiju/service/impl/TpTicketServiceImpl.java" beforeDir="false" afterPath="$PROJECT_DIR$/../smart-community/property-api/src/main/java/com/community/huiju/service/impl/TpTicketServiceImpl.java" afterDir="false" />
6
+      <change beforePath="$PROJECT_DIR$/../../VUECODE/smart-property-manage/src/views/ticket/details.vue" beforeDir="false" afterPath="$PROJECT_DIR$/../../VUECODE/smart-property-manage/src/views/ticket/details.vue" afterDir="false" />
7 7
     </list>
8 8
     <ignored path="$PROJECT_DIR$/../smart-community/eureka-sever/target/" />
9 9
     <ignored path="$PROJECT_DIR$/../smart-community/app-api/target/" />
@@ -23,19 +23,37 @@
23 23
   </component>
24 24
   <component name="FileEditorManager">
25 25
     <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
26
-      <file pinned="false" current-in-tab="true">
26
+      <file pinned="false" current-in-tab="false">
27 27
         <entry file="file://$PROJECT_DIR$/../smart-community/property-api/src/main/java/com/community/huiju/service/impl/TpTicketServiceImpl.java">
28 28
           <provider selected="true" editor-type-id="text-editor">
29
-            <state relative-caret-position="1430">
29
+            <state relative-caret-position="7776">
30 30
               <caret line="307" selection-start-line="307" selection-end-line="307" />
31 31
             </state>
32 32
           </provider>
33 33
         </entry>
34 34
       </file>
35
+      <file pinned="false" current-in-tab="false">
36
+        <entry file="file://$PROJECT_DIR$/../smart-community/app-api/src/main/java/com/community/huiju/controller/TicketController.java">
37
+          <provider selected="true" editor-type-id="text-editor">
38
+            <state relative-caret-position="3267">
39
+              <caret line="143" column="43" selection-start-line="143" selection-start-column="38" selection-end-line="143" selection-end-column="56" />
40
+            </state>
41
+          </provider>
42
+        </entry>
43
+      </file>
44
+      <file pinned="false" current-in-tab="true">
45
+        <entry file="file://$PROJECT_DIR$/../smart-community/app-api/src/main/java/com/community/huiju/service/impl/TicketServiceImpl.java">
46
+          <provider selected="true" editor-type-id="text-editor">
47
+            <state relative-caret-position="3">
48
+              <caret line="296" lean-forward="true" selection-start-line="296" selection-end-line="296" />
49
+            </state>
50
+          </provider>
51
+        </entry>
52
+      </file>
35 53
       <file pinned="false" current-in-tab="false">
36 54
         <entry file="jar://F:/maven3.5/maven/serverRepository/org/springframework/spring-core/5.0.8.RELEASE/spring-core-5.0.8.RELEASE.jar!/org/springframework/cglib/proxy/MethodProxy.class">
37 55
           <provider selected="true" editor-type-id="text-editor">
38
-            <state relative-caret-position="185">
56
+            <state relative-caret-position="2403">
39 57
               <caret line="104" selection-start-line="104" selection-end-line="104" />
40 58
             </state>
41 59
           </provider>
@@ -75,6 +93,7 @@
75 93
       <find>ticketDetails</find>
76 94
       <find>ticketId</find>
77 95
       <find>queryWrapper</find>
96
+      <find>content</find>
78 97
     </findStrings>
79 98
   </component>
80 99
   <component name="Git.Settings">
@@ -109,8 +128,8 @@
109 128
     <option name="vmOptions" value="-DarchetypeCatalog=internal" />
110 129
   </component>
111 130
   <component name="ProjectFrameBounds" extendedState="7">
112
-    <option name="x" value="435" />
113
-    <option name="y" value="19" />
131
+    <option name="x" value="197" />
132
+    <option name="y" value="131" />
114 133
     <option name="width" value="1687" />
115 134
     <option name="height" value="1061" />
116 135
   </component>
@@ -134,6 +153,85 @@
134 153
               <item name="smart-community" type="462c0819:PsiDirectoryNode" />
135 154
               <item name="app-api" type="462c0819:PsiDirectoryNode" />
136 155
             </path>
156
+            <path>
157
+              <item name="smart-community-word" type="b2602c69:ProjectViewProjectNode" />
158
+              <item name="smart-community" type="462c0819:PsiDirectoryNode" />
159
+              <item name="app-api" type="462c0819:PsiDirectoryNode" />
160
+              <item name="src" type="462c0819:PsiDirectoryNode" />
161
+            </path>
162
+            <path>
163
+              <item name="smart-community-word" type="b2602c69:ProjectViewProjectNode" />
164
+              <item name="smart-community" type="462c0819:PsiDirectoryNode" />
165
+              <item name="app-api" type="462c0819:PsiDirectoryNode" />
166
+              <item name="src" type="462c0819:PsiDirectoryNode" />
167
+              <item name="main" type="462c0819:PsiDirectoryNode" />
168
+            </path>
169
+            <path>
170
+              <item name="smart-community-word" type="b2602c69:ProjectViewProjectNode" />
171
+              <item name="smart-community" type="462c0819:PsiDirectoryNode" />
172
+              <item name="app-api" type="462c0819:PsiDirectoryNode" />
173
+              <item name="src" type="462c0819:PsiDirectoryNode" />
174
+              <item name="main" type="462c0819:PsiDirectoryNode" />
175
+              <item name="assembly" type="462c0819:PsiDirectoryNode" />
176
+            </path>
177
+            <path>
178
+              <item name="smart-community-word" type="b2602c69:ProjectViewProjectNode" />
179
+              <item name="smart-community" type="462c0819:PsiDirectoryNode" />
180
+              <item name="app-api" type="462c0819:PsiDirectoryNode" />
181
+              <item name="src" type="462c0819:PsiDirectoryNode" />
182
+              <item name="main" type="462c0819:PsiDirectoryNode" />
183
+              <item name="java" type="462c0819:PsiDirectoryNode" />
184
+            </path>
185
+            <path>
186
+              <item name="smart-community-word" type="b2602c69:ProjectViewProjectNode" />
187
+              <item name="smart-community" type="462c0819:PsiDirectoryNode" />
188
+              <item name="app-api" type="462c0819:PsiDirectoryNode" />
189
+              <item name="src" type="462c0819:PsiDirectoryNode" />
190
+              <item name="main" type="462c0819:PsiDirectoryNode" />
191
+              <item name="java" type="462c0819:PsiDirectoryNode" />
192
+              <item name="com" type="462c0819:PsiDirectoryNode" />
193
+            </path>
194
+            <path>
195
+              <item name="smart-community-word" type="b2602c69:ProjectViewProjectNode" />
196
+              <item name="smart-community" type="462c0819:PsiDirectoryNode" />
197
+              <item name="app-api" type="462c0819:PsiDirectoryNode" />
198
+              <item name="src" type="462c0819:PsiDirectoryNode" />
199
+              <item name="main" type="462c0819:PsiDirectoryNode" />
200
+              <item name="java" type="462c0819:PsiDirectoryNode" />
201
+              <item name="com" type="462c0819:PsiDirectoryNode" />
202
+              <item name="community" type="462c0819:PsiDirectoryNode" />
203
+            </path>
204
+            <path>
205
+              <item name="smart-community-word" type="b2602c69:ProjectViewProjectNode" />
206
+              <item name="smart-community" type="462c0819:PsiDirectoryNode" />
207
+              <item name="app-api" type="462c0819:PsiDirectoryNode" />
208
+              <item name="src" type="462c0819:PsiDirectoryNode" />
209
+              <item name="main" type="462c0819:PsiDirectoryNode" />
210
+              <item name="java" type="462c0819:PsiDirectoryNode" />
211
+              <item name="com" type="462c0819:PsiDirectoryNode" />
212
+              <item name="community" type="462c0819:PsiDirectoryNode" />
213
+              <item name="huiju" type="462c0819:PsiDirectoryNode" />
214
+            </path>
215
+            <path>
216
+              <item name="smart-community-word" type="b2602c69:ProjectViewProjectNode" />
217
+              <item name="smart-community" type="462c0819:PsiDirectoryNode" />
218
+              <item name="app-api" type="462c0819:PsiDirectoryNode" />
219
+              <item name="src" type="462c0819:PsiDirectoryNode" />
220
+              <item name="main" type="462c0819:PsiDirectoryNode" />
221
+              <item name="java" type="462c0819:PsiDirectoryNode" />
222
+              <item name="com" type="462c0819:PsiDirectoryNode" />
223
+              <item name="community" type="462c0819:PsiDirectoryNode" />
224
+              <item name="huiju" type="462c0819:PsiDirectoryNode" />
225
+              <item name="controller" type="462c0819:PsiDirectoryNode" />
226
+            </path>
227
+            <path>
228
+              <item name="smart-community-word" type="b2602c69:ProjectViewProjectNode" />
229
+              <item name="smart-community" type="462c0819:PsiDirectoryNode" />
230
+              <item name="app-api" type="462c0819:PsiDirectoryNode" />
231
+              <item name="src" type="462c0819:PsiDirectoryNode" />
232
+              <item name="main" type="462c0819:PsiDirectoryNode" />
233
+              <item name="resources" type="462c0819:PsiDirectoryNode" />
234
+            </path>
137 235
             <path>
138 236
               <item name="smart-community-word" type="b2602c69:ProjectViewProjectNode" />
139 237
               <item name="smart-community" type="462c0819:PsiDirectoryNode" />
@@ -245,7 +343,7 @@
245 343
     <property name="RequestMappingsPanelWidth1" value="75" />
246 344
     <property name="WebServerToolWindowFactoryState" value="false" />
247 345
     <property name="aspect.path.notification.shown" value="true" />
248
-    <property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1550651720852" />
346
+    <property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1550663036257" />
249 347
     <property name="last_opened_file_path" value="D:/java/workspace/heishi/wx_project" />
250 348
     <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
251 349
     <property name="nodejs_npm_path_reset_for_default_project" value="true" />
@@ -375,18 +473,19 @@
375 473
       <workItem from="1550547757316" duration="45000" />
376 474
       <workItem from="1550547903821" duration="17904000" />
377 475
       <workItem from="1550580590425" duration="175000" />
378
-      <workItem from="1550625046867" duration="10290000" />
476
+      <workItem from="1550625046867" duration="10953000" />
477
+      <workItem from="1550663154868" duration="247000" />
379 478
     </task>
380 479
     <servers />
381 480
   </component>
382 481
   <component name="TimeTrackingManager">
383
-    <option name="totallyTimeSpent" value="29411000" />
482
+    <option name="totallyTimeSpent" value="30321000" />
384 483
   </component>
385 484
   <component name="ToolWindowManager">
386
-    <frame x="-8" y="-8" width="1936" height="1056" extended-state="7" />
485
+    <frame x="-8" y="-8" width="1936" height="1056" extended-state="6" />
387 486
     <editor active="true" />
388 487
     <layout>
389
-      <window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.037846483" />
488
+      <window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.24200426" />
390 489
       <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
391 490
       <window_info id="Designer" order="2" />
392 491
       <window_info id="Image Layers" order="3" />
@@ -396,15 +495,15 @@
396 495
       <window_info id="Web" order="7" side_tool="true" />
397 496
       <window_info anchor="bottom" id="Message" order="0" />
398 497
       <window_info anchor="bottom" id="Find" order="1" />
399
-      <window_info anchor="bottom" id="Run" order="2" sideWeight="0.7009595" weight="0.7082405" />
400
-      <window_info active="true" anchor="bottom" id="Debug" order="3" sideWeight="0.9157783" visible="true" weight="0.2817372" />
498
+      <window_info active="true" anchor="bottom" id="Run" order="2" sideWeight="0.70042646" visible="true" weight="0.96659243" />
499
+      <window_info anchor="bottom" id="Debug" order="3" sideWeight="0.91518134" weight="0.12624584" />
401 500
       <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
402 501
       <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
403 502
       <window_info anchor="bottom" id="TODO" order="6" />
404 503
       <window_info anchor="bottom" id="Spring" order="7" />
405 504
       <window_info anchor="bottom" id="Terminal" order="8" />
406 505
       <window_info anchor="bottom" id="Docker" order="9" show_stripe_button="false" />
407
-      <window_info anchor="bottom" id="Event Log" order="10" sideWeight="0.08422175" side_tool="true" visible="true" weight="0.2817372" />
506
+      <window_info anchor="bottom" id="Event Log" order="10" sideWeight="0.29957357" side_tool="true" visible="true" weight="0.96659243" />
408 507
       <window_info anchor="bottom" id="Messages" order="11" sideWeight="0.49969268" weight="0.7696567" />
409 508
       <window_info anchor="bottom" id="Java Enterprise" order="12" />
410 509
       <window_info anchor="bottom" id="Database Changes" order="13" />
@@ -495,6 +594,27 @@
495 594
         </state>
496 595
       </provider>
497 596
     </entry>
597
+    <entry file="file://$PROJECT_DIR$/../smart-community/property-api/src/main/java/com/community/huiju/service/impl/TpTicketServiceImpl.java">
598
+      <provider selected="true" editor-type-id="text-editor">
599
+        <state relative-caret-position="7776">
600
+          <caret line="307" selection-start-line="307" selection-end-line="307" />
601
+        </state>
602
+      </provider>
603
+    </entry>
604
+    <entry file="file://$PROJECT_DIR$/../smart-community/app-api/src/main/java/com/community/huiju/controller/TicketController.java">
605
+      <provider selected="true" editor-type-id="text-editor">
606
+        <state relative-caret-position="3267">
607
+          <caret line="143" column="43" selection-start-line="143" selection-start-column="38" selection-end-line="143" selection-end-column="56" />
608
+        </state>
609
+      </provider>
610
+    </entry>
611
+    <entry file="jar://F:/maven3.5/maven/serverRepository/org/springframework/spring-core/5.0.8.RELEASE/spring-core-5.0.8.RELEASE.jar!/org/springframework/cglib/proxy/MethodProxy.class">
612
+      <provider selected="true" editor-type-id="text-editor">
613
+        <state relative-caret-position="2403">
614
+          <caret line="104" selection-start-line="104" selection-end-line="104" />
615
+        </state>
616
+      </provider>
617
+    </entry>
498 618
     <entry file="file://$PROJECT_DIR$/../smart-community/property-api/src/main/java/com/community/huiju/model/TpTicketRecordComment.java">
499 619
       <provider selected="true" editor-type-id="text-editor">
500 620
         <state relative-caret-position="432">
@@ -516,17 +636,10 @@
516 636
         </state>
517 637
       </provider>
518 638
     </entry>
519
-    <entry file="jar://F:/maven3.5/maven/serverRepository/org/springframework/spring-core/5.0.8.RELEASE/spring-core-5.0.8.RELEASE.jar!/org/springframework/cglib/proxy/MethodProxy.class">
520
-      <provider selected="true" editor-type-id="text-editor">
521
-        <state relative-caret-position="185">
522
-          <caret line="104" selection-start-line="104" selection-end-line="104" />
523
-        </state>
524
-      </provider>
525
-    </entry>
526
-    <entry file="file://$PROJECT_DIR$/../smart-community/property-api/src/main/java/com/community/huiju/service/impl/TpTicketServiceImpl.java">
639
+    <entry file="file://$PROJECT_DIR$/../smart-community/app-api/src/main/java/com/community/huiju/service/impl/TicketServiceImpl.java">
527 640
       <provider selected="true" editor-type-id="text-editor">
528
-        <state relative-caret-position="1430">
529
-          <caret line="307" selection-start-line="307" selection-end-line="307" />
641
+        <state relative-caret-position="3">
642
+          <caret line="296" lean-forward="true" selection-start-line="296" selection-end-line="296" />
530 643
         </state>
531 644
       </provider>
532 645
     </entry>

+ 35
- 26
VUECODE/smart-property-manage/src/views/ticket/details.vue 查看文件

@@ -1,7 +1,8 @@
1 1
 <template>
2
+<div id="app" style="margin-top:20px;">
2 3
  <el-form :inline="true" :model="listQuery" class="form-listQuery">
3
-      <div id="app">
4
-         <span>工单详情</span>
4
+      <div >
5
+         <span style="padding-left:1%;font-weight:bold;font-size:12px;">工单详情</span>
5 6
      </div>
6 7
  <div class="sizeWhits">
7 8
       <el-form-item style="padding-left:1%;" label="工单号">
@@ -52,7 +53,7 @@
52 53
 
53 54
       <div style="padding-left:200px;">
54 55
     <template >
55
-      <img v-for="sr in listQuery.contentImageUrl" :src="sr" preview  width="200" height="200">
56
+      <img v-for="sr in listQuery.contentImageUrl" :src="sr" preview  width="200" height="200"  style="margin:5px;">
56 57
        <!-- <img v-for="sr in listQuery.contentImageUrl" :src="sr" preview="ss" preview-text="ss" width="200" height="200"> -->
57 58
     </template>
58 59
     </div>
@@ -69,21 +70,28 @@
69 70
           <el-step :title="item.statusName+'__________'+formatDate(item.createDate)" v-for="item in approvalProcessProject">
70 71
             <template slot="description">
71 72
              <div class="step-row">
73
+               <tr v-if="item.status - 0 === 5"><td>评价:</td><td><el-rate
74
+                v-model="listQuery.score"
75
+                disabled
76
+                show-score
77
+                text-color="#ff9900"
78
+                score-template="{value}">
79
+              </el-rate></td></tr>
80
+              <tr v-if="item.status - 0 === 5"><td>评语:</td><td>{{listQuery.comment}}</td></tr>
81
+               <!-- <div v-if="item.status - 0 === 5" style="float:left">评价<el-rate
82
+                v-model="value5"
83
+                disabled
84
+                show-score
85
+                text-color="#ff9900"
86
+                score-template="{value}">
87
+              </el-rate>
88
+              </div> -->
72 89
                <table width="100%" border="0" cellspacing="0" cellpadding="0" class="processing_content"  v-for="itemContent in item.statusContent" >
73
-                         <tr>
74
-                            <td style="color9:#98A6BE">
90
+                         <tr> 
91
+                           <td>                        
75 92
                             	<div class="processing_content_detail" style="float:left;width:70%">
76
-                                    <span >{{itemContent.userName}}:{{itemContent.content}}
77
-                                     <div style="float:left;">
78
-                                     <span >{{'评分'}}<el-rate
79
-                                        v-model="value5"
80
-                                        disabled
81
-                                        show-score
82
-                                        text-color="#ff9900"
83
-                                        score-template="{value}">
84
-                                      </el-rate></span>
85
-                                     </div> 
86
-                                    <span style="color:#219AFF"></span>              
93
+                                    <span>{{itemContent.userName}}:{{itemContent.content}}                                 
94
+                                    <span style="color:#219AFF">'sssss'</span>
87 95
                                     </span>
88 96
                                     </div>
89 97
                               <div class="processing_content_detail" style="float:right;"><span ><i class="el-icon-time"></i>{{formatDate(itemContent.createDate)}}</span> </div>
@@ -94,21 +102,19 @@
94 102
                             	<div class="processing_content_detail" style="float:left;width:70%">
95 103
                                 <div style="float:left;width: 2px;height: 20px; background:#C7D4E9;margin-left:10px;margin-right:10px"></div> 
96 104
                                 <!-- <img :src="contentImgURL.imageUrl"  v-for="contentImgURL in itemContent.imgURL" preview preview-text="描述"  width="200" style="margin:5px;"> -->
97
-                                <img v-for="contentImgURL in itemContent.imgURL" :src="contentImgURL.imageUrl" preview width="200" height="200">
98
-                            
99
-                        
100
-                                </div> 
101
-                                
105
+                                <img v-for="contentImgURL in itemContent.imgURL" :src="contentImgURL.imageUrl" preview width="200" height="200"  style="margin:5px;">                                                      
106
+                                </div>                           
102 107
                             </td>
103 108
                           </tr>
104 109
                 </table>
105 110
                 
111
+               
106 112
            </div>
107 113
          </template>
108 114
            </el-step>
109 115
         </el-steps>
110 116
   </div>
111
-        <div>
117
+        <div v-if="listQuery.status==='0'||listQuery.status==='3'">
112 118
         <div>
113 119
         <span>参与沟通</span>
114 120
         </div>
@@ -186,9 +192,9 @@
186 192
         <div  v-if="listQuery.status==='0'">
187 193
         <el-form-item style="width:1000  px" >
188 194
          <el-select v-model="listQuery.userNmaeIds" placeholder="请选择工单由谁负责,然后点击受理分配"  >
189
-         <el-option label="请选择工单由谁负责,然后点击受理分配" :value="-1"/>
190
-         <el-option label="我自己" :value="listQuery.CurrentUserName"/>
191
-         <el-option  v-for="user in listQuery.userList" :label="user.userName" :value="user.id"/>
195
+          <el-option label="请选择工单由谁负责,然后点击受理分配" value="-1" />
196
+          <el-option label="我自己" :value="listQuery.currentUserName"/>
197
+          <el-option  v-for="user in listQuery.userList" :label="user.userName" :value="user.id"/>
192 198
         </el-select>
193 199
       </el-form-item>
194 200
        <el-button type="primary" @click="addRecord">受理分配</el-button>
@@ -196,6 +202,7 @@
196 202
         </div>
197 203
 </div>
198 204
 </el-form>
205
+</div>
199 206
 </template>
200 207
 <script>
201 208
 import { mapActions } from 'vuex'
@@ -252,7 +259,7 @@ export default {
252 259
        contentImgList: [],//图片集合
253 260
        contents:[],
254 261
        Ass: true,
255
-       value5 :5
262
+       value5: 5
256 263
     }
257 264
   },
258 265
   mounted() {
@@ -430,7 +437,9 @@ export default {
430 437
         this.listQuery.img=this.contentImgAA
431 438
         this.$store.dispatch('AddRecordComment', this.listQuery,).then((res) => {
432 439
             this.Ass=false
440
+            this.contentImgAA=[]
433 441
           this.dataQuery()
442
+         
434 443
           this.Ass=true
435 444
           loading.close()
436 445
       }).catch(() => {