Explorar el Código

Merge branch 'hhl' of SH-Arbitrate/Arbitrate-Frontend into dev

hhlxayunmei hace 2 años
padre
commit
03c2c202fe

+ 26
- 30
src/views/caseFiling/components/caselogInfo.vue Ver fichero

1
 <template>
1
 <template>
2
   <div>
2
   <div>
3
-      <div class="loading" v-if="flagLoading">
4
-        <i class="el-icon-loading"></i>
5
-      </div>
6
-      <div v-else>
7
-        <div class="noData" v-if="noData">暂无数据!</div>
8
-        <el-timeline v-else>
9
-          <el-timeline-item
10
-            v-for="(activity, index) in activities"
11
-            :key="index"
12
-            :timestamp="(index + 1).toString()"
13
-            placement="top"
14
-          >
15
-            <p>{{ activity.content }}</p>
16
-          </el-timeline-item>
17
-        </el-timeline>
18
-      </div>
3
+    <div class="loading" v-if="flagLoading">
4
+      <i class="el-icon-loading"></i>
5
+    </div>
6
+    <div v-else>
7
+      <div class="noData" v-if="noData">暂无数据!</div>
8
+      <el-timeline v-else>
9
+        <el-timeline-item
10
+          v-for="(activity, index) in activities"
11
+          :key="index"
12
+          :timestamp="(index + 1).toString()"
13
+          placement="top"
14
+        >
15
+          <p>{{ activity.content }}</p>
16
+        </el-timeline-item>
17
+      </el-timeline>
18
+    </div>
19
   </div>
19
   </div>
20
 </template>
20
 </template>
21
 
21
 
28
       noData: false,
28
       noData: false,
29
     };
29
     };
30
   },
30
   },
31
-  watch: {
32
-    caselogDataArr: {
33
-      handler(val) {
34
-        if (val && val.length > 0) {
35
-          this.noData = false;
36
-          this.activities = val;
37
-          this.activities.forEach((item) => {
38
-            item.content = item.content;
39
-          });
40
-        } else {
41
-          this.noData = true;
42
-        }
43
-      },
44
-    },
31
+  created() {
32
+    if (this.caselogDataArr && this.caselogDataArr.length > 0) {
33
+      this.noData = false;
34
+      this.activities = this.caselogDataArr;
35
+      this.activities.forEach((item) => {
36
+        item.content = item.content;
37
+      });
38
+    } else {
39
+      this.noData = true;
40
+    }
45
   },
41
   },
46
   methods: {
42
   methods: {
47
     cancel() {
43
     cancel() {

+ 9
- 5
src/views/caseManagement/caseList.vue Ver fichero

11
           clearable
11
           clearable
12
           @keyup.enter.native="handleQuery"
12
           @keyup.enter.native="handleQuery"
13
         /> -->
13
         /> -->
14
-        <el-cascader :options="options" @change="changeDept" :props="{ checkStrictly: true }" clearable></el-cascader>
14
+        <el-cascader v-model="queryParams.nameId" :options="options" @change="changeDept" :props="{ checkStrictly: true }" clearable></el-cascader>
15
       </el-form-item>
15
       </el-form-item>
16
       <el-form-item label="案件状态" prop="caseStatus">
16
       <el-form-item label="案件状态" prop="caseStatus">
17
         <el-select v-model="queryParams.caseStatus" placeholder="请选择案件状态" clearable @keyup.enter.native="handleQuery">
17
         <el-select v-model="queryParams.caseStatus" placeholder="请选择案件状态" clearable @keyup.enter.native="handleQuery">
97
             v-if="scope.row.caseStatus == 7" v-hasPermi="['caseManagement:list:checkarbitrationway']">审核仲裁方式</el-button>
97
             v-if="scope.row.caseStatus == 7" v-hasPermi="['caseManagement:list:checkarbitrationway']">审核仲裁方式</el-button>
98
           <el-button size="mini" type="text" icon="el-icon-edit-outline" @click="adjudicaterecordRow(scope.row)"
98
           <el-button size="mini" type="text" icon="el-icon-edit-outline" @click="adjudicaterecordRow(scope.row)"
99
             v-if="scope.row.caseStatus == 9 && scope.row.arbitratMethod == 2"
99
             v-if="scope.row.caseStatus == 9 && scope.row.arbitratMethod == 2"
100
-            v-hasPermi="['caseManagement:list:hear']">书面审理</el-button>
100
+            >书面审理</el-button>
101
+            <!-- v-hasPermi="['caseManagement:list:hear']" -->
101
           <el-button size="mini" type="text" icon="el-icon-service" @click="trialcourtRow(scope.row)"
102
           <el-button size="mini" type="text" icon="el-icon-service" @click="trialcourtRow(scope.row)"
102
             v-if="scope.row.caseStatus == 8 && scope.row.arbitratMethod == 1"
103
             v-if="scope.row.caseStatus == 8 && scope.row.arbitratMethod == 1"
103
-            v-hasPermi="['caseManagement:list:hear']">开庭审理</el-button>
104
+            >开庭审理</el-button>
104
           <el-button size="mini" type="text" icon="el-icon-document" @click="generateawardRow(scope.row)"
105
           <el-button size="mini" type="text" icon="el-icon-document" @click="generateawardRow(scope.row)"
105
             v-if="scope.row.caseStatus == 10" v-hasPermi="['caseManagement:list:createaward']">生成裁决书</el-button>
106
             v-if="scope.row.caseStatus == 10" v-hasPermi="['caseManagement:list:createaward']">生成裁决书</el-button>
106
           <!-- <el-button
107
           <!-- <el-button
207
         caseNum: undefined,
208
         caseNum: undefined,
208
         // caseStatusList: [0, 1, 2, 5, 6, 7, 8, 9, 10, 16],
209
         // caseStatusList: [0, 1, 2, 5, 6, 7, 8, 9, 10, 16],
209
         caseStatusList: [0, 1, 2, 5, 6, 7, 8, 9, 10],
210
         caseStatusList: [0, 1, 2, 5, 6, 7, 8, 9, 10],
210
-        hearDate: "",
211
+        // hearDate: "",
211
         caseStatus: null,
212
         caseStatus: null,
212
         applicantName: "",
213
         applicantName: "",
214
+        nameId: '',
213
         pageNum: 1,
215
         pageNum: 1,
214
         pageSize: 10,
216
         pageSize: 10,
215
       },
217
       },
295
     resetQuery() {
297
     resetQuery() {
296
       this.resetForm("queryForm");
298
       this.resetForm("queryForm");
297
       (this.queryParams.caseStatusList = [0, 1, 2, 5, 6, 7, 8, 9, 10]),
299
       (this.queryParams.caseStatusList = [0, 1, 2, 5, 6, 7, 8, 9, 10]),
298
-        this.getcaseApply(this.queryParams);
300
+      this.queryParams.applicantName = '',
301
+      this.queryParams.nameId = '',
302
+      this.getcaseApply(this.queryParams);
299
     },
303
     },
300
     // 案件录入
304
     // 案件录入
301
     filingApplication() {
305
     filingApplication() {

+ 4
- 4
src/views/caseManagement/components/formateCourtDialog.vue Ver fichero

21
       >
21
       >
22
       <p></p>
22
       <p></p>
23
       <!-- <el-form ref="form"> -->
23
       <!-- <el-form ref="form"> -->
24
+        <!-- v-if="isAgreePendTral == 0 || noArbitrator" -->
24
       <div
25
       <div
25
-        v-if="isAgreePendTral == 0 || noArbitrator"
26
         style="display: inline-flex; margin-bottom: 8px"
26
         style="display: inline-flex; margin-bottom: 8px"
27
       >
27
       >
28
         <div class="infoIcon"></div>
28
         <div class="infoIcon"></div>
29
-        <div>仲裁员信息列表</div>
29
+        <div><span v-if="isAgreePendTral == 1">当前案件</span>仲裁员信息列表</div>
30
       </div>
30
       </div>
31
       <el-table
31
       <el-table
32
         :data="dataList"
32
         :data="dataList"
33
         style="width: 100%"
33
         style="width: 100%"
34
         @selection-change="handleSelectionChange"
34
         @selection-change="handleSelectionChange"
35
-        v-if="isAgreePendTral == 0 || noArbitrator"
36
       >
35
       >
37
-        <el-table-column type="selection" width="55"> </el-table-column>
36
+        <!-- v-if="isAgreePendTral == 0 || noArbitrator" -->
37
+        <el-table-column type="selection" width="55" v-if="isAgreePendTral == 0"> </el-table-column>
38
         <el-table-column
38
         <el-table-column
39
           label="仲裁员姓名"
39
           label="仲裁员姓名"
40
           align="center"
40
           align="center"

+ 4
- 4
src/views/index.vue Ver fichero

2
   <div class="app-container home">
2
   <div class="app-container home">
3
     <div class="header">
3
     <div class="header">
4
       <div class="iconTitle"></div>
4
       <div class="iconTitle"></div>
5
-      <div class="headerMain">我的办事项</div>
5
+      <div class="headerMain">我的办事项</div>
6
     </div>
6
     </div>
7
     <div class="homeMain">
7
     <div class="homeMain">
8
         <div class="cardList">
8
         <div class="cardList">
9
-          <div class="badge">32</div>
9
+          <!-- <div class="badge">32</div> -->
10
           <div class="cardMain" style="margin-top: 50px;">
10
           <div class="cardMain" style="margin-top: 50px;">
11
             <img class="iconImg" src="@/assets/images/daishencha.png" alt="">
11
             <img class="iconImg" src="@/assets/images/daishencha.png" alt="">
12
           </div>
12
           </div>
15
           </div>
15
           </div>
16
         </div>
16
         </div>
17
         <div class="cardList">
17
         <div class="cardList">
18
-          <div class="badge">32</div>
18
+          <!-- <div class="badge">32</div> -->
19
           <div class="cardMain" style="margin-top: 50px;">
19
           <div class="cardMain" style="margin-top: 50px;">
20
             <img class="iconImg" src="@/assets/images/daijiaofei.png" alt="">
20
             <img class="iconImg" src="@/assets/images/daijiaofei.png" alt="">
21
           </div>
21
           </div>
24
           </div>
24
           </div>
25
         </div>
25
         </div>
26
         <div class="cardList">
26
         <div class="cardList">
27
-          <div class="badge">32</div>
27
+          <!-- <div class="badge">32</div> -->
28
           <div class="cardMain" style="margin-top: 50px;">
28
           <div class="cardMain" style="margin-top: 50px;">
29
             <img class="iconImg" src="@/assets/images/peisongzhong.png" alt="">
29
             <img class="iconImg" src="@/assets/images/peisongzhong.png" alt="">
30
           </div>
30
           </div>

+ 2
- 2
src/views/login.vue Ver fichero

72
     return {
72
     return {
73
       codeUrl: "",
73
       codeUrl: "",
74
       loginForm: {
74
       loginForm: {
75
-        username: "admin",
76
-        password: "admin123",
75
+        username: "",
76
+        password: "",
77
         rememberMe: false,
77
         rememberMe: false,
78
         code: "",
78
         code: "",
79
         uuid: ""
79
         uuid: ""

+ 2
- 2
vue.config.js Ver fichero

11
 
11
 
12
 const port = process.env.port || process.env.npm_config_port || 80 // 端口
12
 const port = process.env.port || process.env.npm_config_port || 80 // 端口
13
 
13
 
14
-const API = 'http://121.40.189.20:9001'  //测试
15
-// const API = 'http://192.168.3.18:9001'  //B
14
+// const API = 'http://121.40.189.20:9001'  //测试
15
+const API = 'http://192.168.3.18:9001'  //B
16
 // const API = 'http://192.168.3.77:8080' //Q
16
 // const API = 'http://192.168.3.77:8080' //Q
17
 
17
 
18
 // vue.config.js 配置说明
18
 // vue.config.js 配置说明