Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常超
founder_vue
Commits
c64a8fcf
Commit
c64a8fcf
authored
Dec 20, 2021
by
张超军
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_zwpt' of
http://47.92.108.28/changchao/founder_vue
into dev_zwpt
parents
e28aded9
75d0adb9
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
157 additions
and
97 deletions
+157
-97
src/utils/LoggerUtil.js
+15
-4
src/utils/UserUtil.js
+11
-11
src/utils/ZzjgUtil.js
+9
-5
src/views/Home.vue
+2
-2
src/views/bzxxgl/BzxxsfOpt.vue
+22
-16
src/views/bzxxgl/bzxxsh.vue
+26
-16
src/views/bzxxgl/fhxxLL.vue
+14
-6
src/views/bzxxgl/fhxxLT.vue
+34
-25
src/views/bzxxgl/fhxxTL.vue
+12
-6
src/views/bzxxgl/fhxxTT.vue
+12
-6
No files found.
src/utils/LoggerUtil.js
View file @
c64a8fcf
...
@@ -82,7 +82,13 @@ const LOGOS = {_LOGO1, _LOGO2, _LOGO3}
...
@@ -82,7 +82,13 @@ const LOGOS = {_LOGO1, _LOGO2, _LOGO3}
export
default
{
export
default
{
json
(
val
)
{
json
(
val
)
{
if
(
!
this
.
isOpenLog
())
return
if
(
!
this
.
isOpenLog
())
return
console
.
log
(
formatJson
(
val
))
console
.
log
(
TOP_LEFT_CORNER
+
DOUBLE_DIVIDER
)
console
.
info
(
formatJson
(
val
))
console
.
log
(
BOTTOM_LEFT_CORNER
+
DOUBLE_DIVIDER
)
},
logo
()
{
Math
.
random
()
*
3
},
},
isOpenLog
()
{
isOpenLog
()
{
...
@@ -92,6 +98,13 @@ export default {
...
@@ -92,6 +98,13 @@ export default {
}
}
const
TOP_LEFT_CORNER
=
'┌'
const
BOTTOM_LEFT_CORNER
=
'└'
const
MIDDLE_CORNER
=
'├'
const
HORIZONTAL_LINE
=
'│'
const
DOUBLE_DIVIDER
=
'────────────────────────────────────────────────────────'
const
SINGLE_DIVIDER
=
'┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄'
var
formatJson
=
function
(
json
,
options
)
{
var
formatJson
=
function
(
json
,
options
)
{
var
reg
=
null
,
var
reg
=
null
,
formatted
=
json
,
formatted
=
json
,
...
@@ -106,7 +119,6 @@ var formatJson = function (json, options) {
...
@@ -106,7 +119,6 @@ var formatJson = function (json, options) {
json
=
JSON
.
parse
(
json
)
json
=
JSON
.
parse
(
json
)
json
=
JSON
.
stringify
(
json
)
json
=
JSON
.
stringify
(
json
)
}
}
console
.
log
(
'json'
,
json
)
reg
=
/
([\{\}])
/g
reg
=
/
([\{\}])
/g
json
=
json
.
replace
(
reg
,
'
\
r
\
n$1
\
r
\
n'
)
json
=
json
.
replace
(
reg
,
'
\
r
\
n$1
\
r
\
n'
)
reg
=
/
([\[\]])
/g
reg
=
/
([\[\]])
/g
...
@@ -130,7 +142,7 @@ var formatJson = function (json, options) {
...
@@ -130,7 +142,7 @@ var formatJson = function (json, options) {
(
json
.
split
(
'
\
r
\
n'
)).
forEach
(
function
(
node
,
index
)
{
(
json
.
split
(
'
\
r
\
n'
)).
forEach
(
function
(
node
,
index
)
{
var
i
=
0
,
var
i
=
0
,
indent
=
0
,
indent
=
0
,
padding
=
''
padding
=
HORIZONTAL_LINE
if
(
node
.
match
(
/
\{
$/
)
||
node
.
match
(
/
\[
$/
))
{
if
(
node
.
match
(
/
\{
$/
)
||
node
.
match
(
/
\[
$/
))
{
indent
=
1
indent
=
1
...
@@ -141,7 +153,6 @@ var formatJson = function (json, options) {
...
@@ -141,7 +153,6 @@ var formatJson = function (json, options) {
}
else
{
}
else
{
indent
=
0
indent
=
0
}
}
for
(
i
=
0
;
i
<
pad
;
i
++
)
{
for
(
i
=
0
;
i
<
pad
;
i
++
)
{
padding
+=
PADDING
padding
+=
PADDING
}
}
...
...
src/utils/UserUtil.js
View file @
c64a8fcf
...
@@ -17,17 +17,17 @@ export default {
...
@@ -17,17 +17,17 @@ export default {
localStorage
.
setItem
(
_USER_INFO_KEY
,
JSON
.
stringify
(
userInfo
))
localStorage
.
setItem
(
_USER_INFO_KEY
,
JSON
.
stringify
(
userInfo
))
},
},
isStRole
()
{
// 是否省厅角色
//
isStRole() {// 是否省厅角色
let
userInfo
=
this
.
getUser
()
//
let userInfo = this.getUser()
// console.log('用户信息:', userInfo)
//
// console.log('用户信息:', userInfo)
let
username
=
userInfo
.
username
//
let username = userInfo.username
// console.log('用户名称:', username)
//
// console.log('用户名称:', username)
if
(
username
===
'123123'
)
{
// 省级 123123,市级 321321
//
if (username === '123123') {// 省级 123123,市级 321321
return
true
//
return true
}
else
{
//
} else {
return
false
//
return false
}
//
}
},
//
},
}
}
...
...
src/utils/ZzjgUtil.js
View file @
c64a8fcf
...
@@ -47,15 +47,15 @@ export default {
...
@@ -47,15 +47,15 @@ export default {
let
parseStr
=
function
(
keyArrs
,
content
)
{
let
parseStr
=
function
(
keyArrs
,
content
)
{
if
(
!
keyArrs
)
{
if
(
!
keyArrs
)
{
PrintLog
(
'解析关键字'
,
'解析关键字为空'
,
_TAG
)
if
(
isOpenLogger
())
PrintLog
(
'解析关键字'
,
'解析关键字为空'
,
_TAG
)
return
[]
return
[]
}
}
if
(
!
content
||
content
===
''
||
content
===
'null'
)
{
if
(
!
content
||
content
===
''
||
content
===
'null'
)
{
PrintLog
(
'解析内容'
,
'解析内容为空'
,
_TAG
)
if
(
isOpenLogger
())
PrintLog
(
'解析内容'
,
'解析内容为空'
,
_TAG
)
return
[]
return
[]
}
}
PrintLog
(
'解析关键字'
,
keyArrs
,
_TAG
)
if
(
isOpenLogger
())
PrintLog
(
'解析关键字'
,
keyArrs
,
_TAG
)
PrintLog
(
'解析内容'
,
content
,
_TAG
)
if
(
isOpenLogger
())
PrintLog
(
'解析内容'
,
content
,
_TAG
)
let
arrs
=
[]
let
arrs
=
[]
let
temp
=
content
let
temp
=
content
...
@@ -79,6 +79,10 @@ let parseStr = function (keyArrs, content) {
...
@@ -79,6 +79,10 @@ let parseStr = function (keyArrs, content) {
if
(
arrs
.
length
===
0
)
{
if
(
arrs
.
length
===
0
)
{
arrs
.
push
(
content
)
arrs
.
push
(
content
)
}
}
PrintLog
(
'解析结果'
,
arrs
,
_TAG
)
if
(
isOpenLogger
())
PrintLog
(
'解析结果'
,
arrs
,
_TAG
)
return
arrs
return
arrs
}
}
let
isOpenLogger
=
function
()
{
return
false
}
src/views/Home.vue
View file @
c64a8fcf
...
@@ -221,7 +221,7 @@ export default {
...
@@ -221,7 +221,7 @@ export default {
routeChangeType
:
'change'
,
routeChangeType
:
'change'
,
// 人像信息
// 人像信息
rxInfoEnlarge
:
{},
rxInfoEnlarge
:
{},
isStRole
:
false
,
//
isStRole: false,
}
}
},
},
mounted
()
{
mounted
()
{
...
@@ -256,7 +256,7 @@ export default {
...
@@ -256,7 +256,7 @@ export default {
self
.
rxInfoEnlarge
=
rxInfoEnlarge
self
.
rxInfoEnlarge
=
rxInfoEnlarge
})
})
this
.
isStRole
=
user
.
isStRole
()
//
this.isStRole = user.isStRole()
},
},
updated
()
{
updated
()
{
this
.
menuActive
=
this
.
$route
.
name
this
.
menuActive
=
this
.
$route
.
name
...
...
src/views/bzxxgl/BzxxsfOpt.vue
View file @
c64a8fcf
...
@@ -49,6 +49,10 @@ export default {
...
@@ -49,6 +49,10 @@ export default {
props
:
{
props
:
{
params
:
{
params
:
{
type
:
Object
type
:
Object
},
isSt
:
{
type
:
Boolean
,
default
:
true
,
}
}
},
},
data
()
{
data
()
{
...
@@ -79,6 +83,7 @@ export default {
...
@@ -79,6 +83,7 @@ export default {
SHYX
:
{
value
:
'05'
,
name
:
'审核有效'
},
SHYX
:
{
value
:
'05'
,
name
:
'审核有效'
},
YSB
:
{
value
:
'06'
,
name
:
'已上报'
},
YSB
:
{
value
:
'06'
,
name
:
'已上报'
},
},
},
parentRuleForm
:
[],
}
}
},
},
created
()
{
created
()
{
...
@@ -89,6 +94,10 @@ export default {
...
@@ -89,6 +94,10 @@ export default {
_that
.
init
()
_that
.
init
()
},
},
methods
:
{
methods
:
{
updateParentRuleForm
(
val
)
{
let
_that
=
this
_that
.
parentRuleForm
=
val
},
getShState
()
{
getShState
()
{
let
_that
=
this
let
_that
=
this
if
(
_that
.
isStRole
&&
_that
.
shInfo
.
shzt
===
'0'
)
{
if
(
_that
.
isStRole
&&
_that
.
shInfo
.
shzt
===
'0'
)
{
...
@@ -113,12 +122,12 @@ export default {
...
@@ -113,12 +122,12 @@ export default {
}
}
}
}
},
},
get
UserName
()
{
// 省级 123123,市级 321321
get
Level
()
{
// 市级 0 省级 1 字段名:level
let
_that
=
this
let
_that
=
this
if
(
_that
.
isStRole
)
{
if
(
_that
.
isStRole
)
{
return
'123123'
return
1
}
else
{
}
else
{
return
'321321'
return
0
}
}
},
},
getSbName
()
{
getSbName
()
{
...
@@ -136,7 +145,8 @@ export default {
...
@@ -136,7 +145,8 @@ export default {
},
},
init
()
{
init
()
{
var
_that
=
this
var
_that
=
this
_that
.
isStRole
=
user
.
isStRole
()
_that
.
isStRole
=
_that
.
isSt
console
.
log
(
'bzxxsfOpt-isSt'
,
_that
.
isSt
)
_that
.
initShItem
()
_that
.
initShItem
()
},
},
/**
/**
...
@@ -225,10 +235,15 @@ export default {
...
@@ -225,10 +235,15 @@ export default {
_path
=
'fhxxLL/'
+
_that
.
shInfo
.
id
_path
=
'fhxxLL/'
+
_that
.
shInfo
.
id
break
break
}
}
console
.
log
(
'ruleForm @@@@@@@@@@@@@@@@@@@@@@@'
,
_that
.
parentRuleForm
)
if
(
_path
)
{
if
(
_path
)
{
let
query
=
{
let
query
=
{
isFromSh
:
'true'
,
isFromSh
:
'true'
,
level
:
_that
.
isStRole
?
1
:
0
,
// 市级 0 省级 1 字段名:level
isSh
:
isSh
,
isSh
:
isSh
,
formData
:
JSON
.
stringify
(
_that
.
parentRuleForm
),
shxx
:
JSON
.
stringify
(
_that
.
shInfo
)
shxx
:
JSON
.
stringify
(
_that
.
shInfo
)
}
}
let
routeUrl
=
_that
.
$router
.
resolve
({
let
routeUrl
=
_that
.
$router
.
resolve
({
...
@@ -339,10 +354,7 @@ export default {
...
@@ -339,10 +354,7 @@ export default {
ruleForm
.
fhzt
=
fhzt
ruleForm
.
fhzt
=
fhzt
ruleForm
.
shzt
=
shzt
ruleForm
.
shzt
=
shzt
ruleForm
.
des
=
desc
ruleForm
.
des
=
desc
ruleForm
.
level
=
_that
.
getLevel
()
let
userInfo
=
JSON
.
parse
(
localStorage
.
getItem
(
'userInfo'
))
let
username
=
userInfo
.
username
ruleForm
.
username
=
username
PrintLog
(
TITLE
+
'请求参数'
,
ruleForm
)
PrintLog
(
TITLE
+
'请求参数'
,
ruleForm
)
...
@@ -368,10 +380,7 @@ export default {
...
@@ -368,10 +380,7 @@ export default {
ruleForm
.
id
=
_that
.
shInfo
.
id
ruleForm
.
id
=
_that
.
shInfo
.
id
ruleForm
.
status
=
zgzt
ruleForm
.
status
=
zgzt
ruleForm
.
des
=
desc
ruleForm
.
des
=
desc
let
userInfo
=
JSON
.
parse
(
localStorage
.
getItem
(
'userInfo'
))
ruleForm
.
level
=
_that
.
getLevel
()
let
username
=
userInfo
.
username
ruleForm
.
username
=
username
// ruleForm.username = _that.getUserName()
PrintLog
(
TITLE
+
'请求参数'
,
ruleForm
)
PrintLog
(
TITLE
+
'请求参数'
,
ruleForm
)
// PrintLog(TITLE + '接口', 'updateJrzg')
// PrintLog(TITLE + '接口', 'updateJrzg')
...
@@ -398,10 +407,7 @@ export default {
...
@@ -398,10 +407,7 @@ export default {
ruleForm
.
querytype
=
_that
.
shInfo
.
querytype
ruleForm
.
querytype
=
_that
.
shInfo
.
querytype
ruleForm
.
ids
=
ids
ruleForm
.
ids
=
ids
ruleForm
.
status
=
'3'
ruleForm
.
status
=
'3'
let
userInfo
=
JSON
.
parse
(
localStorage
.
getItem
(
'userInfo'
))
ruleForm
.
level
=
_that
.
getLevel
()
let
username
=
userInfo
.
username
ruleForm
.
username
=
username
// ruleForm.username = _that.getUserName()
PrintLog
(
TITLE
+
'请求参数'
,
ruleForm
,
_that
.
TAG
)
PrintLog
(
TITLE
+
'请求参数'
,
ruleForm
,
_that
.
TAG
)
// PrintLog(TITLE + '接口', '/api/hit/insertBeach', _that.TAG)
// PrintLog(TITLE + '接口', '/api/hit/insertBeach', _that.TAG)
...
...
src/views/bzxxgl/bzxxsh.vue
View file @
c64a8fcf
...
@@ -281,7 +281,8 @@
...
@@ -281,7 +281,8 @@
<el-table-column
prop=
"prop"
label=
"操作"
:width=
"czWidth"
fixed=
"right"
style=
"background: white"
>
<el-table-column
prop=
"prop"
label=
"操作"
:width=
"czWidth"
fixed=
"right"
style=
"background: white"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<bzxxsf-opt
:ref=
"getShxxOpt(scope.row.id)"
:params=
"scope.row"
@
refresh=
"bzxxsfOptRefresh"
<bzxxsf-opt
:ref=
"getShxxOpt(scope.row.id)"
:params=
"scope.row"
:is-st=
"isStRole"
@
refresh=
"bzxxsfOptRefresh"
@
commitaction=
"openActionDes"
@
commitaction=
"openActionDes"
></bzxxsf-opt>
></bzxxsf-opt>
</
template
>
</
template
>
...
@@ -429,7 +430,7 @@ export default {
...
@@ -429,7 +430,7 @@ export default {
},
},
created
()
{
created
()
{
let
_that
=
this
let
_that
=
this
_that
.
isStRole
=
user
.
isStRole
()
_that
.
isStRole
=
_that
.
isSt
if
(
_that
.
isStRole
)
{
if
(
_that
.
isStRole
)
{
_that
.
sbBtnName
=
'上报公安部'
_that
.
sbBtnName
=
'上报公安部'
}
else
{
}
else
{
...
@@ -439,8 +440,7 @@ export default {
...
@@ -439,8 +440,7 @@ export default {
// _that.initTestData()
// _that.initTestData()
_that
.
getData
()
_that
.
getData
()
console
.
log
(
'isSt'
,
_that
.
isSt
)
console
.
log
(
'bzxxsH-isSt'
,
_that
.
isSt
)
},
},
computed
:
{
computed
:
{
roleArr
()
{
roleArr
()
{
...
@@ -522,12 +522,12 @@ export default {
...
@@ -522,12 +522,12 @@ export default {
}
}
}
}
},
},
get
UserName
()
{
// 省级 123123,市级 321321
get
Level
()
{
// 市级 0 省级 1 字段名:level
let
_that
=
this
let
_that
=
this
if
(
_that
.
isStRole
)
{
if
(
_that
.
isStRole
)
{
return
'123123'
return
1
}
else
{
}
else
{
return
'321321'
return
0
}
}
},
},
getShBtns
()
{
getShBtns
()
{
...
@@ -693,10 +693,7 @@ export default {
...
@@ -693,10 +693,7 @@ export default {
_that
.
ruleForm
.
querytype
=
2
_that
.
ruleForm
.
querytype
=
2
}
}
let
userInfo
=
JSON
.
parse
(
localStorage
.
getItem
(
'userInfo'
))
_that
.
ruleForm
.
level
=
_that
.
getLevel
()
let
username
=
userInfo
.
username
_that
.
ruleForm
.
username
=
username
// _that.ruleForm.username = _that.getUserName()
PrintLog
(
'查询审核列表'
+
'请求参数'
,
JSON
.
stringify
(
_that
.
ruleForm
),
_that
.
TAG
)
PrintLog
(
'查询审核列表'
+
'请求参数'
,
JSON
.
stringify
(
_that
.
ruleForm
),
_that
.
TAG
)
PrintLog
(
'查询审核列表'
+
'接口'
,
'/api/hit/queryAllSh'
,
_that
.
TAG
)
PrintLog
(
'查询审核列表'
+
'接口'
,
'/api/hit/queryAllSh'
,
_that
.
TAG
)
...
@@ -705,7 +702,7 @@ export default {
...
@@ -705,7 +702,7 @@ export default {
.
then
(
res
=>
{
.
then
(
res
=>
{
PrintLog
(
'查询审核列表'
+
'返回结果'
,
res
,
_that
.
TAG
)
PrintLog
(
'查询审核列表'
+
'返回结果'
,
res
,
_that
.
TAG
)
if
(
res
.
data
.
code
===
0
)
{
if
(
res
.
data
.
code
===
0
)
{
logger
.
test
(
res
.
data
.
ret
.
rows
)
logger
.
json
(
res
.
data
)
_that
.
tableDate
=
res
.
data
.
ret
.
rows
_that
.
tableDate
=
res
.
data
.
ret
.
rows
_that
.
total
=
res
.
data
.
ret
.
total
_that
.
total
=
res
.
data
.
ret
.
total
_that
.
totalPage
=
Math
.
ceil
(
_that
.
total
/
_that
.
pageSize
)
_that
.
totalPage
=
Math
.
ceil
(
_that
.
total
/
_that
.
pageSize
)
...
@@ -769,10 +766,10 @@ export default {
...
@@ -769,10 +766,10 @@ export default {
ruleForm
.
querytype
=
_that
.
ruleForm
.
querytype
ruleForm
.
querytype
=
_that
.
ruleForm
.
querytype
ruleForm
.
ids
=
ids
ruleForm
.
ids
=
ids
ruleForm
.
status
=
'3'
ruleForm
.
status
=
'3'
let
userInfo
=
JSON
.
parse
(
localStorage
.
getItem
(
'userInfo'
))
//
let userInfo = JSON.parse(localStorage.getItem('userInfo'))
let
username
=
userInfo
.
username
//
let username = userInfo.username
ruleForm
.
username
=
username
//
ruleForm.username = username
// ruleForm.username = _that.getUserName
()
ruleForm
.
level
=
_that
.
getLevel
()
PrintLog
(
TITLE
+
'请求参数'
,
ruleForm
,
_that
.
TAG
)
PrintLog
(
TITLE
+
'请求参数'
,
ruleForm
,
_that
.
TAG
)
PrintLog
(
TITLE
+
'接口'
,
'/api/hit/insertBeach'
,
_that
.
TAG
)
PrintLog
(
TITLE
+
'接口'
,
'/api/hit/insertBeach'
,
_that
.
TAG
)
...
@@ -817,6 +814,19 @@ export default {
...
@@ -817,6 +814,19 @@ export default {
PrintLog
(
'fztm_ytmh'
,
_that
.
fztm_ytmh
)
PrintLog
(
'fztm_ytmh'
,
_that
.
fztm_ytmh
)
}
}
},
},
watch
:
{
ruleForm
()
{
let
_that
=
this
if
(
this
.
tableDate
&&
_that
.
tableDate
.
length
>
0
)
{
_that
.
tableDate
.
forEach
(
item
=>
{
var
shxxOpt
=
_that
.
getShxxOpt
(
item
.
id
)
if
(
_that
.
$refs
[
shxxOpt
])
{
_that
.
$refs
[
shxxOpt
].
updateParentRuleForm
(
_that
.
ruleForm
)
}
})
}
}
},
}
}
const
initRuleFrom
=
{
const
initRuleFrom
=
{
...
...
src/views/bzxxgl/fhxxLL.vue
View file @
c64a8fcf
...
@@ -261,6 +261,7 @@ export default {
...
@@ -261,6 +261,7 @@ export default {
bzbz
:
''
,
bzbz
:
''
,
},
},
isFromSh
:
false
,
isFromSh
:
false
,
curLevel
:
-
1
,
isSh
:
false
,
isSh
:
false
,
shxx
:
''
,
shxx
:
''
,
// 比中人姓名
// 比中人姓名
...
@@ -297,6 +298,10 @@ export default {
...
@@ -297,6 +298,10 @@ export default {
if
(
this
.
$route
.
query
.
isSh
)
{
if
(
this
.
$route
.
query
.
isSh
)
{
this
.
isSh
=
this
.
$route
.
query
.
isSh
this
.
isSh
=
this
.
$route
.
query
.
isSh
}
}
if
(
this
.
$route
.
query
.
level
)
{
this
.
curLevel
=
this
.
$route
.
query
.
level
}
if
(
this
.
$route
.
query
.
shxx
)
{
if
(
this
.
$route
.
query
.
shxx
)
{
this
.
shxx
=
JSON
.
parse
(
this
.
$route
.
query
.
shxx
)
this
.
shxx
=
JSON
.
parse
(
this
.
$route
.
query
.
shxx
)
}
}
...
@@ -550,11 +555,7 @@ export default {
...
@@ -550,11 +555,7 @@ export default {
ruleForm
.
fhzt
=
fhzt
ruleForm
.
fhzt
=
fhzt
ruleForm
.
shzt
=
shzt
ruleForm
.
shzt
=
shzt
ruleForm
.
des
=
_that
.
fhyj
ruleForm
.
des
=
_that
.
fhyj
ruleForm
.
level
=
_that
.
curLevel
let
userInfo
=
JSON
.
parse
(
localStorage
.
getItem
(
'userInfo'
))
let
username
=
userInfo
.
username
ruleForm
.
username
=
username
PrintLog
(
TITLE
+
'请求参数'
,
ruleForm
)
PrintLog
(
TITLE
+
'请求参数'
,
ruleForm
)
// PrintLog(TITLE + '接口', 'udateShzt')
// PrintLog(TITLE + '接口', 'udateShzt')
...
@@ -562,7 +563,14 @@ export default {
...
@@ -562,7 +563,14 @@ export default {
bzxxSh
(
_that
,
ruleForm
).
then
(
res
=>
{
bzxxSh
(
_that
,
ruleForm
).
then
(
res
=>
{
PrintLog
(
TITLE
+
'返回结果'
,
res
,
_that
.
TAG
)
PrintLog
(
TITLE
+
'返回结果'
,
res
,
_that
.
TAG
)
if
(
res
.
data
.
code
===
0
)
{
if
(
res
.
data
.
code
===
0
)
{
_that
.
$router
.
go
(
-
1
)
//返回上一层
// _that.$router.go(-1)//返回上一层
let
_path
=
_that
.
curLevel
===
'0'
?
'/dsBzxxsh'
:
'/stBzxxsh'
// 市级 0 省级 1 字段名:level
_that
.
$router
.
replace
({
path
:
_path
,
query
:
{
formData
:
_that
.
formData
}
})
}
}
}).
catch
(
err
=>
{
}).
catch
(
err
=>
{
PrintLog
(
TITLE
+
'异常'
,
err
,
_that
.
TAG
)
PrintLog
(
TITLE
+
'异常'
,
err
,
_that
.
TAG
)
...
...
src/views/bzxxgl/fhxxLT.vue
View file @
c64a8fcf
...
@@ -51,7 +51,8 @@
...
@@ -51,7 +51,8 @@
<div
class=
"label-value"
>
{{
allData
.
srcLogicDatabaseName
}}
</div>
<div
class=
"label-value"
>
{{
allData
.
srcLogicDatabaseName
}}
</div>
</div>
</div>
<div
class=
"content-area"
>
<div
class=
"content-area"
>
<el-input
type=
"textarea"
:rows=
"3"
placeholder=
"暂无内容"
v-model=
"allData.jyaq"
disabled
>
<el-input
type=
"textarea"
:rows=
"3"
placeholder=
"暂无内容"
v-model=
"allData.jyaq"
disabled
>
</el-input>
</el-input>
</div>
</div>
</div>
</div>
...
@@ -101,7 +102,8 @@
...
@@ -101,7 +102,8 @@
<div
class=
"label-value"
>
{{
allData
.
hjdzDzmc
}}
</div>
<div
class=
"label-value"
>
{{
allData
.
hjdzDzmc
}}
</div>
</div>
</div>
<div
class=
"content-area2"
>
<div
class=
"content-area2"
>
<el-input
type=
"textarea"
:rows=
"3"
placeholder=
"暂无内容"
v-model=
"allData.personBz"
disabled
>
<el-input
type=
"textarea"
:rows=
"3"
placeholder=
"暂无内容"
v-model=
"allData.personBz"
disabled
>
</el-input>
</el-input>
</div>
</div>
</div>
</div>
...
@@ -202,14 +204,14 @@
...
@@ -202,14 +204,14 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
mapState
}
from
'vuex'
import
{
mapState
}
from
'vuex'
import
ImageEd
from
'@/components/ImageEd.vue'
import
ImageEd
from
'@/components/ImageEd.vue'
import
{
bzxxSh
}
from
'../../netmgr/bzxxgl/bzxxsh'
import
{
bzxxSh
}
from
'../../netmgr/bzxxgl/bzxxsh'
import
PrintLog
from
'../../utils/LogcatUtil'
import
PrintLog
from
'../../utils/LogcatUtil'
export
default
{
export
default
{
name
:
'fhxxLT'
,
name
:
'fhxxLT'
,
data
()
{
data
()
{
return
{
return
{
// 確認解除彈窗
// 確認解除彈窗
isRelieveVisible
:
false
,
isRelieveVisible
:
false
,
...
@@ -250,6 +252,7 @@ export default {
...
@@ -250,6 +252,7 @@ export default {
bzbz
:
''
bzbz
:
''
},
},
isFromSh
:
false
,
isFromSh
:
false
,
curLevel
:
-
1
,
isSh
:
false
,
isSh
:
false
,
shxx
:
''
,
shxx
:
''
,
// 比中人姓名
// 比中人姓名
...
@@ -268,7 +271,7 @@ export default {
...
@@ -268,7 +271,7 @@ export default {
loading_sd
:
(
state
)
=>
state
.
loading
.
loading_sd
,
loading_sd
:
(
state
)
=>
state
.
loading
.
loading_sd
,
}),
}),
},
},
created
()
{
created
()
{
console
.
log
(
this
.
$route
)
console
.
log
(
this
.
$route
)
this
.
id
=
this
.
$route
.
params
.
id
this
.
id
=
this
.
$route
.
params
.
id
// PrintLog('query', this.$route.query)
// PrintLog('query', this.$route.query)
...
@@ -278,12 +281,16 @@ export default {
...
@@ -278,12 +281,16 @@ export default {
if
(
this
.
$route
.
query
.
isSh
)
{
if
(
this
.
$route
.
query
.
isSh
)
{
this
.
isSh
=
this
.
$route
.
query
.
isSh
this
.
isSh
=
this
.
$route
.
query
.
isSh
}
}
if
(
this
.
$route
.
query
.
level
)
{
this
.
curLevel
=
this
.
$route
.
query
.
level
}
if
(
this
.
$route
.
query
.
shxx
)
{
if
(
this
.
$route
.
query
.
shxx
)
{
this
.
shxx
=
JSON
.
parse
(
this
.
$route
.
query
.
shxx
)
this
.
shxx
=
JSON
.
parse
(
this
.
$route
.
query
.
shxx
)
}
}
this
.
getData
()
this
.
getData
()
},
},
mounted
()
{
mounted
()
{
if
(
this
.
$route
.
query
.
formData
)
{
if
(
this
.
$route
.
query
.
formData
)
{
this
.
formData
=
this
.
$route
.
query
.
formData
this
.
formData
=
this
.
$route
.
query
.
formData
}
}
...
@@ -292,7 +299,7 @@ export default {
...
@@ -292,7 +299,7 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
getShOrFhName
()
{
getShOrFhName
()
{
let
_that
=
this
let
_that
=
this
if
(
_that
.
isFromSh
===
'true'
)
{
if
(
_that
.
isFromSh
===
'true'
)
{
return
_that
.
isSh
===
'true'
?
'审核'
:
'复核'
return
_that
.
isSh
===
'true'
?
'审核'
:
'复核'
...
@@ -303,9 +310,9 @@ export default {
...
@@ -303,9 +310,9 @@ export default {
/**
/**
* 获取指纹(人员)图片
* 获取指纹(人员)图片
*/
*/
getPersonPic
()
{
getPersonPic
()
{
let
self
=
this
let
self
=
this
console
.
log
(
self
.
allData
.
bzxxZwXh
)
;
console
.
log
(
self
.
allData
.
bzxxZwXh
)
if
(
self
.
allData
.
bzxxZwXh
)
{
if
(
self
.
allData
.
bzxxZwXh
)
{
if
(
self
.
allData
.
bzxxZwXh
>
30
)
{
if
(
self
.
allData
.
bzxxZwXh
>
30
)
{
// 掌纹
// 掌纹
...
@@ -363,7 +370,7 @@ export default {
...
@@ -363,7 +370,7 @@ export default {
/**
/**
* 获取指纹(案件)图片
* 获取指纹(案件)图片
*/
*/
getLftPic
()
{
getLftPic
()
{
let
self
=
this
let
self
=
this
if
(
this
.
allData
.
bzxxXh
)
{
if
(
this
.
allData
.
bzxxXh
)
{
this
.
$axios
({
this
.
$axios
({
...
@@ -388,7 +395,7 @@ export default {
...
@@ -388,7 +395,7 @@ export default {
/**
/**
* 確認解除比中关系
* 確認解除比中关系
*/
*/
confirmRelieveChange
()
{
confirmRelieveChange
()
{
let
self
=
this
let
self
=
this
this
.
$axios
({
this
.
$axios
({
method
:
'post'
,
method
:
'post'
,
...
@@ -422,11 +429,11 @@ export default {
...
@@ -422,11 +429,11 @@ export default {
/**
/**
* 解除比中关系
* 解除比中关系
*/
*/
relieveChange
()
{
relieveChange
()
{
this
.
isRelieveVisible
=
true
this
.
isRelieveVisible
=
true
},
},
gotoProgress
(
isPass
)
{
// 进入处理逻辑
gotoProgress
(
isPass
)
{
// 进入处理逻辑
let
_that
=
this
let
_that
=
this
if
(
!
isPass
&&
!
_that
.
fhyj
)
{
if
(
!
isPass
&&
!
_that
.
fhyj
)
{
this
.
$message
.
error
(
'请填写不通过意见!'
)
this
.
$message
.
error
(
'请填写不通过意见!'
)
...
@@ -461,7 +468,7 @@ export default {
...
@@ -461,7 +468,7 @@ export default {
/**
/**
* 未通过
* 未通过
*/
*/
noPassChange
()
{
noPassChange
()
{
let
self
=
this
let
self
=
this
if
(
self
.
isFromSh
===
'true'
)
{
if
(
self
.
isFromSh
===
'true'
)
{
self
.
doSh
(
false
)
self
.
doSh
(
false
)
...
@@ -500,7 +507,7 @@ export default {
...
@@ -500,7 +507,7 @@ export default {
/**
/**
* 通过
* 通过
*/
*/
passChange
()
{
passChange
()
{
let
self
=
this
let
self
=
this
if
(
self
.
isFromSh
===
'true'
)
{
if
(
self
.
isFromSh
===
'true'
)
{
self
.
doSh
(
true
)
self
.
doSh
(
true
)
...
@@ -539,7 +546,7 @@ export default {
...
@@ -539,7 +546,7 @@ export default {
/**
/**
* 获取右侧详情
* 获取右侧详情
*/
*/
getData
()
{
getData
()
{
let
self
=
this
let
self
=
this
this
.
$axios
({
this
.
$axios
({
method
:
'post'
,
method
:
'post'
,
...
@@ -571,7 +578,7 @@ export default {
...
@@ -571,7 +578,7 @@ export default {
})
})
},
},
doSh
(
isPass
)
{
doSh
(
isPass
)
{
let
TITLE
=
'审核'
let
TITLE
=
'审核'
let
_that
=
this
let
_that
=
this
var
ruleForm
=
{}
var
ruleForm
=
{}
...
@@ -590,18 +597,20 @@ export default {
...
@@ -590,18 +597,20 @@ export default {
ruleForm
.
fhzt
=
fhzt
ruleForm
.
fhzt
=
fhzt
ruleForm
.
shzt
=
shzt
ruleForm
.
shzt
=
shzt
ruleForm
.
des
=
_that
.
fhyj
ruleForm
.
des
=
_that
.
fhyj
ruleForm
.
level
=
_that
.
curLevel
let
userInfo
=
JSON
.
parse
(
localStorage
.
getItem
(
'userInfo'
))
let
username
=
userInfo
.
username
ruleForm
.
username
=
username
PrintLog
(
TITLE
+
'请求参数'
,
ruleForm
)
PrintLog
(
TITLE
+
'请求参数'
,
ruleForm
)
// PrintLog(TITLE + '接口', 'udateShzt')
// PrintLog(TITLE + '接口', 'udateShzt')
bzxxSh
(
_that
,
ruleForm
).
then
(
res
=>
{
bzxxSh
(
_that
,
ruleForm
).
then
(
res
=>
{
PrintLog
(
TITLE
+
'返回结果'
,
res
,
_that
.
TAG
)
PrintLog
(
TITLE
+
'返回结果'
,
res
,
_that
.
TAG
)
if
(
res
.
data
.
code
===
0
)
{
if
(
res
.
data
.
code
===
0
)
{
_that
.
$router
.
go
(
-
1
)
//返回上一层
let
_path
=
_that
.
curLevel
===
'0'
?
'/dsBzxxsh'
:
'/stBzxxsh'
// 市级 0 省级 1 字段名:level
_that
.
$router
.
replace
({
path
:
_path
,
query
:
{
formData
:
_that
.
formData
}
})
}
}
}).
catch
(
err
=>
{
}).
catch
(
err
=>
{
PrintLog
(
TITLE
+
'异常'
,
err
,
_that
.
TAG
)
PrintLog
(
TITLE
+
'异常'
,
err
,
_that
.
TAG
)
...
@@ -609,7 +618,7 @@ export default {
...
@@ -609,7 +618,7 @@ export default {
})
})
},
},
},
},
destroyed
()
{
destroyed
()
{
this
.
$bus
.
off
(
'formDataLT_back'
)
this
.
$bus
.
off
(
'formDataLT_back'
)
},
},
}
}
...
...
src/views/bzxxgl/fhxxTL.vue
View file @
c64a8fcf
...
@@ -271,6 +271,7 @@ export default {
...
@@ -271,6 +271,7 @@ export default {
bzbz
:
''
bzbz
:
''
},
},
isFromSh
:
false
,
isFromSh
:
false
,
curLevel
:
-
1
,
isSh
:
false
,
isSh
:
false
,
shxx
:
''
,
shxx
:
''
,
// 比中人姓名
// 比中人姓名
...
@@ -307,6 +308,9 @@ export default {
...
@@ -307,6 +308,9 @@ export default {
if
(
this
.
$route
.
query
.
isSh
)
{
if
(
this
.
$route
.
query
.
isSh
)
{
this
.
isSh
=
this
.
$route
.
query
.
isSh
this
.
isSh
=
this
.
$route
.
query
.
isSh
}
}
if
(
this
.
$route
.
query
.
level
)
{
this
.
curLevel
=
this
.
$route
.
query
.
level
}
if
(
this
.
$route
.
query
.
shxx
)
{
if
(
this
.
$route
.
query
.
shxx
)
{
this
.
shxx
=
JSON
.
parse
(
this
.
$route
.
query
.
shxx
)
this
.
shxx
=
JSON
.
parse
(
this
.
$route
.
query
.
shxx
)
}
}
...
@@ -603,11 +607,7 @@ export default {
...
@@ -603,11 +607,7 @@ export default {
ruleForm
.
fhzt
=
fhzt
ruleForm
.
fhzt
=
fhzt
ruleForm
.
shzt
=
shzt
ruleForm
.
shzt
=
shzt
ruleForm
.
des
=
_that
.
fhyj
ruleForm
.
des
=
_that
.
fhyj
ruleForm
.
level
=
_that
.
curLevel
let
userInfo
=
JSON
.
parse
(
localStorage
.
getItem
(
'userInfo'
))
let
username
=
userInfo
.
username
ruleForm
.
username
=
username
PrintLog
(
TITLE
+
'请求参数'
,
ruleForm
)
PrintLog
(
TITLE
+
'请求参数'
,
ruleForm
)
// PrintLog(TITLE + '接口', 'udateShzt')
// PrintLog(TITLE + '接口', 'udateShzt')
...
@@ -615,7 +615,13 @@ export default {
...
@@ -615,7 +615,13 @@ export default {
bzxxSh
(
_that
,
ruleForm
).
then
(
res
=>
{
bzxxSh
(
_that
,
ruleForm
).
then
(
res
=>
{
PrintLog
(
TITLE
+
'返回结果'
,
res
,
_that
.
TAG
)
PrintLog
(
TITLE
+
'返回结果'
,
res
,
_that
.
TAG
)
if
(
res
.
data
.
code
===
0
)
{
if
(
res
.
data
.
code
===
0
)
{
_that
.
$router
.
go
(
-
1
)
//返回上一层
let
_path
=
_that
.
curLevel
===
'0'
?
'/dsBzxxsh'
:
'/stBzxxsh'
// 市级 0 省级 1 字段名:level
_that
.
$router
.
replace
({
path
:
_path
,
query
:
{
formData
:
_that
.
formData
}
})
}
}
}).
catch
(
err
=>
{
}).
catch
(
err
=>
{
PrintLog
(
TITLE
+
'异常'
,
err
,
_that
.
TAG
)
PrintLog
(
TITLE
+
'异常'
,
err
,
_that
.
TAG
)
...
...
src/views/bzxxgl/fhxxTT.vue
View file @
c64a8fcf
...
@@ -883,6 +883,7 @@ export default {
...
@@ -883,6 +883,7 @@ export default {
nysj
:
''
,
nysj
:
''
,
},
},
isFromSh
:
false
,
isFromSh
:
false
,
curLevel
:
-
1
,
isSh
:
false
,
isSh
:
false
,
shxx
:
''
,
shxx
:
''
,
// 比中人姓名
// 比中人姓名
...
@@ -925,6 +926,9 @@ export default {
...
@@ -925,6 +926,9 @@ export default {
if
(
this
.
$route
.
query
.
isSh
)
{
if
(
this
.
$route
.
query
.
isSh
)
{
this
.
isSh
=
this
.
$route
.
query
.
isSh
this
.
isSh
=
this
.
$route
.
query
.
isSh
}
}
if
(
this
.
$route
.
query
.
level
)
{
this
.
curLevel
=
this
.
$route
.
query
.
level
}
if
(
this
.
$route
.
query
.
shxx
)
{
if
(
this
.
$route
.
query
.
shxx
)
{
this
.
shxx
=
JSON
.
parse
(
this
.
$route
.
query
.
shxx
)
this
.
shxx
=
JSON
.
parse
(
this
.
$route
.
query
.
shxx
)
}
}
...
@@ -1201,11 +1205,7 @@ export default {
...
@@ -1201,11 +1205,7 @@ export default {
ruleForm
.
fhzt
=
fhzt
ruleForm
.
fhzt
=
fhzt
ruleForm
.
shzt
=
shzt
ruleForm
.
shzt
=
shzt
ruleForm
.
des
=
_that
.
fhyj
ruleForm
.
des
=
_that
.
fhyj
ruleForm
.
level
=
_that
.
curLevel
let
userInfo
=
JSON
.
parse
(
localStorage
.
getItem
(
'userInfo'
))
let
username
=
userInfo
.
username
ruleForm
.
username
=
username
PrintLog
(
TITLE
+
'请求参数'
,
ruleForm
)
PrintLog
(
TITLE
+
'请求参数'
,
ruleForm
)
// PrintLog(TITLE + '接口', 'udateShzt')
// PrintLog(TITLE + '接口', 'udateShzt')
...
@@ -1213,7 +1213,13 @@ export default {
...
@@ -1213,7 +1213,13 @@ export default {
bzxxSh
(
_that
,
ruleForm
).
then
(
res
=>
{
bzxxSh
(
_that
,
ruleForm
).
then
(
res
=>
{
PrintLog
(
TITLE
+
'返回结果'
,
res
,
_that
.
TAG
)
PrintLog
(
TITLE
+
'返回结果'
,
res
,
_that
.
TAG
)
if
(
res
.
data
.
code
===
0
)
{
if
(
res
.
data
.
code
===
0
)
{
_that
.
$router
.
go
(
-
1
)
//返回上一层
let
_path
=
_that
.
curLevel
===
'0'
?
'/dsBzxxsh'
:
'/stBzxxsh'
// 市级 0 省级 1 字段名:level
_that
.
$router
.
replace
({
path
:
_path
,
query
:
{
formData
:
_that
.
formData
}
})
}
}
}).
catch
(
err
=>
{
}).
catch
(
err
=>
{
PrintLog
(
TITLE
+
'异常'
,
err
,
_that
.
TAG
)
PrintLog
(
TITLE
+
'异常'
,
err
,
_that
.
TAG
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment