From 812b26587f5d73b08101ffcc72f05bcac3b6220b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=AF=E5=B0=8F=E7=8E=8B=E5=91=80=5C24601?= <819653817@qq.com> Date: Tue, 6 Aug 2024 19:17:58 +0800 Subject: [PATCH] =?UTF-8?q?=E7=83=AD=E7=BA=BF=E6=9F=A5=E5=8A=9E=E5=88=97?= =?UTF-8?q?=E8=A1=A8=EF=BC=8C=E8=AF=A6=E6=83=85=EF=BC=8C=E5=AE=8C=E6=88=90?= =?UTF-8?q?=EF=BC=8C=E6=96=B0=E5=A2=9E=EF=BC=8C=E9=A1=B5=E9=9D=A2=E5=B7=B2?= =?UTF-8?q?=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 7 +- src/api/Hotline.js | 9 + src/api/index.js | 8 +- src/api/service.js | 33 +++ src/assets/css/common.less | 20 ++ src/assets/images/block.png | Bin 0 -> 1039 bytes src/main.js | 3 +- src/plugins/vant.js | 10 +- src/router/router.config.js | 14 + src/utils/request.js | 3 + src/views/Hotline/index.vue | 257 ++++++++++++++++ src/views/HotlineDetail/Card.vue | 19 ++ src/views/HotlineDetail/index.vue | 471 ++++++++++++++++++++++++++++++ src/views/assistance/index.vue | 5 + src/views/mine/index.vue | 10 + 15 files changed, 861 insertions(+), 8 deletions(-) create mode 100644 src/api/Hotline.js create mode 100644 src/assets/images/block.png create mode 100644 src/views/Hotline/index.vue create mode 100644 src/views/HotlineDetail/Card.vue create mode 100644 src/views/HotlineDetail/index.vue diff --git a/package.json b/package.json index 18a6992..afbe7f7 100644 --- a/package.json +++ b/package.json @@ -26,17 +26,18 @@ "eslint-plugin-vue": "^8.4.0", "filemanager-webpack-plugin": "^8.0.0", "html-webpack-plugin": "^5.5.3", + "jsencrypt": "^3.0.3", "less-loader": "^11.1.0", + "lodash": "^4.17.15", "postcss-pxtorem": "^6.0.0", "regenerator-runtime": "^0.13.5", "vant": "^2.12.48", + "vant-green": "^1.0.44", "vconsole": "^3.15.0", "vue": "^2.7.8", "vue-demi": "^0.14.0", "vue-router": "^3.5.4", - "vuex": "^3.6.2", - "jsencrypt": "^3.0.3", - "lodash": "^4.17.15" + "vuex": "^3.6.2" }, "devDependencies": { "@babel/core": "^7.18.10", diff --git a/src/api/Hotline.js b/src/api/Hotline.js new file mode 100644 index 0000000..c3bb520 --- /dev/null +++ b/src/api/Hotline.js @@ -0,0 +1,9 @@ +import api from './index' +import request from '@/utils/request' +export function icEventList(params) { + return request({ + url: api.icEventList, + method: 'post', + params + }) + } \ No newline at end of file diff --git a/src/api/index.js b/src/api/index.js index 726e52b..319d1d9 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -14,7 +14,13 @@ const api = { ServiceConfirm: '/governance/service/rcvAndProcess/confirm', ServiceComplete: '/governance/service/rcvAndProcess/complete', Uploadvariedfile: '/oss/file/uploadvariedfile', - SearchResis: '/governance/service/rcvAndProcess/searchResis/detail' + SearchResis: '/governance/service/rcvAndProcess/searchResis/detail', + icEventList: '/governance/icEvent/list', + agencyGridDepttree:'/gov/org/customeragency/agencyGridDepttree', + process:'/governance/icEvent/process', + reply:'/governance/icEvent/reply', + + } export default api diff --git a/src/api/service.js b/src/api/service.js index 5d6f56b..b443f50 100644 --- a/src/api/service.js +++ b/src/api/service.js @@ -8,6 +8,7 @@ export function getServiceListRcv(params) { params }) } + //待处理列表 export function getServiceListProcess(params) { return request({ @@ -80,6 +81,38 @@ export function serviceComplete(data) { data }) } +//icEvent +export function icEventList(data) { + return request({ + url: api.icEventList, + method: 'post', + data + }) +} +//根据id获取当前联系人 +export function agencyGridDepttree(data) { + return request({ + url: api.agencyGridDepttree, + method:'post', + data + }) +} +//获取办结流程 +export function process(data) { + return request({ + url: api.process, + method: 'post', + data + }) +} +//保存 +export function reply(data) { + return request({ + url: api.reply, + method: 'post', + data + }) +} //各种找人详情 export function getSearchResis(params) { return request({ diff --git a/src/assets/css/common.less b/src/assets/css/common.less index 5e73087..f2da90c 100644 --- a/src/assets/css/common.less +++ b/src/assets/css/common.less @@ -145,3 +145,23 @@ .text-center{ text-align: center; } +.bto_top{ + position: fixed; + top:0; + left: 0; + background: #ffffff; + width: 100%; + padding: 6px 26px; + box-sizing: border-box; + text-align: right; +} +.bto_top1{ + + top:0; + left: 0; + background: #ffffff; + width: 100%; + padding: 6px 10px; + box-sizing: border-box; + text-align: right; +} diff --git a/src/assets/images/block.png b/src/assets/images/block.png new file mode 100644 index 0000000000000000000000000000000000000000..5563f020b30780e08f5ddd2d4eb3ce6174dfd0fb GIT binary patch literal 1039 zcmaJ=&ubGw6yDe>wb)wJ3Kqq21KL8fzuF|t+SsPq#01<@(ntaxbhA5c)^>NcyA!i5 z9%2)AZc%NIly8I0m#7}u}}o1#X?TuV{sAO;0EtD8~!=gYS=(6uO?3(A~q#bHrTE!l8- zX)>!W&8ZQM9yC}ab!afWI_Rz zA07eW2*ZblxuMV?5I8=lTP~NG z@(_dUS(cAPh=#xlLVzFw&Z3DGH()ychJpkg)z&SnBNKRvN&%H{lqODhN-(UZtm)L- zL>k7ripBB_=atj|%JToAhS5YjI0JY6{!`e=E?SVyKnImt%N1I3y;(3Ul39Ybehq3#8yTQhv#7W9!Y5nm z)wx=0FI-D5OU$s|&Hi=MjUzHXUf7&lvT05}G|9NzWUdeWSXd!%VmU3vvhK&ii^1O; zRQu}qC*L|V{{9{1dt7l3_T;Ev#!>LJd;Lr$U-9);hTDD54)y_Kp8!2wp%6{9*ZC5)=mmfZPw9@loZzkWhesZgS&*sION4`)G+Q(mY k-x>1{Y#-=t+x$#*a8#h$+ZT_$dG0;YbYfCko4B(42PF_i;Q#;t literal 0 HcmV?d00001 diff --git a/src/main.js b/src/main.js index f54297d..ece5bec 100644 --- a/src/main.js +++ b/src/main.js @@ -5,16 +5,15 @@ import Vue from 'vue' import App from './App.vue' import router from './router' import store from './store' +import VantGreen from 'vant-green'; // 全局引入按需引入UI库 vant import '@/plugins/vant' - // 引入全局样式 import '@/assets/css/common.less' import '@/assets/css/index.less' // 移动端适配 import 'amfe-flexible' - Vue.config.productionTip = false // 日期格式化插件 diff --git a/src/plugins/vant.js b/src/plugins/vant.js index fae054c..276423b 100644 --- a/src/plugins/vant.js +++ b/src/plugins/vant.js @@ -28,9 +28,12 @@ import { Form, DatetimePicker, Cascader, - Rate + Rate, + Search, + DropdownMenu, + DropdownItem } from 'vant' - +import 'vant/lib/index.css' Vue.use(Button) .use(Field) .use(Cell) @@ -59,3 +62,6 @@ Vue.use(Button) .use(DatetimePicker) .use(Cascader) .use(Rate) + .use(Search) + .use(DropdownMenu) + .use(DropdownItem) \ No newline at end of file diff --git a/src/router/router.config.js b/src/router/router.config.js index 94a251b..22c1484 100644 --- a/src/router/router.config.js +++ b/src/router/router.config.js @@ -26,10 +26,24 @@ export const constantRouterMap = [ component: () => import('@/views/mine/changePassword'), meta: { title: '修改密码', keepAlive: false } }, + { path: '/assistanceDetail', name:'assistanceDetail', component: () => import('@/views/assistanceDetail'), meta: { title: '需求详情', keepAlive: false } }, + { + path: '/Hotline', + name:'Hotline', + component: () => import('@/views/Hotline'), + meta: { title: '热线接办', keepAlive: false } + }, + { + path: '/HotlineDetail', + name:'HotlineDetail', + component: () => import('@/views/HotlineDetail'), + meta: { title: '详情', keepAlive: false } + }, + ] diff --git a/src/utils/request.js b/src/utils/request.js index ada0280..3ae8f19 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -21,11 +21,14 @@ service.interceptors.request.use( } config.headers['source'] = process.env.NODE_ENV !== 'production' ? 'dev' : 'prod' config.headers.client = 'web' + // config.headers['Content-Type'] = 'application/json', //配置请求头 config.headers.app = 'gov' if (localStorage.getItem('token_work')) { config.headers['Token'] = localStorage.getItem('token_work') config.headers['Authorization'] = localStorage.getItem('token_work') + } + console.log(config,"sdfkjslf"); config.baseURL = config.baseURL + '/' return config }, diff --git a/src/views/Hotline/index.vue b/src/views/Hotline/index.vue new file mode 100644 index 0000000..01df2c2 --- /dev/null +++ b/src/views/Hotline/index.vue @@ -0,0 +1,257 @@ + + + + diff --git a/src/views/HotlineDetail/Card.vue b/src/views/HotlineDetail/Card.vue new file mode 100644 index 0000000..2cbc85e --- /dev/null +++ b/src/views/HotlineDetail/Card.vue @@ -0,0 +1,19 @@ + + + \ No newline at end of file diff --git a/src/views/HotlineDetail/index.vue b/src/views/HotlineDetail/index.vue new file mode 100644 index 0000000..32243b4 --- /dev/null +++ b/src/views/HotlineDetail/index.vue @@ -0,0 +1,471 @@ + + + + diff --git a/src/views/assistance/index.vue b/src/views/assistance/index.vue index a662930..26e7baf 100644 --- a/src/views/assistance/index.vue +++ b/src/views/assistance/index.vue @@ -14,6 +14,11 @@ + 我的 diff --git a/src/views/mine/index.vue b/src/views/mine/index.vue index bf9d500..c13f6d5 100644 --- a/src/views/mine/index.vue +++ b/src/views/mine/index.vue @@ -22,6 +22,12 @@
+
+
+
修改密码
+
+
+