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
d9e0dc4a
Commit
d9e0dc4a
authored
Dec 22, 2021
by
li_hongchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码清理
parent
30d94908
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
2 additions
and
101 deletions
+2
-101
src/utils/ZzjgUtil.js
+0
-4
src/views/bzxxgl/BzxxsfOpt.vue
+1
-53
src/views/bzxxgl/bzxxsh.vue
+0
-40
src/views/bzxxgl/fhxxLL.vue
+0
-1
src/views/bzxxgl/fhxxLT.vue
+0
-1
src/views/bzxxgl/fhxxTL.vue
+0
-1
src/views/bzxxgl/fhxxTT.vue
+1
-1
No files found.
src/utils/ZzjgUtil.js
View file @
d9e0dc4a
...
...
@@ -18,7 +18,6 @@ export default {
return
content
}
let
result
=
this
.
lastZzjg
(
content
,
defult
)
// PrintLog('last(content, defult)', result, _TAG)
return
result
},
lastZzjg
(
content
,
defult
=
'...'
)
{
...
...
@@ -27,19 +26,16 @@ export default {
if
(
arrs
&&
arrs
.
length
>
0
)
{
result
=
defult
+
arrs
[
arrs
.
length
-
1
]
}
// PrintLog('lastZzjg(content, defult)', result, _TAG)
return
result
},
parseAll
(
keyArr
,
content
)
{
let
result
=
parseStr
(
keyArr
,
content
)
// PrintLog('parseAll(keyArr, content)', result, _TAG)
return
result
},
parseZzjg
(
content
)
{
let
result
=
parseStr
(
_DEFAULT_KEYS
,
content
)
// PrintLog('parseZzjg(content)', result, _TAG)
return
result
},
}
...
...
src/views/bzxxgl/BzxxsfOpt.vue
View file @
d9e0dc4a
...
...
@@ -210,7 +210,7 @@ export default {
break
}
}
// PrintLog
('操作选项初始化', _that.curOpt)
// logger.info
('操作选项初始化', _that.curOpt)
},
/**
...
...
@@ -309,7 +309,6 @@ export default {
}
},
goNextAction
(
type
,
desc
)
{
// PrintLog('goNextAction-type', type)
let
_that
=
this
switch
(
type
.
name
)
{
case
_that
.
CHEXSH
.
name
:
...
...
@@ -352,8 +351,6 @@ export default {
ruleForm
.
des
=
desc
ruleForm
.
level
=
_that
.
getLevel
()
// PrintLog(TITLE + '请求参数', ruleForm)
NetUtil
.
bzxxsh
.
sh
(
ruleForm
)
.
then
(
res
=>
{
...
...
@@ -362,20 +359,6 @@ export default {
_that
.
initShItem
()
}
})
// bzxxSh(_that, ruleForm).then(res => {
// PrintLog(TITLE + '返回结果', res, _that.TAG)
// if (res.data.code === 0) {
// _that.$emit('refresh', _that.shInfo)
// _that.initShItem()
// } else {
//
// }
// }).catch(err => {
// PrintLog(TITLE + '异常', err, _that.TAG)
// _that.$message.error('异常' + err)
// })
},
doZg
(
zgzt
,
desc
=
''
)
{
...
...
@@ -388,32 +371,14 @@ export default {
ruleForm
.
des
=
desc
ruleForm
.
level
=
_that
.
getLevel
()
// PrintLog(TITLE + '请求参数', ruleForm)
// PrintLog(TITLE + '接口', 'updateJrzg')
NetUtil
.
bzxxsh
.
updateJrzg
(
ruleForm
)
.
then
(
res
=>
{
// PrintLog(TITLE + '返回结果', res, _that.TAG)
if
(
res
.
code
===
0
)
{
_that
.
$emit
(
'refresh'
,
_that
.
shInfo
)
_that
.
initShItem
()
}
})
// bzxxZg(_that, ruleForm).then(res => {
// PrintLog(TITLE + '返回结果', res, _that.TAG)
// if (res.data.code === 0) {
// _that.$emit('refresh', _that.shInfo)
// _that.initShItem()
// } else {
//
// }
// }).catch(err => {
// PrintLog(TITLE + '异常', err, _that.TAG)
// })
},
doPlSb
()
{
...
...
@@ -427,31 +392,14 @@ export default {
ruleForm
.
status
=
'3'
ruleForm
.
level
=
_that
.
getLevel
()
// PrintLog(TITLE + '请求参数', ruleForm, _that.TAG)
// PrintLog(TITLE + '接口', '/api/hit/insertBeach', _that.TAG)
NetUtil
.
bzxxsh
.
bzxxPlSb
(
ruleForm
)
.
then
(
res
=>
{
// PrintLog(TITLE + '返回结果', res, _that.TAG)
if
(
res
.
code
===
0
)
{
_that
.
$emit
(
'refresh'
,
_that
.
shInfo
)
_that
.
initShItem
()
}
})
// bzxxPlSb(_that, ruleForm)
// .then(res => {
// PrintLog(TITLE + '返回结果', res, _that.TAG)
// if (res.data.code === 0) {
// _that.$emit('refresh', _that.shInfo)
// _that.initShItem()
// }
// })
// .catch(err => {
// PrintLog(TITLE + '异常', err.toString(), _that.TAG)
// this.$message.error('失败原因:' + err.toString())
// })
},
},
}
...
...
src/views/bzxxgl/bzxxsh.vue
View file @
d9e0dc4a
...
...
@@ -692,9 +692,6 @@ export default {
_that
.
ruleForm
.
level
=
_that
.
getLevel
()
// PrintLog('查询审核列表' + '请求参数', JSON.stringify(_that.ruleForm), _that.TAG)
// PrintLog('查询审核列表' + '接口', '/api/hit/queryAllSh', _that.TAG)
NetUtil
.
bzxxsh
.
shList
(
_that
.
ruleForm
)
.
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
...
...
@@ -704,26 +701,6 @@ export default {
_that
.
refreshItemsData
()
}
})
// queryShList(_that, _that.ruleForm)
// .then(res => {
// PrintLog('查询审核列表' + '返回结果', res, _that.TAG)
// if (res.code === 0) {
// // logger.json(res.data)
// _that.tableDate = res.data.ret.rows
// _that.total = res.data.ret.total
// _that.totalPage = Math.ceil(_that.total / _that.pageSize)
// } else {
// _that.tableDate = []
// _that.total = 0
// _that.totalPage = 0
// }
// _that.refreshItemsData()
// })
// .catch(err => {
// PrintLog('查询审核列表' + '异常', err, _that.TAG)
// this.$message.error('失败原因:' + err.toString())
// })
},
onSbxxListener
()
{
...
...
@@ -779,29 +756,13 @@ export default {
// ruleForm.username = username
ruleForm
.
level
=
_that
.
getLevel
()
// PrintLog(TITLE + '请求参数', ruleForm, _that.TAG)
// PrintLog(TITLE + '接口', '/api/hit/insertBeach', _that.TAG)
NetUtil
.
bzxxsh
.
plsb
(
ruleForm
)
.
then
(
res
=>
{
// PrintLog(TITLE + '返回结果', res, _that.TAG)
if
(
res
.
code
===
0
)
{
_that
.
getData
()
}
})
// bzxxPlSb(_that, ruleForm)
// .then(res => {
// PrintLog(TITLE + '返回结果', res, _that.TAG)
// if (res.data.code === 0) {
// _that.getData()
// }
// })
// .catch(err => {
// PrintLog(TITLE + '异常', err.toString(), _that.TAG)
// this.$message.error('失败原因:' + err.toString())
// })
},
onFztmSuccess
(
e
)
{
...
...
@@ -828,7 +789,6 @@ export default {
})
_that
.
fztm_ytmh
=
_that
.
fztm_ytmh
.
join
(
','
)
}
// PrintLog('fztm_ytmh', _that.fztm_ytmh)
}
},
watch
:
{
...
...
src/views/bzxxgl/fhxxLL.vue
View file @
d9e0dc4a
...
...
@@ -289,7 +289,6 @@ export default {
async
created
()
{
console
.
log
(
this
.
$route
)
this
.
id
=
this
.
$route
.
params
.
id
// PrintLog('query', this.$route.query)
if
(
this
.
$route
.
query
.
isFromSh
)
{
this
.
isFromSh
=
this
.
$route
.
query
.
isFromSh
}
...
...
src/views/bzxxgl/fhxxLT.vue
View file @
d9e0dc4a
...
...
@@ -272,7 +272,6 @@ export default {
created
()
{
console
.
log
(
this
.
$route
)
this
.
id
=
this
.
$route
.
params
.
id
// PrintLog('query', this.$route.query)
if
(
this
.
$route
.
query
.
isFromSh
)
{
this
.
isFromSh
=
this
.
$route
.
query
.
isFromSh
}
...
...
src/views/bzxxgl/fhxxTL.vue
View file @
d9e0dc4a
...
...
@@ -299,7 +299,6 @@ export default {
created
()
{
console
.
log
(
this
.
$route
)
this
.
id
=
this
.
$route
.
params
.
id
// PrintLog('query', this.$route.query)
if
(
this
.
$route
.
query
.
isFromSh
)
{
this
.
isFromSh
=
this
.
$route
.
query
.
isFromSh
}
...
...
src/views/bzxxgl/fhxxTT.vue
View file @
d9e0dc4a
...
...
@@ -915,7 +915,7 @@ export default {
console
.
log
(
this
.
$route
)
this
.
id
=
this
.
$route
.
params
.
id
// PrintLog('query', this.$route.query)
if
(
this
.
$route
.
query
.
isFromSh
)
{
this
.
isFromSh
=
this
.
$route
.
query
.
isFromSh
}
...
...
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