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
a07128bd
authored
2022-09-14 15:55:09 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:申请业务规则配置
1 parent
8d88fef4
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
5 deletions
.env.development
src/views/system/sqywgz/components/clgzsd.vue
src/views/system/sqywgz/components/djqxsd.vue
.env.development
View file @
a07128b
...
...
@@ -5,4 +5,4 @@ NODE_ENV=development
VUE_APP_BASE_API = '/bdcdj'
# 开发环境
VUE_APP_API_BASE_URL = 'http://192.168.2.
88
:8018'
VUE_APP_API_BASE_URL = 'http://192.168.2.
44
:8018'
...
...
src/views/system/sqywgz/components/clgzsd.vue
View file @
a07128b
...
...
@@ -197,7 +197,22 @@ export default {
}
},
handleMinus
(
index
,
row
)
{
this
.
$confirm
(
'此操作将永久删除, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
this
.
tableData
.
splice
(
index
,
1
)
this
.
$message
({
type
:
'success'
,
message
:
'删除成功!'
});
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'已取消删除'
});
});
},
// 上移下移
moveUpward
(
index
,
row
)
{
...
...
@@ -210,4 +225,5 @@ export default {
}
</
script
>
<
style
scoped
lang=
'scss'
>
</
style
>
\ No newline at end of file
...
...
src/views/system/sqywgz/components/djqxsd.vue
View file @
a07128b
...
...
@@ -208,7 +208,7 @@ export default {
})
},
itemShowFalse
()
{
this
.
tableData
.
forEach
((
item
,
index
)
=>
{
this
.
tableData
.
length
>
0
&&
this
.
tableData
.
forEach
((
item
,
index
)
=>
{
item
.
nodecodeShow
=
true
item
.
nodenameShow
=
false
item
.
djyyShow
=
false
...
...
@@ -219,6 +219,7 @@ export default {
let
container
=
this
.
$el
.
querySelector
(
'.el-table__body-wrapper'
);
container
.
scrollTop
=
container
.
scrollHeight
;
})
if
(
this
.
djqx
.
length
>
0
)
{
let
code
=
this
.
tableData
.
slice
(
-
1
)[
0
].
nodecode
let
codeQ
=
code
.
slice
(
0
,
6
)
let
len
=
''
...
...
@@ -227,7 +228,6 @@ export default {
}
else
{
len
=
this
.
tableData
.
length
+
1
}
this
.
tableData
.
push
(
{
nodecode
:
codeQ
+
len
,
...
...
@@ -237,11 +237,36 @@ export default {
sfqydjyymb
:
'0'
}
)
}
else
{
this
.
tableData
.
push
(
{
nodename
:
''
,
enabled
:
'1'
,
djyy
:
''
,
sfqydjyymb
:
'0'
}
)
}
this
.
addIndexes
()
this
.
key
++
},
handleMinus
(
index
,
row
)
{
this
.
$confirm
(
'此操作将永久删除, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
this
.
tableData
.
splice
(
index
,
1
)
this
.
$message
({
type
:
'success'
,
message
:
'删除成功!'
});
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'已取消删除'
});
});
},
nodecodeBlur
(
index
,
row
)
{
let
list
=
_
.
cloneDeep
(
this
.
tableData
).
filter
(
item
=>
item
.
bsmSqyw
!=
row
.
bsmSqyw
)
...
...
@@ -257,12 +282,10 @@ export default {
moveUpward
(
index
,
row
)
{
upward
(
index
,
this
.
tableData
)
this
.
key
++
console
.
log
(
this
.
tableData
);
},
moveDown
(
index
,
row
)
{
down
(
index
,
this
.
tableData
)
this
.
key
++
console
.
log
(
this
.
tableData
);
}
}
}
...
...
Please
register
or
sign in
to post a comment