Your Name 2 år sedan
förälder
incheckning
9fcf901c2a

+ 158
- 94
src/components/leftnav.vue Visa fil

@@ -1,6 +1,6 @@
1 1
 /**
2 2
 * 左边菜单
3
-*/ 
3
+*/
4 4
 <template>
5 5
   <el-menu default-active="2" :collapse="collapsed" collapse-transition router :default-active="$route.path" unique-opened class="el-menu-vertical-demo" background-color="#334157" text-color="#fff" active-text-color="#ffd04b">
6 6
     <div class="logobox">
@@ -39,136 +39,200 @@ export default {
39 39
         {
40 40
           menuid: 1,
41 41
           icon: 'li-icon-xiangmuguanli',
42
-          menuname: '基础管理',
42
+          menuname: '立案申请',
43 43
           hasThird: null,
44 44
           url: null,
45 45
           menus: [
46 46
             {
47
-              menuid: 2,
47
+              menuid: 102,
48 48
               icon: 'icon-cat-skuQuery',
49 49
               menuname: '商品管理',
50 50
               hasThird: 'N',
51
-              url: 'goods/Goods',
52
-              menus: null
53
-            }
54
-          ]
55
-        },
56
-        {
57
-          menuid: 33,
58
-          icon: 'li-icon-dingdanguanli',
59
-          menuname: '订单管理',
60
-          hasThird: null,
61
-          url: null,
62
-          menus: [
63
-            {
64
-              menuid: 34,
65
-              icon: 'icon-order-manage',
66
-              menuname: '交易订单',
67
-              hasThird: 'N',
68
-              url: 'pay/Order',
69
-              menus: null
70
-            }
71
-          ]
72
-        },
73
-        {
74
-          menuid: 71,
75
-          icon: 'li-icon-xitongguanli',
76
-          menuname: '系统管理',
77
-          hasThird: null,
78
-          url: null,
79
-          menus: [
80
-            {
81
-              menuid: 72,
82
-              icon: 'icon-cus-manage',
83
-              menuname: '用户管理',
84
-              hasThird: 'N',
85
-              url: 'system/user',
86
-              menus: null
87
-            },
88
-            {
89
-              menuid: 174,
90
-              icon: 'icon-cms-manage',
91
-              menuname: '菜单管理',
92
-              hasThird: 'N',
93
-              url: 'system/Module',
94
-              menus: null
95
-            },
96
-            {
97
-              menuid: 73,
98
-              icon: 'icon-news-manage',
99
-              menuname: '角色管理',
100
-              hasThird: 'N',
101
-              url: 'system/Role',
51
+              url: 'registerapplicate/Goods',
102 52
               menus: null
103 53
             },
104 54
             {
105
-              menuid: 74,
106
-              icon: 'icon-cs-manage',
107
-              menuname: '公司管理',
55
+              menuid: 11,
56
+              icon: 'icon-cat-skuQuery',
57
+              menuname: '立案申请',
108 58
               hasThird: 'N',
109
-              url: 'system/Dept',
59
+              url: 'registerapplicate/filingApplication',
110 60
               menus: null
111 61
             },
112 62
             {
113
-              menuid: 75,
114
-              icon: 'icon-promotion-manage',
115
-              menuname: '系统环境变量',
63
+              menuid: 12,
64
+              icon: 'icon-cat-skuQuery',
65
+              menuname: '立案申请审核',
116 66
               hasThird: 'N',
117
-              url: 'system/Variable',
67
+              url: 'registerapplicate/filingReview',
118 68
               menus: null
119 69
             },
120 70
             {
121
-              menuid: 76,
122
-              icon: 'icon-cms-manage',
123
-              menuname: '权限管理',
71
+              menuid: 13,
72
+              icon: 'icon-cat-skuQuery',
73
+              menuname: '缴费确认',
124 74
               hasThird: 'N',
125
-              url: 'system/Permission',
75
+              url: 'registerapplicate/payConfirmation',
126 76
               menus: null
127 77
             }
128 78
           ]
129 79
         },
130 80
         {
131
-          menuid: 128,
132
-          icon: 'li-icon-shangchengxitongtubiaozitihuayuanwenjian91',
133
-          menuname: '支付管理',
81
+          menuid: 2,
82
+          icon: 'li-icon-dingdanguanli',
83
+          menuname: '案件处理',
134 84
           hasThird: null,
135 85
           url: null,
136 86
           menus: [
87
+            // {
88
+            //   menuid: 201,
89
+            //   icon: 'icon-order-manage',
90
+            //   menuname: '交易订单',
91
+            //   hasThird: 'N',
92
+            //   url: 'pay/Order',
93
+            //   menus: null
94
+            // },
137 95
             {
138
-              menuid: 129,
139
-              icon: 'icon-provider-manage',
140
-              menuname: '支付配置信息',
96
+              menuid: 21,
97
+              icon: 'icon-order-manage',
98
+              menuname: '立案',
141 99
               hasThird: 'N',
142
-              url: 'machine/MachineConfig',
100
+              url: 'casehandling/register',
143 101
               menus: null
144 102
             },
145
-            {
146
-              menuid: 175,
147
-              icon: 'icon-provider-manage',
148
-              menuname: '支付配置',
103
+             {
104
+              menuid: 22,
105
+              icon: 'icon-order-manage',
106
+              menuname: '组庭',
149 107
               hasThird: 'N',
150
-              url: 'pay/Config',
108
+              url: 'casehandling/formationCourt',
151 109
               menus: null
152
-            }
153
-          ]
154
-        },
155
-        {
156
-          menuid: 150,
157
-          icon: 'li-icon-shangchengxitongtubiaozitihuayuanwenjian91',
158
-          menuname: '图表',
159
-          hasThird: null,
160
-          url: null,
161
-          menus: [
162
-            {
163
-              menuid: 159,
164
-              icon: 'icon-provider-manage',
165
-              menuname: '数据可视化',
110
+            },
111
+             {
112
+              menuid: 23,
113
+              icon: 'icon-order-manage',
114
+              menuname: '组庭审核',
115
+              hasThird: 'N',
116
+              url: 'casehandling/courtReview',
117
+              menus: null
118
+            },
119
+             {
120
+              menuid: 24,
121
+              icon: 'icon-order-manage',
122
+              menuname: '开庭审理',
166 123
               hasThird: 'N',
167
-              url: 'charts/statistics',
124
+              url: 'casehandling/trialinCourt',
125
+              menus: null
126
+            },
127
+             {
128
+              menuid: 25,
129
+              icon: 'icon-order-manage',
130
+              menuname: '仲裁审核',
131
+              hasThird: 'N',
132
+              url: 'casehandling/arbitrationRaeview',
168 133
               menus: null
169 134
             }
170 135
           ]
171
-        }
136
+        },
137
+        // {
138
+        //   menuid: 71,
139
+        //   icon: 'li-icon-xitongguanli',
140
+        //   menuname: '系统管理',
141
+        //   hasThird: null,
142
+        //   url: null,
143
+        //   menus: [
144
+        //     {
145
+        //       menuid: 72,
146
+        //       icon: 'icon-cus-manage',
147
+        //       menuname: '用户管理',
148
+        //       hasThird: 'N',
149
+        //       url: 'system/user',
150
+        //       menus: null
151
+        //     },
152
+        //     {
153
+        //       menuid: 174,
154
+        //       icon: 'icon-cms-manage',
155
+        //       menuname: '菜单管理',
156
+        //       hasThird: 'N',
157
+        //       url: 'system/Module',
158
+        //       menus: null
159
+        //     },
160
+        //     {
161
+        //       menuid: 73,
162
+        //       icon: 'icon-news-manage',
163
+        //       menuname: '角色管理',
164
+        //       hasThird: 'N',
165
+        //       url: 'system/Role',
166
+        //       menus: null
167
+        //     },
168
+        //     {
169
+        //       menuid: 74,
170
+        //       icon: 'icon-cs-manage',
171
+        //       menuname: '公司管理',
172
+        //       hasThird: 'N',
173
+        //       url: 'system/Dept',
174
+        //       menus: null
175
+        //     },
176
+        //     {
177
+        //       menuid: 75,
178
+        //       icon: 'icon-promotion-manage',
179
+        //       menuname: '系统环境变量',
180
+        //       hasThird: 'N',
181
+        //       url: 'system/Variable',
182
+        //       menus: null
183
+        //     },
184
+        //     {
185
+        //       menuid: 76,
186
+        //       icon: 'icon-cms-manage',
187
+        //       menuname: '权限管理',
188
+        //       hasThird: 'N',
189
+        //       url: 'system/Permission',
190
+        //       menus: null
191
+        //     }
192
+        //   ]
193
+        // },
194
+        // {
195
+        //   menuid: 128,
196
+        //   icon: 'li-icon-shangchengxitongtubiaozitihuayuanwenjian91',
197
+        //   menuname: '支付管理',
198
+        //   hasThird: null,
199
+        //   url: null,
200
+        //   menus: [
201
+        //     {
202
+        //       menuid: 129,
203
+        //       icon: 'icon-provider-manage',
204
+        //       menuname: '支付配置信息',
205
+        //       hasThird: 'N',
206
+        //       url: 'machine/MachineConfig',
207
+        //       menus: null
208
+        //     },
209
+        //     {
210
+        //       menuid: 175,
211
+        //       icon: 'icon-provider-manage',
212
+        //       menuname: '支付配置',
213
+        //       hasThird: 'N',
214
+        //       url: 'pay/Config',
215
+        //       menus: null
216
+        //     }
217
+        //   ]
218
+        // },
219
+        // {
220
+        //   menuid: 150,
221
+        //   icon: 'li-icon-shangchengxitongtubiaozitihuayuanwenjian91',
222
+        //   menuname: '图表',
223
+        //   hasThird: null,
224
+        //   url: null,
225
+        //   menus: [
226
+        //     {
227
+        //       menuid: 159,
228
+        //       icon: 'icon-provider-manage',
229
+        //       menuname: '数据可视化',
230
+        //       hasThird: 'N',
231
+        //       url: 'charts/statistics',
232
+        //       menus: null
233
+        //     }
234
+        //   ]
235
+        // }
172 236
       ],
173 237
       msg: 'success'
174 238
     }

+ 1
- 1
src/main.js Visa fil

@@ -52,7 +52,7 @@ router.beforeEach((to, from, next) => {
52 52
                      * 防刷新,如果登录,修改路由跳转到登录页面,修改路由为登录后的首页 
53 53
                      */
54 54
                     next({
55
-                        path: '/goods/Goods'
55
+                        path: '/registerapplicate/Goods'
56 56
                     })
57 57
                 }
58 58
             } else {

+ 92
- 5
src/router/index.js Visa fil

@@ -6,10 +6,34 @@ import login from '@/views/login';
6 6
 // 首页
7 7
 import index from '@/views/index';
8 8
 /**
9
- * 基础菜单
9
+ * 立案申请
10 10
  */
11 11
 // 商品管理
12
-import Goods from '@/views/goods/Goods';
12
+import Goods from '@/views/registerapplicate/Goods';
13
+// 立案申请  Filing application
14
+import filingApplication from '@/views/registerapplicate/filingApplication';
15
+// 立案申请审核 Filing application review
16
+import filingReview from '@/views/registerapplicate/filingReview';
17
+// 缴费确认  payConfirmation
18
+import payConfirmation from '@/views/registerapplicate/payConfirmation';
19
+
20
+/**
21
+ * 案件处理
22
+ */
23
+// 立案  casehandling/register
24
+import register from '@/views/casehandling/register';
25
+// 组庭
26
+import formationCourt from '@/views/casehandling/formationCourt';
27
+// 组庭审核
28
+import courtReview from '@/views/casehandling/courtReview';
29
+// 开庭审理
30
+import trialinCourt from '@/views/casehandling/trialinCourt';
31
+// 仲裁审核
32
+import arbitrationRaeview from '@/views/casehandling/arbitrationRaeview';
33
+
34
+
35
+
36
+
13 37
 // 机器信息管理
14 38
 import Machine from '@/views/machine/Machine';
15 39
 // 货道信息管理
@@ -53,7 +77,7 @@ import statistics from '@/views/charts/statistics';
53 77
 // 启用路由
54 78
 Vue.use(Router);
55 79
 
56
-// 导出路由 
80
+// 导出路由
57 81
 export default new Router({
58 82
     routes: [{
59 83
         path: '/',
@@ -77,13 +101,76 @@ export default new Router({
77 101
         component: index,
78 102
         iconCls: 'el-icon-tickets',
79 103
         children: [{
80
-            path: '/goods/Goods',
104
+            path: '/registerapplicate/Goods',
81 105
             name: '商品管理',
82 106
             component: Goods,
83 107
             meta: {
84 108
                 requireAuth: true
85 109
             }
110
+        },{
111
+            path: '/registerapplicate/filingApplication',
112
+            name: '立案申请',
113
+            component: filingApplication,
114
+            meta: {
115
+                requireAuth: true
116
+            }
86 117
         }, {
118
+            path: '/registerapplicate/filingReview',
119
+            name: '立案申请审核',
120
+            component: filingReview,
121
+            meta: {
122
+                requireAuth: true
123
+            }
124
+        },{
125
+            path: '/registerapplicate/payConfirmation',
126
+            name: '缴费确认',
127
+            component: payConfirmation,
128
+            meta: {
129
+                requireAuth: true
130
+            }
131
+        },{
132
+            path: '/casehandling/register',
133
+            name: '立案',
134
+            component: register,
135
+            meta: {
136
+                requireAuth: true
137
+            }
138
+        },{
139
+            path: '/casehandling/formationCourt',
140
+            name: '组庭',
141
+            component: formationCourt,
142
+            meta: {
143
+                requireAuth: true
144
+            }
145
+        },{
146
+            path: '/casehandling/courtReview',
147
+            name: '组庭审核',
148
+            component: courtReview,
149
+            meta: {
150
+                requireAuth: true
151
+            }
152
+        },{
153
+            path: '/casehandling/trialinCourt',
154
+            name: '开庭审理',
155
+            component: trialinCourt,
156
+            meta: {
157
+                requireAuth: true
158
+            }
159
+        },{
160
+            path: '/casehandling/arbitrationRaeview',
161
+            name: '仲裁审核',
162
+            component: arbitrationRaeview,
163
+            meta: {
164
+                requireAuth: true
165
+            }
166
+        },
167
+        
168
+        
169
+        
170
+        
171
+        
172
+        
173
+        {
87 174
             path: '/machine/Machine',
88 175
             name: '机器信息管理',
89 176
             component: Machine,
@@ -176,4 +263,4 @@ export default new Router({
176 263
             }
177 264
         }]
178 265
     }]
179
-})
266
+})

+ 15
- 0
src/views/casehandling/arbitrationRaeview.vue Visa fil

@@ -0,0 +1,15 @@
1
+<template>
2
+    <div>
3
+        arbitrationRaeview  仲裁审核
4
+    </div>
5
+</template>
6
+
7
+<script>
8
+    export default {
9
+        
10
+    }
11
+</script>
12
+
13
+<style scoped>
14
+
15
+</style>

+ 15
- 0
src/views/casehandling/courtReview.vue Visa fil

@@ -0,0 +1,15 @@
1
+<template>
2
+    <div>
3
+        courtReview  组庭审核
4
+    </div>
5
+</template>
6
+
7
+<script>
8
+    export default {
9
+        
10
+    }
11
+</script>
12
+
13
+<style scoped>
14
+
15
+</style>

+ 15
- 0
src/views/casehandling/formationCourt.vue Visa fil

@@ -0,0 +1,15 @@
1
+<template>
2
+    <div>
3
+        formationCourt  组庭
4
+    </div>
5
+</template>
6
+
7
+<script>
8
+    export default {
9
+        
10
+    }
11
+</script>
12
+
13
+<style scoped>
14
+
15
+</style>

+ 15
- 0
src/views/casehandling/register.vue Visa fil

@@ -0,0 +1,15 @@
1
+<template>
2
+    <div>
3
+        register 立案
4
+    </div>
5
+</template>
6
+
7
+<script>
8
+    export default {
9
+        
10
+    }
11
+</script>
12
+
13
+<style scoped>
14
+
15
+</style>

+ 15
- 0
src/views/casehandling/trialinCourt.vue Visa fil

@@ -0,0 +1,15 @@
1
+<template>
2
+    <div>
3
+        trialinCourt  开庭审理
4
+    </div>
5
+</template>
6
+
7
+<script>
8
+    export default {
9
+        
10
+    }
11
+</script>
12
+
13
+<style scoped>
14
+
15
+</style>

+ 313
- 0
src/views/filingApplication/filingApplication.vue Visa fil

@@ -0,0 +1,313 @@
1
+/**
2
+ * 基础菜单 商品管理
3
+ */
4
+<template>
5
+  <div>
6
+    <!-- 面包屑导航 -->
7
+    <el-breadcrumb separator-class="el-icon-arrow-right">
8
+      <el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
9
+      <el-breadcrumb-item>立案申请</el-breadcrumb-item>
10
+    </el-breadcrumb>
11
+    <!-- 搜索筛选 -->
12
+    <el-form :inline="true" :model="formInline" class="user-search">
13
+      <el-form-item label="搜索:">
14
+        <el-input size="small" v-model="formInline.deptName" placeholder="输入部门名称"></el-input>
15
+      </el-form-item>
16
+      <el-form-item label="">
17
+        <el-input size="small" v-model="formInline.deptNo" placeholder="输入部门代码"></el-input>
18
+      </el-form-item>
19
+      <el-form-item>
20
+        <el-button size="small" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
21
+        <el-button size="small" type="primary" icon="el-icon-plus" @click="handleEdit()">立案申请</el-button>
22
+      </el-form-item>
23
+    </el-form>
24
+    <!--列表-->
25
+    <el-table size="small" :data="listData" highlight-current-row v-loading="loading" border element-loading-text="拼命加载中" style="width: 100%;">
26
+      <el-table-column align="center" type="selection" width="60">
27
+      </el-table-column>
28
+      <el-table-column align="center" sortable prop="caseNo" label="案件编号" width="200">
29
+      </el-table-column>
30
+      <el-table-column align="center" prop="applicant" label="申请人" width="100"></el-table-column>
31
+      <el-table-column align="center" prop="subjectmatter" label="案件标的" width="200"></el-table-column>
32
+      <el-table-column align="center" sortable prop="filingdate" label="立案日期" width="200"></el-table-column>
33
+      <el-table-column align="center" prop="arbitratemethod" label="仲裁方式" width="90">
34
+      </el-table-column>
35
+      <el-table-column align="center" prop="caseStatus" label="案件状态" width="90">
36
+      </el-table-column>
37
+      <el-table-column align="center" label="操作" min-width="300">
38
+        <template slot-scope="scope">
39
+          <el-button size="mini" type="primary" @click="deleteUser(scope.$index, scope.row)">详情</el-button>
40
+          <el-button size="mini" @click="handleEdit(scope.$index, scope.row)">修改</el-button>
41
+        </template>
42
+      </el-table-column>
43
+    </el-table>
44
+    <!-- 分页组件 -->
45
+    <Pagination v-bind:child-msg="pageparm" @callFather="callFather"></Pagination>
46
+    <!-- 编辑界面 -->
47
+    <el-dialog :title="title" :visible.sync="editFormVisible" width="30%" @click="closeDialog">
48
+      <el-form label-width="120px" :model="editForm" :rules="rules" ref="editForm">
49
+        <el-form-item label="部门名称" prop="deptName">
50
+          <el-input size="small" v-model="editForm.deptName" auto-complete="off" placeholder="请输入部门名称"></el-input>
51
+        </el-form-item>
52
+        <el-form-item label="部门代码" prop="deptNo">
53
+          <el-input size="small" v-model="editForm.deptNo" auto-complete="off" placeholder="请输入部门代码"></el-input>
54
+        </el-form-item>
55
+      </el-form>
56
+      <div slot="footer" class="dialog-footer">
57
+        <el-button size="small" @click="closeDialog">取消</el-button>
58
+        <el-button size="small" type="primary" :loading="loading" class="title" @click="submitForm('editForm')">保存</el-button>
59
+      </div>
60
+    </el-dialog>
61
+  </div>
62
+</template>
63
+
64
+<script>
65
+import { deptList, deptSave, deptDelete } from '../../api/userMG'
66
+import Pagination from '../../components/Pagination'
67
+export default {
68
+  data() {
69
+    return {
70
+      nshow: true, //switch开启
71
+      fshow: false, //switch关闭
72
+      loading: false, //是显示加载
73
+      editFormVisible: false, //控制编辑页面显示与隐藏
74
+      title: '添加',
75
+      editForm: {
76
+        deptId: '',
77
+        deptName: '',
78
+        deptNo: '',
79
+        token: localStorage.getItem('logintoken')
80
+      },
81
+      // rules表单验证
82
+      rules: {
83
+        deptName: [
84
+          { required: true, message: '请输入部门名称', trigger: 'blur' }
85
+        ],
86
+        deptNo: [{ required: true, message: '请输入部门代码', trigger: 'blur' }]
87
+      },
88
+      formInline: {
89
+        page: 1,
90
+        limit: 10,
91
+        varLable: '',
92
+        varName: '',
93
+        token: localStorage.getItem('logintoken')
94
+      },
95
+      // 删除部门
96
+      seletedata: {
97
+        ids: '',
98
+        token: localStorage.getItem('logintoken')
99
+      },
100
+      userparm: [], //搜索权限
101
+      listData: [], //用户数据
102
+      // 分页参数
103
+      pageparm: {
104
+        currentPage: 1,
105
+        pageSize: 10,
106
+        total: 10
107
+      }
108
+    }
109
+  },
110
+  // 注册组件
111
+  components: {
112
+    Pagination
113
+  },
114
+  /**
115
+   * 数据发生改变
116
+   */
117
+
118
+  /**
119
+   * 创建完毕
120
+   */
121
+  created() {
122
+    this.getdata(this.formInline)
123
+  },
124
+
125
+  /**
126
+   * 里面的方法只有被调用才会执行
127
+   */
128
+  methods: {
129
+    // 获取公司列表
130
+    getdata(parameter) {
131
+      this.loading = true
132
+      // 模拟数据开始
133
+      let res = {
134
+        code: 0,
135
+        msg: null,
136
+        count: 5,
137
+        data: [
138
+          // 案件编号  申请人 案件标的 立案日期 仲裁方式 案件状态
139
+          {
140
+            caseNo: 1,
141
+            applicant: '张三',
142
+            subjectmatter: 1521,
143
+            filingdate: '2023-09-01',
144
+            arbitratemethod: '线下',
145
+            caseStatus: '待开庭',
146
+          },
147
+          {
148
+            caseNo: 2,
149
+            applicant: '李四',
150
+            subjectmatter: 19421,
151
+            filingdate: '2023-02-11',
152
+            arbitratemethod: '线上',
153
+            caseStatus: '已结案',
154
+          },
155
+          {
156
+            caseNo: 3,
157
+            applicant: '王五',
158
+            subjectmatter: 521,
159
+            filingdate: '2023-01-25',
160
+            arbitratemethod: '线下',
161
+            caseStatus: '已结案',
162
+          },
163
+          {
164
+            caseNo: 4,
165
+            applicant: '喊超薄',
166
+            subjectmatter: 666,
167
+            filingdate: '2023-01-25',
168
+            arbitratemethod: '线下',
169
+            caseStatus: '未立案',
170
+          },
171
+        ]
172
+      }
173
+      this.loading = false
174
+      this.listData = res.data
175
+      this.pageparm.currentPage = this.formInline.page
176
+      this.pageparm.pageSize = this.formInline.limit
177
+      this.pageparm.total = res.count
178
+      // 模拟数据结束
179
+
180
+      /***
181
+       * 调用接口,注释上面模拟数据 取消下面注释
182
+       */
183
+      // deptList(parameter)
184
+      //   .then(res => {
185
+      //     this.loading = false
186
+      //     if (res.success == false) {
187
+      //       this.$message({
188
+      //         type: 'info',
189
+      //         message: res.msg
190
+      //       })
191
+      //     } else {
192
+      //       this.listData = res.data
193
+      //       // 分页赋值
194
+      //       this.pageparm.currentPage = this.formInline.page
195
+      //       this.pageparm.pageSize = this.formInline.limit
196
+      //       this.pageparm.total = res.count
197
+      //     }
198
+      //   })
199
+      //   .catch(err => {
200
+      //     this.loading = false
201
+      //     this.$message.error('菜单加载失败,请稍后再试!')
202
+      //   })
203
+    },
204
+    // 分页插件事件
205
+    callFather(parm) {
206
+      this.formInline.page = parm.currentPage
207
+      this.formInline.limit = parm.pageSize
208
+      this.getdata(this.formInline)
209
+    },
210
+    // 搜索事件
211
+    search() {
212
+      this.getdata(this.formInline)
213
+    },
214
+    //显示编辑界面
215
+    handleEdit: function(index, row) {
216
+      this.editFormVisible = true
217
+      if (row != undefined && row != 'undefined') {
218
+        this.title = '修改'
219
+        this.editForm.deptId = row.deptId
220
+        this.editForm.deptName = row.deptName
221
+        this.editForm.deptNo = row.deptNo
222
+      } else {
223
+        this.title = '添加'
224
+        this.editForm.deptId = ''
225
+        this.editForm.deptName = ''
226
+        this.editForm.deptNo = ''
227
+      }
228
+    },
229
+    // 编辑、增加页面保存方法
230
+    submitForm(editData) {
231
+      this.$refs[editData].validate(valid => {
232
+        if (valid) {
233
+          deptSave(this.editForm)
234
+            .then(res => {
235
+              this.editFormVisible = false
236
+              this.loading = false
237
+              if (res.success) {
238
+                this.getdata(this.formInline)
239
+                this.$message({
240
+                  type: 'success',
241
+                  message: '公司保存成功!'
242
+                })
243
+              } else {
244
+                this.$message({
245
+                  type: 'info',
246
+                  message: res.msg
247
+                })
248
+              }
249
+            })
250
+            .catch(err => {
251
+              this.editFormVisible = false
252
+              this.loading = false
253
+              this.$message.error('公司保存失败,请稍后再试!')
254
+            })
255
+        } else {
256
+          return false
257
+        }
258
+      })
259
+    },
260
+    // 删除公司
261
+    deleteUser(index, row) {
262
+      this.$confirm('确定要删除吗?', '信息', {
263
+        confirmButtonText: '确定',
264
+        cancelButtonText: '取消',
265
+        type: 'warning'
266
+      })
267
+        .then(() => {
268
+          deptDelete(row.deptId)
269
+            .then(res => {
270
+              if (res.success) {
271
+                this.$message({
272
+                  type: 'success',
273
+                  message: '公司已删除!'
274
+                })
275
+                this.getdata(this.formInline)
276
+              } else {
277
+                this.$message({
278
+                  type: 'info',
279
+                  message: res.msg
280
+                })
281
+              }
282
+            })
283
+            .catch(err => {
284
+              this.loading = false
285
+              this.$message.error('公司删除失败,请稍后再试!')
286
+            })
287
+        })
288
+        .catch(() => {
289
+          this.$message({
290
+            type: 'info',
291
+            message: '已取消删除'
292
+          })
293
+        })
294
+    },
295
+    // 关闭编辑、增加弹出框
296
+    closeDialog() {
297
+      this.editFormVisible = false
298
+    }
299
+  }
300
+}
301
+</script>
302
+
303
+<style scoped>
304
+.user-search {
305
+  margin-top: 20px;
306
+}
307
+.userRole {
308
+  width: 100%;
309
+}
310
+</style>
311
+
312
+ 
313
+ 

+ 2
- 19
src/views/login.vue Visa fil

@@ -9,14 +9,6 @@
9 9
         <el-input type="password" v-model="ruleForm.password" auto-complete="off" placeholder="密码"></el-input>
10 10
       </el-form-item>
11 11
       <el-row>
12
-        <el-col :span="12">
13
-          <el-form-item prop="code">
14
-            <el-input type="text" v-model="ruleForm.code" auto-complete="off" placeholder="图形验证码" @keyup.enter.native="submitForm('ruleForm')"></el-input>
15
-          </el-form-item>
16
-        </el-col>
17
-        <el-col :span="12" class="code-box">
18
-          <img :src="ruleForm.codeimg" alt="" class="codeimg" @click="getcode()">
19
-        </el-col>
20 12
       </el-row>
21 13
       <el-checkbox class="remember" v-model="rememberpwd">记住密码</el-checkbox>
22 14
       <el-form-item style="width:100%;">
@@ -41,7 +33,6 @@ export default {
41 33
         //username和password默认为空
42 34
         username: '',
43 35
         password: '',
44
-        code: '',
45 36
         randomStr: '',
46 37
         codeimg: ''
47 38
       },
@@ -49,7 +40,6 @@ export default {
49 40
       rules: {
50 41
         username: [{ required: true, message: '请输入账号', trigger: 'blur' }],
51 42
         password: [{ required: true, message: '请输入密码', trigger: 'blur' }],
52
-        code: [{ required: true, message: '请输入验证码', trigger: 'blur' }]
53 43
       }
54 44
     }
55 45
   },
@@ -59,8 +49,6 @@ export default {
59 49
       message: '账号密码及验证码不为空即可',
60 50
       type: 'success'
61 51
     })
62
-    // 获取图形验证码
63
-    this.getcode()
64 52
     // 获取存在本地的用户名密码
65 53
     this.getuserpwd()
66 54
     
@@ -84,7 +72,7 @@ export default {
84 72
           setTimeout(() => {
85 73
             this.logining = false
86 74
             this.$store.commit('login', 'true')
87
-            this.$router.push({ path: '/goods/Goods' })
75
+            this.$router.push({ path: '/registerapplicate/Goods' })
88 76
           }, 1000)
89 77
           // 注释
90 78
           // login(this.ruleForm).then(res => {
@@ -106,7 +94,7 @@ export default {
106 94
           //       // 缓存用户个人信息
107 95
           //       localStorage.setItem('userdata', JSON.stringify(res.data))
108 96
           //       this.$store.commit('login', 'true')
109
-          //       this.$router.push({ path: '/goods/Goods' })
97
+          //       this.$router.push({ path: '/registerapplicate/Goods' })
110 98
           //     }, 1000)
111 99
           //   } else {
112 100
           //     this.$message.error(res.msg)
@@ -115,8 +103,6 @@ export default {
115 103
           //   }
116 104
           // })
117 105
         } else {
118
-          // 获取图形验证码
119
-          this.getcode()
120 106
           this.$message.error('请输入用户名密码!')
121 107
           this.logining = false
122 108
           return false
@@ -157,9 +143,6 @@ export default {
157 143
 .remember {
158 144
   margin: 0px 0px 35px 0px;
159 145
 }
160
-.code-box {
161
-  text-align: right;
162
-}
163 146
 .codeimg {
164 147
   height: 40px;
165 148
 }

src/views/goods/Goods.vue → src/views/registerapplicate/Goods.vue Visa fil

@@ -328,5 +328,4 @@ export default {
328 328
 }
329 329
 </style>
330 330
 
331
- 
332
- 
331
+

+ 312
- 0
src/views/registerapplicate/filingApplication.vue Visa fil

@@ -0,0 +1,312 @@
1
+/**
2
+ * 基础菜单 商品管理
3
+ */
4
+<template>
5
+  <div>
6
+    <!-- 面包屑导航 -->
7
+    <el-breadcrumb separator-class="el-icon-arrow-right">
8
+      <el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
9
+      <el-breadcrumb-item>立案申请</el-breadcrumb-item>
10
+    </el-breadcrumb>
11
+    <!-- 搜索筛选 -->
12
+    <el-form :inline="true" :model="formInline" class="user-search">
13
+      <el-form-item label="搜索:">
14
+        <el-input size="small" v-model="formInline.deptName" placeholder="立案申请"></el-input>
15
+      </el-form-item>
16
+      <el-form-item label="">
17
+        <el-input size="small" v-model="formInline.deptNo" placeholder="立案申请"></el-input>
18
+      </el-form-item>
19
+      <el-form-item>
20
+        <el-button size="small" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
21
+        <el-button size="small" type="primary" icon="el-icon-plus" @click="handleEdit()">立案申请</el-button>
22
+      </el-form-item>
23
+    </el-form>
24
+    <!--列表-->
25
+    <el-table size="small" :data="listData" highlight-current-row v-loading="loading" border element-loading-text="拼命加载中" style="width: 100%;">
26
+      <el-table-column align="center" type="selection" width="60">
27
+      </el-table-column>
28
+      <el-table-column align="center" sortable prop="caseNo" label="案件编号" width="200">
29
+      </el-table-column>
30
+      <el-table-column align="center" prop="applicant" label="申请人" width="100"></el-table-column>
31
+      <el-table-column align="center" prop="subjectmatter" label="案件标的" width="200"></el-table-column>
32
+      <el-table-column align="center" sortable prop="filingdate" label="立案日期" width="200"></el-table-column>
33
+      <el-table-column align="center" prop="arbitratemethod" label="仲裁方式" width="90">
34
+      </el-table-column>
35
+      <el-table-column align="center" prop="caseStatus" label="案件状态" width="90">
36
+      </el-table-column>
37
+      <el-table-column align="center" label="操作" min-width="300">
38
+        <template slot-scope="scope">
39
+          <el-button size="mini" type="primary" @click="deleteUser(scope.$index, scope.row)">详情</el-button>
40
+          <el-button size="mini" @click="handleEdit(scope.$index, scope.row)">修改</el-button>
41
+        </template>
42
+      </el-table-column>
43
+    </el-table>
44
+    <!-- 分页组件 -->
45
+    <Pagination v-bind:child-msg="pageparm" @callFather="callFather"></Pagination>
46
+    <!-- 编辑界面 -->
47
+    <el-dialog :title="title" :visible.sync="editFormVisible" width="30%" @click="closeDialog">
48
+      <el-form label-width="120px" :model="editForm" :rules="rules" ref="editForm">
49
+        <el-form-item label="部门名称" prop="deptName">
50
+          <el-input size="small" v-model="editForm.deptName" auto-complete="off" placeholder="请输入部门名称"></el-input>
51
+        </el-form-item>
52
+        <el-form-item label="部门代码" prop="deptNo">
53
+          <el-input size="small" v-model="editForm.deptNo" auto-complete="off" placeholder="请输入部门代码"></el-input>
54
+        </el-form-item>
55
+      </el-form>
56
+      <div slot="footer" class="dialog-footer">
57
+        <el-button size="small" @click="closeDialog">取消</el-button>
58
+        <el-button size="small" type="primary" :loading="loading" class="title" @click="submitForm('editForm')">保存</el-button>
59
+      </div>
60
+    </el-dialog>
61
+  </div>
62
+</template>
63
+
64
+<script>
65
+import { deptList, deptSave, deptDelete } from '../../api/userMG'
66
+import Pagination from '../../components/Pagination'
67
+export default {
68
+  data() {
69
+    return {
70
+      nshow: true, //switch开启
71
+      fshow: false, //switch关闭
72
+      loading: false, //是显示加载
73
+      editFormVisible: false, //控制编辑页面显示与隐藏
74
+      title: '添加',
75
+      editForm: {
76
+        deptId: '',
77
+        deptName: '',
78
+        deptNo: '',
79
+        token: localStorage.getItem('logintoken')
80
+      },
81
+      // rules表单验证
82
+      rules: {
83
+        deptName: [
84
+          { required: true, message: '请输入部门名称', trigger: 'blur' }
85
+        ],
86
+        deptNo: [{ required: true, message: '请输入部门代码', trigger: 'blur' }]
87
+      },
88
+      formInline: {
89
+        page: 1,
90
+        limit: 10,
91
+        varLable: '',
92
+        varName: '',
93
+        token: localStorage.getItem('logintoken')
94
+      },
95
+      // 删除部门
96
+      seletedata: {
97
+        ids: '',
98
+        token: localStorage.getItem('logintoken')
99
+      },
100
+      userparm: [], //搜索权限
101
+      listData: [], //用户数据
102
+      // 分页参数
103
+      pageparm: {
104
+        currentPage: 1,
105
+        pageSize: 10,
106
+        total: 10
107
+      }
108
+    }
109
+  },
110
+  // 注册组件
111
+  components: {
112
+    Pagination
113
+  },
114
+  /**
115
+   * 数据发生改变
116
+   */
117
+
118
+  /**
119
+   * 创建完毕
120
+   */
121
+  created() {
122
+    this.getdata(this.formInline)
123
+  },
124
+
125
+  /**
126
+   * 里面的方法只有被调用才会执行
127
+   */
128
+  methods: {
129
+    // 获取公司列表
130
+    getdata(parameter) {
131
+      this.loading = true
132
+      // 模拟数据开始
133
+      let res = {
134
+        code: 0,
135
+        msg: null,
136
+        count: 5,
137
+        data: [
138
+          // 案件编号  申请人 案件标的 立案日期 仲裁方式 案件状态
139
+          {
140
+            caseNo: 1,
141
+            applicant: '张三',
142
+            subjectmatter: 1521,
143
+            filingdate: '2023-09-01',
144
+            arbitratemethod: '线下',
145
+            caseStatus: '待开庭',
146
+          },
147
+          {
148
+            caseNo: 2,
149
+            applicant: '李四',
150
+            subjectmatter: 19421,
151
+            filingdate: '2023-02-11',
152
+            arbitratemethod: '线上',
153
+            caseStatus: '已结案',
154
+          },
155
+          {
156
+            caseNo: 3,
157
+            applicant: '王五',
158
+            subjectmatter: 521,
159
+            filingdate: '2023-01-25',
160
+            arbitratemethod: '线下',
161
+            caseStatus: '已结案',
162
+          },
163
+          {
164
+            caseNo: 4,
165
+            applicant: 'JHHG',
166
+            subjectmatter: 666,
167
+            filingdate: '2023-01-25',
168
+            arbitratemethod: '线下',
169
+            caseStatus: '未立案',
170
+          },
171
+        ]
172
+      }
173
+      this.loading = false
174
+      this.listData = res.data
175
+      this.pageparm.currentPage = this.formInline.page
176
+      this.pageparm.pageSize = this.formInline.limit
177
+      this.pageparm.total = res.count
178
+      // 模拟数据结束
179
+
180
+      /***
181
+       * 调用接口,注释上面模拟数据 取消下面注释
182
+       */
183
+      // deptList(parameter)
184
+      //   .then(res => {
185
+      //     this.loading = false
186
+      //     if (res.success == false) {
187
+      //       this.$message({
188
+      //         type: 'info',
189
+      //         message: res.msg
190
+      //       })
191
+      //     } else {
192
+      //       this.listData = res.data
193
+      //       // 分页赋值
194
+      //       this.pageparm.currentPage = this.formInline.page
195
+      //       this.pageparm.pageSize = this.formInline.limit
196
+      //       this.pageparm.total = res.count
197
+      //     }
198
+      //   })
199
+      //   .catch(err => {
200
+      //     this.loading = false
201
+      //     this.$message.error('菜单加载失败,请稍后再试!')
202
+      //   })
203
+    },
204
+    // 分页插件事件
205
+    callFather(parm) {
206
+      this.formInline.page = parm.currentPage
207
+      this.formInline.limit = parm.pageSize
208
+      this.getdata(this.formInline)
209
+    },
210
+    // 搜索事件
211
+    search() {
212
+      this.getdata(this.formInline)
213
+    },
214
+    //显示编辑界面
215
+    handleEdit: function(index, row) {
216
+      this.editFormVisible = true
217
+      if (row != undefined && row != 'undefined') {
218
+        this.title = '修改'
219
+        this.editForm.deptId = row.deptId
220
+        this.editForm.deptName = row.deptName
221
+        this.editForm.deptNo = row.deptNo
222
+      } else {
223
+        this.title = '添加'
224
+        this.editForm.deptId = ''
225
+        this.editForm.deptName = ''
226
+        this.editForm.deptNo = ''
227
+      }
228
+    },
229
+    // 编辑、增加页面保存方法
230
+    submitForm(editData) {
231
+      this.$refs[editData].validate(valid => {
232
+        if (valid) {
233
+          deptSave(this.editForm)
234
+            .then(res => {
235
+              this.editFormVisible = false
236
+              this.loading = false
237
+              if (res.success) {
238
+                this.getdata(this.formInline)
239
+                this.$message({
240
+                  type: 'success',
241
+                  message: '公司保存成功!'
242
+                })
243
+              } else {
244
+                this.$message({
245
+                  type: 'info',
246
+                  message: res.msg
247
+                })
248
+              }
249
+            })
250
+            .catch(err => {
251
+              this.editFormVisible = false
252
+              this.loading = false
253
+              this.$message.error('公司保存失败,请稍后再试!')
254
+            })
255
+        } else {
256
+          return false
257
+        }
258
+      })
259
+    },
260
+    // 删除公司
261
+    deleteUser(index, row) {
262
+      this.$confirm('确定要删除吗?', '信息', {
263
+        confirmButtonText: '确定',
264
+        cancelButtonText: '取消',
265
+        type: 'warning'
266
+      })
267
+        .then(() => {
268
+          deptDelete(row.deptId)
269
+            .then(res => {
270
+              if (res.success) {
271
+                this.$message({
272
+                  type: 'success',
273
+                  message: '公司已删除!'
274
+                })
275
+                this.getdata(this.formInline)
276
+              } else {
277
+                this.$message({
278
+                  type: 'info',
279
+                  message: res.msg
280
+                })
281
+              }
282
+            })
283
+            .catch(err => {
284
+              this.loading = false
285
+              this.$message.error('公司删除失败,请稍后再试!')
286
+            })
287
+        })
288
+        .catch(() => {
289
+          this.$message({
290
+            type: 'info',
291
+            message: '已取消删除'
292
+          })
293
+        })
294
+    },
295
+    // 关闭编辑、增加弹出框
296
+    closeDialog() {
297
+      this.editFormVisible = false
298
+    }
299
+  }
300
+}
301
+</script>
302
+
303
+<style scoped>
304
+.user-search {
305
+  margin-top: 20px;
306
+}
307
+.userRole {
308
+  width: 100%;
309
+}
310
+</style>
311
+
312
+

+ 15
- 0
src/views/registerapplicate/filingReview.vue Visa fil

@@ -0,0 +1,15 @@
1
+<template>
2
+    <div>
3
+        filingReview  立案申请审核
4
+    </div>
5
+</template>
6
+
7
+<script>
8
+    export default {
9
+        
10
+    }
11
+</script>
12
+
13
+<style scoped>
14
+
15
+</style>

+ 15
- 0
src/views/registerapplicate/payConfirmation.vue Visa fil

@@ -0,0 +1,15 @@
1
+<template>
2
+    <div>
3
+        payConfirmation 缴费确认
4
+    </div>
5
+</template>
6
+
7
+<script>
8
+    export default {
9
+        
10
+    }
11
+</script>
12
+
13
+<style scoped>
14
+
15
+</style>