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 0000000..5563f02 Binary files /dev/null and b/src/assets/images/block.png differ 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 @@
+
+
+
修改密码
+
+
+