Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xichonght
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
zhangdishen
xichonght
Commits
1f1c4026
Commit
1f1c4026
authored
Sep 10, 2019
by
ytbdmhy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
归档version:0.4.0
parent
cd46dc34
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
411 additions
and
450 deletions
+411
-450
archivesAdministration.vue
xichongSys/src/views/Myvue/archivesAdministration.vue
+24
-44
archivesExpect.vue
xichongSys/src/views/Myvue/archivesExpect.vue
+87
-104
filesOfArchive.vue
xichongSys/src/views/Myvue/filesOfArchive.vue
+287
-299
noArchiveEventLog.vue
xichongSys/src/views/Myvue/noArchiveEventLog.vue
+13
-3
No files found.
xichongSys/src/views/Myvue/archivesAdministration.vue
View file @
1f1c4026
<
template
>
<
template
>
<div>
<div
class=
"archive-administration"
>
<el-backtop
target=
".archive-administration"
right=
"70"
bottom=
"70"
>
<div
style=
"text-align: center;font-size: 20px"
>
顶
</div>
</el-backtop>
<el-table
<el-table
v-loading
.
fullscreen
.
lock=
"loading"
v-loading
.
fullscreen
.
lock=
"loading"
:data=
"tableData"
:data=
"tableData"
border
border
style=
"width: 100%"
>
style=
"width: 100%"
>
<!-- @row-click="getFileList">-->
<el-table-column
<el-table-column
align=
"center"
align=
"center"
label=
"序号"
label=
"序号"
...
@@ -17,7 +19,7 @@
...
@@ -17,7 +19,7 @@
align=
"center"
align=
"center"
prop=
"type"
prop=
"type"
label=
"档案类别"
label=
"档案类别"
width=
"
25
0"
>
width=
"
10
0"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
align=
"center"
align=
"center"
...
@@ -31,7 +33,11 @@
...
@@ -31,7 +33,11 @@
label=
"档号"
label=
"档号"
width=
"180"
>
width=
"180"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"getFileList(scope.row)"
>
{{
scope
.
row
.
number
}}
</el-button>
<el-button
type=
"text"
@
click=
"getFileList(scope.row)"
>
{{
scope
.
row
.
number
}}
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
...
@@ -124,9 +130,19 @@
...
@@ -124,9 +130,19 @@
label=
"案卷号"
label=
"案卷号"
width=
"70"
>
width=
"70"
>
</el-table-column>
</el-table-column>
<el-table-column
align=
"center"
fixed=
"right"
label=
"操作"
width=
"100"
>
<el-table-column
align=
"center"
fixed=
"right"
label=
"操作"
width=
"100"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"primary"
size=
"mini"
plain
@
click=
"exportArchive(scope.row)"
>
导出
</el-button>
<el-button
type=
"primary"
size=
"mini"
plain
@
click=
"exportArchive(scope.row)"
>
导出
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -301,44 +317,8 @@
...
@@ -301,44 +317,8 @@
margin-top
:
10px
;
margin-top
:
10px
;
}
}
.wrap
{
.archive-administration
{
overflow
:
hidden
;
position
:
relative
;
}
.masks
{
width
:
100%
;
height
:
100%
;
height
:
100%
;
position
:
absolute
;
overflow-y
:
scroll
;
left
:
0
;
top
:
0
;
z-index
:
200
}
.form
{
float
:
left
;
width
:
45%
;
margin-left
:
20px
}
.imgcon
{
margin
:
0
auto
;
box-shadow
:
0
0
15px
lightgray
;
overflow
:
hidden
;
margin-bottom
:
40px
}
.block
{
width
:
23%
}
.block
{
float
:
left
;
height
:
100%
;
margin-right
:
20px
}
.imtil
{
padding
:
0
0
20px
0
}
}
</
style
>
</
style
>
xichongSys/src/views/Myvue/archivesExpect.vue
View file @
1f1c4026
<
template
>
<
template
>
<div>
<div
class=
"archive-expect"
>
<el-backtop
target=
".archive-expect"
right=
"70"
bottom=
"70"
>
<div
style=
"text-align: center;font-size: 20px"
>
顶
</div>
</el-backtop>
<el-table
<el-table
v-loading
.
fullscreen
.
lock=
"loading"
v-loading
.
fullscreen
.
lock=
"loading"
:data=
"tableData"
:data=
"tableData"
border
border
style=
"width: 100%"
>
style=
"width: 100%"
>
<!-- @row-click="getFileList">-->
<el-table-column
<el-table-column
align=
"center"
align=
"center"
type=
"selection"
type=
"selection"
...
@@ -28,10 +30,8 @@
...
@@ -28,10 +30,8 @@
<el-table
:data=
"scope.row.eventLogList"
border
style=
"width: 100%"
>
<el-table
:data=
"scope.row.eventLogList"
border
style=
"width: 100%"
>
<el-table-column
align=
"center"
label=
"文件序号"
type=
"index"
width=
"60"
></el-table-column>
<el-table-column
align=
"center"
label=
"文件序号"
type=
"index"
width=
"60"
></el-table-column>
<el-table-column
align=
"center"
prop=
"eventTimeStr"
label=
"成文时间"
width=
"180"
></el-table-column>
<el-table-column
align=
"center"
prop=
"eventTimeStr"
label=
"成文时间"
width=
"180"
></el-table-column>
<el-table-column
align=
"center"
prop=
"name"
label=
"姓名"
width=
"100"
<el-table-column
align=
"center"
prop=
"nameDec"
label=
"姓名"
width=
"100"
></el-table-column>
:formatter=
"decryptCellValue"
></el-table-column>
<el-table-column
align=
"center"
prop=
"idcardDec"
label=
"身份证"
width=
"200"
></el-table-column>
<el-table-column
align=
"center"
prop=
"idcard"
label=
"身份证"
width=
"200"
:formatter=
"decryptCellValue"
></el-table-column>
<el-table-column
align=
"center"
prop=
"concatAddress"
label=
"乡镇/村社"
width=
"200"
></el-table-column>
<el-table-column
align=
"center"
prop=
"concatAddress"
label=
"乡镇/村社"
width=
"200"
></el-table-column>
<el-table-column
<el-table-column
align=
"center"
align=
"center"
...
@@ -103,51 +103,19 @@
...
@@ -103,51 +103,19 @@
</el-table>
</el-table>
</template>
</template>
</el-table-column>
</el-table-column>
<!-- <el-table-column-->
<el-table-column
<!-- align="center"-->
align=
"center"
<!-- prop="type"-->
prop=
"eventSign"
<!-- label="档案类别"-->
label=
"业务类型"
<!-- width="250">-->
:formatter=
"getEventType"
<!-- </el-table-column>-->
width=
"150"
>
<!-- <el-table-column-->
</el-table-column>
<!-- align="center"-->
<!-- prop="volumeNumber"-->
<!-- label="全宗号"-->
<!-- width="70">-->
<!-- </el-table-column>-->
<!-- <el-table-column-->
<!-- align="center"-->
<!-- prop="number"-->
<!-- label="档号"-->
<!-- width="180">-->
<!--<!– <template slot-scope="scope">–>-->
<!--<!– <el-button type="text" @click="getFileList(scope.row)">{{scope.row.number}}</el-button>–>-->
<!--<!– </template>–>-->
<!-- </el-table-column>-->
<el-table-column
<el-table-column
align=
"center"
align=
"center"
prop=
"year"
prop=
"year"
label=
"年度"
label=
"年度"
width=
"70"
>
width=
"70"
>
</el-table-column>
</el-table-column>
<!-- <el-table-column-->
<!-- align="center"-->
<!-- prop="retentionPeriod"-->
<!-- label="保管期限"-->
<!-- width="60">-->
<!-- </el-table-column>-->
<!-- <el-table-column-->
<!-- align="center"-->
<!-- prop="institution"-->
<!-- label="机构(问题)"-->
<!-- width="70">-->
<!-- </el-table-column>-->
<!-- <el-table-column-->
<!-- align="center"-->
<!-- prop="responsiblePerson"-->
<!-- label="责任者"-->
<!-- width="130">-->
<!-- </el-table-column>-->
<el-table-column
<el-table-column
align=
"center"
align=
"center"
prop=
"title"
prop=
"title"
...
@@ -178,12 +146,6 @@
...
@@ -178,12 +146,6 @@
label=
"件数"
label=
"件数"
width=
"60"
>
width=
"60"
>
</el-table-column>
</el-table-column>
<!-- <el-table-column-->
<!-- align="center"-->
<!-- prop="createTimeStr"-->
<!-- label="归档时间"-->
<!-- width="120">-->
<!-- </el-table-column>-->
<el-table-column
<el-table-column
align=
"center"
align=
"center"
prop=
"fileType"
prop=
"fileType"
...
@@ -200,23 +162,35 @@
...
@@ -200,23 +162,35 @@
align=
"center"
align=
"center"
prop=
"categoryType"
prop=
"categoryType"
label=
"类别代码"
label=
"类别代码"
width=
"
7
0"
>
width=
"
6
0"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
align=
"center"
align=
"center"
prop=
"businessType"
prop=
"businessType"
label=
"业务类别"
label=
"业务类别"
width=
"2
0
0"
>
width=
"2
5
0"
>
</el-table-column>
</el-table-column>
<!-- <el-table-column-->
<el-table-column
<!-- align="center"-->
align=
"center"
<!-- prop="fileNumber"-->
fixed=
"right"
<!-- label="案卷号"-->
label=
"操作"
<!-- width="70">-->
width=
"200"
>
<!-- </el-table-column>-->
<el-table-column
align=
"center"
fixed=
"right"
label=
"操作"
width=
"100"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"primary"
size=
"mini"
plain
@
click=
"fileArchive(scope.row)"
>
归档
</el-button>
<el-input
onKeypress=
"return (/[\d]/.test(String.fromCharCode(event.keyCode)))"
v-model=
"scope.row.fileNumber"
style=
"float: left;width: 63%"
placeholder=
"输入案卷号"
clearable
size=
"mini"
></el-input>
<el-button
style=
"float: left;margin-left: 10px"
type=
"primary"
size=
"mini"
plain
@
click=
"fileArchive(scope.row)"
>
归档
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -263,6 +237,12 @@
...
@@ -263,6 +237,12 @@
this
.
$api
.
getlist
.
selectExpectArchive
(
data
)
this
.
$api
.
getlist
.
selectExpectArchive
(
data
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
if
(
response
.
code
===
200
)
{
if
(
response
.
code
===
200
)
{
for
(
const
i
in
response
.
data
.
content
)
{
for
(
const
j
in
response
.
data
.
content
[
i
].
eventLogList
)
{
response
.
data
.
content
[
i
].
eventLogList
[
j
].
nameDec
=
this
.
$options
.
methods
.
decryptParam
(
response
.
data
.
content
[
i
].
eventLogList
[
j
].
name
);
response
.
data
.
content
[
i
].
eventLogList
[
j
].
idcardDec
=
this
.
$options
.
methods
.
decryptParam
(
response
.
data
.
content
[
i
].
eventLogList
[
j
].
idcard
);
}
}
this
.
tableData
=
response
.
data
.
content
;
this
.
tableData
=
response
.
data
.
content
;
this
.
totals
=
response
.
data
.
totalSize
;
this
.
totals
=
response
.
data
.
totalSize
;
}
}
...
@@ -296,11 +276,24 @@
...
@@ -296,11 +276,24 @@
});
});
return
decrypted
.
toString
(
CryptoJS
.
enc
.
Utf8
);
return
decrypted
.
toString
(
CryptoJS
.
enc
.
Utf8
);
},
},
decryptCellValue
(
row
,
column
,
cellValue
,
index
)
{
decryptCellValue
(
row
,
column
,
cellValue
)
{
if
(
cellValue
===
null
||
cellValue
===
""
)
return
null
;
this
.
decryptParam
(
cellValue
);
return
this
.
decrypt
(
cellValue
);
},
decryptParam
(
param
)
{
if
(
param
===
null
||
param
===
""
)
return
null
;
return
this
.
decrypt
(
param
);
},
},
fileArchive
(
archive
)
{
fileArchive
(
archive
)
{
if
(
archive
.
fileNumber
===
null
||
archive
.
fileNumber
===
""
||
archive
.
fileNumber
<
0
)
{
this
.
$message
({
showClose
:
true
,
message
:
"请输入案卷号"
,
type
:
'warning'
,
duration
:
3000
});
return
;
}
this
.
loading
=
true
;
const
archives
=
[
archive
];
const
archives
=
[
archive
];
this
.
fileArchives
(
archives
);
this
.
fileArchives
(
archives
);
},
},
...
@@ -324,6 +317,7 @@
...
@@ -324,6 +317,7 @@
});
});
}
}
this
.
reload
();
this
.
reload
();
this
.
loading
=
false
;
})
})
.
catch
((
response
)
=>
{
.
catch
((
response
)
=>
{
this
.
$message
({
this
.
$message
({
...
@@ -332,8 +326,8 @@
...
@@ -332,8 +326,8 @@
type
:
'error'
,
type
:
'error'
,
duration
:
10000
duration
:
10000
});
});
});
this
.
loading
=
false
;
this
.
loading
=
false
;
});
},
},
reload
()
{
reload
()
{
const
data
=
{
const
data
=
{
...
@@ -343,8 +337,26 @@
...
@@ -343,8 +337,26 @@
eventTypeDetail
:
this
.
eventTypeDetail
,
eventTypeDetail
:
this
.
eventTypeDetail
,
};
};
this
.
search
(
data
);
this
.
search
(
data
);
},
getEventType
(
row
,
column
,
cellValue
)
{
switch
(
cellValue
)
{
case
"1"
:
return
"参保登记"
;
case
"3"
:
return
"待遇申请"
;
case
"4"
:
return
"参保注销"
;
case
"5"
:
return
"补缴保费"
;
case
"6"
:
return
"升档改办"
;
case
"7"
:
return
"关系转移"
;
case
"2-1"
:
return
"信息变更/档次变更"
;
case
"2-2"
:
return
"信息变更/银行卡变更"
;
case
"2-3"
:
return
"信息变更/手机号变更"
;
case
"2-4"
:
return
"信息变更/参保身份变更"
;
case
"2-5"
:
return
"信息变更/户籍地址变更"
;
case
"2-6"
:
return
"信息变更/姓名变更"
;
case
"2-7"
:
return
"信息变更/身份证变更"
;
default
:
return
null
;
}
}
},
},
},
created
()
{
created
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
const
data
=
{
const
data
=
{
...
@@ -354,8 +366,15 @@
...
@@ -354,8 +366,15 @@
this
.
$api
.
getlist
.
selectExpectArchive
(
data
)
this
.
$api
.
getlist
.
selectExpectArchive
(
data
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
if
(
response
.
code
===
200
)
{
if
(
response
.
code
===
200
)
{
for
(
const
i
in
response
.
data
.
content
)
{
for
(
const
j
in
response
.
data
.
content
[
i
].
eventLogList
)
{
response
.
data
.
content
[
i
].
eventLogList
[
j
].
nameDec
=
this
.
$options
.
methods
.
decryptParam
(
response
.
data
.
content
[
i
].
eventLogList
[
j
].
name
);
response
.
data
.
content
[
i
].
eventLogList
[
j
].
idcardDec
=
this
.
$options
.
methods
.
decryptParam
(
response
.
data
.
content
[
i
].
eventLogList
[
j
].
idcard
);
}
}
this
.
tableData
=
response
.
data
.
content
;
this
.
tableData
=
response
.
data
.
content
;
this
.
totals
=
response
.
data
.
totalSize
;
this
.
totals
=
response
.
data
.
totalSize
;
console
.
log
(
this
.
tableData
);
}
}
})
})
.
catch
((
response
)
=>
{
.
catch
((
response
)
=>
{
...
@@ -375,44 +394,8 @@
...
@@ -375,44 +394,8 @@
margin-left
:
20px
;
margin-left
:
20px
;
}
}
.wrap
{
.archive-expect
{
overflow
:
hidden
;
position
:
relative
;
}
.masks
{
width
:
100%
;
height
:
100%
;
position
:
absolute
;
left
:
0
;
top
:
0
;
z-index
:
200
}
.form
{
float
:
left
;
width
:
45%
;
margin-left
:
20px
}
.imgcon
{
margin
:
0
auto
;
box-shadow
:
0
0
15px
lightgray
;
overflow
:
hidden
;
margin-bottom
:
40px
}
.block
{
width
:
23%
}
.block
{
float
:
left
;
height
:
100%
;
height
:
100%
;
margin-right
:
20px
overflow-y
:
scroll
;
}
.imtil
{
padding
:
0
0
20px
0
}
}
</
style
>
</
style
>
xichongSys/src/views/Myvue/filesOfArchive.vue
View file @
1f1c4026
This diff is collapsed.
Click to expand it.
xichongSys/src/views/Myvue/noArchiveEventLog.vue
View file @
1f1c4026
<
template
xmlns:v-popover=
"http://www.w3.org/1999/xhtml"
>
<
template
xmlns:v-popover=
"http://www.w3.org/1999/xhtml"
>
<div>
<div
class=
"no-archive-event-log"
>
<el-backtop
target=
".no-archive-event-log"
right=
"70"
bottom=
"70"
>
<div
style=
"text-align: center;font-size: 20px"
>
顶
</div>
</el-backtop>
<div>
<div>
<el-alert
<el-alert
v-if=
"!showSelection"
v-if=
"!showSelection"
...
@@ -390,6 +393,7 @@
...
@@ -390,6 +393,7 @@
this
.
eventLogList
=
selection
;
this
.
eventLogList
=
selection
;
},
},
fileEventLogs
()
{
fileEventLogs
()
{
console
.
log
(
this
.
eventLogList
);
if
(
this
.
eventLogList
.
length
===
0
)
{
if
(
this
.
eventLogList
.
length
===
0
)
{
this
.
$message
({
this
.
$message
({
showClose
:
true
,
showClose
:
true
,
...
@@ -421,9 +425,11 @@
...
@@ -421,9 +425,11 @@
type
:
'error'
,
type
:
'error'
,
duration
:
10000
duration
:
10000
});
});
this
.
eventLogList
.
length
=
0
;
}
}
this
.
pageNum
=
1
;
this
.
pageNum
=
1
;
this
.
reload
();
this
.
reload
();
this
.
loading
=
false
;
})
})
.
catch
((
response
)
=>
{
.
catch
((
response
)
=>
{
this
.
$message
({
this
.
$message
({
...
@@ -432,9 +438,9 @@
...
@@ -432,9 +438,9 @@
type
:
'error'
,
type
:
'error'
,
duration
:
10000
duration
:
10000
});
});
});
this
.
eventLogList
.
length
=
0
;
this
.
loading
=
false
;
this
.
loading
=
false
;
});
},
},
reload
()
{
reload
()
{
const
data
=
{
const
data
=
{
...
@@ -517,4 +523,8 @@
...
@@ -517,4 +523,8 @@
margin-left
:
20px
;
margin-left
:
20px
;
}
}
.no-archive-event-log
{
height
:
100%
;
overflow-y
:
scroll
;
}
</
style
>
</
style
>
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