Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
52a28499
authored
2023-08-16 15:36:37 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev'
2 parents
4a2c5e37
9bedf8a2
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
29 additions
and
34 deletions
src/utils/request.js
src/views/registerBook/djbFrame.vue
src/views/workflow/components/qlrCommonTable.vue
src/views/ywbl/slsqxx/fdcq2/slxx.vue
src/views/ywbl/ywsq/components/cfdj.vue
src/utils/request.js
View file @
52a2849
...
...
@@ -2,7 +2,7 @@
/*
* @Description: 此文件主要创建 axios 实例,然后添加请求拦截器和响应拦截器
* @Autor: renchao
* @LastEditTime: 2023-0
7-21 10:30:53
* @LastEditTime: 2023-0
8-16 15:16:49
*/
import
axios
from
'axios'
import
Router
from
'@/router'
...
...
@@ -54,10 +54,10 @@ service.interceptors.response.use(
*/
if
(
response
.
status
==
200
)
{
return
response
.
data
;
}
else
if
(
response
.
status
==
2002
)
{
}
else
if
(
response
.
status
==
2002
)
{
Message
.
error
(
response
.
message
);
}
else
{
handleErrorData
(
response
.
data
);
}
else
{
handleErrorData
(
response
.
status
);
}
return
response
;
},
...
...
@@ -97,26 +97,22 @@ service.interceptors.response.use(
)
//对错误信息的处理函数
function
handleErrorData
(
errMes
)
{
if
(
errMes
.
message
)
{
Message
.
error
(
errMes
.
message
);
}
else
{
switch
(
errMes
.
code
)
{
case
401
:
Message
.
error
(
"未授权,请重新登录!"
);
break
;
case
403
:
Message
.
error
(
"拒绝访问"
);
break
;
case
404
:
Message
.
error
(
"很抱歉,资源未找到!"
);
break
;
case
500
:
Message
.
error
(
"服务器错误!"
);
break
;
default
:
Message
.
error
(
"服务正在联调中,请稍后!"
);
break
;
}
switch
(
errMes
)
{
case
401
:
Message
.
error
(
"未授权,请重新登录!"
);
break
;
case
403
:
Message
.
error
(
"拒绝访问"
);
break
;
case
404
:
Message
.
error
(
"很抱歉,资源未找到!"
);
break
;
case
500
:
Message
.
error
(
"服务器错误!"
);
break
;
default
:
Message
.
error
(
"服务正在联调中,请稍后!"
);
break
;
}
}
export
default
service
...
...
src/views/registerBook/djbFrame.vue
View file @
52a2849
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-1
5 10:57:30
* @LastEditTime: 2023-08-1
6 15:00:12
-->
<
template
>
<div
class=
"content"
>
...
...
@@ -46,7 +46,6 @@
},
methods
:
{
getBdcdyh
(
val
)
{
console
.
log
(
val
,
';222222222222'
);
// this.loadData(val);
},
/**
...
...
@@ -65,6 +64,8 @@
this
.
$refs
.
tree
.
setCurrentKey
(
this
.
defaultNode
.
id
);
//data[0].id为默认选中的节点
this
.
loadComponent
(
this
.
defaultNode
.
form
);
})
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
})
this
.
currentSelectProps
=
{
...
...
@@ -90,7 +91,6 @@
* @author: renchao
*/
loadComponent
(
form
)
{
console
.
log
(
form
,
'form'
);
this
.
componentTag
=
(
r
)
=>
require
.
ensure
([],
()
=>
r
(
require
(
"@/views/registerBook/"
+
form
)))
}
...
...
src/views/workflow/components/qlrCommonTable.vue
View file @
52a2849
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-16 1
4:08:42
* @LastEditTime: 2023-08-16 1
5:33:46
-->
<
template
>
<div>
...
...
@@ -106,10 +106,10 @@
this
.
isDisabled
?
<
el
-
button
icon
=
"el-icon-view"
type
=
"text"
onClick
=
{()
=>
{
this
.
queryViewClick
(
scope
.
$index
,
scope
.
row
)
}}
disabled
=
{
this
.
isDisabled
}
>
查看
<
/el-button> : <el-butto
n
onClick
=
{()
=>
{
this
.
queryViewClick
(
scope
.
$index
,
scope
.
row
)
}}
>
查看
<
/el-button> : <el-butto
n
icon
=
"el-icon-edit-outline"
type
=
"text"
onClick
=
{()
=>
{
this
.
editClick
(
scope
.
$index
,
scope
.
row
)
}}
disabled
=
{
this
.
isDisabled
}
>
编辑
<
/el-button
>
onClick
=
{()
=>
{
this
.
editClick
(
scope
.
$index
,
scope
.
row
)
}}
>
编辑
<
/el-button
>
}
<
/div
>
)
...
...
src/views/ywbl/slsqxx/fdcq2/slxx.vue
View file @
52a2849
<!--
* @Description: 受理信息
* @Autor: renchao
* @LastEditTime: 2023-08-16 1
4:38:36
* @LastEditTime: 2023-08-16 1
5:36:07
-->
<
template
>
<div
class=
"slxx"
>
...
...
@@ -345,7 +345,7 @@
</el-form-item>
</el-col>
</el-row>
<qlrCommonTable
@
upDateQlrxxList=
"upDateQlrxxList"
:tableData=
"ruleForm.qlrList"
:disabled=
"viewEdit"
<qlrCommonTable
@
upDateQlrxxList=
"upDateQlrxxList"
:tableData=
"ruleForm.qlrList"
:disabled=
"
!
viewEdit"
:gyfs=
"ruleForm.qlxx.gyfs"
/>
<div
v-if=
"ruleForm.ywrList && ruleForm.qlxx.djlx == '200'"
>
...
...
src/views/ywbl/ywsq/components/cfdj.vue
View file @
52a2849
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-
02 09:53:35
* @LastEditTime: 2023-08-
16 14:59:46
-->
<
template
>
<div
class=
"from-clues"
>
...
...
@@ -239,7 +239,6 @@
* @author: miaofang
*/
openBook
(
row
)
{
console
.
log
(
"的急急急急急急"
);
var
param
=
{
bdcdyid
:
row
.
bdcdyid
,
qllx
:
row
.
qllx
,
...
...
Please
register
or
sign in
to post a comment