From e0241cfd2c24e5cbfa800e1d6b2a505ef0dae36a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=98=AF=E5=B0=8F=E7=8E=8B=E5=91=80=5C24601?=
<819653817@qq.com>
Date: Fri, 9 Aug 2024 19:09:38 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AD=97=E6=AE=B5=E7=9A=84=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/router/index.js | 1 -
src/utils/request.js | 2 +-
src/views/Hotline/index.vue | 14 +++++++------
src/views/HotlineDetail/Card.vue | 19 -----------------
src/views/HotlineDetail/index.vue | 34 +++++++++----------------------
5 files changed, 19 insertions(+), 51 deletions(-)
delete mode 100644 src/views/HotlineDetail/Card.vue
diff --git a/src/router/index.js b/src/router/index.js
index 8d44c77..81749e4 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -29,7 +29,6 @@ function getQueryParams() {
return params
}
router.beforeEach((to, from, next) => {
-
let urlParams = getQueryParams()
if(urlParams.worktoken&&to.path=='/Hotline'){
console.log(store.state.app,"store.state.app.userInfo");
diff --git a/src/utils/request.js b/src/utils/request.js
index 57a7c25..b586ca6 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -52,7 +52,7 @@ service.interceptors.response.use(
let loginCode = [10007, 401, 10001, 10005, 10006]
if (loginCode.includes(res.code)) {
- if (store.state.app.userInfo.isRouterLoading) {
+ if (store.state.app.isRouterLoading) {
return
}else{
localStorage.removeItem('token_work')
diff --git a/src/views/Hotline/index.vue b/src/views/Hotline/index.vue
index 880bff0..f23b41b 100644
--- a/src/views/Hotline/index.vue
+++ b/src/views/Hotline/index.vue
@@ -6,10 +6,13 @@
-
+
+
+ {{ operationTypeType?operationTypeType:'办理状态' }}
+
-
@@ -136,9 +139,8 @@ export default {
console.log(value,"iugui");
this.operationTypeType=value.text
this.operationType=value.value
- // this.value = value;
- this.showpicker2 = false;
- console.log( this.showPicker2,"iugui");
+ this.showpicker2 = false;
+ console.log( this.showPicker2,"iugui");
},
diff --git a/src/views/HotlineDetail/Card.vue b/src/views/HotlineDetail/Card.vue
deleted file mode 100644
index 2cbc85e..0000000
--- a/src/views/HotlineDetail/Card.vue
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
1243
-
-
-
办理状态
-
{{tableData.deptName}}
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/views/HotlineDetail/index.vue b/src/views/HotlineDetail/index.vue
index 39e117d..7b0ab73 100644
--- a/src/views/HotlineDetail/index.vue
+++ b/src/views/HotlineDetail/index.vue
@@ -19,7 +19,7 @@
指派时间
-
{{tableData.createdTime}}
+
{{tableData.latestOperatedTime}}
@@ -125,11 +125,11 @@
联系当事人时限:
-
{{item.categoryAllName}}
+
{{item.contactTime}}
(部门)办结时限:
-
{{item.timeLimit}}
+
{{formatDate1(new Date(item.timeLimit * 1000))}}
@@ -137,7 +137,7 @@
办理
-
+
@@ -149,7 +149,7 @@
上传录音
-
+
选择文件
@@ -159,7 +159,7 @@
-
@@ -218,7 +218,7 @@ import throttle from 'lodash/debounce'
import { icEventList,agencyGridDepttree,process,reply } from '@/api/service'
import { uploadvariedfile } from '@/api/basic'
import { Dialog } from 'vant';
-import Card from './Card.vue';
+
export default {
data() {
return {
@@ -248,7 +248,7 @@ export default {
mobile:"",
status: false,
pageNo: 1,
- pageSize: 20,
+ pageSize: 50,
tableData:{},
afterList:[],
minDate:new Date(),
@@ -471,6 +471,7 @@ export default {
afterRead(file) {
file.status = 'uploading'
file.message = '上传中...'
+ if(file.file.file.file.name.split('.').pop()=='mp3')
uploadvariedfile(file.file)
.then(res => {
file.status = ''
@@ -501,22 +502,7 @@ export default {
file.status = 'failed'
file.message = '上传失败'
})
-
-
},
-
- // beforeRead(file) {
- // // 这里可以做一些文件的预处理,如果需要返回false则会阻止文件上传
- // if (file.type.indexOf('audio') === -1) {
- // this.$toast.fail('请上传音频文件');
- // return false;
- // }
- // return true;
- // },
- // onDelete(file, index) {
- // // 删除文件的处理逻辑
- // this.fileList.splice(index, 1);
- // },
handleConfirm(value) {
console.log(value);
this.returnTime = this.formatDate1(value);
@@ -538,7 +524,7 @@ export default {
}
},
- components: {Card},
+ components: {},
computed: {
statusClass() {
return {