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
eb5dee78
authored
2023-08-16 14:11:41 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev'
2 parents
88a59df1
406a5855
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
26 additions
and
20 deletions
src/utils/dictionary.js
src/views/registerBook/ldsyq.vue
src/views/workflow/components/dialog/zsyl.vue
src/views/workflow/components/qlrCommonTable.vue
src/views/ywbl/slsqxx/fdcq2/slxx.vue
src/views/ywbl/ywsq/components/selectSllm.vue
src/utils/dictionary.js
View file @
eb5dee7
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-0
7-03 08:59:06
* @LastEditTime: 2023-0
8-16 11:30:45
*/
import
store
from
'@/store'
...
...
@@ -27,12 +27,18 @@ export function getSjlx (level) {
*/
export
function
getDictLeabel
(
level
,
code
)
{
const
resultMap
=
store
.
getters
.
dictData
[
code
]
const
desiredObject
=
resultMap
.
find
(
obj
=>
obj
.
dcode
===
level
);
if
(
desiredObject
)
{
const
desiredName
=
desiredObject
.
dname
;
return
desiredName
}
else
{
return
''
function
findNode
(
tree
,
func
)
{
for
(
const
node
of
tree
)
{
if
(
func
(
node
))
return
node
if
(
node
.
children
)
{
const
res
=
findNode
(
node
.
children
,
func
)
if
(
res
)
return
res
}
}
return
{
dname
:
""
}
}
let
data
=
findNode
(
resultMap
,
(
node
)
=>
{
return
node
.
dcode
===
level
})
return
data
.
dname
}
\ No newline at end of file
...
...
src/views/registerBook/ldsyq.vue
View file @
eb5dee7
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-1
1 15:33:53
* @LastEditTime: 2023-08-1
6 11:29:20
-->
<
template
>
<div
class=
"djxxTable"
>
...
...
@@ -59,7 +59,7 @@
<
script
>
import
{
datas
}
from
"./qlxxFormData.js"
;
import
{
getSjlx
}
from
"@/utils/dictionary.js"
;
import
{
getSjlx
,
getDictLeabel
}
from
"@/utils/dictionary.js"
;
import
{
getLqList
}
from
"@/api/djbDetail.js"
;
export
default
{
data
()
{
...
...
@@ -101,6 +101,9 @@ export default {
this
.
tableData
=
res
.
result
;
this
.
tableData
.
forEach
((
item
)
=>
{
item
.
sjlx
=
getSjlx
(
item
.
sjlx
);
item
.
ldsyqxz
=
getDictLeabel
(
item
.
ldsyqxz
,
'A45'
)
item
.
lz
=
getDictLeabel
(
item
.
lz
,
'A26'
)
item
.
qy
=
getDictLeabel
(
item
.
qy
,
'A52'
)
});
if
(
this
.
tableData
.
length
<
datas
.
columns
().
emptycolNum
)
{
this
.
emptycolNum
=
...
...
src/views/workflow/components/dialog/zsyl.vue
View file @
eb5dee7
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-16 11:
10:16
* @LastEditTime: 2023-08-16 11:
22:21
-->
<
template
>
<div
class=
"from-clues loadingtext"
v-Loading=
"loading"
element-loading-text=
"拼命加载中..."
style=
"height:720px;text-align: center;"
>
...
...
@@ -133,8 +133,8 @@
context
.
fillText
(
this
.
bdcqz
.
qlr
?
this
.
bdcqz
.
qlr
:
''
,
129
,
97
);
context
.
fillText
(
this
.
bdcqz
.
gyqk
?
this
.
bdcqz
.
gyqk
:
''
,
129
,
136
);
let
arr
=
this
.
bdcqz
.
bdcdyh
.
split
(
'F'
)
this
.
bdcqz
.
bdcdyh
=
arr
[
0
].
slice
(
0
,
6
)
+
' '
+
arr
[
0
].
slice
(
6
,
12
)
+
' '
+
arr
[
0
].
slice
(
12
,
arr
[
0
].
length
)
+
' F'
+
arr
[
1
]
this
.
bdcqz
.
bdcdyh
=
this
.
bdcqz
.
bdcdyh
.
slice
(
0
,
6
)
+
' '
+
this
.
bdcqz
.
bdcdyh
.
slice
(
6
,
12
)
+
' '
+
this
.
bdcqz
.
bdcdyh
.
slice
(
12
,
19
)
+
' '
+
this
.
bdcqz
.
bdcdyh
.
slice
(
19
,
this
.
bdcqz
.
bdcdyh
.
length
)
context
.
fillText
(
this
.
bdcqz
.
bdcdyh
?
this
.
bdcqz
.
bdcdyh
:
''
,
129
,
223
);
...
...
src/views/workflow/components/qlrCommonTable.vue
View file @
eb5dee7
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-
04 13:26:31
* @LastEditTime: 2023-08-
16 14:08:42
-->
<
template
>
<div>
...
...
@@ -179,7 +179,6 @@
}
this
.
key
++
},
// 新增
/**
* @description: 新增
* @author: renchao
...
...
src/views/ywbl/slsqxx/fdcq2/slxx.vue
View file @
eb5dee7
...
...
@@ -344,7 +344,7 @@
</el-col>
</el-row>
<qlrCommonTable
@
upDateQlrxxList=
"upDateQlrxxList"
:tableData=
"ruleForm.qlrList"
:disabled=
"!ableOperation"
:gyfs=
"ruleForm.
slsq
.gyfs"
/>
:gyfs=
"ruleForm.
qlxx
.gyfs"
/>
<div
v-if=
"ruleForm.ywrList && ruleForm.qlxx.djlx == '200'"
>
<div
class=
"slxx_title title-block"
>
...
...
src/views/ywbl/ywsq/components/selectSllm.vue
View file @
eb5dee7
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-15 14:
01:37
* @LastEditTime: 2023-08-15 14:
36:06
-->
<
template
>
<div
class=
"from-clues"
>
...
...
@@ -110,10 +110,8 @@
}
this
.
loading
=
true
startBusinessFlow
({
bsmSqyw
:
this
.
bsmSqyw
,
bsmSqyw
:
this
.
sqywInfo
.
bsmSqyw
,
bdcdysz
:
this
.
bdcdysz
,
djqxbm
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodecode
:
""
,
djqxmc
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodename
:
""
,
}).
then
((
res
)
=>
{
this
.
loading
=
false
if
(
res
.
code
==
200
)
{
...
...
Please
register
or
sign in
to post a comment