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
24f41634
authored
2024-01-19 16:31:02 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev'
2 parents
8e036188
e9692645
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
54 additions
and
49 deletions
src/api/clxx.js
src/views/registerBook/components/clxx/index.vue
src/views/registerBook/components/djbDetail.vue
src/views/registerBook/fdcq1.vue
src/views/ywbl/ywsq/components/selectQjzdjbxx.vue
src/api/clxx.js
View file @
24f4163
/*
* @Description: 材料信息
* @Autor: renchao
* @LastEditTime: 202
3-09-18 16:03:16
* @LastEditTime: 202
4-01-19 16:00:03
*/
import
request
from
'@/utils/request'
let
SERVER
=
window
.
config
?
window
.
config
:
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
...
...
src/views/registerBook/components/clxx/index.vue
View file @
24f4163
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 202
3-10-09 10:18:4
6
* @LastEditTime: 202
4-01-19 16:30:0
6
-->
<
template
>
<div
class=
"clxx"
>
...
...
@@ -45,7 +45,7 @@
<
script
>
import
store
from
'@/store/index.js'
import
imagePreview
from
"./dialog/imagePreview.vue"
;
import
{
repairInitClml
,
getClmxList
}
from
"@/api/clxx.js"
;
import
{
InitClml
,
repairInitClml
,
getClmxList
}
from
"@/api/clxx.js"
;
export
default
{
components
:
{
imagePreview
},
props
:
{
...
...
@@ -87,7 +87,7 @@
}
},
created
()
{
this
.
clmlInitList
()
this
.
clmlInitList
(
1
)
},
methods
:
{
/**
...
...
@@ -148,7 +148,7 @@
clmlInitList
(
type
)
{
// 1:列表初始化 2:新增材料
return
new
Promise
((
resolve
)
=>
{
console
.
log
(
this
.
formData
,
'this.formData'
);
if
(
this
.
formData
.
sjlx
==
2
)
{
repairInitClml
(
this
.
formData
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
resolve
(
res
.
code
);
...
...
@@ -168,6 +168,31 @@
this
.
$message
.
error
(
res
.
message
);
}
})
}
else
{
var
formdata
=
new
FormData
();
formdata
.
append
(
"bsmSlsq"
,
this
.
formData
.
bsmSlsq
);
formdata
.
append
(
"bsmSldy"
,
this
.
formData
.
bsmSldy
);
InitClml
(
formdata
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
resolve
(
res
.
code
);
if
(
res
.
result
&&
res
.
result
.
length
>
0
)
{
this
.
tableData
=
res
.
result
;
if
(
type
==
1
)
{
this
.
treeClick
(
this
.
tableData
[
0
],
0
);
}
else
{
//新增材料后刷新列表焦点置于新增的对象上
this
.
treeClick
(
this
.
tableData
[
this
.
tableData
.
length
-
1
],
this
.
tableData
.
length
-
1
);
}
}
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
})
}
})
},
/**
...
...
@@ -280,13 +305,11 @@
position
:
absolute
;
.menu-tree
{
width
:
2
0
%
;
width
:
2
6
%
;
min-width
:
160px
;
height
:
100%
;
margin-right
:
10
px
;
margin-right
:
5
px
;
border-right
:
1px
dotted
#d9d9d9
;
padding
:
0
15px
;
.item
{
line-height
:
30px
;
padding-top
:
5px
;
...
...
src/views/registerBook/components/djbDetail.vue
View file @
24f4163
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-19 1
5:46:35
* @LastEditTime: 2024-01-19 1
6:10:10
-->
<
template
>
<div
class=
"tableBox"
>
...
...
@@ -260,19 +260,19 @@
if
(
sjlx
==
'系统数据'
)
{
getXtParamsByYwh
(
ywh
).
then
(
res
=>
{
let
data
=
res
.
result
//
that.$popup('材料信息', 'registerBook/components/clxx/index', {
// width: '6
0%',
// formData: data
//
})
const
{
href
}
=
Router
.
resolve
(
'/workFrameView?bsmSlsq='
+
data
.
bsmSlsq
+
'&bsmBusiness='
+
data
.
bsmBusiness
)
window
.
open
(
href
,
`urlname
${
new
Date
().
getTime
()}
`
)
that
.
$popup
(
'材料信息'
,
'registerBook/components/clxx/index'
,
{
width
:
'7
0%'
,
formData
:
{
...
data
,
sjlx
:
1
,
bsmSldy
:
row
.
bsmSldy
}
})
//
const { href } = Router.resolve('/workFrameView?bsmSlsq=' + data.bsmSlsq + '&bsmBusiness=' + data.bsmBusiness)
//
window.open(href, `urlname${new Date().getTime()}`)
})
}
else
{
getBlParamsByYwh
(
ywh
,
bsmQlxx
).
then
(
res
=>
{
let
data
=
res
.
result
this
.
$popup
(
'材料信息'
,
'registerBook/components/clxx/index'
,
{
width
:
'
6
0%'
,
formData
:
data
width
:
'
7
0%'
,
formData
:
{
...
data
,
sjlx
:
2
}
})
})
}
...
...
src/views/registerBook/fdcq1.vue
View file @
24f4163
<!--
* @Description:
* @Autor: miaofang
* @LastEditTime: 2024-01-19 1
5:46:23
* @LastEditTime: 2024-01-19 1
6:09:59
-->
<
template
>
<div
class=
"djxxTable"
>
...
...
@@ -307,19 +307,19 @@
if
(
sjlx
==
'系统数据'
)
{
getXtParamsByYwh
(
ywh
).
then
(
res
=>
{
let
data
=
res
.
result
//
that.$popup('材料信息', 'registerBook/components/clxx/index', {
// width: '6
0%',
// formData: data
//
})
const
{
href
}
=
Router
.
resolve
(
'/workFrameView?bsmSlsq='
+
data
.
bsmSlsq
+
'&bsmBusiness='
+
data
.
bsmBusiness
)
window
.
open
(
href
,
`urlname
${
new
Date
().
getTime
()}
`
)
that
.
$popup
(
'材料信息'
,
'registerBook/components/clxx/index'
,
{
width
:
'7
0%'
,
formData
:
{
...
data
,
sjlx
:
1
,
bsmSldy
:
row
.
bsmSldy
}
})
//
const { href } = Router.resolve('/workFrameView?bsmSlsq=' + data.bsmSlsq + '&bsmBusiness=' + data.bsmBusiness)
//
window.open(href, `urlname${new Date().getTime()}`)
})
}
else
{
getBlParamsByYwh
(
ywh
,
bsmQlxx
).
then
(
res
=>
{
let
data
=
res
.
result
this
.
$popup
(
'材料信息'
,
'registerBook/components/clxx/index'
,
{
width
:
'
6
0%'
,
formData
:
data
width
:
'
7
0%'
,
formData
:
{
...
data
,
sjlx
:
2
}
})
})
}
...
...
src/views/ywbl/ywsq/components/selectQjzdjbxx.vue
View file @
24f4163
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-1
7 14:17:17
* @LastEditTime: 2024-01-1
9 16:25:18
-->
<
template
>
<div
class=
"from-clues"
>
...
...
@@ -195,6 +195,7 @@
},
handleChange
()
{
let
arr
=
this
.
tableData
.
data
.
filter
(
item
=>
item
.
bdcdyid
==
this
.
radioVal
)
arr
[
0
].
bsm
=
arr
[
0
].
zdbsm
this
.
bdcdysz
=
arr
},
/**
...
...
@@ -204,31 +205,12 @@
*/
handleRowClick
(
row
)
{
// 如果状态是1,那就是单选
// if (this.sqywInfo.sqywdylx == "1") {
// const bdcdysz = this.bdcdysz
// this.$refs.table.clearSelection()
// if (bdcdysz.length == 1) {
// bdcdysz.forEach(item => {
// // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中
// if (item == row) {
// this.$refs.table.toggleRowSelection(row, false);
// }
// // 不然就让当前的一行勾选
// else {
// this.$refs.table.toggleRowSelection(row, true);
// }
// })
// }
// else {
// this.$refs.table.toggleRowSelection(row, true);
// }
// } else {
// this.$refs.table.toggleRowSelection(row);
// }
let
refs
=
'table'
;
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
row
.
bsm
=
row
.
zdbsm
this
.
bdcdysz
=
[
row
]
this
.
radioVal
=
row
.
bdcdyid
}
else
{
this
.
$refs
[
refs
].
toggleRowSelection
(
row
)
}
...
...
Please
register
or
sign in
to post a comment