Selaa lähdekoodia

Merge branch 'master' of E:\公司项目备份\luohe_fronted with conflicts.

烬玊 1 vuosi sitten
vanhempi
commit
9d96c763a5

+ 70 - 0
src/api/article_liao.js

@@ -0,0 +1,70 @@
1
+// 文章
2
+import axios from "../../util/ajax";
3
+
4
+//分页获取文章列表
5
+const queryIndexContent = (page, limit, params) =>
6
+  axios.post(`/xyjc/index-content/query/${page}/${limit}`, params);
7
+
8
+// 增加内容
9
+const addIndexContent = params => axios.post(`/xyjc/index-content/add`, params);
10
+
11
+// 编辑内容
12
+const editIndexContent = params =>
13
+  axios.post(`/xyjc/index-content/update`, params);
14
+
15
+// 删除内容
16
+const deleteIndexContent = id =>
17
+  axios.delete(`/xyjc/index-content/delete/${id}`);
18
+
19
+// 下架内容
20
+const downOffIndexContent = (id, status) =>
21
+  axios.post(`/xyjc/index-content/downOff/${id}?status=${status}`);
22
+
23
+// 根据id查询内容
24
+const detailIndexContent = id => axios.post(`/xyjc/index-content/detail/${id}`);
25
+
26
+// 获取算法商城文章列表
27
+const queryAlgorithmList = (page, limit, params) =>
28
+  axios.post(`/xyjc/algorithm-mall/query/${page}/${limit}`, params);
29
+
30
+// 删除算法信息
31
+const deleteAlgorithm = (id) => axios.delete(`/xyjc/algorithm-mall/delete/${id}`)
32
+
33
+// 增加具体算法信息
34
+const addAlgorithm = (params) => axios.post(`/xyjc/algorithm-mall/add`, params)
35
+
36
+// 根据ID查询具体算法信息
37
+const getAlgorithmDetail = (id, hasGetChild) => axios.post(`/xyjc/algorithm-mall/detail/${id}?hasGetChild=${hasGetChild}`)
38
+
39
+// 上下架算法信息 status=0正常 1下架
40
+const downOffAlgorithm = (id, status) => axios.post(`/xyjc/algorithm-mall/downOff/${id}?status=${status}`)
41
+
42
+// 获取算法名称列表下拉框
43
+const getDropDownList = (params) => axios.get(`/xyjc/algorithm-mall/queryName`, { params })
44
+
45
+// 编辑具体算法信息
46
+const updateAlgorithm = (params) => axios.post(`/xyjc/algorithm-mall/update`, params)
47
+
48
+// 下载文件
49
+const downloadFile= (id) => axios.get(`/xyjc/index-files/download/${id}`, {responseType: 'blob'})
50
+
51
+//从业人员考核
52
+const qualificationExamine = (params) => axios.post('/dash/employee/qualification/examine',params)
53
+
54
+export default {
55
+  queryIndexContent,
56
+  addIndexContent,
57
+  editIndexContent,
58
+  deleteIndexContent,
59
+  downOffIndexContent,
60
+  detailIndexContent,
61
+  queryAlgorithmList,
62
+  deleteAlgorithm,
63
+  addAlgorithm,
64
+  getAlgorithmDetail,
65
+  downOffAlgorithm,
66
+  getDropDownList,
67
+  updateAlgorithm,
68
+  downloadFile,
69
+  qualificationExamine
70
+};

+ 59 - 7
src/pages/index/components/customer_complaint.vue

@@ -27,7 +27,7 @@
27 27
           <el-option label="妇幼保健院停车场" value="妇幼保健院停车场"></el-option>
28 28
         </el-select>
29 29
       </el-form-item>
30
-      <el-button class="btn_save" type="primary" @click="submitIntegrationConfig">客诉登记</el-button>
30
+      <el-button class="btn_save" type="success" @click="handleAdd">客诉登记</el-button>
31 31
     </el-form>
32 32
     <br>
33 33
     <br>
@@ -59,7 +59,48 @@
59 59
         />
60 60
       </div>
61 61
     </div>
62
+    <el-dialog
63
+      :title="title"
64
+      :visible.sync="dialogVisible"
65
+      width="60%"
66
+      height="600px"
67
+      custom-class="audit-dialog">
68
+      <div style="width: 100%;height: 450px">
69
+      <el-form label-position="left" label-width="80px" :model="formLabelAlign" >
70
+        <div style="display: flex;justify-content: space-around;">
71
+        <el-form-item label="">
72
+          <el-select v-model="formInline.region0" placeholder="投诉类型" class="cur-select">
73
+            <el-option label="经营服务类停车问题" value="经营服务类停车问题"></el-option>
74
+            <el-option label="非法经营停车问题" value="非法经营停车问题"></el-option>
75
+            <el-option label="不提供税票" value="不提供税票"></el-option>
62 76
 
77
+          </el-select>
78
+        </el-form-item>
79
+        <el-form-item label=":">
80
+          <el-select v-model="formInline.region2" placeholder="路内停车场" class="cur-select">
81
+            <el-option label="南街村景区-停车场" value="南街村景区-停车场"></el-option>
82
+            <el-option label="漯河市中医院-地上停车场" value="漯河市中医院-地上停车场"></el-option>
83
+          </el-select>
84
+        </el-form-item>
85
+        <el-form-item label=":">
86
+          <el-select v-model="formInline.region3" placeholder="路外停车场" class="cur-select">
87
+            <el-option label="市图书馆停车场" value="市图书馆停车场"></el-option>
88
+            <el-option label="中山公园停车场" value="中山公园停车场"></el-option>
89
+            <el-option label="市中心医院停车场" value="市中心医院停车场"></el-option>
90
+            <el-option label="妇幼保健院停车场" value="妇幼保健院停车场"></el-option>
91
+          </el-select>
92
+        </el-form-item>
93
+        </div>
94
+
95
+        <el-input class="input-wrapper" v-model="searchWords" placeholder="客诉详情">
96
+        </el-input>
97
+      </el-form>
98
+      </div>
99
+      <span slot="footer" class="dialog-footer">
100
+            <el-button @click="dialogVisible = false">取 消</el-button>
101
+            <el-button type="primary" @click="handleConfirm">确 定</el-button>
102
+        </span>
103
+    </el-dialog>
63 104
   </div>
64 105
 </template>
65 106
 <script>
@@ -137,7 +178,11 @@ export default {
137 178
       pageNum: 1,
138 179
       radio: '2',
139 180
       dialogVisible: false,
140
-      selRow: {},
181
+      formLabelAlign: {
182
+        ipUrl: ''
183
+      },
184
+      selRow: undefined,
185
+      title: ''
141 186
     }
142 187
   },
143 188
   mounted() {
@@ -147,9 +192,15 @@ export default {
147 192
   watch: {
148 193
   },
149 194
   methods: {
195
+
150 196
     handlePageChange() {
151 197
       this.getTableData()
152 198
     },
199
+    handleAdd () {
200
+      this.title = '客诉登记'
201
+      this.formLabelAlign.ipUrl = ''
202
+      this.dialogVisible = true
203
+    },
153 204
     handleAudit(row) {
154 205
       this.selRow = row
155 206
       this.dialogVisible = true
@@ -158,13 +209,11 @@ export default {
158 209
       console.log('enter handle cancel apply')
159 210
     },
160 211
     handleConfirm() {
161
-      const {id} = this.selRow
162
-      console.log('radio', this.radio)
163
-      api.applyResource({id, applyType: this.radio}).then(res => {
212
+      api.applyResource({idUrl: this.ipUrl}).then(res => {
164 213
         if(res.success) {
165 214
           this.dialogVisible = false
166 215
           this.$message({
167
-            message: '审核成功!',
216
+            message: '添加成功!',
168 217
             type: 'success'
169 218
           })
170 219
           this.getTableData()
@@ -248,7 +297,7 @@ export default {
248 297
 .body-wrapper {
249 298
   padding: 20px;
250 299
   background: #0c0c0c;
251
-  width: 80%;
300
+  width: 100%;
252 301
   .button-block{
253 302
     text-align: right;
254 303
     margin-bottom: 20px;
@@ -310,5 +359,8 @@ export default {
310 359
   .label{
311 360
     text-align: right;
312 361
   }
362
+  /deep/ .el-input__inner{
363
+    background: white;
364
+  }
313 365
 }
314 366
 </style>

+ 1 - 1
src/pages/index/components/other_analyse.vue

@@ -5,7 +5,7 @@
5 5
     </div>
6 6
     <br>
7 7
     <div class="charts">
8
-      <div style="width: 50%;height: 500px;">
8
+      <div style="width: 50%;height: 500px">
9 9
         <h4 style="color: white">区域分析</h4>
10 10
         <br>
11 11
         <barchart

+ 13 - 11
src/pages/index/layouts/indexLayout.vue

@@ -36,10 +36,13 @@ export default {
36 36
       isCollapse: false,//默认为不折叠菜单
37 37
       foldphoto: "el-icon-s-unfold",//菜单展开图标
38 38
       menu: [
39
+        {name: 'demo1', url: '/demo1'},
40
+        {name: 'demo2', url: '/demo2'},
41
+        {name: '车辆迁徒分析', url: '/bmap'},
42
+        {name: 'hot_map', url: '/hot_map'},
43
+        {name: 'heat_map', url: '/heat_map'},
39 44
         {name: '静态资源', url: '/static_resource'},
40 45
         {name: '记录查询', url: '/record_query'},
41
-        {name: '数据对接', url: '/data_docking'},
42
-        {name: '停车运行监管', url: '/park_monitor'},
43 46
         {name: '停车行为监测', url: '/park_bahavior'},
44 47
         {name: '设备运行监测', url: '/equipment_running'},
45 48
         {name: '从业人员资质', url: '/employee_qualification'},
@@ -47,14 +50,15 @@ export default {
47 50
         {name: '收费价格监管', url: '/charge_price'},
48 51
         {name: '车主信用监管', url: '/car_owner_credit'},
49 52
         {name: '企业服务监管', url: '/enterprise_service'},
53
+        {name: '数据对接', url: '/data_docking'},
50 54
         {name: '泊位基础情况', url: '/berths_information'},
51
-        {name: '泊位使用情况', url: '/berths_usage'},
52
-        {name: '泊位营收情况', url: '/berths_revenue'},
53
-        {name: '停车场情况', url: '/parking_lot_situation'},
54 55
         {name: '泊位运营分析', url: '/berth_peration_nalysis'},
55 56
         {name: '收费业务分析', url: '/charge_business_analysis'},
56 57
         {name: '接入数据分析', url: '/access_data_analysis'},
57 58
         {name: '道路(路内)泊位主题', url: '/berth_road'},
59
+        {name: '停车运行监管', url: '/park_monitor'},
60
+        {name: '停车行为检测', url: '/park_bahavior'},
61
+        {name: '设备运行检测', url: '/equipment_running'},
58 62
         {name: '经营性(路外)车场主题', url: '/berth_road_out'},
59 63
         {name: '停车收费取证主题', url: '/parking_fee'},
60 64
         {name: '车辆违规主题', url: '/vehicle_violations'},
@@ -62,28 +66,26 @@ export default {
62 66
         {name: '区域停车主题', url: '/parking_area'},
63 67
         {name: '设备运营主题', url: '/service_operations'},
64 68
         {name: '停车饱和预警', url: '/saturation_warning'},
65
-        {name: '车辆迁徒分析', url: '/bmap'},
66 69
         {name: '停车缺口分析', url: '/gap_analysis'},
67 70
         {name: '停车难易指数', url: '/park_easy'},
68 71
         {name: '全局停车诱导', url: '/park_guidance'},
69 72
         {name: '区域停车发展分析', url: '/park_development_analysis'},
70 73
         {name: '路内泊位设置推荐', url: '/berth_recommend'},
71 74
         {name: '停车盲点挖招', url: '/blind_spot_digging'},
72
-        {name: '其他分析', url: '/other_analyse'},
73 75
         {name: '服务发布功能', url: '/service_publish'},
74 76
         {name: '公告功能', url: '/announcement_function'},
75 77
         {name: '消息中心功能', url: '/message'},
76 78
         {name: '技术支持功能', url: '/support'},
77 79
         {name: '服务监控功能', url: '/service_monitor'},
80
+        {name: '泊位使用情况', url: '/berths_usage'},
81
+        {name: '泊位营收情况', url: '/berths_revenue'},
82
+        {name: '停车场情况', url: '/parking_lot_situation'},
83
+        {name: '其他分析', url: '/other_analyse'},
78 84
         {name: '凭证管理功能', url: '/credential_management_function'},
79 85
         {name: '服务订阅功能', url: '/service_subscription_function'},
80 86
         {name: 'IP白名单功能', url: '/ip_white_list'},
81 87
         {name: '服务调用功能', url: '/service_call_function'},
82 88
         {name: '操作日志功能', url: '/operation_log'},
83
-        {name: 'demo1', url: '/demo1'},
84
-        {name: 'demo2', url: '/demo2'},
85
-        {name: 'hot_map', url: '/hot_map'},
86
-        {name: 'heat_map', url: '/heat_map'},
87 89
       ]
88 90
     }
89 91
   },