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
22b542ce
Commit
22b542ce
authored
Nov 06, 2021
by
米嘉伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
文件列表树形展示
parent
485787d1
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
52 additions
and
18 deletions
+52
-18
src/views/AllPersonnelBase/modules/dcfptxAj.vue
+11
-2
src/views/AllPersonnelBase/modules/dcftpx.vue
+9
-4
src/views/AllPersonnelBase/modules/fcx.vue
+1
-0
src/views/AllPersonnelBase/modules/fztm.vue
+1
-0
src/views/AllPersonnelBase/modules/ggrytm.vue
+1
-0
src/views/AllPersonnelBase/modules/gz.vue
+3
-2
src/views/AllPersonnelBase/modules/tjddl.vue
+1
-0
src/views/AllPersonnelBase/modules/xzaj.vue
+1
-0
src/views/AllPersonnelBase/modules/xzry.vue
+1
-0
src/views/drFPTX/Index.vue
+19
-7
src/views/drFPTX/RAList.vue
+4
-3
No files found.
src/views/AllPersonnelBase/modules/dcfptxAj.vue
View file @
22b542ce
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
width=
"36.375rem"
width=
"36.375rem"
append-to-body
append-to-body
:before-close=
"handleClose"
:before-close=
"handleClose"
:close-on-click-modal=
'false'
>
>
<el-form
<el-form
label-width=
"6.25rem"
label-width=
"6.25rem"
...
@@ -77,12 +78,20 @@
...
@@ -77,12 +78,20 @@
slot=
"footer"
slot=
"footer"
class=
"dialog-footer"
class=
"dialog-footer"
>
>
<!--
<el-button
class=
"confirmBtn"
@
click=
"focus"
type=
"primary"
>
导出
</el-button>
-->
<el-button
<el-button
class=
"confirmBtn"
class=
"confirmBtn"
@
click=
"focus"
@
click=
"focus"
>
导 出
</el-button>
<el-button
@
click=
"dialogVisible = false"
class=
"confirmBtn"
type=
"primary"
type=
"primary"
>
导出
</el-button>
>
取 消
</el-button>
</span>
</span>
</el-dialog>
</el-dialog>
</
template
>
</
template
>
...
...
src/views/AllPersonnelBase/modules/dcftpx.vue
View file @
22b542ce
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
width=
"54.6875rem"
width=
"54.6875rem"
append-to-body
append-to-body
:before-close=
"handleClose"
:before-close=
"handleClose"
:close-on-click-modal=
'false'
>
>
<div
class=
"head"
>
<div
class=
"head"
>
文字:
<el-checkbox
v-model=
"wzChecked"
>
基本信息
</el-checkbox>
文字:
<el-checkbox
v-model=
"wzChecked"
>
基本信息
</el-checkbox>
...
@@ -300,16 +301,20 @@
...
@@ -300,16 +301,20 @@
slot=
"footer"
slot=
"footer"
class=
"dialog-footer"
class=
"dialog-footer"
>
>
<!--
<el-button
@
click=
"focus"
>
确 定
</el-button>
<el-button
class=
"confirmBtn"
@
click=
"focus"
>
导 出
</el-button>
<el-button
<el-button
@
click=
"dialogVisible = false"
@
click=
"dialogVisible = false"
class=
"confirmBtn"
type=
"primary"
type=
"primary"
>
取 消
</el-button>
-->
>
取 消
</el-button>
<el-button
<
!--
<
el-button
class=
"confirmBtn"
class=
"confirmBtn"
@
click=
"focus"
@
click=
"focus"
type=
"primary"
type=
"primary"
>
导出
</el-button>
>
导出
</el-button>
-->
</span>
</span>
</el-dialog>
</el-dialog>
...
...
src/views/AllPersonnelBase/modules/fcx.vue
View file @
22b542ce
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
width=
"55.75rem"
width=
"55.75rem"
append-to-body
append-to-body
:before-close=
"handleClose"
:before-close=
"handleClose"
:close-on-click-modal=
'false'
>
>
<div
class=
"top"
>
<div
class=
"top"
>
<div
class=
"left"
>
<div
class=
"left"
>
...
...
src/views/AllPersonnelBase/modules/fztm.vue
View file @
22b542ce
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
width=
"26.125rem"
width=
"26.125rem"
append-to-body
append-to-body
:before-close=
"handleClose"
:before-close=
"handleClose"
:close-on-click-modal=
'false'
>
>
<el-form
<el-form
:label-position=
"labelPosition"
:label-position=
"labelPosition"
...
...
src/views/AllPersonnelBase/modules/ggrytm.vue
View file @
22b542ce
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
width=
"26.125rem"
width=
"26.125rem"
append-to-body
append-to-body
:before-close=
"handleClose"
:before-close=
"handleClose"
:close-on-click-modal=
'false'
>
>
<el-form
<el-form
:label-position=
"labelPosition"
:label-position=
"labelPosition"
...
...
src/views/AllPersonnelBase/modules/gz.vue
View file @
22b542ce
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
:width=
"width"
:width=
"width"
append-to-body
append-to-body
:before-close=
"handleClose"
:before-close=
"handleClose"
:close-on-click-modal=
'false'
>
>
<el-table
<el-table
v-if=
"type=='ry'"
v-if=
"type=='ry'"
...
@@ -159,9 +160,9 @@ export default {
...
@@ -159,9 +160,9 @@ export default {
reqUrl
=
'/api/mypsn/mypsnAdd'
reqUrl
=
'/api/mypsn/mypsnAdd'
let
newReqParams
=
{
let
newReqParams
=
{
personDoList
:
[],
personDoList
:
[],
comments
:
''
bz
:
''
}
}
newReqParams
.
comments
=
this
.
comments
;
newReqParams
.
bz
=
this
.
comments
;
for
(
let
i
=
0
;
i
<
this
.
rowData
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
this
.
rowData
.
length
;
i
++
)
{
let
personDo
=
{
let
personDo
=
{
ysxtAsjxgrybh
:
''
,
ysxtAsjxgrybh
:
''
,
...
...
src/views/AllPersonnelBase/modules/tjddl.vue
View file @
22b542ce
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
width=
"26.125rem"
width=
"26.125rem"
append-to-body
append-to-body
:before-close=
"handleClose"
:before-close=
"handleClose"
:close-on-click-modal=
'false'
>
>
<el-form
<el-form
:model=
"ruleForm"
:model=
"ruleForm"
...
...
src/views/AllPersonnelBase/modules/xzaj.vue
View file @
22b542ce
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
top=
"1.25rem"
top=
"1.25rem"
append-to-body
append-to-body
:before-close=
"handleClose"
:before-close=
"handleClose"
:close-on-click-modal=
'false'
>
>
<el-form
<el-form
:label-position=
"labelPosition"
:label-position=
"labelPosition"
...
...
src/views/AllPersonnelBase/modules/xzry.vue
View file @
22b542ce
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
top=
"1.25rem"
top=
"1.25rem"
append-to-body
append-to-body
:before-close=
"handleClose"
:before-close=
"handleClose"
:close-on-click-modal=
'false'
>
>
<el-form
<el-form
:label-position=
"labelPosition"
:label-position=
"labelPosition"
...
...
src/views/drFPTX/Index.vue
View file @
22b542ce
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<div
class=
"wjlx"
>
<div
class=
"wjlx"
>
<div
class=
"left"
>
<div
class=
"left"
>
<el-radio-group
v-model=
"wjlx"
>
<el-radio-group
v-model=
"wjlx"
>
<el-radio
:label=
"3"
>
单个
文件
</el-radio>
<el-radio
:label=
"3"
>
文件
</el-radio>
<el-radio
:label=
"6"
>
文件夹
</el-radio>
<el-radio
:label=
"6"
>
文件夹
</el-radio>
</el-radio-group>
</el-radio-group>
</div>
</div>
...
@@ -522,9 +522,19 @@ export default {
...
@@ -522,9 +522,19 @@ export default {
// 导入成功,跳转详情
// 导入成功,跳转详情
goList
()
{
goList
()
{
if
(
this
.
drlx
==
3
||
this
.
drlx
==
6
)
{
if
(
this
.
drlx
==
3
||
this
.
drlx
==
6
)
{
this
.
$router
.
push
(
'/RAList'
)
this
.
$router
.
push
({
path
:
'/RAList'
,
query
:
{
id
:
1
}
})
}
else
if
(
this
.
drlx
==
9
)
{
}
else
if
(
this
.
drlx
==
9
)
{
this
.
$router
.
push
(
'/RAList'
)
this
.
$router
.
push
({
path
:
'/RAList'
,
query
:
{
id
:
2
}
})
}
}
},
},
// 取消上传
// 取消上传
...
@@ -551,10 +561,10 @@ export default {
...
@@ -551,10 +561,10 @@ export default {
},
},
// 获取文件列表
// 获取文件列表
onChange
(
file
,
fileList
)
{
onChange
(
file
,
fileList
)
{
console
.
log
(
fileList
[
0
],
1111
)
//
console.log(fileList[0], 1111)
var
folder
=
fileList
[
0
].
raw
.
webkitRelativePath
.
split
(
"/"
);
//
var folder = fileList[0].raw.webkitRelativePath.split("/");
console
.
log
(
'fffff'
,
folder
[
0
])
//
console.log('fffff', folder[0])
let
that
=
this
;
let
that
=
this
;
let
newlist
=
fileList
;
let
newlist
=
fileList
;
for
(
let
i
=
0
;
i
<
fileList
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
fileList
.
length
;
i
++
)
{
...
@@ -563,12 +573,15 @@ export default {
...
@@ -563,12 +573,15 @@ export default {
var
reader
=
new
FileReader
();
var
reader
=
new
FileReader
();
reader
.
readAsText
(
file
);
reader
.
readAsText
(
file
);
if
(
this
.
drlx
==
3
)
{
if
(
this
.
drlx
==
3
)
{
console
.
log
(
'333333'
)
that
.
action
=
'/api/upload/person'
reader
.
onload
=
function
()
{
reader
.
onload
=
function
()
{
const
reg
=
/\<ysxt_asjxgrybh
\>(
.*
?)
\<
\/
ysxt_asjxgrybh
\>
/
const
reg
=
/\<ysxt_asjxgrybh
\>(
.*
?)
\<
\/
ysxt_asjxgrybh
\>
/
let
barcode
=
this
.
result
.
match
(
reg
)
let
barcode
=
this
.
result
.
match
(
reg
)
that
.
$set
(
newlist
[
i
],
'barcode'
,
barcode
[
1
])
that
.
$set
(
newlist
[
i
],
'barcode'
,
barcode
[
1
])
}
}
}
else
if
(
this
.
drlx
==
6
)
{
}
else
if
(
this
.
drlx
==
6
)
{
that
.
action
=
'/api/upload/person'
reader
.
onload
=
function
()
{
reader
.
onload
=
function
()
{
const
reg
=
/\<ysxt_asjbh
\>(
.*
?)
\<
\/
ysxt_asjbh
\>
/
const
reg
=
/\<ysxt_asjbh
\>(
.*
?)
\<
\/
ysxt_asjbh
\>
/
let
barcode
=
this
.
result
.
match
(
reg
)
let
barcode
=
this
.
result
.
match
(
reg
)
...
@@ -587,7 +600,6 @@ export default {
...
@@ -587,7 +600,6 @@ export default {
console
.
log
(
'regType'
,
regType
)
console
.
log
(
'regType'
,
regType
)
}
}
console
.
log
(
'regType'
,
regType
)
console
.
log
(
'regType'
,
regType
)
//查重
//查重
let
TT
=
result
.
match
(
regTT
)
let
TT
=
result
.
match
(
regTT
)
console
.
log
(
'TT'
,
TT
)
console
.
log
(
'TT'
,
TT
)
...
...
src/views/drFPTX/RAList.vue
View file @
22b542ce
...
@@ -210,8 +210,8 @@
...
@@ -210,8 +210,8 @@
:data=
"tableDate"
:data=
"tableDate"
tooltip-effect=
"dark"
tooltip-effect=
"dark"
style=
"width: 100%"
style=
"width: 100%"
row-key=
"
id
"
row-key=
"
sequenceNumber
"
:tree-props=
"
{children: '
secondRecords
', hasChildren: 'hasChildren'}"
:tree-props=
"
{children: '
pcImportRecordGrandchildren
', hasChildren: 'hasChildren'}"
@selection-change="handleSelectionChange"
@selection-change="handleSelectionChange"
>
>
<el-table-column
<el-table-column
...
@@ -424,7 +424,7 @@ export default {
...
@@ -424,7 +424,7 @@ export default {
.
then
(
response
=>
{
.
then
(
response
=>
{
// console.info("查询结果===>", response);
// console.info("查询结果===>", response);
if
(
response
.
data
.
code
===
0
)
{
if
(
response
.
data
.
code
===
0
)
{
this
.
tableDate
=
response
.
data
.
ret
.
firstRecords
;
this
.
tableDate
=
response
.
data
.
ret
.
pcImportRecordChildren
;
// this.reqParam.page.total = response.data.ret.total;
// this.reqParam.page.total = response.data.ret.total;
console
.
info
(
"查询结果===>"
,
this
.
tableDate
);
console
.
info
(
"查询结果===>"
,
this
.
tableDate
);
// this.userInfo = this.getUserInfo(this.tableDate);
// this.userInfo = this.getUserInfo(this.tableDate);
...
@@ -584,6 +584,7 @@ export default {
...
@@ -584,6 +584,7 @@ export default {
},
},
mounted
()
{
mounted
()
{
this
.
search
();
this
.
search
();
this
.
showType
=
this
.
$route
.
query
.
id
||
'1'
}
}
}
}
</
script
>
</
script
>
...
...
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