diff --git a/src/api/callCase.js b/src/api/callCase.js
index 4bbd433..b8eff49 100644
--- a/src/api/callCase.js
+++ b/src/api/callCase.js
@@ -111,7 +111,7 @@
// 获取工单提醒
export function caseRemind(params) {
return request({
- url: 'case/workList',
+ url: '/case/remindAll',
method: 'get',
params
})
@@ -119,7 +119,7 @@
// 获取指定类型工单统计数量
export function getCount(type) {
return request({
- url: 'case/workList',
+ url: '/case/getCount',
method: 'get',
params: {
type: type
diff --git a/src/api/callCase.js b/src/api/callCase.js
index 4bbd433..b8eff49 100644
--- a/src/api/callCase.js
+++ b/src/api/callCase.js
@@ -111,7 +111,7 @@
// 获取工单提醒
export function caseRemind(params) {
return request({
- url: 'case/workList',
+ url: '/case/remindAll',
method: 'get',
params
})
@@ -119,7 +119,7 @@
// 获取指定类型工单统计数量
export function getCount(type) {
return request({
- url: 'case/workList',
+ url: '/case/getCount',
method: 'get',
params: {
type: type
diff --git a/src/api/phone.js b/src/api/phone.js
index 9dee42c..d91e090 100644
--- a/src/api/phone.js
+++ b/src/api/phone.js
@@ -1,5 +1,6 @@
// 分机管理接口
import request from '@/utils/request'
+import qs from 'qs'
// 分机列表
export function phoneList(params) {
@@ -26,11 +27,27 @@
params
})
}
+// 删除分机
+export function delPhone(id) {
+ return request({
+ url: '/extensionPhone/delete',
+ method: 'post',
+ params: {
+ extensionPhoneId: id
+ }
+ })
+}
// 绑定座席
-export function bindSeats(params) {
+export function bindSeats(phoneid, users) {
return request({
url: '/extensionPhone/bindUsers',
method: 'post',
- params
+ params: {
+ extensionPhoneId: phoneid,
+ users: users
+ },
+ paramsSerializer: params => {
+ return qs.stringify(params, { indices: false })
+ }
})
}
diff --git a/src/api/callCase.js b/src/api/callCase.js
index 4bbd433..b8eff49 100644
--- a/src/api/callCase.js
+++ b/src/api/callCase.js
@@ -111,7 +111,7 @@
// 获取工单提醒
export function caseRemind(params) {
return request({
- url: 'case/workList',
+ url: '/case/remindAll',
method: 'get',
params
})
@@ -119,7 +119,7 @@
// 获取指定类型工单统计数量
export function getCount(type) {
return request({
- url: 'case/workList',
+ url: '/case/getCount',
method: 'get',
params: {
type: type
diff --git a/src/api/phone.js b/src/api/phone.js
index 9dee42c..d91e090 100644
--- a/src/api/phone.js
+++ b/src/api/phone.js
@@ -1,5 +1,6 @@
// 分机管理接口
import request from '@/utils/request'
+import qs from 'qs'
// 分机列表
export function phoneList(params) {
@@ -26,11 +27,27 @@
params
})
}
+// 删除分机
+export function delPhone(id) {
+ return request({
+ url: '/extensionPhone/delete',
+ method: 'post',
+ params: {
+ extensionPhoneId: id
+ }
+ })
+}
// 绑定座席
-export function bindSeats(params) {
+export function bindSeats(phoneid, users) {
return request({
url: '/extensionPhone/bindUsers',
method: 'post',
- params
+ params: {
+ extensionPhoneId: phoneid,
+ users: users
+ },
+ paramsSerializer: params => {
+ return qs.stringify(params, { indices: false })
+ }
})
}
diff --git a/src/layout/components/Sidebar/Item.vue b/src/layout/components/Sidebar/Item.vue
index 5bd4260..0fd4401 100644
--- a/src/layout/components/Sidebar/Item.vue
+++ b/src/layout/components/Sidebar/Item.vue
@@ -30,10 +30,10 @@
},
created() {
// 如果需要提醒
- // if (this.meta.remind) {
- // this.getRealtimeData()
- // this.clock()
- // }
+ if (this.meta && this.meta.remind) {
+ this.getRealtimeData() // 获取实时数量
+ this.clock()
+ }
},
methods: {
clock() {
@@ -45,8 +45,8 @@
getRealtimeData() {
getCount(this.meta.type).then(response => {
if (response.code === 200) {
- response.count = 2
- this.count = response.count
+ // response.count = 2
+ this.count = response.data
}
})
}
diff --git a/src/api/callCase.js b/src/api/callCase.js
index 4bbd433..b8eff49 100644
--- a/src/api/callCase.js
+++ b/src/api/callCase.js
@@ -111,7 +111,7 @@
// 获取工单提醒
export function caseRemind(params) {
return request({
- url: 'case/workList',
+ url: '/case/remindAll',
method: 'get',
params
})
@@ -119,7 +119,7 @@
// 获取指定类型工单统计数量
export function getCount(type) {
return request({
- url: 'case/workList',
+ url: '/case/getCount',
method: 'get',
params: {
type: type
diff --git a/src/api/phone.js b/src/api/phone.js
index 9dee42c..d91e090 100644
--- a/src/api/phone.js
+++ b/src/api/phone.js
@@ -1,5 +1,6 @@
// 分机管理接口
import request from '@/utils/request'
+import qs from 'qs'
// 分机列表
export function phoneList(params) {
@@ -26,11 +27,27 @@
params
})
}
+// 删除分机
+export function delPhone(id) {
+ return request({
+ url: '/extensionPhone/delete',
+ method: 'post',
+ params: {
+ extensionPhoneId: id
+ }
+ })
+}
// 绑定座席
-export function bindSeats(params) {
+export function bindSeats(phoneid, users) {
return request({
url: '/extensionPhone/bindUsers',
method: 'post',
- params
+ params: {
+ extensionPhoneId: phoneid,
+ users: users
+ },
+ paramsSerializer: params => {
+ return qs.stringify(params, { indices: false })
+ }
})
}
diff --git a/src/layout/components/Sidebar/Item.vue b/src/layout/components/Sidebar/Item.vue
index 5bd4260..0fd4401 100644
--- a/src/layout/components/Sidebar/Item.vue
+++ b/src/layout/components/Sidebar/Item.vue
@@ -30,10 +30,10 @@
},
created() {
// 如果需要提醒
- // if (this.meta.remind) {
- // this.getRealtimeData()
- // this.clock()
- // }
+ if (this.meta && this.meta.remind) {
+ this.getRealtimeData() // 获取实时数量
+ this.clock()
+ }
},
methods: {
clock() {
@@ -45,8 +45,8 @@
getRealtimeData() {
getCount(this.meta.type).then(response => {
if (response.code === 200) {
- response.count = 2
- this.count = response.count
+ // response.count = 2
+ this.count = response.data
}
})
}
diff --git a/src/router/index.js b/src/router/index.js
index bcaea68..ac7440b 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -60,7 +60,7 @@
path: 'dashboard',
name: 'Dashboard',
component: () => import('@/views/dashboard/index'),
- meta: { title: '首页', icon: 'dashboard', noCache: true, affix: true }
+ meta: { title: '首页', icon: 'dashboard', noCache: false, keepAlive: true, affix: true }
}]
}
]
diff --git a/src/api/callCase.js b/src/api/callCase.js
index 4bbd433..b8eff49 100644
--- a/src/api/callCase.js
+++ b/src/api/callCase.js
@@ -111,7 +111,7 @@
// 获取工单提醒
export function caseRemind(params) {
return request({
- url: 'case/workList',
+ url: '/case/remindAll',
method: 'get',
params
})
@@ -119,7 +119,7 @@
// 获取指定类型工单统计数量
export function getCount(type) {
return request({
- url: 'case/workList',
+ url: '/case/getCount',
method: 'get',
params: {
type: type
diff --git a/src/api/phone.js b/src/api/phone.js
index 9dee42c..d91e090 100644
--- a/src/api/phone.js
+++ b/src/api/phone.js
@@ -1,5 +1,6 @@
// 分机管理接口
import request from '@/utils/request'
+import qs from 'qs'
// 分机列表
export function phoneList(params) {
@@ -26,11 +27,27 @@
params
})
}
+// 删除分机
+export function delPhone(id) {
+ return request({
+ url: '/extensionPhone/delete',
+ method: 'post',
+ params: {
+ extensionPhoneId: id
+ }
+ })
+}
// 绑定座席
-export function bindSeats(params) {
+export function bindSeats(phoneid, users) {
return request({
url: '/extensionPhone/bindUsers',
method: 'post',
- params
+ params: {
+ extensionPhoneId: phoneid,
+ users: users
+ },
+ paramsSerializer: params => {
+ return qs.stringify(params, { indices: false })
+ }
})
}
diff --git a/src/layout/components/Sidebar/Item.vue b/src/layout/components/Sidebar/Item.vue
index 5bd4260..0fd4401 100644
--- a/src/layout/components/Sidebar/Item.vue
+++ b/src/layout/components/Sidebar/Item.vue
@@ -30,10 +30,10 @@
},
created() {
// 如果需要提醒
- // if (this.meta.remind) {
- // this.getRealtimeData()
- // this.clock()
- // }
+ if (this.meta && this.meta.remind) {
+ this.getRealtimeData() // 获取实时数量
+ this.clock()
+ }
},
methods: {
clock() {
@@ -45,8 +45,8 @@
getRealtimeData() {
getCount(this.meta.type).then(response => {
if (response.code === 200) {
- response.count = 2
- this.count = response.count
+ // response.count = 2
+ this.count = response.data
}
})
}
diff --git a/src/router/index.js b/src/router/index.js
index bcaea68..ac7440b 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -60,7 +60,7 @@
path: 'dashboard',
name: 'Dashboard',
component: () => import('@/views/dashboard/index'),
- meta: { title: '首页', icon: 'dashboard', noCache: true, affix: true }
+ meta: { title: '首页', icon: 'dashboard', noCache: false, keepAlive: true, affix: true }
}]
}
]
diff --git a/src/utils/request.js b/src/utils/request.js
index 1177be7..517107c 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -13,9 +13,9 @@
service.interceptors.request.use(
config => {
if (store.getters.token) {
- console.log('request.js gettoken')
+ // console.log('request.js gettoken')
config.headers['token'] = getToken() // 让每个请求携带自定义token 请根据实际情况自行修改
- console.log(config.headers['token'])
+ // console.log(config.headers['token'])
}
return config
},
diff --git a/src/api/callCase.js b/src/api/callCase.js
index 4bbd433..b8eff49 100644
--- a/src/api/callCase.js
+++ b/src/api/callCase.js
@@ -111,7 +111,7 @@
// 获取工单提醒
export function caseRemind(params) {
return request({
- url: 'case/workList',
+ url: '/case/remindAll',
method: 'get',
params
})
@@ -119,7 +119,7 @@
// 获取指定类型工单统计数量
export function getCount(type) {
return request({
- url: 'case/workList',
+ url: '/case/getCount',
method: 'get',
params: {
type: type
diff --git a/src/api/phone.js b/src/api/phone.js
index 9dee42c..d91e090 100644
--- a/src/api/phone.js
+++ b/src/api/phone.js
@@ -1,5 +1,6 @@
// 分机管理接口
import request from '@/utils/request'
+import qs from 'qs'
// 分机列表
export function phoneList(params) {
@@ -26,11 +27,27 @@
params
})
}
+// 删除分机
+export function delPhone(id) {
+ return request({
+ url: '/extensionPhone/delete',
+ method: 'post',
+ params: {
+ extensionPhoneId: id
+ }
+ })
+}
// 绑定座席
-export function bindSeats(params) {
+export function bindSeats(phoneid, users) {
return request({
url: '/extensionPhone/bindUsers',
method: 'post',
- params
+ params: {
+ extensionPhoneId: phoneid,
+ users: users
+ },
+ paramsSerializer: params => {
+ return qs.stringify(params, { indices: false })
+ }
})
}
diff --git a/src/layout/components/Sidebar/Item.vue b/src/layout/components/Sidebar/Item.vue
index 5bd4260..0fd4401 100644
--- a/src/layout/components/Sidebar/Item.vue
+++ b/src/layout/components/Sidebar/Item.vue
@@ -30,10 +30,10 @@
},
created() {
// 如果需要提醒
- // if (this.meta.remind) {
- // this.getRealtimeData()
- // this.clock()
- // }
+ if (this.meta && this.meta.remind) {
+ this.getRealtimeData() // 获取实时数量
+ this.clock()
+ }
},
methods: {
clock() {
@@ -45,8 +45,8 @@
getRealtimeData() {
getCount(this.meta.type).then(response => {
if (response.code === 200) {
- response.count = 2
- this.count = response.count
+ // response.count = 2
+ this.count = response.data
}
})
}
diff --git a/src/router/index.js b/src/router/index.js
index bcaea68..ac7440b 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -60,7 +60,7 @@
path: 'dashboard',
name: 'Dashboard',
component: () => import('@/views/dashboard/index'),
- meta: { title: '首页', icon: 'dashboard', noCache: true, affix: true }
+ meta: { title: '首页', icon: 'dashboard', noCache: false, keepAlive: true, affix: true }
}]
}
]
diff --git a/src/utils/request.js b/src/utils/request.js
index 1177be7..517107c 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -13,9 +13,9 @@
service.interceptors.request.use(
config => {
if (store.getters.token) {
- console.log('request.js gettoken')
+ // console.log('request.js gettoken')
config.headers['token'] = getToken() // 让每个请求携带自定义token 请根据实际情况自行修改
- console.log(config.headers['token'])
+ // console.log(config.headers['token'])
}
return config
},
diff --git a/src/views/caseManage/caseCommon/caseRecord.vue b/src/views/caseManage/caseCommon/caseRecord.vue
index 8ed5b0a..2b66bfe 100644
--- a/src/views/caseManage/caseCommon/caseRecord.vue
+++ b/src/views/caseManage/caseCommon/caseRecord.vue
@@ -272,11 +272,6 @@
align: 'center'
},
{
- text: '处理状态',
- value: 'caseStatus',
- align: 'center'
- },
- {
text: '督办内容',
value: 'urgeContent',
align: 'center'
@@ -341,11 +336,6 @@
align: 'center'
},
{
- text: '处理状态',
- value: 'caseStatus',
- align: 'center'
- },
- {
text: '监察内容',
value: 'superviseContent',
align: 'center'
@@ -399,6 +389,8 @@
this.fetchDelayRecords()
this.fetchUrgeRecords()
this.fetchReportRecords()
+ this.fetchSuperviseRecords()
+ this.fetchMonitorecords()
},
methods: {
fetchProcessRecords() {
diff --git a/src/api/callCase.js b/src/api/callCase.js
index 4bbd433..b8eff49 100644
--- a/src/api/callCase.js
+++ b/src/api/callCase.js
@@ -111,7 +111,7 @@
// 获取工单提醒
export function caseRemind(params) {
return request({
- url: 'case/workList',
+ url: '/case/remindAll',
method: 'get',
params
})
@@ -119,7 +119,7 @@
// 获取指定类型工单统计数量
export function getCount(type) {
return request({
- url: 'case/workList',
+ url: '/case/getCount',
method: 'get',
params: {
type: type
diff --git a/src/api/phone.js b/src/api/phone.js
index 9dee42c..d91e090 100644
--- a/src/api/phone.js
+++ b/src/api/phone.js
@@ -1,5 +1,6 @@
// 分机管理接口
import request from '@/utils/request'
+import qs from 'qs'
// 分机列表
export function phoneList(params) {
@@ -26,11 +27,27 @@
params
})
}
+// 删除分机
+export function delPhone(id) {
+ return request({
+ url: '/extensionPhone/delete',
+ method: 'post',
+ params: {
+ extensionPhoneId: id
+ }
+ })
+}
// 绑定座席
-export function bindSeats(params) {
+export function bindSeats(phoneid, users) {
return request({
url: '/extensionPhone/bindUsers',
method: 'post',
- params
+ params: {
+ extensionPhoneId: phoneid,
+ users: users
+ },
+ paramsSerializer: params => {
+ return qs.stringify(params, { indices: false })
+ }
})
}
diff --git a/src/layout/components/Sidebar/Item.vue b/src/layout/components/Sidebar/Item.vue
index 5bd4260..0fd4401 100644
--- a/src/layout/components/Sidebar/Item.vue
+++ b/src/layout/components/Sidebar/Item.vue
@@ -30,10 +30,10 @@
},
created() {
// 如果需要提醒
- // if (this.meta.remind) {
- // this.getRealtimeData()
- // this.clock()
- // }
+ if (this.meta && this.meta.remind) {
+ this.getRealtimeData() // 获取实时数量
+ this.clock()
+ }
},
methods: {
clock() {
@@ -45,8 +45,8 @@
getRealtimeData() {
getCount(this.meta.type).then(response => {
if (response.code === 200) {
- response.count = 2
- this.count = response.count
+ // response.count = 2
+ this.count = response.data
}
})
}
diff --git a/src/router/index.js b/src/router/index.js
index bcaea68..ac7440b 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -60,7 +60,7 @@
path: 'dashboard',
name: 'Dashboard',
component: () => import('@/views/dashboard/index'),
- meta: { title: '首页', icon: 'dashboard', noCache: true, affix: true }
+ meta: { title: '首页', icon: 'dashboard', noCache: false, keepAlive: true, affix: true }
}]
}
]
diff --git a/src/utils/request.js b/src/utils/request.js
index 1177be7..517107c 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -13,9 +13,9 @@
service.interceptors.request.use(
config => {
if (store.getters.token) {
- console.log('request.js gettoken')
+ // console.log('request.js gettoken')
config.headers['token'] = getToken() // 让每个请求携带自定义token 请根据实际情况自行修改
- console.log(config.headers['token'])
+ // console.log(config.headers['token'])
}
return config
},
diff --git a/src/views/caseManage/caseCommon/caseRecord.vue b/src/views/caseManage/caseCommon/caseRecord.vue
index 8ed5b0a..2b66bfe 100644
--- a/src/views/caseManage/caseCommon/caseRecord.vue
+++ b/src/views/caseManage/caseCommon/caseRecord.vue
@@ -272,11 +272,6 @@
align: 'center'
},
{
- text: '处理状态',
- value: 'caseStatus',
- align: 'center'
- },
- {
text: '督办内容',
value: 'urgeContent',
align: 'center'
@@ -341,11 +336,6 @@
align: 'center'
},
{
- text: '处理状态',
- value: 'caseStatus',
- align: 'center'
- },
- {
text: '监察内容',
value: 'superviseContent',
align: 'center'
@@ -399,6 +389,8 @@
this.fetchDelayRecords()
this.fetchUrgeRecords()
this.fetchReportRecords()
+ this.fetchSuperviseRecords()
+ this.fetchMonitorecords()
},
methods: {
fetchProcessRecords() {
diff --git a/src/views/caseManage/components/knowledgeDetail.vue b/src/views/caseManage/components/knowledgeDetail.vue
index 89061ee..f0c48db 100644
--- a/src/views/caseManage/components/knowledgeDetail.vue
+++ b/src/views/caseManage/components/knowledgeDetail.vue
@@ -10,8 +10,8 @@
所属类别:{{ knowledge.kTypeName }}
-
发布人:{{ knowledge.kUserName }}
-
发布时间:{{ knowledge.kTime }}
+
发布人:{{ knowledge.publisherName }}
+
发布时间:{{ knowledge.publishTime }}
@@ -31,9 +31,9 @@
knowledge: {
kName: '',
kTypeName: '',
- kUserName: '',
+ publisherName: '',
kInfo: '',
- kTime: ''
+ publishTime: ''
},
dialogShow: false
}
@@ -46,21 +46,18 @@
},
// 请求详情
fetchKnowledge(id) {
- // const params = {
- // kId: id
+ knowledgeDetail(id).then(response => {
+ if (response.code === 200) {
+ this.knowledge = response.data
+ }
+ })
+ // this.knowledge = {
+ // kName: '特困人员救助供养标准是什么?',
+ // kTypeName: '州民政局',
+ // kUserName: '周海瑞',
+ // kInfo: '2019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:6214502',
+ // publishTime: '2019-10-18 15:55:35'
// }
- // knowledgeDetail(params).then(response => {
- // if (response.code === 200) {
- // this.knowledge = response.data
- // }
- // })
- this.knowledge = {
- kName: '特困人员救助供养标准是什么?',
- kTypeName: '州民政局',
- kUserName: '周海瑞',
- kInfo: '2019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:6214502',
- kTime: '2019-10-18 15:55:35'
- }
}
}
}
@@ -77,7 +74,7 @@
}
.k-subtitle{
margin-top: 15px;
- line-height: 17px;
+ line-height: 1.5;
}
.k-content{
text-align: justify;
diff --git a/src/api/callCase.js b/src/api/callCase.js
index 4bbd433..b8eff49 100644
--- a/src/api/callCase.js
+++ b/src/api/callCase.js
@@ -111,7 +111,7 @@
// 获取工单提醒
export function caseRemind(params) {
return request({
- url: 'case/workList',
+ url: '/case/remindAll',
method: 'get',
params
})
@@ -119,7 +119,7 @@
// 获取指定类型工单统计数量
export function getCount(type) {
return request({
- url: 'case/workList',
+ url: '/case/getCount',
method: 'get',
params: {
type: type
diff --git a/src/api/phone.js b/src/api/phone.js
index 9dee42c..d91e090 100644
--- a/src/api/phone.js
+++ b/src/api/phone.js
@@ -1,5 +1,6 @@
// 分机管理接口
import request from '@/utils/request'
+import qs from 'qs'
// 分机列表
export function phoneList(params) {
@@ -26,11 +27,27 @@
params
})
}
+// 删除分机
+export function delPhone(id) {
+ return request({
+ url: '/extensionPhone/delete',
+ method: 'post',
+ params: {
+ extensionPhoneId: id
+ }
+ })
+}
// 绑定座席
-export function bindSeats(params) {
+export function bindSeats(phoneid, users) {
return request({
url: '/extensionPhone/bindUsers',
method: 'post',
- params
+ params: {
+ extensionPhoneId: phoneid,
+ users: users
+ },
+ paramsSerializer: params => {
+ return qs.stringify(params, { indices: false })
+ }
})
}
diff --git a/src/layout/components/Sidebar/Item.vue b/src/layout/components/Sidebar/Item.vue
index 5bd4260..0fd4401 100644
--- a/src/layout/components/Sidebar/Item.vue
+++ b/src/layout/components/Sidebar/Item.vue
@@ -30,10 +30,10 @@
},
created() {
// 如果需要提醒
- // if (this.meta.remind) {
- // this.getRealtimeData()
- // this.clock()
- // }
+ if (this.meta && this.meta.remind) {
+ this.getRealtimeData() // 获取实时数量
+ this.clock()
+ }
},
methods: {
clock() {
@@ -45,8 +45,8 @@
getRealtimeData() {
getCount(this.meta.type).then(response => {
if (response.code === 200) {
- response.count = 2
- this.count = response.count
+ // response.count = 2
+ this.count = response.data
}
})
}
diff --git a/src/router/index.js b/src/router/index.js
index bcaea68..ac7440b 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -60,7 +60,7 @@
path: 'dashboard',
name: 'Dashboard',
component: () => import('@/views/dashboard/index'),
- meta: { title: '首页', icon: 'dashboard', noCache: true, affix: true }
+ meta: { title: '首页', icon: 'dashboard', noCache: false, keepAlive: true, affix: true }
}]
}
]
diff --git a/src/utils/request.js b/src/utils/request.js
index 1177be7..517107c 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -13,9 +13,9 @@
service.interceptors.request.use(
config => {
if (store.getters.token) {
- console.log('request.js gettoken')
+ // console.log('request.js gettoken')
config.headers['token'] = getToken() // 让每个请求携带自定义token 请根据实际情况自行修改
- console.log(config.headers['token'])
+ // console.log(config.headers['token'])
}
return config
},
diff --git a/src/views/caseManage/caseCommon/caseRecord.vue b/src/views/caseManage/caseCommon/caseRecord.vue
index 8ed5b0a..2b66bfe 100644
--- a/src/views/caseManage/caseCommon/caseRecord.vue
+++ b/src/views/caseManage/caseCommon/caseRecord.vue
@@ -272,11 +272,6 @@
align: 'center'
},
{
- text: '处理状态',
- value: 'caseStatus',
- align: 'center'
- },
- {
text: '督办内容',
value: 'urgeContent',
align: 'center'
@@ -341,11 +336,6 @@
align: 'center'
},
{
- text: '处理状态',
- value: 'caseStatus',
- align: 'center'
- },
- {
text: '监察内容',
value: 'superviseContent',
align: 'center'
@@ -399,6 +389,8 @@
this.fetchDelayRecords()
this.fetchUrgeRecords()
this.fetchReportRecords()
+ this.fetchSuperviseRecords()
+ this.fetchMonitorecords()
},
methods: {
fetchProcessRecords() {
diff --git a/src/views/caseManage/components/knowledgeDetail.vue b/src/views/caseManage/components/knowledgeDetail.vue
index 89061ee..f0c48db 100644
--- a/src/views/caseManage/components/knowledgeDetail.vue
+++ b/src/views/caseManage/components/knowledgeDetail.vue
@@ -10,8 +10,8 @@
所属类别:{{ knowledge.kTypeName }}
-
发布人:{{ knowledge.kUserName }}
-
发布时间:{{ knowledge.kTime }}
+
发布人:{{ knowledge.publisherName }}
+
发布时间:{{ knowledge.publishTime }}
@@ -31,9 +31,9 @@
knowledge: {
kName: '',
kTypeName: '',
- kUserName: '',
+ publisherName: '',
kInfo: '',
- kTime: ''
+ publishTime: ''
},
dialogShow: false
}
@@ -46,21 +46,18 @@
},
// 请求详情
fetchKnowledge(id) {
- // const params = {
- // kId: id
+ knowledgeDetail(id).then(response => {
+ if (response.code === 200) {
+ this.knowledge = response.data
+ }
+ })
+ // this.knowledge = {
+ // kName: '特困人员救助供养标准是什么?',
+ // kTypeName: '州民政局',
+ // kUserName: '周海瑞',
+ // kInfo: '2019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:6214502',
+ // publishTime: '2019-10-18 15:55:35'
// }
- // knowledgeDetail(params).then(response => {
- // if (response.code === 200) {
- // this.knowledge = response.data
- // }
- // })
- this.knowledge = {
- kName: '特困人员救助供养标准是什么?',
- kTypeName: '州民政局',
- kUserName: '周海瑞',
- kInfo: '2019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:6214502',
- kTime: '2019-10-18 15:55:35'
- }
}
}
}
@@ -77,7 +74,7 @@
}
.k-subtitle{
margin-top: 15px;
- line-height: 17px;
+ line-height: 1.5;
}
.k-content{
text-align: justify;
diff --git a/src/views/caseManage/components/knowledgeSearch.vue b/src/views/caseManage/components/knowledgeSearch.vue
index 3aaffee..8cdd60a 100644
--- a/src/views/caseManage/components/knowledgeSearch.vue
+++ b/src/views/caseManage/components/knowledgeSearch.vue
@@ -2,20 +2,22 @@
-
+
知识查找
-
-
- -
-
-
{{ item.kName }} _知识库_ {{ item.kTypeName }}
- {{ item.kInfo }}
-
-
-
-
+
+
+ -
+
+
{{ item.kName }} _知识库_ {{ item.kTypeName }}
+ {{ item.kInfo }}
+
+
+ - 加载中...
+ - 没有更多了
+
+
@@ -23,34 +25,72 @@
diff --git a/src/api/callCase.js b/src/api/callCase.js
index 4bbd433..b8eff49 100644
--- a/src/api/callCase.js
+++ b/src/api/callCase.js
@@ -111,7 +111,7 @@
// 获取工单提醒
export function caseRemind(params) {
return request({
- url: 'case/workList',
+ url: '/case/remindAll',
method: 'get',
params
})
@@ -119,7 +119,7 @@
// 获取指定类型工单统计数量
export function getCount(type) {
return request({
- url: 'case/workList',
+ url: '/case/getCount',
method: 'get',
params: {
type: type
diff --git a/src/api/phone.js b/src/api/phone.js
index 9dee42c..d91e090 100644
--- a/src/api/phone.js
+++ b/src/api/phone.js
@@ -1,5 +1,6 @@
// 分机管理接口
import request from '@/utils/request'
+import qs from 'qs'
// 分机列表
export function phoneList(params) {
@@ -26,11 +27,27 @@
params
})
}
+// 删除分机
+export function delPhone(id) {
+ return request({
+ url: '/extensionPhone/delete',
+ method: 'post',
+ params: {
+ extensionPhoneId: id
+ }
+ })
+}
// 绑定座席
-export function bindSeats(params) {
+export function bindSeats(phoneid, users) {
return request({
url: '/extensionPhone/bindUsers',
method: 'post',
- params
+ params: {
+ extensionPhoneId: phoneid,
+ users: users
+ },
+ paramsSerializer: params => {
+ return qs.stringify(params, { indices: false })
+ }
})
}
diff --git a/src/layout/components/Sidebar/Item.vue b/src/layout/components/Sidebar/Item.vue
index 5bd4260..0fd4401 100644
--- a/src/layout/components/Sidebar/Item.vue
+++ b/src/layout/components/Sidebar/Item.vue
@@ -30,10 +30,10 @@
},
created() {
// 如果需要提醒
- // if (this.meta.remind) {
- // this.getRealtimeData()
- // this.clock()
- // }
+ if (this.meta && this.meta.remind) {
+ this.getRealtimeData() // 获取实时数量
+ this.clock()
+ }
},
methods: {
clock() {
@@ -45,8 +45,8 @@
getRealtimeData() {
getCount(this.meta.type).then(response => {
if (response.code === 200) {
- response.count = 2
- this.count = response.count
+ // response.count = 2
+ this.count = response.data
}
})
}
diff --git a/src/router/index.js b/src/router/index.js
index bcaea68..ac7440b 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -60,7 +60,7 @@
path: 'dashboard',
name: 'Dashboard',
component: () => import('@/views/dashboard/index'),
- meta: { title: '首页', icon: 'dashboard', noCache: true, affix: true }
+ meta: { title: '首页', icon: 'dashboard', noCache: false, keepAlive: true, affix: true }
}]
}
]
diff --git a/src/utils/request.js b/src/utils/request.js
index 1177be7..517107c 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -13,9 +13,9 @@
service.interceptors.request.use(
config => {
if (store.getters.token) {
- console.log('request.js gettoken')
+ // console.log('request.js gettoken')
config.headers['token'] = getToken() // 让每个请求携带自定义token 请根据实际情况自行修改
- console.log(config.headers['token'])
+ // console.log(config.headers['token'])
}
return config
},
diff --git a/src/views/caseManage/caseCommon/caseRecord.vue b/src/views/caseManage/caseCommon/caseRecord.vue
index 8ed5b0a..2b66bfe 100644
--- a/src/views/caseManage/caseCommon/caseRecord.vue
+++ b/src/views/caseManage/caseCommon/caseRecord.vue
@@ -272,11 +272,6 @@
align: 'center'
},
{
- text: '处理状态',
- value: 'caseStatus',
- align: 'center'
- },
- {
text: '督办内容',
value: 'urgeContent',
align: 'center'
@@ -341,11 +336,6 @@
align: 'center'
},
{
- text: '处理状态',
- value: 'caseStatus',
- align: 'center'
- },
- {
text: '监察内容',
value: 'superviseContent',
align: 'center'
@@ -399,6 +389,8 @@
this.fetchDelayRecords()
this.fetchUrgeRecords()
this.fetchReportRecords()
+ this.fetchSuperviseRecords()
+ this.fetchMonitorecords()
},
methods: {
fetchProcessRecords() {
diff --git a/src/views/caseManage/components/knowledgeDetail.vue b/src/views/caseManage/components/knowledgeDetail.vue
index 89061ee..f0c48db 100644
--- a/src/views/caseManage/components/knowledgeDetail.vue
+++ b/src/views/caseManage/components/knowledgeDetail.vue
@@ -10,8 +10,8 @@
所属类别:{{ knowledge.kTypeName }}
-
发布人:{{ knowledge.kUserName }}
-
发布时间:{{ knowledge.kTime }}
+
发布人:{{ knowledge.publisherName }}
+
发布时间:{{ knowledge.publishTime }}
@@ -31,9 +31,9 @@
knowledge: {
kName: '',
kTypeName: '',
- kUserName: '',
+ publisherName: '',
kInfo: '',
- kTime: ''
+ publishTime: ''
},
dialogShow: false
}
@@ -46,21 +46,18 @@
},
// 请求详情
fetchKnowledge(id) {
- // const params = {
- // kId: id
+ knowledgeDetail(id).then(response => {
+ if (response.code === 200) {
+ this.knowledge = response.data
+ }
+ })
+ // this.knowledge = {
+ // kName: '特困人员救助供养标准是什么?',
+ // kTypeName: '州民政局',
+ // kUserName: '周海瑞',
+ // kInfo: '2019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:6214502',
+ // publishTime: '2019-10-18 15:55:35'
// }
- // knowledgeDetail(params).then(response => {
- // if (response.code === 200) {
- // this.knowledge = response.data
- // }
- // })
- this.knowledge = {
- kName: '特困人员救助供养标准是什么?',
- kTypeName: '州民政局',
- kUserName: '周海瑞',
- kInfo: '2019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:6214502',
- kTime: '2019-10-18 15:55:35'
- }
}
}
}
@@ -77,7 +74,7 @@
}
.k-subtitle{
margin-top: 15px;
- line-height: 17px;
+ line-height: 1.5;
}
.k-content{
text-align: justify;
diff --git a/src/views/caseManage/components/knowledgeSearch.vue b/src/views/caseManage/components/knowledgeSearch.vue
index 3aaffee..8cdd60a 100644
--- a/src/views/caseManage/components/knowledgeSearch.vue
+++ b/src/views/caseManage/components/knowledgeSearch.vue
@@ -2,20 +2,22 @@
-
+
知识查找
-
-
- -
-
-
{{ item.kName }} _知识库_ {{ item.kTypeName }}
- {{ item.kInfo }}
-
-
-
-
+
+
+ -
+
+
{{ item.kName }} _知识库_ {{ item.kTypeName }}
+ {{ item.kInfo }}
+
+
+ - 加载中...
+ - 没有更多了
+
+
@@ -23,34 +25,72 @@
diff --git a/src/views/dashboard/components/waitHandle.vue b/src/views/dashboard/components/waitHandle.vue
index 5ed9318..1348f3e 100644
--- a/src/views/dashboard/components/waitHandle.vue
+++ b/src/views/dashboard/components/waitHandle.vue
@@ -1,5 +1,5 @@
-
+
@@ -22,6 +22,9 @@
created() {
this.fetchData()
},
+ activated() {
+ this.fetchData()
+ },
methods: {
fetchData() {
this.listLoading = true
diff --git a/src/api/callCase.js b/src/api/callCase.js
index 4bbd433..b8eff49 100644
--- a/src/api/callCase.js
+++ b/src/api/callCase.js
@@ -111,7 +111,7 @@
// 获取工单提醒
export function caseRemind(params) {
return request({
- url: 'case/workList',
+ url: '/case/remindAll',
method: 'get',
params
})
@@ -119,7 +119,7 @@
// 获取指定类型工单统计数量
export function getCount(type) {
return request({
- url: 'case/workList',
+ url: '/case/getCount',
method: 'get',
params: {
type: type
diff --git a/src/api/phone.js b/src/api/phone.js
index 9dee42c..d91e090 100644
--- a/src/api/phone.js
+++ b/src/api/phone.js
@@ -1,5 +1,6 @@
// 分机管理接口
import request from '@/utils/request'
+import qs from 'qs'
// 分机列表
export function phoneList(params) {
@@ -26,11 +27,27 @@
params
})
}
+// 删除分机
+export function delPhone(id) {
+ return request({
+ url: '/extensionPhone/delete',
+ method: 'post',
+ params: {
+ extensionPhoneId: id
+ }
+ })
+}
// 绑定座席
-export function bindSeats(params) {
+export function bindSeats(phoneid, users) {
return request({
url: '/extensionPhone/bindUsers',
method: 'post',
- params
+ params: {
+ extensionPhoneId: phoneid,
+ users: users
+ },
+ paramsSerializer: params => {
+ return qs.stringify(params, { indices: false })
+ }
})
}
diff --git a/src/layout/components/Sidebar/Item.vue b/src/layout/components/Sidebar/Item.vue
index 5bd4260..0fd4401 100644
--- a/src/layout/components/Sidebar/Item.vue
+++ b/src/layout/components/Sidebar/Item.vue
@@ -30,10 +30,10 @@
},
created() {
// 如果需要提醒
- // if (this.meta.remind) {
- // this.getRealtimeData()
- // this.clock()
- // }
+ if (this.meta && this.meta.remind) {
+ this.getRealtimeData() // 获取实时数量
+ this.clock()
+ }
},
methods: {
clock() {
@@ -45,8 +45,8 @@
getRealtimeData() {
getCount(this.meta.type).then(response => {
if (response.code === 200) {
- response.count = 2
- this.count = response.count
+ // response.count = 2
+ this.count = response.data
}
})
}
diff --git a/src/router/index.js b/src/router/index.js
index bcaea68..ac7440b 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -60,7 +60,7 @@
path: 'dashboard',
name: 'Dashboard',
component: () => import('@/views/dashboard/index'),
- meta: { title: '首页', icon: 'dashboard', noCache: true, affix: true }
+ meta: { title: '首页', icon: 'dashboard', noCache: false, keepAlive: true, affix: true }
}]
}
]
diff --git a/src/utils/request.js b/src/utils/request.js
index 1177be7..517107c 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -13,9 +13,9 @@
service.interceptors.request.use(
config => {
if (store.getters.token) {
- console.log('request.js gettoken')
+ // console.log('request.js gettoken')
config.headers['token'] = getToken() // 让每个请求携带自定义token 请根据实际情况自行修改
- console.log(config.headers['token'])
+ // console.log(config.headers['token'])
}
return config
},
diff --git a/src/views/caseManage/caseCommon/caseRecord.vue b/src/views/caseManage/caseCommon/caseRecord.vue
index 8ed5b0a..2b66bfe 100644
--- a/src/views/caseManage/caseCommon/caseRecord.vue
+++ b/src/views/caseManage/caseCommon/caseRecord.vue
@@ -272,11 +272,6 @@
align: 'center'
},
{
- text: '处理状态',
- value: 'caseStatus',
- align: 'center'
- },
- {
text: '督办内容',
value: 'urgeContent',
align: 'center'
@@ -341,11 +336,6 @@
align: 'center'
},
{
- text: '处理状态',
- value: 'caseStatus',
- align: 'center'
- },
- {
text: '监察内容',
value: 'superviseContent',
align: 'center'
@@ -399,6 +389,8 @@
this.fetchDelayRecords()
this.fetchUrgeRecords()
this.fetchReportRecords()
+ this.fetchSuperviseRecords()
+ this.fetchMonitorecords()
},
methods: {
fetchProcessRecords() {
diff --git a/src/views/caseManage/components/knowledgeDetail.vue b/src/views/caseManage/components/knowledgeDetail.vue
index 89061ee..f0c48db 100644
--- a/src/views/caseManage/components/knowledgeDetail.vue
+++ b/src/views/caseManage/components/knowledgeDetail.vue
@@ -10,8 +10,8 @@
所属类别:{{ knowledge.kTypeName }}
-
发布人:{{ knowledge.kUserName }}
-
发布时间:{{ knowledge.kTime }}
+
发布人:{{ knowledge.publisherName }}
+
发布时间:{{ knowledge.publishTime }}
@@ -31,9 +31,9 @@
knowledge: {
kName: '',
kTypeName: '',
- kUserName: '',
+ publisherName: '',
kInfo: '',
- kTime: ''
+ publishTime: ''
},
dialogShow: false
}
@@ -46,21 +46,18 @@
},
// 请求详情
fetchKnowledge(id) {
- // const params = {
- // kId: id
+ knowledgeDetail(id).then(response => {
+ if (response.code === 200) {
+ this.knowledge = response.data
+ }
+ })
+ // this.knowledge = {
+ // kName: '特困人员救助供养标准是什么?',
+ // kTypeName: '州民政局',
+ // kUserName: '周海瑞',
+ // kInfo: '2019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:6214502',
+ // publishTime: '2019-10-18 15:55:35'
// }
- // knowledgeDetail(params).then(response => {
- // if (response.code === 200) {
- // this.knowledge = response.data
- // }
- // })
- this.knowledge = {
- kName: '特困人员救助供养标准是什么?',
- kTypeName: '州民政局',
- kUserName: '周海瑞',
- kInfo: '2019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:6214502',
- kTime: '2019-10-18 15:55:35'
- }
}
}
}
@@ -77,7 +74,7 @@
}
.k-subtitle{
margin-top: 15px;
- line-height: 17px;
+ line-height: 1.5;
}
.k-content{
text-align: justify;
diff --git a/src/views/caseManage/components/knowledgeSearch.vue b/src/views/caseManage/components/knowledgeSearch.vue
index 3aaffee..8cdd60a 100644
--- a/src/views/caseManage/components/knowledgeSearch.vue
+++ b/src/views/caseManage/components/knowledgeSearch.vue
@@ -2,20 +2,22 @@
-
+
知识查找
-
-
- -
-
-
{{ item.kName }} _知识库_ {{ item.kTypeName }}
- {{ item.kInfo }}
-
-
-
-
+
+
+ -
+
+
{{ item.kName }} _知识库_ {{ item.kTypeName }}
+ {{ item.kInfo }}
+
+
+ - 加载中...
+ - 没有更多了
+
+
@@ -23,34 +25,72 @@
diff --git a/src/views/dashboard/components/waitHandle.vue b/src/views/dashboard/components/waitHandle.vue
index 5ed9318..1348f3e 100644
--- a/src/views/dashboard/components/waitHandle.vue
+++ b/src/views/dashboard/components/waitHandle.vue
@@ -1,5 +1,5 @@
-
+
@@ -22,6 +22,9 @@
created() {
this.fetchData()
},
+ activated() {
+ this.fetchData()
+ },
methods: {
fetchData() {
this.listLoading = true
diff --git a/src/views/dashboard/components/waitMonitor.vue b/src/views/dashboard/components/waitMonitor.vue
new file mode 100644
index 0000000..6184300
--- /dev/null
+++ b/src/views/dashboard/components/waitMonitor.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/api/callCase.js b/src/api/callCase.js
index 4bbd433..b8eff49 100644
--- a/src/api/callCase.js
+++ b/src/api/callCase.js
@@ -111,7 +111,7 @@
// 获取工单提醒
export function caseRemind(params) {
return request({
- url: 'case/workList',
+ url: '/case/remindAll',
method: 'get',
params
})
@@ -119,7 +119,7 @@
// 获取指定类型工单统计数量
export function getCount(type) {
return request({
- url: 'case/workList',
+ url: '/case/getCount',
method: 'get',
params: {
type: type
diff --git a/src/api/phone.js b/src/api/phone.js
index 9dee42c..d91e090 100644
--- a/src/api/phone.js
+++ b/src/api/phone.js
@@ -1,5 +1,6 @@
// 分机管理接口
import request from '@/utils/request'
+import qs from 'qs'
// 分机列表
export function phoneList(params) {
@@ -26,11 +27,27 @@
params
})
}
+// 删除分机
+export function delPhone(id) {
+ return request({
+ url: '/extensionPhone/delete',
+ method: 'post',
+ params: {
+ extensionPhoneId: id
+ }
+ })
+}
// 绑定座席
-export function bindSeats(params) {
+export function bindSeats(phoneid, users) {
return request({
url: '/extensionPhone/bindUsers',
method: 'post',
- params
+ params: {
+ extensionPhoneId: phoneid,
+ users: users
+ },
+ paramsSerializer: params => {
+ return qs.stringify(params, { indices: false })
+ }
})
}
diff --git a/src/layout/components/Sidebar/Item.vue b/src/layout/components/Sidebar/Item.vue
index 5bd4260..0fd4401 100644
--- a/src/layout/components/Sidebar/Item.vue
+++ b/src/layout/components/Sidebar/Item.vue
@@ -30,10 +30,10 @@
},
created() {
// 如果需要提醒
- // if (this.meta.remind) {
- // this.getRealtimeData()
- // this.clock()
- // }
+ if (this.meta && this.meta.remind) {
+ this.getRealtimeData() // 获取实时数量
+ this.clock()
+ }
},
methods: {
clock() {
@@ -45,8 +45,8 @@
getRealtimeData() {
getCount(this.meta.type).then(response => {
if (response.code === 200) {
- response.count = 2
- this.count = response.count
+ // response.count = 2
+ this.count = response.data
}
})
}
diff --git a/src/router/index.js b/src/router/index.js
index bcaea68..ac7440b 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -60,7 +60,7 @@
path: 'dashboard',
name: 'Dashboard',
component: () => import('@/views/dashboard/index'),
- meta: { title: '首页', icon: 'dashboard', noCache: true, affix: true }
+ meta: { title: '首页', icon: 'dashboard', noCache: false, keepAlive: true, affix: true }
}]
}
]
diff --git a/src/utils/request.js b/src/utils/request.js
index 1177be7..517107c 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -13,9 +13,9 @@
service.interceptors.request.use(
config => {
if (store.getters.token) {
- console.log('request.js gettoken')
+ // console.log('request.js gettoken')
config.headers['token'] = getToken() // 让每个请求携带自定义token 请根据实际情况自行修改
- console.log(config.headers['token'])
+ // console.log(config.headers['token'])
}
return config
},
diff --git a/src/views/caseManage/caseCommon/caseRecord.vue b/src/views/caseManage/caseCommon/caseRecord.vue
index 8ed5b0a..2b66bfe 100644
--- a/src/views/caseManage/caseCommon/caseRecord.vue
+++ b/src/views/caseManage/caseCommon/caseRecord.vue
@@ -272,11 +272,6 @@
align: 'center'
},
{
- text: '处理状态',
- value: 'caseStatus',
- align: 'center'
- },
- {
text: '督办内容',
value: 'urgeContent',
align: 'center'
@@ -341,11 +336,6 @@
align: 'center'
},
{
- text: '处理状态',
- value: 'caseStatus',
- align: 'center'
- },
- {
text: '监察内容',
value: 'superviseContent',
align: 'center'
@@ -399,6 +389,8 @@
this.fetchDelayRecords()
this.fetchUrgeRecords()
this.fetchReportRecords()
+ this.fetchSuperviseRecords()
+ this.fetchMonitorecords()
},
methods: {
fetchProcessRecords() {
diff --git a/src/views/caseManage/components/knowledgeDetail.vue b/src/views/caseManage/components/knowledgeDetail.vue
index 89061ee..f0c48db 100644
--- a/src/views/caseManage/components/knowledgeDetail.vue
+++ b/src/views/caseManage/components/knowledgeDetail.vue
@@ -10,8 +10,8 @@
所属类别:{{ knowledge.kTypeName }}
-
发布人:{{ knowledge.kUserName }}
-
发布时间:{{ knowledge.kTime }}
+
发布人:{{ knowledge.publisherName }}
+
发布时间:{{ knowledge.publishTime }}
@@ -31,9 +31,9 @@
knowledge: {
kName: '',
kTypeName: '',
- kUserName: '',
+ publisherName: '',
kInfo: '',
- kTime: ''
+ publishTime: ''
},
dialogShow: false
}
@@ -46,21 +46,18 @@
},
// 请求详情
fetchKnowledge(id) {
- // const params = {
- // kId: id
+ knowledgeDetail(id).then(response => {
+ if (response.code === 200) {
+ this.knowledge = response.data
+ }
+ })
+ // this.knowledge = {
+ // kName: '特困人员救助供养标准是什么?',
+ // kTypeName: '州民政局',
+ // kUserName: '周海瑞',
+ // kInfo: '2019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:6214502',
+ // publishTime: '2019-10-18 15:55:35'
// }
- // knowledgeDetail(params).then(response => {
- // if (response.code === 200) {
- // this.knowledge = response.data
- // }
- // })
- this.knowledge = {
- kName: '特困人员救助供养标准是什么?',
- kTypeName: '州民政局',
- kUserName: '周海瑞',
- kInfo: '2019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:6214502',
- kTime: '2019-10-18 15:55:35'
- }
}
}
}
@@ -77,7 +74,7 @@
}
.k-subtitle{
margin-top: 15px;
- line-height: 17px;
+ line-height: 1.5;
}
.k-content{
text-align: justify;
diff --git a/src/views/caseManage/components/knowledgeSearch.vue b/src/views/caseManage/components/knowledgeSearch.vue
index 3aaffee..8cdd60a 100644
--- a/src/views/caseManage/components/knowledgeSearch.vue
+++ b/src/views/caseManage/components/knowledgeSearch.vue
@@ -2,20 +2,22 @@
-
+
知识查找
-
-
- -
-
-
{{ item.kName }} _知识库_ {{ item.kTypeName }}
- {{ item.kInfo }}
-
-
-
-
+
+
+ -
+
+
{{ item.kName }} _知识库_ {{ item.kTypeName }}
+ {{ item.kInfo }}
+
+
+ - 加载中...
+ - 没有更多了
+
+
@@ -23,34 +25,72 @@
diff --git a/src/views/dashboard/components/waitHandle.vue b/src/views/dashboard/components/waitHandle.vue
index 5ed9318..1348f3e 100644
--- a/src/views/dashboard/components/waitHandle.vue
+++ b/src/views/dashboard/components/waitHandle.vue
@@ -1,5 +1,5 @@
-
+
@@ -22,6 +22,9 @@
created() {
this.fetchData()
},
+ activated() {
+ this.fetchData()
+ },
methods: {
fetchData() {
this.listLoading = true
diff --git a/src/views/dashboard/components/waitMonitor.vue b/src/views/dashboard/components/waitMonitor.vue
new file mode 100644
index 0000000..6184300
--- /dev/null
+++ b/src/views/dashboard/components/waitMonitor.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/components/waitMonitorCheck.vue b/src/views/dashboard/components/waitMonitorCheck.vue
new file mode 100644
index 0000000..42e945c
--- /dev/null
+++ b/src/views/dashboard/components/waitMonitorCheck.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/api/callCase.js b/src/api/callCase.js
index 4bbd433..b8eff49 100644
--- a/src/api/callCase.js
+++ b/src/api/callCase.js
@@ -111,7 +111,7 @@
// 获取工单提醒
export function caseRemind(params) {
return request({
- url: 'case/workList',
+ url: '/case/remindAll',
method: 'get',
params
})
@@ -119,7 +119,7 @@
// 获取指定类型工单统计数量
export function getCount(type) {
return request({
- url: 'case/workList',
+ url: '/case/getCount',
method: 'get',
params: {
type: type
diff --git a/src/api/phone.js b/src/api/phone.js
index 9dee42c..d91e090 100644
--- a/src/api/phone.js
+++ b/src/api/phone.js
@@ -1,5 +1,6 @@
// 分机管理接口
import request from '@/utils/request'
+import qs from 'qs'
// 分机列表
export function phoneList(params) {
@@ -26,11 +27,27 @@
params
})
}
+// 删除分机
+export function delPhone(id) {
+ return request({
+ url: '/extensionPhone/delete',
+ method: 'post',
+ params: {
+ extensionPhoneId: id
+ }
+ })
+}
// 绑定座席
-export function bindSeats(params) {
+export function bindSeats(phoneid, users) {
return request({
url: '/extensionPhone/bindUsers',
method: 'post',
- params
+ params: {
+ extensionPhoneId: phoneid,
+ users: users
+ },
+ paramsSerializer: params => {
+ return qs.stringify(params, { indices: false })
+ }
})
}
diff --git a/src/layout/components/Sidebar/Item.vue b/src/layout/components/Sidebar/Item.vue
index 5bd4260..0fd4401 100644
--- a/src/layout/components/Sidebar/Item.vue
+++ b/src/layout/components/Sidebar/Item.vue
@@ -30,10 +30,10 @@
},
created() {
// 如果需要提醒
- // if (this.meta.remind) {
- // this.getRealtimeData()
- // this.clock()
- // }
+ if (this.meta && this.meta.remind) {
+ this.getRealtimeData() // 获取实时数量
+ this.clock()
+ }
},
methods: {
clock() {
@@ -45,8 +45,8 @@
getRealtimeData() {
getCount(this.meta.type).then(response => {
if (response.code === 200) {
- response.count = 2
- this.count = response.count
+ // response.count = 2
+ this.count = response.data
}
})
}
diff --git a/src/router/index.js b/src/router/index.js
index bcaea68..ac7440b 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -60,7 +60,7 @@
path: 'dashboard',
name: 'Dashboard',
component: () => import('@/views/dashboard/index'),
- meta: { title: '首页', icon: 'dashboard', noCache: true, affix: true }
+ meta: { title: '首页', icon: 'dashboard', noCache: false, keepAlive: true, affix: true }
}]
}
]
diff --git a/src/utils/request.js b/src/utils/request.js
index 1177be7..517107c 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -13,9 +13,9 @@
service.interceptors.request.use(
config => {
if (store.getters.token) {
- console.log('request.js gettoken')
+ // console.log('request.js gettoken')
config.headers['token'] = getToken() // 让每个请求携带自定义token 请根据实际情况自行修改
- console.log(config.headers['token'])
+ // console.log(config.headers['token'])
}
return config
},
diff --git a/src/views/caseManage/caseCommon/caseRecord.vue b/src/views/caseManage/caseCommon/caseRecord.vue
index 8ed5b0a..2b66bfe 100644
--- a/src/views/caseManage/caseCommon/caseRecord.vue
+++ b/src/views/caseManage/caseCommon/caseRecord.vue
@@ -272,11 +272,6 @@
align: 'center'
},
{
- text: '处理状态',
- value: 'caseStatus',
- align: 'center'
- },
- {
text: '督办内容',
value: 'urgeContent',
align: 'center'
@@ -341,11 +336,6 @@
align: 'center'
},
{
- text: '处理状态',
- value: 'caseStatus',
- align: 'center'
- },
- {
text: '监察内容',
value: 'superviseContent',
align: 'center'
@@ -399,6 +389,8 @@
this.fetchDelayRecords()
this.fetchUrgeRecords()
this.fetchReportRecords()
+ this.fetchSuperviseRecords()
+ this.fetchMonitorecords()
},
methods: {
fetchProcessRecords() {
diff --git a/src/views/caseManage/components/knowledgeDetail.vue b/src/views/caseManage/components/knowledgeDetail.vue
index 89061ee..f0c48db 100644
--- a/src/views/caseManage/components/knowledgeDetail.vue
+++ b/src/views/caseManage/components/knowledgeDetail.vue
@@ -10,8 +10,8 @@
所属类别:{{ knowledge.kTypeName }}
-
发布人:{{ knowledge.kUserName }}
-
发布时间:{{ knowledge.kTime }}
+
发布人:{{ knowledge.publisherName }}
+
发布时间:{{ knowledge.publishTime }}
@@ -31,9 +31,9 @@
knowledge: {
kName: '',
kTypeName: '',
- kUserName: '',
+ publisherName: '',
kInfo: '',
- kTime: ''
+ publishTime: ''
},
dialogShow: false
}
@@ -46,21 +46,18 @@
},
// 请求详情
fetchKnowledge(id) {
- // const params = {
- // kId: id
+ knowledgeDetail(id).then(response => {
+ if (response.code === 200) {
+ this.knowledge = response.data
+ }
+ })
+ // this.knowledge = {
+ // kName: '特困人员救助供养标准是什么?',
+ // kTypeName: '州民政局',
+ // kUserName: '周海瑞',
+ // kInfo: '2019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:6214502',
+ // publishTime: '2019-10-18 15:55:35'
// }
- // knowledgeDetail(params).then(response => {
- // if (response.code === 200) {
- // this.knowledge = response.data
- // }
- // })
- this.knowledge = {
- kName: '特困人员救助供养标准是什么?',
- kTypeName: '州民政局',
- kUserName: '周海瑞',
- kInfo: '2019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:6214502',
- kTime: '2019-10-18 15:55:35'
- }
}
}
}
@@ -77,7 +74,7 @@
}
.k-subtitle{
margin-top: 15px;
- line-height: 17px;
+ line-height: 1.5;
}
.k-content{
text-align: justify;
diff --git a/src/views/caseManage/components/knowledgeSearch.vue b/src/views/caseManage/components/knowledgeSearch.vue
index 3aaffee..8cdd60a 100644
--- a/src/views/caseManage/components/knowledgeSearch.vue
+++ b/src/views/caseManage/components/knowledgeSearch.vue
@@ -2,20 +2,22 @@
-
+
知识查找
-
-
- -
-
-
{{ item.kName }} _知识库_ {{ item.kTypeName }}
- {{ item.kInfo }}
-
-
-
-
+
+
+ -
+
+
{{ item.kName }} _知识库_ {{ item.kTypeName }}
+ {{ item.kInfo }}
+
+
+ - 加载中...
+ - 没有更多了
+
+
@@ -23,34 +25,72 @@
diff --git a/src/views/dashboard/components/waitHandle.vue b/src/views/dashboard/components/waitHandle.vue
index 5ed9318..1348f3e 100644
--- a/src/views/dashboard/components/waitHandle.vue
+++ b/src/views/dashboard/components/waitHandle.vue
@@ -1,5 +1,5 @@
-
+
@@ -22,6 +22,9 @@
created() {
this.fetchData()
},
+ activated() {
+ this.fetchData()
+ },
methods: {
fetchData() {
this.listLoading = true
diff --git a/src/views/dashboard/components/waitMonitor.vue b/src/views/dashboard/components/waitMonitor.vue
new file mode 100644
index 0000000..6184300
--- /dev/null
+++ b/src/views/dashboard/components/waitMonitor.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/components/waitMonitorCheck.vue b/src/views/dashboard/components/waitMonitorCheck.vue
new file mode 100644
index 0000000..42e945c
--- /dev/null
+++ b/src/views/dashboard/components/waitMonitorCheck.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/components/waitSupervise.vue b/src/views/dashboard/components/waitSupervise.vue
new file mode 100644
index 0000000..bdf15fb
--- /dev/null
+++ b/src/views/dashboard/components/waitSupervise.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/api/callCase.js b/src/api/callCase.js
index 4bbd433..b8eff49 100644
--- a/src/api/callCase.js
+++ b/src/api/callCase.js
@@ -111,7 +111,7 @@
// 获取工单提醒
export function caseRemind(params) {
return request({
- url: 'case/workList',
+ url: '/case/remindAll',
method: 'get',
params
})
@@ -119,7 +119,7 @@
// 获取指定类型工单统计数量
export function getCount(type) {
return request({
- url: 'case/workList',
+ url: '/case/getCount',
method: 'get',
params: {
type: type
diff --git a/src/api/phone.js b/src/api/phone.js
index 9dee42c..d91e090 100644
--- a/src/api/phone.js
+++ b/src/api/phone.js
@@ -1,5 +1,6 @@
// 分机管理接口
import request from '@/utils/request'
+import qs from 'qs'
// 分机列表
export function phoneList(params) {
@@ -26,11 +27,27 @@
params
})
}
+// 删除分机
+export function delPhone(id) {
+ return request({
+ url: '/extensionPhone/delete',
+ method: 'post',
+ params: {
+ extensionPhoneId: id
+ }
+ })
+}
// 绑定座席
-export function bindSeats(params) {
+export function bindSeats(phoneid, users) {
return request({
url: '/extensionPhone/bindUsers',
method: 'post',
- params
+ params: {
+ extensionPhoneId: phoneid,
+ users: users
+ },
+ paramsSerializer: params => {
+ return qs.stringify(params, { indices: false })
+ }
})
}
diff --git a/src/layout/components/Sidebar/Item.vue b/src/layout/components/Sidebar/Item.vue
index 5bd4260..0fd4401 100644
--- a/src/layout/components/Sidebar/Item.vue
+++ b/src/layout/components/Sidebar/Item.vue
@@ -30,10 +30,10 @@
},
created() {
// 如果需要提醒
- // if (this.meta.remind) {
- // this.getRealtimeData()
- // this.clock()
- // }
+ if (this.meta && this.meta.remind) {
+ this.getRealtimeData() // 获取实时数量
+ this.clock()
+ }
},
methods: {
clock() {
@@ -45,8 +45,8 @@
getRealtimeData() {
getCount(this.meta.type).then(response => {
if (response.code === 200) {
- response.count = 2
- this.count = response.count
+ // response.count = 2
+ this.count = response.data
}
})
}
diff --git a/src/router/index.js b/src/router/index.js
index bcaea68..ac7440b 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -60,7 +60,7 @@
path: 'dashboard',
name: 'Dashboard',
component: () => import('@/views/dashboard/index'),
- meta: { title: '首页', icon: 'dashboard', noCache: true, affix: true }
+ meta: { title: '首页', icon: 'dashboard', noCache: false, keepAlive: true, affix: true }
}]
}
]
diff --git a/src/utils/request.js b/src/utils/request.js
index 1177be7..517107c 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -13,9 +13,9 @@
service.interceptors.request.use(
config => {
if (store.getters.token) {
- console.log('request.js gettoken')
+ // console.log('request.js gettoken')
config.headers['token'] = getToken() // 让每个请求携带自定义token 请根据实际情况自行修改
- console.log(config.headers['token'])
+ // console.log(config.headers['token'])
}
return config
},
diff --git a/src/views/caseManage/caseCommon/caseRecord.vue b/src/views/caseManage/caseCommon/caseRecord.vue
index 8ed5b0a..2b66bfe 100644
--- a/src/views/caseManage/caseCommon/caseRecord.vue
+++ b/src/views/caseManage/caseCommon/caseRecord.vue
@@ -272,11 +272,6 @@
align: 'center'
},
{
- text: '处理状态',
- value: 'caseStatus',
- align: 'center'
- },
- {
text: '督办内容',
value: 'urgeContent',
align: 'center'
@@ -341,11 +336,6 @@
align: 'center'
},
{
- text: '处理状态',
- value: 'caseStatus',
- align: 'center'
- },
- {
text: '监察内容',
value: 'superviseContent',
align: 'center'
@@ -399,6 +389,8 @@
this.fetchDelayRecords()
this.fetchUrgeRecords()
this.fetchReportRecords()
+ this.fetchSuperviseRecords()
+ this.fetchMonitorecords()
},
methods: {
fetchProcessRecords() {
diff --git a/src/views/caseManage/components/knowledgeDetail.vue b/src/views/caseManage/components/knowledgeDetail.vue
index 89061ee..f0c48db 100644
--- a/src/views/caseManage/components/knowledgeDetail.vue
+++ b/src/views/caseManage/components/knowledgeDetail.vue
@@ -10,8 +10,8 @@
所属类别:{{ knowledge.kTypeName }}
-
发布人:{{ knowledge.kUserName }}
-
发布时间:{{ knowledge.kTime }}
+
发布人:{{ knowledge.publisherName }}
+
发布时间:{{ knowledge.publishTime }}
@@ -31,9 +31,9 @@
knowledge: {
kName: '',
kTypeName: '',
- kUserName: '',
+ publisherName: '',
kInfo: '',
- kTime: ''
+ publishTime: ''
},
dialogShow: false
}
@@ -46,21 +46,18 @@
},
// 请求详情
fetchKnowledge(id) {
- // const params = {
- // kId: id
+ knowledgeDetail(id).then(response => {
+ if (response.code === 200) {
+ this.knowledge = response.data
+ }
+ })
+ // this.knowledge = {
+ // kName: '特困人员救助供养标准是什么?',
+ // kTypeName: '州民政局',
+ // kUserName: '周海瑞',
+ // kInfo: '2019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:6214502',
+ // publishTime: '2019-10-18 15:55:35'
// }
- // knowledgeDetail(params).then(response => {
- // if (response.code === 200) {
- // this.knowledge = response.data
- // }
- // })
- this.knowledge = {
- kName: '特困人员救助供养标准是什么?',
- kTypeName: '州民政局',
- kUserName: '周海瑞',
- kInfo: '2019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:6214502',
- kTime: '2019-10-18 15:55:35'
- }
}
}
}
@@ -77,7 +74,7 @@
}
.k-subtitle{
margin-top: 15px;
- line-height: 17px;
+ line-height: 1.5;
}
.k-content{
text-align: justify;
diff --git a/src/views/caseManage/components/knowledgeSearch.vue b/src/views/caseManage/components/knowledgeSearch.vue
index 3aaffee..8cdd60a 100644
--- a/src/views/caseManage/components/knowledgeSearch.vue
+++ b/src/views/caseManage/components/knowledgeSearch.vue
@@ -2,20 +2,22 @@
-
+
知识查找
-
-
- -
-
-
{{ item.kName }} _知识库_ {{ item.kTypeName }}
- {{ item.kInfo }}
-
-
-
-
+
+
+ -
+
+
{{ item.kName }} _知识库_ {{ item.kTypeName }}
+ {{ item.kInfo }}
+
+
+ - 加载中...
+ - 没有更多了
+
+
@@ -23,34 +25,72 @@
diff --git a/src/views/dashboard/components/waitHandle.vue b/src/views/dashboard/components/waitHandle.vue
index 5ed9318..1348f3e 100644
--- a/src/views/dashboard/components/waitHandle.vue
+++ b/src/views/dashboard/components/waitHandle.vue
@@ -1,5 +1,5 @@
-
+
@@ -22,6 +22,9 @@
created() {
this.fetchData()
},
+ activated() {
+ this.fetchData()
+ },
methods: {
fetchData() {
this.listLoading = true
diff --git a/src/views/dashboard/components/waitMonitor.vue b/src/views/dashboard/components/waitMonitor.vue
new file mode 100644
index 0000000..6184300
--- /dev/null
+++ b/src/views/dashboard/components/waitMonitor.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/components/waitMonitorCheck.vue b/src/views/dashboard/components/waitMonitorCheck.vue
new file mode 100644
index 0000000..42e945c
--- /dev/null
+++ b/src/views/dashboard/components/waitMonitorCheck.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/components/waitSupervise.vue b/src/views/dashboard/components/waitSupervise.vue
new file mode 100644
index 0000000..bdf15fb
--- /dev/null
+++ b/src/views/dashboard/components/waitSupervise.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/components/waitSuperviseCheck.vue b/src/views/dashboard/components/waitSuperviseCheck.vue
new file mode 100644
index 0000000..4590a5a
--- /dev/null
+++ b/src/views/dashboard/components/waitSuperviseCheck.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/api/callCase.js b/src/api/callCase.js
index 4bbd433..b8eff49 100644
--- a/src/api/callCase.js
+++ b/src/api/callCase.js
@@ -111,7 +111,7 @@
// 获取工单提醒
export function caseRemind(params) {
return request({
- url: 'case/workList',
+ url: '/case/remindAll',
method: 'get',
params
})
@@ -119,7 +119,7 @@
// 获取指定类型工单统计数量
export function getCount(type) {
return request({
- url: 'case/workList',
+ url: '/case/getCount',
method: 'get',
params: {
type: type
diff --git a/src/api/phone.js b/src/api/phone.js
index 9dee42c..d91e090 100644
--- a/src/api/phone.js
+++ b/src/api/phone.js
@@ -1,5 +1,6 @@
// 分机管理接口
import request from '@/utils/request'
+import qs from 'qs'
// 分机列表
export function phoneList(params) {
@@ -26,11 +27,27 @@
params
})
}
+// 删除分机
+export function delPhone(id) {
+ return request({
+ url: '/extensionPhone/delete',
+ method: 'post',
+ params: {
+ extensionPhoneId: id
+ }
+ })
+}
// 绑定座席
-export function bindSeats(params) {
+export function bindSeats(phoneid, users) {
return request({
url: '/extensionPhone/bindUsers',
method: 'post',
- params
+ params: {
+ extensionPhoneId: phoneid,
+ users: users
+ },
+ paramsSerializer: params => {
+ return qs.stringify(params, { indices: false })
+ }
})
}
diff --git a/src/layout/components/Sidebar/Item.vue b/src/layout/components/Sidebar/Item.vue
index 5bd4260..0fd4401 100644
--- a/src/layout/components/Sidebar/Item.vue
+++ b/src/layout/components/Sidebar/Item.vue
@@ -30,10 +30,10 @@
},
created() {
// 如果需要提醒
- // if (this.meta.remind) {
- // this.getRealtimeData()
- // this.clock()
- // }
+ if (this.meta && this.meta.remind) {
+ this.getRealtimeData() // 获取实时数量
+ this.clock()
+ }
},
methods: {
clock() {
@@ -45,8 +45,8 @@
getRealtimeData() {
getCount(this.meta.type).then(response => {
if (response.code === 200) {
- response.count = 2
- this.count = response.count
+ // response.count = 2
+ this.count = response.data
}
})
}
diff --git a/src/router/index.js b/src/router/index.js
index bcaea68..ac7440b 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -60,7 +60,7 @@
path: 'dashboard',
name: 'Dashboard',
component: () => import('@/views/dashboard/index'),
- meta: { title: '首页', icon: 'dashboard', noCache: true, affix: true }
+ meta: { title: '首页', icon: 'dashboard', noCache: false, keepAlive: true, affix: true }
}]
}
]
diff --git a/src/utils/request.js b/src/utils/request.js
index 1177be7..517107c 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -13,9 +13,9 @@
service.interceptors.request.use(
config => {
if (store.getters.token) {
- console.log('request.js gettoken')
+ // console.log('request.js gettoken')
config.headers['token'] = getToken() // 让每个请求携带自定义token 请根据实际情况自行修改
- console.log(config.headers['token'])
+ // console.log(config.headers['token'])
}
return config
},
diff --git a/src/views/caseManage/caseCommon/caseRecord.vue b/src/views/caseManage/caseCommon/caseRecord.vue
index 8ed5b0a..2b66bfe 100644
--- a/src/views/caseManage/caseCommon/caseRecord.vue
+++ b/src/views/caseManage/caseCommon/caseRecord.vue
@@ -272,11 +272,6 @@
align: 'center'
},
{
- text: '处理状态',
- value: 'caseStatus',
- align: 'center'
- },
- {
text: '督办内容',
value: 'urgeContent',
align: 'center'
@@ -341,11 +336,6 @@
align: 'center'
},
{
- text: '处理状态',
- value: 'caseStatus',
- align: 'center'
- },
- {
text: '监察内容',
value: 'superviseContent',
align: 'center'
@@ -399,6 +389,8 @@
this.fetchDelayRecords()
this.fetchUrgeRecords()
this.fetchReportRecords()
+ this.fetchSuperviseRecords()
+ this.fetchMonitorecords()
},
methods: {
fetchProcessRecords() {
diff --git a/src/views/caseManage/components/knowledgeDetail.vue b/src/views/caseManage/components/knowledgeDetail.vue
index 89061ee..f0c48db 100644
--- a/src/views/caseManage/components/knowledgeDetail.vue
+++ b/src/views/caseManage/components/knowledgeDetail.vue
@@ -10,8 +10,8 @@
所属类别:{{ knowledge.kTypeName }}
-
发布人:{{ knowledge.kUserName }}
-
发布时间:{{ knowledge.kTime }}
+
发布人:{{ knowledge.publisherName }}
+
发布时间:{{ knowledge.publishTime }}
@@ -31,9 +31,9 @@
knowledge: {
kName: '',
kTypeName: '',
- kUserName: '',
+ publisherName: '',
kInfo: '',
- kTime: ''
+ publishTime: ''
},
dialogShow: false
}
@@ -46,21 +46,18 @@
},
// 请求详情
fetchKnowledge(id) {
- // const params = {
- // kId: id
+ knowledgeDetail(id).then(response => {
+ if (response.code === 200) {
+ this.knowledge = response.data
+ }
+ })
+ // this.knowledge = {
+ // kName: '特困人员救助供养标准是什么?',
+ // kTypeName: '州民政局',
+ // kUserName: '周海瑞',
+ // kInfo: '2019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:6214502',
+ // publishTime: '2019-10-18 15:55:35'
// }
- // knowledgeDetail(params).then(response => {
- // if (response.code === 200) {
- // this.knowledge = response.data
- // }
- // })
- this.knowledge = {
- kName: '特困人员救助供养标准是什么?',
- kTypeName: '州民政局',
- kUserName: '周海瑞',
- kInfo: '2019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:6214502',
- kTime: '2019-10-18 15:55:35'
- }
}
}
}
@@ -77,7 +74,7 @@
}
.k-subtitle{
margin-top: 15px;
- line-height: 17px;
+ line-height: 1.5;
}
.k-content{
text-align: justify;
diff --git a/src/views/caseManage/components/knowledgeSearch.vue b/src/views/caseManage/components/knowledgeSearch.vue
index 3aaffee..8cdd60a 100644
--- a/src/views/caseManage/components/knowledgeSearch.vue
+++ b/src/views/caseManage/components/knowledgeSearch.vue
@@ -2,20 +2,22 @@
-
+
知识查找
-
-
- -
-
-
{{ item.kName }} _知识库_ {{ item.kTypeName }}
- {{ item.kInfo }}
-
-
-
-
+
+
+ -
+
+
{{ item.kName }} _知识库_ {{ item.kTypeName }}
+ {{ item.kInfo }}
+
+
+ - 加载中...
+ - 没有更多了
+
+
@@ -23,34 +25,72 @@
diff --git a/src/views/dashboard/components/waitHandle.vue b/src/views/dashboard/components/waitHandle.vue
index 5ed9318..1348f3e 100644
--- a/src/views/dashboard/components/waitHandle.vue
+++ b/src/views/dashboard/components/waitHandle.vue
@@ -1,5 +1,5 @@
-
+
@@ -22,6 +22,9 @@
created() {
this.fetchData()
},
+ activated() {
+ this.fetchData()
+ },
methods: {
fetchData() {
this.listLoading = true
diff --git a/src/views/dashboard/components/waitMonitor.vue b/src/views/dashboard/components/waitMonitor.vue
new file mode 100644
index 0000000..6184300
--- /dev/null
+++ b/src/views/dashboard/components/waitMonitor.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/components/waitMonitorCheck.vue b/src/views/dashboard/components/waitMonitorCheck.vue
new file mode 100644
index 0000000..42e945c
--- /dev/null
+++ b/src/views/dashboard/components/waitMonitorCheck.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/components/waitSupervise.vue b/src/views/dashboard/components/waitSupervise.vue
new file mode 100644
index 0000000..bdf15fb
--- /dev/null
+++ b/src/views/dashboard/components/waitSupervise.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/components/waitSuperviseCheck.vue b/src/views/dashboard/components/waitSuperviseCheck.vue
new file mode 100644
index 0000000..4590a5a
--- /dev/null
+++ b/src/views/dashboard/components/waitSuperviseCheck.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue
index 237b2b3..173bdcd 100644
--- a/src/views/dashboard/index.vue
+++ b/src/views/dashboard/index.vue
@@ -2,8 +2,20 @@
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -13,10 +25,14 @@
import { mapGetters } from 'vuex'
import WaitHandle from './components/waitHandle'
import { caseRemind } from '@/api/callCase'
+import WaitSupervise from './components/waitSupervise'
+import WaitMonitor from './components/waitMonitor'
+import WaitSuperviseCheck from './components/waitSuperviseCheck'
+import WaitMonitorCheck from './components/waitMonitorCheck'
export default {
name: 'Dashboard',
- components: { WaitHandle },
+ components: { WaitMonitorCheck, WaitSuperviseCheck, WaitMonitor, WaitSupervise, WaitHandle },
computed: {
...mapGetters([
'name',
@@ -31,18 +47,14 @@
mounted() {
this.fetchCaseRemind()
},
+ activated() {
+ console.log('actived')
+ },
methods: {
// 工单提醒
fetchCaseRemind() {
caseRemind().then(response => {
if (response.code === 200) {
- response.data = [{
- 'type': '待办事件',
- 'num': 1
- }, {
- 'type': '待办督办',
- 'num': 1
- }]
if (response.data.length > 0) {
let message = ''
for (const item of response.data) {
@@ -58,7 +70,23 @@
}
}
})
+ },
+ goWaitHandle() {
+ this.$router.push('/waitForHandle')
+ },
+ goWaitSupervise() {
+ this.$router.push('/workSuperviseList')
+ },
+ goWaitSuperviseCheck() {
+ this.$router.push('/checkSuperviseList')
+ },
+ goWaitMonitor() {
+ this.$router.push('/workMonitorList')
+ },
+ goWaitMonitorCheck() {
+ this.$router.push('/checkMonitorList')
}
+
}
}
diff --git a/src/api/callCase.js b/src/api/callCase.js
index 4bbd433..b8eff49 100644
--- a/src/api/callCase.js
+++ b/src/api/callCase.js
@@ -111,7 +111,7 @@
// 获取工单提醒
export function caseRemind(params) {
return request({
- url: 'case/workList',
+ url: '/case/remindAll',
method: 'get',
params
})
@@ -119,7 +119,7 @@
// 获取指定类型工单统计数量
export function getCount(type) {
return request({
- url: 'case/workList',
+ url: '/case/getCount',
method: 'get',
params: {
type: type
diff --git a/src/api/phone.js b/src/api/phone.js
index 9dee42c..d91e090 100644
--- a/src/api/phone.js
+++ b/src/api/phone.js
@@ -1,5 +1,6 @@
// 分机管理接口
import request from '@/utils/request'
+import qs from 'qs'
// 分机列表
export function phoneList(params) {
@@ -26,11 +27,27 @@
params
})
}
+// 删除分机
+export function delPhone(id) {
+ return request({
+ url: '/extensionPhone/delete',
+ method: 'post',
+ params: {
+ extensionPhoneId: id
+ }
+ })
+}
// 绑定座席
-export function bindSeats(params) {
+export function bindSeats(phoneid, users) {
return request({
url: '/extensionPhone/bindUsers',
method: 'post',
- params
+ params: {
+ extensionPhoneId: phoneid,
+ users: users
+ },
+ paramsSerializer: params => {
+ return qs.stringify(params, { indices: false })
+ }
})
}
diff --git a/src/layout/components/Sidebar/Item.vue b/src/layout/components/Sidebar/Item.vue
index 5bd4260..0fd4401 100644
--- a/src/layout/components/Sidebar/Item.vue
+++ b/src/layout/components/Sidebar/Item.vue
@@ -30,10 +30,10 @@
},
created() {
// 如果需要提醒
- // if (this.meta.remind) {
- // this.getRealtimeData()
- // this.clock()
- // }
+ if (this.meta && this.meta.remind) {
+ this.getRealtimeData() // 获取实时数量
+ this.clock()
+ }
},
methods: {
clock() {
@@ -45,8 +45,8 @@
getRealtimeData() {
getCount(this.meta.type).then(response => {
if (response.code === 200) {
- response.count = 2
- this.count = response.count
+ // response.count = 2
+ this.count = response.data
}
})
}
diff --git a/src/router/index.js b/src/router/index.js
index bcaea68..ac7440b 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -60,7 +60,7 @@
path: 'dashboard',
name: 'Dashboard',
component: () => import('@/views/dashboard/index'),
- meta: { title: '首页', icon: 'dashboard', noCache: true, affix: true }
+ meta: { title: '首页', icon: 'dashboard', noCache: false, keepAlive: true, affix: true }
}]
}
]
diff --git a/src/utils/request.js b/src/utils/request.js
index 1177be7..517107c 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -13,9 +13,9 @@
service.interceptors.request.use(
config => {
if (store.getters.token) {
- console.log('request.js gettoken')
+ // console.log('request.js gettoken')
config.headers['token'] = getToken() // 让每个请求携带自定义token 请根据实际情况自行修改
- console.log(config.headers['token'])
+ // console.log(config.headers['token'])
}
return config
},
diff --git a/src/views/caseManage/caseCommon/caseRecord.vue b/src/views/caseManage/caseCommon/caseRecord.vue
index 8ed5b0a..2b66bfe 100644
--- a/src/views/caseManage/caseCommon/caseRecord.vue
+++ b/src/views/caseManage/caseCommon/caseRecord.vue
@@ -272,11 +272,6 @@
align: 'center'
},
{
- text: '处理状态',
- value: 'caseStatus',
- align: 'center'
- },
- {
text: '督办内容',
value: 'urgeContent',
align: 'center'
@@ -341,11 +336,6 @@
align: 'center'
},
{
- text: '处理状态',
- value: 'caseStatus',
- align: 'center'
- },
- {
text: '监察内容',
value: 'superviseContent',
align: 'center'
@@ -399,6 +389,8 @@
this.fetchDelayRecords()
this.fetchUrgeRecords()
this.fetchReportRecords()
+ this.fetchSuperviseRecords()
+ this.fetchMonitorecords()
},
methods: {
fetchProcessRecords() {
diff --git a/src/views/caseManage/components/knowledgeDetail.vue b/src/views/caseManage/components/knowledgeDetail.vue
index 89061ee..f0c48db 100644
--- a/src/views/caseManage/components/knowledgeDetail.vue
+++ b/src/views/caseManage/components/knowledgeDetail.vue
@@ -10,8 +10,8 @@
所属类别:{{ knowledge.kTypeName }}
-
发布人:{{ knowledge.kUserName }}
-
发布时间:{{ knowledge.kTime }}
+
发布人:{{ knowledge.publisherName }}
+
发布时间:{{ knowledge.publishTime }}
@@ -31,9 +31,9 @@
knowledge: {
kName: '',
kTypeName: '',
- kUserName: '',
+ publisherName: '',
kInfo: '',
- kTime: ''
+ publishTime: ''
},
dialogShow: false
}
@@ -46,21 +46,18 @@
},
// 请求详情
fetchKnowledge(id) {
- // const params = {
- // kId: id
+ knowledgeDetail(id).then(response => {
+ if (response.code === 200) {
+ this.knowledge = response.data
+ }
+ })
+ // this.knowledge = {
+ // kName: '特困人员救助供养标准是什么?',
+ // kTypeName: '州民政局',
+ // kUserName: '周海瑞',
+ // kInfo: '2019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:6214502',
+ // publishTime: '2019-10-18 15:55:35'
// }
- // knowledgeDetail(params).then(response => {
- // if (response.code === 200) {
- // this.knowledge = response.data
- // }
- // })
- this.knowledge = {
- kName: '特困人员救助供养标准是什么?',
- kTypeName: '州民政局',
- kUserName: '周海瑞',
- kInfo: '2019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:6214502',
- kTime: '2019-10-18 15:55:35'
- }
}
}
}
@@ -77,7 +74,7 @@
}
.k-subtitle{
margin-top: 15px;
- line-height: 17px;
+ line-height: 1.5;
}
.k-content{
text-align: justify;
diff --git a/src/views/caseManage/components/knowledgeSearch.vue b/src/views/caseManage/components/knowledgeSearch.vue
index 3aaffee..8cdd60a 100644
--- a/src/views/caseManage/components/knowledgeSearch.vue
+++ b/src/views/caseManage/components/knowledgeSearch.vue
@@ -2,20 +2,22 @@
-
+
知识查找
-
-
- -
-
-
{{ item.kName }} _知识库_ {{ item.kTypeName }}
- {{ item.kInfo }}
-
-
-
-
+
+
+ -
+
+
{{ item.kName }} _知识库_ {{ item.kTypeName }}
+ {{ item.kInfo }}
+
+
+ - 加载中...
+ - 没有更多了
+
+
@@ -23,34 +25,72 @@
diff --git a/src/views/dashboard/components/waitHandle.vue b/src/views/dashboard/components/waitHandle.vue
index 5ed9318..1348f3e 100644
--- a/src/views/dashboard/components/waitHandle.vue
+++ b/src/views/dashboard/components/waitHandle.vue
@@ -1,5 +1,5 @@
-
+
@@ -22,6 +22,9 @@
created() {
this.fetchData()
},
+ activated() {
+ this.fetchData()
+ },
methods: {
fetchData() {
this.listLoading = true
diff --git a/src/views/dashboard/components/waitMonitor.vue b/src/views/dashboard/components/waitMonitor.vue
new file mode 100644
index 0000000..6184300
--- /dev/null
+++ b/src/views/dashboard/components/waitMonitor.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/components/waitMonitorCheck.vue b/src/views/dashboard/components/waitMonitorCheck.vue
new file mode 100644
index 0000000..42e945c
--- /dev/null
+++ b/src/views/dashboard/components/waitMonitorCheck.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/components/waitSupervise.vue b/src/views/dashboard/components/waitSupervise.vue
new file mode 100644
index 0000000..bdf15fb
--- /dev/null
+++ b/src/views/dashboard/components/waitSupervise.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/components/waitSuperviseCheck.vue b/src/views/dashboard/components/waitSuperviseCheck.vue
new file mode 100644
index 0000000..4590a5a
--- /dev/null
+++ b/src/views/dashboard/components/waitSuperviseCheck.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue
index 237b2b3..173bdcd 100644
--- a/src/views/dashboard/index.vue
+++ b/src/views/dashboard/index.vue
@@ -2,8 +2,20 @@
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -13,10 +25,14 @@
import { mapGetters } from 'vuex'
import WaitHandle from './components/waitHandle'
import { caseRemind } from '@/api/callCase'
+import WaitSupervise from './components/waitSupervise'
+import WaitMonitor from './components/waitMonitor'
+import WaitSuperviseCheck from './components/waitSuperviseCheck'
+import WaitMonitorCheck from './components/waitMonitorCheck'
export default {
name: 'Dashboard',
- components: { WaitHandle },
+ components: { WaitMonitorCheck, WaitSuperviseCheck, WaitMonitor, WaitSupervise, WaitHandle },
computed: {
...mapGetters([
'name',
@@ -31,18 +47,14 @@
mounted() {
this.fetchCaseRemind()
},
+ activated() {
+ console.log('actived')
+ },
methods: {
// 工单提醒
fetchCaseRemind() {
caseRemind().then(response => {
if (response.code === 200) {
- response.data = [{
- 'type': '待办事件',
- 'num': 1
- }, {
- 'type': '待办督办',
- 'num': 1
- }]
if (response.data.length > 0) {
let message = ''
for (const item of response.data) {
@@ -58,7 +70,23 @@
}
}
})
+ },
+ goWaitHandle() {
+ this.$router.push('/waitForHandle')
+ },
+ goWaitSupervise() {
+ this.$router.push('/workSuperviseList')
+ },
+ goWaitSuperviseCheck() {
+ this.$router.push('/checkSuperviseList')
+ },
+ goWaitMonitor() {
+ this.$router.push('/workMonitorList')
+ },
+ goWaitMonitorCheck() {
+ this.$router.push('/checkMonitorList')
}
+
}
}
diff --git a/src/views/knowledgeManage/components/setTimeDialog.vue b/src/views/knowledgeManage/components/setTimeDialog.vue
index f7d4438..c33fa38 100644
--- a/src/views/knowledgeManage/components/setTimeDialog.vue
+++ b/src/views/knowledgeManage/components/setTimeDialog.vue
@@ -3,7 +3,7 @@
-
+
{
+ return qs.stringify(params, { indices: false })
+ }
})
}
diff --git a/src/layout/components/Sidebar/Item.vue b/src/layout/components/Sidebar/Item.vue
index 5bd4260..0fd4401 100644
--- a/src/layout/components/Sidebar/Item.vue
+++ b/src/layout/components/Sidebar/Item.vue
@@ -30,10 +30,10 @@
},
created() {
// 如果需要提醒
- // if (this.meta.remind) {
- // this.getRealtimeData()
- // this.clock()
- // }
+ if (this.meta && this.meta.remind) {
+ this.getRealtimeData() // 获取实时数量
+ this.clock()
+ }
},
methods: {
clock() {
@@ -45,8 +45,8 @@
getRealtimeData() {
getCount(this.meta.type).then(response => {
if (response.code === 200) {
- response.count = 2
- this.count = response.count
+ // response.count = 2
+ this.count = response.data
}
})
}
diff --git a/src/router/index.js b/src/router/index.js
index bcaea68..ac7440b 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -60,7 +60,7 @@
path: 'dashboard',
name: 'Dashboard',
component: () => import('@/views/dashboard/index'),
- meta: { title: '首页', icon: 'dashboard', noCache: true, affix: true }
+ meta: { title: '首页', icon: 'dashboard', noCache: false, keepAlive: true, affix: true }
}]
}
]
diff --git a/src/utils/request.js b/src/utils/request.js
index 1177be7..517107c 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -13,9 +13,9 @@
service.interceptors.request.use(
config => {
if (store.getters.token) {
- console.log('request.js gettoken')
+ // console.log('request.js gettoken')
config.headers['token'] = getToken() // 让每个请求携带自定义token 请根据实际情况自行修改
- console.log(config.headers['token'])
+ // console.log(config.headers['token'])
}
return config
},
diff --git a/src/views/caseManage/caseCommon/caseRecord.vue b/src/views/caseManage/caseCommon/caseRecord.vue
index 8ed5b0a..2b66bfe 100644
--- a/src/views/caseManage/caseCommon/caseRecord.vue
+++ b/src/views/caseManage/caseCommon/caseRecord.vue
@@ -272,11 +272,6 @@
align: 'center'
},
{
- text: '处理状态',
- value: 'caseStatus',
- align: 'center'
- },
- {
text: '督办内容',
value: 'urgeContent',
align: 'center'
@@ -341,11 +336,6 @@
align: 'center'
},
{
- text: '处理状态',
- value: 'caseStatus',
- align: 'center'
- },
- {
text: '监察内容',
value: 'superviseContent',
align: 'center'
@@ -399,6 +389,8 @@
this.fetchDelayRecords()
this.fetchUrgeRecords()
this.fetchReportRecords()
+ this.fetchSuperviseRecords()
+ this.fetchMonitorecords()
},
methods: {
fetchProcessRecords() {
diff --git a/src/views/caseManage/components/knowledgeDetail.vue b/src/views/caseManage/components/knowledgeDetail.vue
index 89061ee..f0c48db 100644
--- a/src/views/caseManage/components/knowledgeDetail.vue
+++ b/src/views/caseManage/components/knowledgeDetail.vue
@@ -10,8 +10,8 @@
所属类别:{{ knowledge.kTypeName }}
-
发布人:{{ knowledge.kUserName }}
-
发布时间:{{ knowledge.kTime }}
+
发布人:{{ knowledge.publisherName }}
+
发布时间:{{ knowledge.publishTime }}
@@ -31,9 +31,9 @@
knowledge: {
kName: '',
kTypeName: '',
- kUserName: '',
+ publisherName: '',
kInfo: '',
- kTime: ''
+ publishTime: ''
},
dialogShow: false
}
@@ -46,21 +46,18 @@
},
// 请求详情
fetchKnowledge(id) {
- // const params = {
- // kId: id
+ knowledgeDetail(id).then(response => {
+ if (response.code === 200) {
+ this.knowledge = response.data
+ }
+ })
+ // this.knowledge = {
+ // kName: '特困人员救助供养标准是什么?',
+ // kTypeName: '州民政局',
+ // kUserName: '周海瑞',
+ // kInfo: '2019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:6214502',
+ // publishTime: '2019-10-18 15:55:35'
// }
- // knowledgeDetail(params).then(response => {
- // if (response.code === 200) {
- // this.knowledge = response.data
- // }
- // })
- this.knowledge = {
- kName: '特困人员救助供养标准是什么?',
- kTypeName: '州民政局',
- kUserName: '周海瑞',
- kInfo: '2019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:6214502',
- kTime: '2019-10-18 15:55:35'
- }
}
}
}
@@ -77,7 +74,7 @@
}
.k-subtitle{
margin-top: 15px;
- line-height: 17px;
+ line-height: 1.5;
}
.k-content{
text-align: justify;
diff --git a/src/views/caseManage/components/knowledgeSearch.vue b/src/views/caseManage/components/knowledgeSearch.vue
index 3aaffee..8cdd60a 100644
--- a/src/views/caseManage/components/knowledgeSearch.vue
+++ b/src/views/caseManage/components/knowledgeSearch.vue
@@ -2,20 +2,22 @@
-
+
知识查找
-
-
- -
-
-
{{ item.kName }} _知识库_ {{ item.kTypeName }}
- {{ item.kInfo }}
-
-
-
-
+
+
+ -
+
+
{{ item.kName }} _知识库_ {{ item.kTypeName }}
+ {{ item.kInfo }}
+
+
+ - 加载中...
+ - 没有更多了
+
+
@@ -23,34 +25,72 @@
diff --git a/src/views/dashboard/components/waitHandle.vue b/src/views/dashboard/components/waitHandle.vue
index 5ed9318..1348f3e 100644
--- a/src/views/dashboard/components/waitHandle.vue
+++ b/src/views/dashboard/components/waitHandle.vue
@@ -1,5 +1,5 @@
-
+
@@ -22,6 +22,9 @@
created() {
this.fetchData()
},
+ activated() {
+ this.fetchData()
+ },
methods: {
fetchData() {
this.listLoading = true
diff --git a/src/views/dashboard/components/waitMonitor.vue b/src/views/dashboard/components/waitMonitor.vue
new file mode 100644
index 0000000..6184300
--- /dev/null
+++ b/src/views/dashboard/components/waitMonitor.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/components/waitMonitorCheck.vue b/src/views/dashboard/components/waitMonitorCheck.vue
new file mode 100644
index 0000000..42e945c
--- /dev/null
+++ b/src/views/dashboard/components/waitMonitorCheck.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/components/waitSupervise.vue b/src/views/dashboard/components/waitSupervise.vue
new file mode 100644
index 0000000..bdf15fb
--- /dev/null
+++ b/src/views/dashboard/components/waitSupervise.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/components/waitSuperviseCheck.vue b/src/views/dashboard/components/waitSuperviseCheck.vue
new file mode 100644
index 0000000..4590a5a
--- /dev/null
+++ b/src/views/dashboard/components/waitSuperviseCheck.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue
index 237b2b3..173bdcd 100644
--- a/src/views/dashboard/index.vue
+++ b/src/views/dashboard/index.vue
@@ -2,8 +2,20 @@
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -13,10 +25,14 @@
import { mapGetters } from 'vuex'
import WaitHandle from './components/waitHandle'
import { caseRemind } from '@/api/callCase'
+import WaitSupervise from './components/waitSupervise'
+import WaitMonitor from './components/waitMonitor'
+import WaitSuperviseCheck from './components/waitSuperviseCheck'
+import WaitMonitorCheck from './components/waitMonitorCheck'
export default {
name: 'Dashboard',
- components: { WaitHandle },
+ components: { WaitMonitorCheck, WaitSuperviseCheck, WaitMonitor, WaitSupervise, WaitHandle },
computed: {
...mapGetters([
'name',
@@ -31,18 +47,14 @@
mounted() {
this.fetchCaseRemind()
},
+ activated() {
+ console.log('actived')
+ },
methods: {
// 工单提醒
fetchCaseRemind() {
caseRemind().then(response => {
if (response.code === 200) {
- response.data = [{
- 'type': '待办事件',
- 'num': 1
- }, {
- 'type': '待办督办',
- 'num': 1
- }]
if (response.data.length > 0) {
let message = ''
for (const item of response.data) {
@@ -58,7 +70,23 @@
}
}
})
+ },
+ goWaitHandle() {
+ this.$router.push('/waitForHandle')
+ },
+ goWaitSupervise() {
+ this.$router.push('/workSuperviseList')
+ },
+ goWaitSuperviseCheck() {
+ this.$router.push('/checkSuperviseList')
+ },
+ goWaitMonitor() {
+ this.$router.push('/workMonitorList')
+ },
+ goWaitMonitorCheck() {
+ this.$router.push('/checkMonitorList')
}
+
}
}
diff --git a/src/views/knowledgeManage/components/setTimeDialog.vue b/src/views/knowledgeManage/components/setTimeDialog.vue
index f7d4438..c33fa38 100644
--- a/src/views/knowledgeManage/components/setTimeDialog.vue
+++ b/src/views/knowledgeManage/components/setTimeDialog.vue
@@ -3,7 +3,7 @@
-
+
{
if (response.code === 200) {
this.$message.success('上架成功')
+ this.fetchData()
}
})
},
@@ -248,6 +249,7 @@
groundingKnowledge('2', list.join(',')).then(response => {
if (response.code === 200) {
this.$message.success('下架成功')
+ this.fetchData()
}
})
})
diff --git a/src/api/callCase.js b/src/api/callCase.js
index 4bbd433..b8eff49 100644
--- a/src/api/callCase.js
+++ b/src/api/callCase.js
@@ -111,7 +111,7 @@
// 获取工单提醒
export function caseRemind(params) {
return request({
- url: 'case/workList',
+ url: '/case/remindAll',
method: 'get',
params
})
@@ -119,7 +119,7 @@
// 获取指定类型工单统计数量
export function getCount(type) {
return request({
- url: 'case/workList',
+ url: '/case/getCount',
method: 'get',
params: {
type: type
diff --git a/src/api/phone.js b/src/api/phone.js
index 9dee42c..d91e090 100644
--- a/src/api/phone.js
+++ b/src/api/phone.js
@@ -1,5 +1,6 @@
// 分机管理接口
import request from '@/utils/request'
+import qs from 'qs'
// 分机列表
export function phoneList(params) {
@@ -26,11 +27,27 @@
params
})
}
+// 删除分机
+export function delPhone(id) {
+ return request({
+ url: '/extensionPhone/delete',
+ method: 'post',
+ params: {
+ extensionPhoneId: id
+ }
+ })
+}
// 绑定座席
-export function bindSeats(params) {
+export function bindSeats(phoneid, users) {
return request({
url: '/extensionPhone/bindUsers',
method: 'post',
- params
+ params: {
+ extensionPhoneId: phoneid,
+ users: users
+ },
+ paramsSerializer: params => {
+ return qs.stringify(params, { indices: false })
+ }
})
}
diff --git a/src/layout/components/Sidebar/Item.vue b/src/layout/components/Sidebar/Item.vue
index 5bd4260..0fd4401 100644
--- a/src/layout/components/Sidebar/Item.vue
+++ b/src/layout/components/Sidebar/Item.vue
@@ -30,10 +30,10 @@
},
created() {
// 如果需要提醒
- // if (this.meta.remind) {
- // this.getRealtimeData()
- // this.clock()
- // }
+ if (this.meta && this.meta.remind) {
+ this.getRealtimeData() // 获取实时数量
+ this.clock()
+ }
},
methods: {
clock() {
@@ -45,8 +45,8 @@
getRealtimeData() {
getCount(this.meta.type).then(response => {
if (response.code === 200) {
- response.count = 2
- this.count = response.count
+ // response.count = 2
+ this.count = response.data
}
})
}
diff --git a/src/router/index.js b/src/router/index.js
index bcaea68..ac7440b 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -60,7 +60,7 @@
path: 'dashboard',
name: 'Dashboard',
component: () => import('@/views/dashboard/index'),
- meta: { title: '首页', icon: 'dashboard', noCache: true, affix: true }
+ meta: { title: '首页', icon: 'dashboard', noCache: false, keepAlive: true, affix: true }
}]
}
]
diff --git a/src/utils/request.js b/src/utils/request.js
index 1177be7..517107c 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -13,9 +13,9 @@
service.interceptors.request.use(
config => {
if (store.getters.token) {
- console.log('request.js gettoken')
+ // console.log('request.js gettoken')
config.headers['token'] = getToken() // 让每个请求携带自定义token 请根据实际情况自行修改
- console.log(config.headers['token'])
+ // console.log(config.headers['token'])
}
return config
},
diff --git a/src/views/caseManage/caseCommon/caseRecord.vue b/src/views/caseManage/caseCommon/caseRecord.vue
index 8ed5b0a..2b66bfe 100644
--- a/src/views/caseManage/caseCommon/caseRecord.vue
+++ b/src/views/caseManage/caseCommon/caseRecord.vue
@@ -272,11 +272,6 @@
align: 'center'
},
{
- text: '处理状态',
- value: 'caseStatus',
- align: 'center'
- },
- {
text: '督办内容',
value: 'urgeContent',
align: 'center'
@@ -341,11 +336,6 @@
align: 'center'
},
{
- text: '处理状态',
- value: 'caseStatus',
- align: 'center'
- },
- {
text: '监察内容',
value: 'superviseContent',
align: 'center'
@@ -399,6 +389,8 @@
this.fetchDelayRecords()
this.fetchUrgeRecords()
this.fetchReportRecords()
+ this.fetchSuperviseRecords()
+ this.fetchMonitorecords()
},
methods: {
fetchProcessRecords() {
diff --git a/src/views/caseManage/components/knowledgeDetail.vue b/src/views/caseManage/components/knowledgeDetail.vue
index 89061ee..f0c48db 100644
--- a/src/views/caseManage/components/knowledgeDetail.vue
+++ b/src/views/caseManage/components/knowledgeDetail.vue
@@ -10,8 +10,8 @@
所属类别:{{ knowledge.kTypeName }}
-
发布人:{{ knowledge.kUserName }}
-
发布时间:{{ knowledge.kTime }}
+
发布人:{{ knowledge.publisherName }}
+
发布时间:{{ knowledge.publishTime }}
@@ -31,9 +31,9 @@
knowledge: {
kName: '',
kTypeName: '',
- kUserName: '',
+ publisherName: '',
kInfo: '',
- kTime: ''
+ publishTime: ''
},
dialogShow: false
}
@@ -46,21 +46,18 @@
},
// 请求详情
fetchKnowledge(id) {
- // const params = {
- // kId: id
+ knowledgeDetail(id).then(response => {
+ if (response.code === 200) {
+ this.knowledge = response.data
+ }
+ })
+ // this.knowledge = {
+ // kName: '特困人员救助供养标准是什么?',
+ // kTypeName: '州民政局',
+ // kUserName: '周海瑞',
+ // kInfo: '2019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:6214502',
+ // publishTime: '2019-10-18 15:55:35'
// }
- // knowledgeDetail(params).then(response => {
- // if (response.code === 200) {
- // this.knowledge = response.data
- // }
- // })
- this.knowledge = {
- kName: '特困人员救助供养标准是什么?',
- kTypeName: '州民政局',
- kUserName: '周海瑞',
- kInfo: '2019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:6214502',
- kTime: '2019-10-18 15:55:35'
- }
}
}
}
@@ -77,7 +74,7 @@
}
.k-subtitle{
margin-top: 15px;
- line-height: 17px;
+ line-height: 1.5;
}
.k-content{
text-align: justify;
diff --git a/src/views/caseManage/components/knowledgeSearch.vue b/src/views/caseManage/components/knowledgeSearch.vue
index 3aaffee..8cdd60a 100644
--- a/src/views/caseManage/components/knowledgeSearch.vue
+++ b/src/views/caseManage/components/knowledgeSearch.vue
@@ -2,20 +2,22 @@
-
+
知识查找
-
-
- -
-
-
{{ item.kName }} _知识库_ {{ item.kTypeName }}
- {{ item.kInfo }}
-
-
-
-
+
+
+ -
+
+
{{ item.kName }} _知识库_ {{ item.kTypeName }}
+ {{ item.kInfo }}
+
+
+ - 加载中...
+ - 没有更多了
+
+
@@ -23,34 +25,72 @@
diff --git a/src/views/dashboard/components/waitHandle.vue b/src/views/dashboard/components/waitHandle.vue
index 5ed9318..1348f3e 100644
--- a/src/views/dashboard/components/waitHandle.vue
+++ b/src/views/dashboard/components/waitHandle.vue
@@ -1,5 +1,5 @@
-
+
@@ -22,6 +22,9 @@
created() {
this.fetchData()
},
+ activated() {
+ this.fetchData()
+ },
methods: {
fetchData() {
this.listLoading = true
diff --git a/src/views/dashboard/components/waitMonitor.vue b/src/views/dashboard/components/waitMonitor.vue
new file mode 100644
index 0000000..6184300
--- /dev/null
+++ b/src/views/dashboard/components/waitMonitor.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/components/waitMonitorCheck.vue b/src/views/dashboard/components/waitMonitorCheck.vue
new file mode 100644
index 0000000..42e945c
--- /dev/null
+++ b/src/views/dashboard/components/waitMonitorCheck.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/components/waitSupervise.vue b/src/views/dashboard/components/waitSupervise.vue
new file mode 100644
index 0000000..bdf15fb
--- /dev/null
+++ b/src/views/dashboard/components/waitSupervise.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/components/waitSuperviseCheck.vue b/src/views/dashboard/components/waitSuperviseCheck.vue
new file mode 100644
index 0000000..4590a5a
--- /dev/null
+++ b/src/views/dashboard/components/waitSuperviseCheck.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue
index 237b2b3..173bdcd 100644
--- a/src/views/dashboard/index.vue
+++ b/src/views/dashboard/index.vue
@@ -2,8 +2,20 @@
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -13,10 +25,14 @@
import { mapGetters } from 'vuex'
import WaitHandle from './components/waitHandle'
import { caseRemind } from '@/api/callCase'
+import WaitSupervise from './components/waitSupervise'
+import WaitMonitor from './components/waitMonitor'
+import WaitSuperviseCheck from './components/waitSuperviseCheck'
+import WaitMonitorCheck from './components/waitMonitorCheck'
export default {
name: 'Dashboard',
- components: { WaitHandle },
+ components: { WaitMonitorCheck, WaitSuperviseCheck, WaitMonitor, WaitSupervise, WaitHandle },
computed: {
...mapGetters([
'name',
@@ -31,18 +47,14 @@
mounted() {
this.fetchCaseRemind()
},
+ activated() {
+ console.log('actived')
+ },
methods: {
// 工单提醒
fetchCaseRemind() {
caseRemind().then(response => {
if (response.code === 200) {
- response.data = [{
- 'type': '待办事件',
- 'num': 1
- }, {
- 'type': '待办督办',
- 'num': 1
- }]
if (response.data.length > 0) {
let message = ''
for (const item of response.data) {
@@ -58,7 +70,23 @@
}
}
})
+ },
+ goWaitHandle() {
+ this.$router.push('/waitForHandle')
+ },
+ goWaitSupervise() {
+ this.$router.push('/workSuperviseList')
+ },
+ goWaitSuperviseCheck() {
+ this.$router.push('/checkSuperviseList')
+ },
+ goWaitMonitor() {
+ this.$router.push('/workMonitorList')
+ },
+ goWaitMonitorCheck() {
+ this.$router.push('/checkMonitorList')
}
+
}
}
diff --git a/src/views/knowledgeManage/components/setTimeDialog.vue b/src/views/knowledgeManage/components/setTimeDialog.vue
index f7d4438..c33fa38 100644
--- a/src/views/knowledgeManage/components/setTimeDialog.vue
+++ b/src/views/knowledgeManage/components/setTimeDialog.vue
@@ -3,7 +3,7 @@
-
+
{
if (response.code === 200) {
this.$message.success('上架成功')
+ this.fetchData()
}
})
},
@@ -248,6 +249,7 @@
groundingKnowledge('2', list.join(',')).then(response => {
if (response.code === 200) {
this.$message.success('下架成功')
+ this.fetchData()
}
})
})
diff --git a/src/views/phoneManage/bindSeats.vue b/src/views/phoneManage/bindSeats.vue
index bffcb93..dad3fa9 100644
--- a/src/views/phoneManage/bindSeats.vue
+++ b/src/views/phoneManage/bindSeats.vue
@@ -59,7 +59,10 @@
this.loading = true
this.extensionPhoneId = row.id
this.extensionPhoneName = row.phonenumber
- const checked = row.seatsIds.split(',')
+ let checked = []
+ if (row.seatsIds) {
+ checked = row.seatsIds.split(',')
+ }
this.defaultChecked = checked
this.dialogFormVisible = dialogFormVisible
this.fetchUserList()
@@ -80,7 +83,7 @@
this.ids = this.$refs.tree.getCheckedKeys()
bindSeats(this.extensionPhoneId, this.ids).then(response => {
if (response.code === 200) {
- this.$message.success('角色分配成功')
+ this.$message.success('坐席绑定成功')
this.dialogFormVisible = false
this.$emit('watchChild')
}
diff --git a/src/api/callCase.js b/src/api/callCase.js
index 4bbd433..b8eff49 100644
--- a/src/api/callCase.js
+++ b/src/api/callCase.js
@@ -111,7 +111,7 @@
// 获取工单提醒
export function caseRemind(params) {
return request({
- url: 'case/workList',
+ url: '/case/remindAll',
method: 'get',
params
})
@@ -119,7 +119,7 @@
// 获取指定类型工单统计数量
export function getCount(type) {
return request({
- url: 'case/workList',
+ url: '/case/getCount',
method: 'get',
params: {
type: type
diff --git a/src/api/phone.js b/src/api/phone.js
index 9dee42c..d91e090 100644
--- a/src/api/phone.js
+++ b/src/api/phone.js
@@ -1,5 +1,6 @@
// 分机管理接口
import request from '@/utils/request'
+import qs from 'qs'
// 分机列表
export function phoneList(params) {
@@ -26,11 +27,27 @@
params
})
}
+// 删除分机
+export function delPhone(id) {
+ return request({
+ url: '/extensionPhone/delete',
+ method: 'post',
+ params: {
+ extensionPhoneId: id
+ }
+ })
+}
// 绑定座席
-export function bindSeats(params) {
+export function bindSeats(phoneid, users) {
return request({
url: '/extensionPhone/bindUsers',
method: 'post',
- params
+ params: {
+ extensionPhoneId: phoneid,
+ users: users
+ },
+ paramsSerializer: params => {
+ return qs.stringify(params, { indices: false })
+ }
})
}
diff --git a/src/layout/components/Sidebar/Item.vue b/src/layout/components/Sidebar/Item.vue
index 5bd4260..0fd4401 100644
--- a/src/layout/components/Sidebar/Item.vue
+++ b/src/layout/components/Sidebar/Item.vue
@@ -30,10 +30,10 @@
},
created() {
// 如果需要提醒
- // if (this.meta.remind) {
- // this.getRealtimeData()
- // this.clock()
- // }
+ if (this.meta && this.meta.remind) {
+ this.getRealtimeData() // 获取实时数量
+ this.clock()
+ }
},
methods: {
clock() {
@@ -45,8 +45,8 @@
getRealtimeData() {
getCount(this.meta.type).then(response => {
if (response.code === 200) {
- response.count = 2
- this.count = response.count
+ // response.count = 2
+ this.count = response.data
}
})
}
diff --git a/src/router/index.js b/src/router/index.js
index bcaea68..ac7440b 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -60,7 +60,7 @@
path: 'dashboard',
name: 'Dashboard',
component: () => import('@/views/dashboard/index'),
- meta: { title: '首页', icon: 'dashboard', noCache: true, affix: true }
+ meta: { title: '首页', icon: 'dashboard', noCache: false, keepAlive: true, affix: true }
}]
}
]
diff --git a/src/utils/request.js b/src/utils/request.js
index 1177be7..517107c 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -13,9 +13,9 @@
service.interceptors.request.use(
config => {
if (store.getters.token) {
- console.log('request.js gettoken')
+ // console.log('request.js gettoken')
config.headers['token'] = getToken() // 让每个请求携带自定义token 请根据实际情况自行修改
- console.log(config.headers['token'])
+ // console.log(config.headers['token'])
}
return config
},
diff --git a/src/views/caseManage/caseCommon/caseRecord.vue b/src/views/caseManage/caseCommon/caseRecord.vue
index 8ed5b0a..2b66bfe 100644
--- a/src/views/caseManage/caseCommon/caseRecord.vue
+++ b/src/views/caseManage/caseCommon/caseRecord.vue
@@ -272,11 +272,6 @@
align: 'center'
},
{
- text: '处理状态',
- value: 'caseStatus',
- align: 'center'
- },
- {
text: '督办内容',
value: 'urgeContent',
align: 'center'
@@ -341,11 +336,6 @@
align: 'center'
},
{
- text: '处理状态',
- value: 'caseStatus',
- align: 'center'
- },
- {
text: '监察内容',
value: 'superviseContent',
align: 'center'
@@ -399,6 +389,8 @@
this.fetchDelayRecords()
this.fetchUrgeRecords()
this.fetchReportRecords()
+ this.fetchSuperviseRecords()
+ this.fetchMonitorecords()
},
methods: {
fetchProcessRecords() {
diff --git a/src/views/caseManage/components/knowledgeDetail.vue b/src/views/caseManage/components/knowledgeDetail.vue
index 89061ee..f0c48db 100644
--- a/src/views/caseManage/components/knowledgeDetail.vue
+++ b/src/views/caseManage/components/knowledgeDetail.vue
@@ -10,8 +10,8 @@
所属类别:{{ knowledge.kTypeName }}
-
发布人:{{ knowledge.kUserName }}
-
发布时间:{{ knowledge.kTime }}
+
发布人:{{ knowledge.publisherName }}
+
发布时间:{{ knowledge.publishTime }}
@@ -31,9 +31,9 @@
knowledge: {
kName: '',
kTypeName: '',
- kUserName: '',
+ publisherName: '',
kInfo: '',
- kTime: ''
+ publishTime: ''
},
dialogShow: false
}
@@ -46,21 +46,18 @@
},
// 请求详情
fetchKnowledge(id) {
- // const params = {
- // kId: id
+ knowledgeDetail(id).then(response => {
+ if (response.code === 200) {
+ this.knowledge = response.data
+ }
+ })
+ // this.knowledge = {
+ // kName: '特困人员救助供养标准是什么?',
+ // kTypeName: '州民政局',
+ // kUserName: '周海瑞',
+ // kInfo: '2019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:6214502',
+ // publishTime: '2019-10-18 15:55:35'
// }
- // knowledgeDetail(params).then(response => {
- // if (response.code === 200) {
- // this.knowledge = response.data
- // }
- // })
- this.knowledge = {
- kName: '特困人员救助供养标准是什么?',
- kTypeName: '州民政局',
- kUserName: '周海瑞',
- kInfo: '2019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:6214502',
- kTime: '2019-10-18 15:55:35'
- }
}
}
}
@@ -77,7 +74,7 @@
}
.k-subtitle{
margin-top: 15px;
- line-height: 17px;
+ line-height: 1.5;
}
.k-content{
text-align: justify;
diff --git a/src/views/caseManage/components/knowledgeSearch.vue b/src/views/caseManage/components/knowledgeSearch.vue
index 3aaffee..8cdd60a 100644
--- a/src/views/caseManage/components/knowledgeSearch.vue
+++ b/src/views/caseManage/components/knowledgeSearch.vue
@@ -2,20 +2,22 @@
-
+
知识查找
-
-
- -
-
-
{{ item.kName }} _知识库_ {{ item.kTypeName }}
- {{ item.kInfo }}
-
-
-
-
+
+
+ -
+
+
{{ item.kName }} _知识库_ {{ item.kTypeName }}
+ {{ item.kInfo }}
+
+
+ - 加载中...
+ - 没有更多了
+
+
@@ -23,34 +25,72 @@
diff --git a/src/views/dashboard/components/waitHandle.vue b/src/views/dashboard/components/waitHandle.vue
index 5ed9318..1348f3e 100644
--- a/src/views/dashboard/components/waitHandle.vue
+++ b/src/views/dashboard/components/waitHandle.vue
@@ -1,5 +1,5 @@
-
+
@@ -22,6 +22,9 @@
created() {
this.fetchData()
},
+ activated() {
+ this.fetchData()
+ },
methods: {
fetchData() {
this.listLoading = true
diff --git a/src/views/dashboard/components/waitMonitor.vue b/src/views/dashboard/components/waitMonitor.vue
new file mode 100644
index 0000000..6184300
--- /dev/null
+++ b/src/views/dashboard/components/waitMonitor.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/components/waitMonitorCheck.vue b/src/views/dashboard/components/waitMonitorCheck.vue
new file mode 100644
index 0000000..42e945c
--- /dev/null
+++ b/src/views/dashboard/components/waitMonitorCheck.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/components/waitSupervise.vue b/src/views/dashboard/components/waitSupervise.vue
new file mode 100644
index 0000000..bdf15fb
--- /dev/null
+++ b/src/views/dashboard/components/waitSupervise.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/components/waitSuperviseCheck.vue b/src/views/dashboard/components/waitSuperviseCheck.vue
new file mode 100644
index 0000000..4590a5a
--- /dev/null
+++ b/src/views/dashboard/components/waitSuperviseCheck.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue
index 237b2b3..173bdcd 100644
--- a/src/views/dashboard/index.vue
+++ b/src/views/dashboard/index.vue
@@ -2,8 +2,20 @@
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -13,10 +25,14 @@
import { mapGetters } from 'vuex'
import WaitHandle from './components/waitHandle'
import { caseRemind } from '@/api/callCase'
+import WaitSupervise from './components/waitSupervise'
+import WaitMonitor from './components/waitMonitor'
+import WaitSuperviseCheck from './components/waitSuperviseCheck'
+import WaitMonitorCheck from './components/waitMonitorCheck'
export default {
name: 'Dashboard',
- components: { WaitHandle },
+ components: { WaitMonitorCheck, WaitSuperviseCheck, WaitMonitor, WaitSupervise, WaitHandle },
computed: {
...mapGetters([
'name',
@@ -31,18 +47,14 @@
mounted() {
this.fetchCaseRemind()
},
+ activated() {
+ console.log('actived')
+ },
methods: {
// 工单提醒
fetchCaseRemind() {
caseRemind().then(response => {
if (response.code === 200) {
- response.data = [{
- 'type': '待办事件',
- 'num': 1
- }, {
- 'type': '待办督办',
- 'num': 1
- }]
if (response.data.length > 0) {
let message = ''
for (const item of response.data) {
@@ -58,7 +70,23 @@
}
}
})
+ },
+ goWaitHandle() {
+ this.$router.push('/waitForHandle')
+ },
+ goWaitSupervise() {
+ this.$router.push('/workSuperviseList')
+ },
+ goWaitSuperviseCheck() {
+ this.$router.push('/checkSuperviseList')
+ },
+ goWaitMonitor() {
+ this.$router.push('/workMonitorList')
+ },
+ goWaitMonitorCheck() {
+ this.$router.push('/checkMonitorList')
}
+
}
}
diff --git a/src/views/knowledgeManage/components/setTimeDialog.vue b/src/views/knowledgeManage/components/setTimeDialog.vue
index f7d4438..c33fa38 100644
--- a/src/views/knowledgeManage/components/setTimeDialog.vue
+++ b/src/views/knowledgeManage/components/setTimeDialog.vue
@@ -3,7 +3,7 @@
-
+
{
if (response.code === 200) {
this.$message.success('上架成功')
+ this.fetchData()
}
})
},
@@ -248,6 +249,7 @@
groundingKnowledge('2', list.join(',')).then(response => {
if (response.code === 200) {
this.$message.success('下架成功')
+ this.fetchData()
}
})
})
diff --git a/src/views/phoneManage/bindSeats.vue b/src/views/phoneManage/bindSeats.vue
index bffcb93..dad3fa9 100644
--- a/src/views/phoneManage/bindSeats.vue
+++ b/src/views/phoneManage/bindSeats.vue
@@ -59,7 +59,10 @@
this.loading = true
this.extensionPhoneId = row.id
this.extensionPhoneName = row.phonenumber
- const checked = row.seatsIds.split(',')
+ let checked = []
+ if (row.seatsIds) {
+ checked = row.seatsIds.split(',')
+ }
this.defaultChecked = checked
this.dialogFormVisible = dialogFormVisible
this.fetchUserList()
@@ -80,7 +83,7 @@
this.ids = this.$refs.tree.getCheckedKeys()
bindSeats(this.extensionPhoneId, this.ids).then(response => {
if (response.code === 200) {
- this.$message.success('角色分配成功')
+ this.$message.success('坐席绑定成功')
this.dialogFormVisible = false
this.$emit('watchChild')
}
diff --git a/src/views/phoneManage/phoneManage.vue b/src/views/phoneManage/phoneManage.vue
index b40222a..57c3ea6 100644
--- a/src/views/phoneManage/phoneManage.vue
+++ b/src/views/phoneManage/phoneManage.vue
@@ -6,7 +6,7 @@
新增
- 删除
+
{
- delPhone(row.secondIndex).then(response => {
+ delPhone(row.id).then(response => {
if (response.code === 200) {
this.$message.success('删除成功')
this.fetchData()
diff --git a/src/api/callCase.js b/src/api/callCase.js
index 4bbd433..b8eff49 100644
--- a/src/api/callCase.js
+++ b/src/api/callCase.js
@@ -111,7 +111,7 @@
// 获取工单提醒
export function caseRemind(params) {
return request({
- url: 'case/workList',
+ url: '/case/remindAll',
method: 'get',
params
})
@@ -119,7 +119,7 @@
// 获取指定类型工单统计数量
export function getCount(type) {
return request({
- url: 'case/workList',
+ url: '/case/getCount',
method: 'get',
params: {
type: type
diff --git a/src/api/phone.js b/src/api/phone.js
index 9dee42c..d91e090 100644
--- a/src/api/phone.js
+++ b/src/api/phone.js
@@ -1,5 +1,6 @@
// 分机管理接口
import request from '@/utils/request'
+import qs from 'qs'
// 分机列表
export function phoneList(params) {
@@ -26,11 +27,27 @@
params
})
}
+// 删除分机
+export function delPhone(id) {
+ return request({
+ url: '/extensionPhone/delete',
+ method: 'post',
+ params: {
+ extensionPhoneId: id
+ }
+ })
+}
// 绑定座席
-export function bindSeats(params) {
+export function bindSeats(phoneid, users) {
return request({
url: '/extensionPhone/bindUsers',
method: 'post',
- params
+ params: {
+ extensionPhoneId: phoneid,
+ users: users
+ },
+ paramsSerializer: params => {
+ return qs.stringify(params, { indices: false })
+ }
})
}
diff --git a/src/layout/components/Sidebar/Item.vue b/src/layout/components/Sidebar/Item.vue
index 5bd4260..0fd4401 100644
--- a/src/layout/components/Sidebar/Item.vue
+++ b/src/layout/components/Sidebar/Item.vue
@@ -30,10 +30,10 @@
},
created() {
// 如果需要提醒
- // if (this.meta.remind) {
- // this.getRealtimeData()
- // this.clock()
- // }
+ if (this.meta && this.meta.remind) {
+ this.getRealtimeData() // 获取实时数量
+ this.clock()
+ }
},
methods: {
clock() {
@@ -45,8 +45,8 @@
getRealtimeData() {
getCount(this.meta.type).then(response => {
if (response.code === 200) {
- response.count = 2
- this.count = response.count
+ // response.count = 2
+ this.count = response.data
}
})
}
diff --git a/src/router/index.js b/src/router/index.js
index bcaea68..ac7440b 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -60,7 +60,7 @@
path: 'dashboard',
name: 'Dashboard',
component: () => import('@/views/dashboard/index'),
- meta: { title: '首页', icon: 'dashboard', noCache: true, affix: true }
+ meta: { title: '首页', icon: 'dashboard', noCache: false, keepAlive: true, affix: true }
}]
}
]
diff --git a/src/utils/request.js b/src/utils/request.js
index 1177be7..517107c 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -13,9 +13,9 @@
service.interceptors.request.use(
config => {
if (store.getters.token) {
- console.log('request.js gettoken')
+ // console.log('request.js gettoken')
config.headers['token'] = getToken() // 让每个请求携带自定义token 请根据实际情况自行修改
- console.log(config.headers['token'])
+ // console.log(config.headers['token'])
}
return config
},
diff --git a/src/views/caseManage/caseCommon/caseRecord.vue b/src/views/caseManage/caseCommon/caseRecord.vue
index 8ed5b0a..2b66bfe 100644
--- a/src/views/caseManage/caseCommon/caseRecord.vue
+++ b/src/views/caseManage/caseCommon/caseRecord.vue
@@ -272,11 +272,6 @@
align: 'center'
},
{
- text: '处理状态',
- value: 'caseStatus',
- align: 'center'
- },
- {
text: '督办内容',
value: 'urgeContent',
align: 'center'
@@ -341,11 +336,6 @@
align: 'center'
},
{
- text: '处理状态',
- value: 'caseStatus',
- align: 'center'
- },
- {
text: '监察内容',
value: 'superviseContent',
align: 'center'
@@ -399,6 +389,8 @@
this.fetchDelayRecords()
this.fetchUrgeRecords()
this.fetchReportRecords()
+ this.fetchSuperviseRecords()
+ this.fetchMonitorecords()
},
methods: {
fetchProcessRecords() {
diff --git a/src/views/caseManage/components/knowledgeDetail.vue b/src/views/caseManage/components/knowledgeDetail.vue
index 89061ee..f0c48db 100644
--- a/src/views/caseManage/components/knowledgeDetail.vue
+++ b/src/views/caseManage/components/knowledgeDetail.vue
@@ -10,8 +10,8 @@
所属类别:{{ knowledge.kTypeName }}
-
发布人:{{ knowledge.kUserName }}
-
发布时间:{{ knowledge.kTime }}
+
发布人:{{ knowledge.publisherName }}
+
发布时间:{{ knowledge.publishTime }}
@@ -31,9 +31,9 @@
knowledge: {
kName: '',
kTypeName: '',
- kUserName: '',
+ publisherName: '',
kInfo: '',
- kTime: ''
+ publishTime: ''
},
dialogShow: false
}
@@ -46,21 +46,18 @@
},
// 请求详情
fetchKnowledge(id) {
- // const params = {
- // kId: id
+ knowledgeDetail(id).then(response => {
+ if (response.code === 200) {
+ this.knowledge = response.data
+ }
+ })
+ // this.knowledge = {
+ // kName: '特困人员救助供养标准是什么?',
+ // kTypeName: '州民政局',
+ // kUserName: '周海瑞',
+ // kInfo: '2019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:6214502',
+ // publishTime: '2019-10-18 15:55:35'
// }
- // knowledgeDetail(params).then(response => {
- // if (response.code === 200) {
- // this.knowledge = response.data
- // }
- // })
- this.knowledge = {
- kName: '特困人员救助供养标准是什么?',
- kTypeName: '州民政局',
- kUserName: '周海瑞',
- kInfo: '2019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:6214502',
- kTime: '2019-10-18 15:55:35'
- }
}
}
}
@@ -77,7 +74,7 @@
}
.k-subtitle{
margin-top: 15px;
- line-height: 17px;
+ line-height: 1.5;
}
.k-content{
text-align: justify;
diff --git a/src/views/caseManage/components/knowledgeSearch.vue b/src/views/caseManage/components/knowledgeSearch.vue
index 3aaffee..8cdd60a 100644
--- a/src/views/caseManage/components/knowledgeSearch.vue
+++ b/src/views/caseManage/components/knowledgeSearch.vue
@@ -2,20 +2,22 @@
-
+
知识查找
-
-
- -
-
-
{{ item.kName }} _知识库_ {{ item.kTypeName }}
- {{ item.kInfo }}
-
-
-
-
+
+
+ -
+
+
{{ item.kName }} _知识库_ {{ item.kTypeName }}
+ {{ item.kInfo }}
+
+
+ - 加载中...
+ - 没有更多了
+
+
@@ -23,34 +25,72 @@
diff --git a/src/views/dashboard/components/waitHandle.vue b/src/views/dashboard/components/waitHandle.vue
index 5ed9318..1348f3e 100644
--- a/src/views/dashboard/components/waitHandle.vue
+++ b/src/views/dashboard/components/waitHandle.vue
@@ -1,5 +1,5 @@
-
+
@@ -22,6 +22,9 @@
created() {
this.fetchData()
},
+ activated() {
+ this.fetchData()
+ },
methods: {
fetchData() {
this.listLoading = true
diff --git a/src/views/dashboard/components/waitMonitor.vue b/src/views/dashboard/components/waitMonitor.vue
new file mode 100644
index 0000000..6184300
--- /dev/null
+++ b/src/views/dashboard/components/waitMonitor.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/components/waitMonitorCheck.vue b/src/views/dashboard/components/waitMonitorCheck.vue
new file mode 100644
index 0000000..42e945c
--- /dev/null
+++ b/src/views/dashboard/components/waitMonitorCheck.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/components/waitSupervise.vue b/src/views/dashboard/components/waitSupervise.vue
new file mode 100644
index 0000000..bdf15fb
--- /dev/null
+++ b/src/views/dashboard/components/waitSupervise.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/components/waitSuperviseCheck.vue b/src/views/dashboard/components/waitSuperviseCheck.vue
new file mode 100644
index 0000000..4590a5a
--- /dev/null
+++ b/src/views/dashboard/components/waitSuperviseCheck.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue
index 237b2b3..173bdcd 100644
--- a/src/views/dashboard/index.vue
+++ b/src/views/dashboard/index.vue
@@ -2,8 +2,20 @@
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -13,10 +25,14 @@
import { mapGetters } from 'vuex'
import WaitHandle from './components/waitHandle'
import { caseRemind } from '@/api/callCase'
+import WaitSupervise from './components/waitSupervise'
+import WaitMonitor from './components/waitMonitor'
+import WaitSuperviseCheck from './components/waitSuperviseCheck'
+import WaitMonitorCheck from './components/waitMonitorCheck'
export default {
name: 'Dashboard',
- components: { WaitHandle },
+ components: { WaitMonitorCheck, WaitSuperviseCheck, WaitMonitor, WaitSupervise, WaitHandle },
computed: {
...mapGetters([
'name',
@@ -31,18 +47,14 @@
mounted() {
this.fetchCaseRemind()
},
+ activated() {
+ console.log('actived')
+ },
methods: {
// 工单提醒
fetchCaseRemind() {
caseRemind().then(response => {
if (response.code === 200) {
- response.data = [{
- 'type': '待办事件',
- 'num': 1
- }, {
- 'type': '待办督办',
- 'num': 1
- }]
if (response.data.length > 0) {
let message = ''
for (const item of response.data) {
@@ -58,7 +70,23 @@
}
}
})
+ },
+ goWaitHandle() {
+ this.$router.push('/waitForHandle')
+ },
+ goWaitSupervise() {
+ this.$router.push('/workSuperviseList')
+ },
+ goWaitSuperviseCheck() {
+ this.$router.push('/checkSuperviseList')
+ },
+ goWaitMonitor() {
+ this.$router.push('/workMonitorList')
+ },
+ goWaitMonitorCheck() {
+ this.$router.push('/checkMonitorList')
}
+
}
}
diff --git a/src/views/knowledgeManage/components/setTimeDialog.vue b/src/views/knowledgeManage/components/setTimeDialog.vue
index f7d4438..c33fa38 100644
--- a/src/views/knowledgeManage/components/setTimeDialog.vue
+++ b/src/views/knowledgeManage/components/setTimeDialog.vue
@@ -3,7 +3,7 @@
-
+
{
if (response.code === 200) {
this.$message.success('上架成功')
+ this.fetchData()
}
})
},
@@ -248,6 +249,7 @@
groundingKnowledge('2', list.join(',')).then(response => {
if (response.code === 200) {
this.$message.success('下架成功')
+ this.fetchData()
}
})
})
diff --git a/src/views/phoneManage/bindSeats.vue b/src/views/phoneManage/bindSeats.vue
index bffcb93..dad3fa9 100644
--- a/src/views/phoneManage/bindSeats.vue
+++ b/src/views/phoneManage/bindSeats.vue
@@ -59,7 +59,10 @@
this.loading = true
this.extensionPhoneId = row.id
this.extensionPhoneName = row.phonenumber
- const checked = row.seatsIds.split(',')
+ let checked = []
+ if (row.seatsIds) {
+ checked = row.seatsIds.split(',')
+ }
this.defaultChecked = checked
this.dialogFormVisible = dialogFormVisible
this.fetchUserList()
@@ -80,7 +83,7 @@
this.ids = this.$refs.tree.getCheckedKeys()
bindSeats(this.extensionPhoneId, this.ids).then(response => {
if (response.code === 200) {
- this.$message.success('角色分配成功')
+ this.$message.success('坐席绑定成功')
this.dialogFormVisible = false
this.$emit('watchChild')
}
diff --git a/src/views/phoneManage/phoneManage.vue b/src/views/phoneManage/phoneManage.vue
index b40222a..57c3ea6 100644
--- a/src/views/phoneManage/phoneManage.vue
+++ b/src/views/phoneManage/phoneManage.vue
@@ -6,7 +6,7 @@
新增
- 删除
+
{
- delPhone(row.secondIndex).then(response => {
+ delPhone(row.id).then(response => {
if (response.code === 200) {
this.$message.success('删除成功')
this.fetchData()
diff --git a/src/views/superviseManage/searchSupervise.vue b/src/views/superviseManage/searchSupervise.vue
index 904e71c..d684781 100644
--- a/src/views/superviseManage/searchSupervise.vue
+++ b/src/views/superviseManage/searchSupervise.vue
@@ -53,7 +53,7 @@
listLoading: true, // 列表加载动画
listQuery: {
urgeContent: '', // 事件标题
- checkStatus:'',
+ checkStatus: '',
startTime: '',
endTime: '',
offset: 1,
diff --git a/src/api/callCase.js b/src/api/callCase.js
index 4bbd433..b8eff49 100644
--- a/src/api/callCase.js
+++ b/src/api/callCase.js
@@ -111,7 +111,7 @@
// 获取工单提醒
export function caseRemind(params) {
return request({
- url: 'case/workList',
+ url: '/case/remindAll',
method: 'get',
params
})
@@ -119,7 +119,7 @@
// 获取指定类型工单统计数量
export function getCount(type) {
return request({
- url: 'case/workList',
+ url: '/case/getCount',
method: 'get',
params: {
type: type
diff --git a/src/api/phone.js b/src/api/phone.js
index 9dee42c..d91e090 100644
--- a/src/api/phone.js
+++ b/src/api/phone.js
@@ -1,5 +1,6 @@
// 分机管理接口
import request from '@/utils/request'
+import qs from 'qs'
// 分机列表
export function phoneList(params) {
@@ -26,11 +27,27 @@
params
})
}
+// 删除分机
+export function delPhone(id) {
+ return request({
+ url: '/extensionPhone/delete',
+ method: 'post',
+ params: {
+ extensionPhoneId: id
+ }
+ })
+}
// 绑定座席
-export function bindSeats(params) {
+export function bindSeats(phoneid, users) {
return request({
url: '/extensionPhone/bindUsers',
method: 'post',
- params
+ params: {
+ extensionPhoneId: phoneid,
+ users: users
+ },
+ paramsSerializer: params => {
+ return qs.stringify(params, { indices: false })
+ }
})
}
diff --git a/src/layout/components/Sidebar/Item.vue b/src/layout/components/Sidebar/Item.vue
index 5bd4260..0fd4401 100644
--- a/src/layout/components/Sidebar/Item.vue
+++ b/src/layout/components/Sidebar/Item.vue
@@ -30,10 +30,10 @@
},
created() {
// 如果需要提醒
- // if (this.meta.remind) {
- // this.getRealtimeData()
- // this.clock()
- // }
+ if (this.meta && this.meta.remind) {
+ this.getRealtimeData() // 获取实时数量
+ this.clock()
+ }
},
methods: {
clock() {
@@ -45,8 +45,8 @@
getRealtimeData() {
getCount(this.meta.type).then(response => {
if (response.code === 200) {
- response.count = 2
- this.count = response.count
+ // response.count = 2
+ this.count = response.data
}
})
}
diff --git a/src/router/index.js b/src/router/index.js
index bcaea68..ac7440b 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -60,7 +60,7 @@
path: 'dashboard',
name: 'Dashboard',
component: () => import('@/views/dashboard/index'),
- meta: { title: '首页', icon: 'dashboard', noCache: true, affix: true }
+ meta: { title: '首页', icon: 'dashboard', noCache: false, keepAlive: true, affix: true }
}]
}
]
diff --git a/src/utils/request.js b/src/utils/request.js
index 1177be7..517107c 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -13,9 +13,9 @@
service.interceptors.request.use(
config => {
if (store.getters.token) {
- console.log('request.js gettoken')
+ // console.log('request.js gettoken')
config.headers['token'] = getToken() // 让每个请求携带自定义token 请根据实际情况自行修改
- console.log(config.headers['token'])
+ // console.log(config.headers['token'])
}
return config
},
diff --git a/src/views/caseManage/caseCommon/caseRecord.vue b/src/views/caseManage/caseCommon/caseRecord.vue
index 8ed5b0a..2b66bfe 100644
--- a/src/views/caseManage/caseCommon/caseRecord.vue
+++ b/src/views/caseManage/caseCommon/caseRecord.vue
@@ -272,11 +272,6 @@
align: 'center'
},
{
- text: '处理状态',
- value: 'caseStatus',
- align: 'center'
- },
- {
text: '督办内容',
value: 'urgeContent',
align: 'center'
@@ -341,11 +336,6 @@
align: 'center'
},
{
- text: '处理状态',
- value: 'caseStatus',
- align: 'center'
- },
- {
text: '监察内容',
value: 'superviseContent',
align: 'center'
@@ -399,6 +389,8 @@
this.fetchDelayRecords()
this.fetchUrgeRecords()
this.fetchReportRecords()
+ this.fetchSuperviseRecords()
+ this.fetchMonitorecords()
},
methods: {
fetchProcessRecords() {
diff --git a/src/views/caseManage/components/knowledgeDetail.vue b/src/views/caseManage/components/knowledgeDetail.vue
index 89061ee..f0c48db 100644
--- a/src/views/caseManage/components/knowledgeDetail.vue
+++ b/src/views/caseManage/components/knowledgeDetail.vue
@@ -10,8 +10,8 @@
所属类别:{{ knowledge.kTypeName }}
-
发布人:{{ knowledge.kUserName }}
-
发布时间:{{ knowledge.kTime }}
+
发布人:{{ knowledge.publisherName }}
+
发布时间:{{ knowledge.publishTime }}
@@ -31,9 +31,9 @@
knowledge: {
kName: '',
kTypeName: '',
- kUserName: '',
+ publisherName: '',
kInfo: '',
- kTime: ''
+ publishTime: ''
},
dialogShow: false
}
@@ -46,21 +46,18 @@
},
// 请求详情
fetchKnowledge(id) {
- // const params = {
- // kId: id
+ knowledgeDetail(id).then(response => {
+ if (response.code === 200) {
+ this.knowledge = response.data
+ }
+ })
+ // this.knowledge = {
+ // kName: '特困人员救助供养标准是什么?',
+ // kTypeName: '州民政局',
+ // kUserName: '周海瑞',
+ // kInfo: '2019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:6214502',
+ // publishTime: '2019-10-18 15:55:35'
// }
- // knowledgeDetail(params).then(response => {
- // if (response.code === 200) {
- // this.knowledge = response.data
- // }
- // })
- this.knowledge = {
- kName: '特困人员救助供养标准是什么?',
- kTypeName: '州民政局',
- kUserName: '周海瑞',
- kInfo: '2019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:6214502',
- kTime: '2019-10-18 15:55:35'
- }
}
}
}
@@ -77,7 +74,7 @@
}
.k-subtitle{
margin-top: 15px;
- line-height: 17px;
+ line-height: 1.5;
}
.k-content{
text-align: justify;
diff --git a/src/views/caseManage/components/knowledgeSearch.vue b/src/views/caseManage/components/knowledgeSearch.vue
index 3aaffee..8cdd60a 100644
--- a/src/views/caseManage/components/knowledgeSearch.vue
+++ b/src/views/caseManage/components/knowledgeSearch.vue
@@ -2,20 +2,22 @@
-
+
知识查找
-
-
- -
-
-
{{ item.kName }} _知识库_ {{ item.kTypeName }}
- {{ item.kInfo }}
-
-
-
-
+
+
+ -
+
+
{{ item.kName }} _知识库_ {{ item.kTypeName }}
+ {{ item.kInfo }}
+
+
+ - 加载中...
+ - 没有更多了
+
+
@@ -23,34 +25,72 @@
diff --git a/src/views/dashboard/components/waitHandle.vue b/src/views/dashboard/components/waitHandle.vue
index 5ed9318..1348f3e 100644
--- a/src/views/dashboard/components/waitHandle.vue
+++ b/src/views/dashboard/components/waitHandle.vue
@@ -1,5 +1,5 @@
-
+
@@ -22,6 +22,9 @@
created() {
this.fetchData()
},
+ activated() {
+ this.fetchData()
+ },
methods: {
fetchData() {
this.listLoading = true
diff --git a/src/views/dashboard/components/waitMonitor.vue b/src/views/dashboard/components/waitMonitor.vue
new file mode 100644
index 0000000..6184300
--- /dev/null
+++ b/src/views/dashboard/components/waitMonitor.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/components/waitMonitorCheck.vue b/src/views/dashboard/components/waitMonitorCheck.vue
new file mode 100644
index 0000000..42e945c
--- /dev/null
+++ b/src/views/dashboard/components/waitMonitorCheck.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/components/waitSupervise.vue b/src/views/dashboard/components/waitSupervise.vue
new file mode 100644
index 0000000..bdf15fb
--- /dev/null
+++ b/src/views/dashboard/components/waitSupervise.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/components/waitSuperviseCheck.vue b/src/views/dashboard/components/waitSuperviseCheck.vue
new file mode 100644
index 0000000..4590a5a
--- /dev/null
+++ b/src/views/dashboard/components/waitSuperviseCheck.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue
index 237b2b3..173bdcd 100644
--- a/src/views/dashboard/index.vue
+++ b/src/views/dashboard/index.vue
@@ -2,8 +2,20 @@
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -13,10 +25,14 @@
import { mapGetters } from 'vuex'
import WaitHandle from './components/waitHandle'
import { caseRemind } from '@/api/callCase'
+import WaitSupervise from './components/waitSupervise'
+import WaitMonitor from './components/waitMonitor'
+import WaitSuperviseCheck from './components/waitSuperviseCheck'
+import WaitMonitorCheck from './components/waitMonitorCheck'
export default {
name: 'Dashboard',
- components: { WaitHandle },
+ components: { WaitMonitorCheck, WaitSuperviseCheck, WaitMonitor, WaitSupervise, WaitHandle },
computed: {
...mapGetters([
'name',
@@ -31,18 +47,14 @@
mounted() {
this.fetchCaseRemind()
},
+ activated() {
+ console.log('actived')
+ },
methods: {
// 工单提醒
fetchCaseRemind() {
caseRemind().then(response => {
if (response.code === 200) {
- response.data = [{
- 'type': '待办事件',
- 'num': 1
- }, {
- 'type': '待办督办',
- 'num': 1
- }]
if (response.data.length > 0) {
let message = ''
for (const item of response.data) {
@@ -58,7 +70,23 @@
}
}
})
+ },
+ goWaitHandle() {
+ this.$router.push('/waitForHandle')
+ },
+ goWaitSupervise() {
+ this.$router.push('/workSuperviseList')
+ },
+ goWaitSuperviseCheck() {
+ this.$router.push('/checkSuperviseList')
+ },
+ goWaitMonitor() {
+ this.$router.push('/workMonitorList')
+ },
+ goWaitMonitorCheck() {
+ this.$router.push('/checkMonitorList')
}
+
}
}
diff --git a/src/views/knowledgeManage/components/setTimeDialog.vue b/src/views/knowledgeManage/components/setTimeDialog.vue
index f7d4438..c33fa38 100644
--- a/src/views/knowledgeManage/components/setTimeDialog.vue
+++ b/src/views/knowledgeManage/components/setTimeDialog.vue
@@ -3,7 +3,7 @@
-
+
{
if (response.code === 200) {
this.$message.success('上架成功')
+ this.fetchData()
}
})
},
@@ -248,6 +249,7 @@
groundingKnowledge('2', list.join(',')).then(response => {
if (response.code === 200) {
this.$message.success('下架成功')
+ this.fetchData()
}
})
})
diff --git a/src/views/phoneManage/bindSeats.vue b/src/views/phoneManage/bindSeats.vue
index bffcb93..dad3fa9 100644
--- a/src/views/phoneManage/bindSeats.vue
+++ b/src/views/phoneManage/bindSeats.vue
@@ -59,7 +59,10 @@
this.loading = true
this.extensionPhoneId = row.id
this.extensionPhoneName = row.phonenumber
- const checked = row.seatsIds.split(',')
+ let checked = []
+ if (row.seatsIds) {
+ checked = row.seatsIds.split(',')
+ }
this.defaultChecked = checked
this.dialogFormVisible = dialogFormVisible
this.fetchUserList()
@@ -80,7 +83,7 @@
this.ids = this.$refs.tree.getCheckedKeys()
bindSeats(this.extensionPhoneId, this.ids).then(response => {
if (response.code === 200) {
- this.$message.success('角色分配成功')
+ this.$message.success('坐席绑定成功')
this.dialogFormVisible = false
this.$emit('watchChild')
}
diff --git a/src/views/phoneManage/phoneManage.vue b/src/views/phoneManage/phoneManage.vue
index b40222a..57c3ea6 100644
--- a/src/views/phoneManage/phoneManage.vue
+++ b/src/views/phoneManage/phoneManage.vue
@@ -6,7 +6,7 @@
新增
- 删除
+
{
- delPhone(row.secondIndex).then(response => {
+ delPhone(row.id).then(response => {
if (response.code === 200) {
this.$message.success('删除成功')
this.fetchData()
diff --git a/src/views/superviseManage/searchSupervise.vue b/src/views/superviseManage/searchSupervise.vue
index 904e71c..d684781 100644
--- a/src/views/superviseManage/searchSupervise.vue
+++ b/src/views/superviseManage/searchSupervise.vue
@@ -53,7 +53,7 @@
listLoading: true, // 列表加载动画
listQuery: {
urgeContent: '', // 事件标题
- checkStatus:'',
+ checkStatus: '',
startTime: '',
endTime: '',
offset: 1,
diff --git a/src/views/superviseManage/waitCheckSupervise.vue b/src/views/superviseManage/waitCheckSupervise.vue
index 3489a6b..ca88e42 100644
--- a/src/views/superviseManage/waitCheckSupervise.vue
+++ b/src/views/superviseManage/waitCheckSupervise.vue
@@ -1,7 +1,7 @@
-
+
diff --git a/src/api/callCase.js b/src/api/callCase.js
index 4bbd433..b8eff49 100644
--- a/src/api/callCase.js
+++ b/src/api/callCase.js
@@ -111,7 +111,7 @@
// 获取工单提醒
export function caseRemind(params) {
return request({
- url: 'case/workList',
+ url: '/case/remindAll',
method: 'get',
params
})
@@ -119,7 +119,7 @@
// 获取指定类型工单统计数量
export function getCount(type) {
return request({
- url: 'case/workList',
+ url: '/case/getCount',
method: 'get',
params: {
type: type
diff --git a/src/api/phone.js b/src/api/phone.js
index 9dee42c..d91e090 100644
--- a/src/api/phone.js
+++ b/src/api/phone.js
@@ -1,5 +1,6 @@
// 分机管理接口
import request from '@/utils/request'
+import qs from 'qs'
// 分机列表
export function phoneList(params) {
@@ -26,11 +27,27 @@
params
})
}
+// 删除分机
+export function delPhone(id) {
+ return request({
+ url: '/extensionPhone/delete',
+ method: 'post',
+ params: {
+ extensionPhoneId: id
+ }
+ })
+}
// 绑定座席
-export function bindSeats(params) {
+export function bindSeats(phoneid, users) {
return request({
url: '/extensionPhone/bindUsers',
method: 'post',
- params
+ params: {
+ extensionPhoneId: phoneid,
+ users: users
+ },
+ paramsSerializer: params => {
+ return qs.stringify(params, { indices: false })
+ }
})
}
diff --git a/src/layout/components/Sidebar/Item.vue b/src/layout/components/Sidebar/Item.vue
index 5bd4260..0fd4401 100644
--- a/src/layout/components/Sidebar/Item.vue
+++ b/src/layout/components/Sidebar/Item.vue
@@ -30,10 +30,10 @@
},
created() {
// 如果需要提醒
- // if (this.meta.remind) {
- // this.getRealtimeData()
- // this.clock()
- // }
+ if (this.meta && this.meta.remind) {
+ this.getRealtimeData() // 获取实时数量
+ this.clock()
+ }
},
methods: {
clock() {
@@ -45,8 +45,8 @@
getRealtimeData() {
getCount(this.meta.type).then(response => {
if (response.code === 200) {
- response.count = 2
- this.count = response.count
+ // response.count = 2
+ this.count = response.data
}
})
}
diff --git a/src/router/index.js b/src/router/index.js
index bcaea68..ac7440b 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -60,7 +60,7 @@
path: 'dashboard',
name: 'Dashboard',
component: () => import('@/views/dashboard/index'),
- meta: { title: '首页', icon: 'dashboard', noCache: true, affix: true }
+ meta: { title: '首页', icon: 'dashboard', noCache: false, keepAlive: true, affix: true }
}]
}
]
diff --git a/src/utils/request.js b/src/utils/request.js
index 1177be7..517107c 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -13,9 +13,9 @@
service.interceptors.request.use(
config => {
if (store.getters.token) {
- console.log('request.js gettoken')
+ // console.log('request.js gettoken')
config.headers['token'] = getToken() // 让每个请求携带自定义token 请根据实际情况自行修改
- console.log(config.headers['token'])
+ // console.log(config.headers['token'])
}
return config
},
diff --git a/src/views/caseManage/caseCommon/caseRecord.vue b/src/views/caseManage/caseCommon/caseRecord.vue
index 8ed5b0a..2b66bfe 100644
--- a/src/views/caseManage/caseCommon/caseRecord.vue
+++ b/src/views/caseManage/caseCommon/caseRecord.vue
@@ -272,11 +272,6 @@
align: 'center'
},
{
- text: '处理状态',
- value: 'caseStatus',
- align: 'center'
- },
- {
text: '督办内容',
value: 'urgeContent',
align: 'center'
@@ -341,11 +336,6 @@
align: 'center'
},
{
- text: '处理状态',
- value: 'caseStatus',
- align: 'center'
- },
- {
text: '监察内容',
value: 'superviseContent',
align: 'center'
@@ -399,6 +389,8 @@
this.fetchDelayRecords()
this.fetchUrgeRecords()
this.fetchReportRecords()
+ this.fetchSuperviseRecords()
+ this.fetchMonitorecords()
},
methods: {
fetchProcessRecords() {
diff --git a/src/views/caseManage/components/knowledgeDetail.vue b/src/views/caseManage/components/knowledgeDetail.vue
index 89061ee..f0c48db 100644
--- a/src/views/caseManage/components/knowledgeDetail.vue
+++ b/src/views/caseManage/components/knowledgeDetail.vue
@@ -10,8 +10,8 @@
所属类别:{{ knowledge.kTypeName }}
-
发布人:{{ knowledge.kUserName }}
-
发布时间:{{ knowledge.kTime }}
+
发布人:{{ knowledge.publisherName }}
+
发布时间:{{ knowledge.publishTime }}
@@ -31,9 +31,9 @@
knowledge: {
kName: '',
kTypeName: '',
- kUserName: '',
+ publisherName: '',
kInfo: '',
- kTime: ''
+ publishTime: ''
},
dialogShow: false
}
@@ -46,21 +46,18 @@
},
// 请求详情
fetchKnowledge(id) {
- // const params = {
- // kId: id
+ knowledgeDetail(id).then(response => {
+ if (response.code === 200) {
+ this.knowledge = response.data
+ }
+ })
+ // this.knowledge = {
+ // kName: '特困人员救助供养标准是什么?',
+ // kTypeName: '州民政局',
+ // kUserName: '周海瑞',
+ // kInfo: '2019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:6214502',
+ // publishTime: '2019-10-18 15:55:35'
// }
- // knowledgeDetail(params).then(response => {
- // if (response.code === 200) {
- // this.knowledge = response.data
- // }
- // })
- this.knowledge = {
- kName: '特困人员救助供养标准是什么?',
- kTypeName: '州民政局',
- kUserName: '周海瑞',
- kInfo: '2019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:62145022019年1月起,城市特困供养基本生活年标准9110元/人,各县8252元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。农村特困供养基本生活年标准5226元/人。照料护理补贴年标准分为自理1200元/人,半失能2400元/人,失能3600元/人。--咨询电话:6214502',
- kTime: '2019-10-18 15:55:35'
- }
}
}
}
@@ -77,7 +74,7 @@
}
.k-subtitle{
margin-top: 15px;
- line-height: 17px;
+ line-height: 1.5;
}
.k-content{
text-align: justify;
diff --git a/src/views/caseManage/components/knowledgeSearch.vue b/src/views/caseManage/components/knowledgeSearch.vue
index 3aaffee..8cdd60a 100644
--- a/src/views/caseManage/components/knowledgeSearch.vue
+++ b/src/views/caseManage/components/knowledgeSearch.vue
@@ -2,20 +2,22 @@
-
+
知识查找
-
-
- -
-
-
{{ item.kName }} _知识库_ {{ item.kTypeName }}
- {{ item.kInfo }}
-
-
-
-
+
+
+ -
+
+
{{ item.kName }} _知识库_ {{ item.kTypeName }}
+ {{ item.kInfo }}
+
+
+ - 加载中...
+ - 没有更多了
+
+
@@ -23,34 +25,72 @@
diff --git a/src/views/dashboard/components/waitHandle.vue b/src/views/dashboard/components/waitHandle.vue
index 5ed9318..1348f3e 100644
--- a/src/views/dashboard/components/waitHandle.vue
+++ b/src/views/dashboard/components/waitHandle.vue
@@ -1,5 +1,5 @@
-
+
@@ -22,6 +22,9 @@
created() {
this.fetchData()
},
+ activated() {
+ this.fetchData()
+ },
methods: {
fetchData() {
this.listLoading = true
diff --git a/src/views/dashboard/components/waitMonitor.vue b/src/views/dashboard/components/waitMonitor.vue
new file mode 100644
index 0000000..6184300
--- /dev/null
+++ b/src/views/dashboard/components/waitMonitor.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/components/waitMonitorCheck.vue b/src/views/dashboard/components/waitMonitorCheck.vue
new file mode 100644
index 0000000..42e945c
--- /dev/null
+++ b/src/views/dashboard/components/waitMonitorCheck.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/components/waitSupervise.vue b/src/views/dashboard/components/waitSupervise.vue
new file mode 100644
index 0000000..bdf15fb
--- /dev/null
+++ b/src/views/dashboard/components/waitSupervise.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/components/waitSuperviseCheck.vue b/src/views/dashboard/components/waitSuperviseCheck.vue
new file mode 100644
index 0000000..4590a5a
--- /dev/null
+++ b/src/views/dashboard/components/waitSuperviseCheck.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue
index 237b2b3..173bdcd 100644
--- a/src/views/dashboard/index.vue
+++ b/src/views/dashboard/index.vue
@@ -2,8 +2,20 @@
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -13,10 +25,14 @@
import { mapGetters } from 'vuex'
import WaitHandle from './components/waitHandle'
import { caseRemind } from '@/api/callCase'
+import WaitSupervise from './components/waitSupervise'
+import WaitMonitor from './components/waitMonitor'
+import WaitSuperviseCheck from './components/waitSuperviseCheck'
+import WaitMonitorCheck from './components/waitMonitorCheck'
export default {
name: 'Dashboard',
- components: { WaitHandle },
+ components: { WaitMonitorCheck, WaitSuperviseCheck, WaitMonitor, WaitSupervise, WaitHandle },
computed: {
...mapGetters([
'name',
@@ -31,18 +47,14 @@
mounted() {
this.fetchCaseRemind()
},
+ activated() {
+ console.log('actived')
+ },
methods: {
// 工单提醒
fetchCaseRemind() {
caseRemind().then(response => {
if (response.code === 200) {
- response.data = [{
- 'type': '待办事件',
- 'num': 1
- }, {
- 'type': '待办督办',
- 'num': 1
- }]
if (response.data.length > 0) {
let message = ''
for (const item of response.data) {
@@ -58,7 +70,23 @@
}
}
})
+ },
+ goWaitHandle() {
+ this.$router.push('/waitForHandle')
+ },
+ goWaitSupervise() {
+ this.$router.push('/workSuperviseList')
+ },
+ goWaitSuperviseCheck() {
+ this.$router.push('/checkSuperviseList')
+ },
+ goWaitMonitor() {
+ this.$router.push('/workMonitorList')
+ },
+ goWaitMonitorCheck() {
+ this.$router.push('/checkMonitorList')
}
+
}
}
diff --git a/src/views/knowledgeManage/components/setTimeDialog.vue b/src/views/knowledgeManage/components/setTimeDialog.vue
index f7d4438..c33fa38 100644
--- a/src/views/knowledgeManage/components/setTimeDialog.vue
+++ b/src/views/knowledgeManage/components/setTimeDialog.vue
@@ -3,7 +3,7 @@
-
+
{
if (response.code === 200) {
this.$message.success('上架成功')
+ this.fetchData()
}
})
},
@@ -248,6 +249,7 @@
groundingKnowledge('2', list.join(',')).then(response => {
if (response.code === 200) {
this.$message.success('下架成功')
+ this.fetchData()
}
})
})
diff --git a/src/views/phoneManage/bindSeats.vue b/src/views/phoneManage/bindSeats.vue
index bffcb93..dad3fa9 100644
--- a/src/views/phoneManage/bindSeats.vue
+++ b/src/views/phoneManage/bindSeats.vue
@@ -59,7 +59,10 @@
this.loading = true
this.extensionPhoneId = row.id
this.extensionPhoneName = row.phonenumber
- const checked = row.seatsIds.split(',')
+ let checked = []
+ if (row.seatsIds) {
+ checked = row.seatsIds.split(',')
+ }
this.defaultChecked = checked
this.dialogFormVisible = dialogFormVisible
this.fetchUserList()
@@ -80,7 +83,7 @@
this.ids = this.$refs.tree.getCheckedKeys()
bindSeats(this.extensionPhoneId, this.ids).then(response => {
if (response.code === 200) {
- this.$message.success('角色分配成功')
+ this.$message.success('坐席绑定成功')
this.dialogFormVisible = false
this.$emit('watchChild')
}
diff --git a/src/views/phoneManage/phoneManage.vue b/src/views/phoneManage/phoneManage.vue
index b40222a..57c3ea6 100644
--- a/src/views/phoneManage/phoneManage.vue
+++ b/src/views/phoneManage/phoneManage.vue
@@ -6,7 +6,7 @@
新增
- 删除
+
{
- delPhone(row.secondIndex).then(response => {
+ delPhone(row.id).then(response => {
if (response.code === 200) {
this.$message.success('删除成功')
this.fetchData()
diff --git a/src/views/superviseManage/searchSupervise.vue b/src/views/superviseManage/searchSupervise.vue
index 904e71c..d684781 100644
--- a/src/views/superviseManage/searchSupervise.vue
+++ b/src/views/superviseManage/searchSupervise.vue
@@ -53,7 +53,7 @@
listLoading: true, // 列表加载动画
listQuery: {
urgeContent: '', // 事件标题
- checkStatus:'',
+ checkStatus: '',
startTime: '',
endTime: '',
offset: 1,
diff --git a/src/views/superviseManage/waitCheckSupervise.vue b/src/views/superviseManage/waitCheckSupervise.vue
index 3489a6b..ca88e42 100644
--- a/src/views/superviseManage/waitCheckSupervise.vue
+++ b/src/views/superviseManage/waitCheckSupervise.vue
@@ -1,7 +1,7 @@
-
+
diff --git a/src/views/superviseManage/waitForSupervise.vue b/src/views/superviseManage/waitForSupervise.vue
index 25a031f..89c6e06 100644
--- a/src/views/superviseManage/waitForSupervise.vue
+++ b/src/views/superviseManage/waitForSupervise.vue
@@ -1,7 +1,7 @@
-
+
@@ -98,11 +98,6 @@
text: '督办状态',
value: 'urgeStatus',
align: 'center'
- },
- {
- text: '督办结果',
- value: 'urgeResult',
- align: 'center'
}
], // 显示列
superviseDialogVisible: false,