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
26567f74
Commit
26567f74
authored
Jul 31, 2019
by
lc@weface.com.cn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
覆盖人员查询
parent
5baa9d4e
Changes
7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
403 additions
and
40 deletions
+403
-40
getlist.js
xichongSys/src/http/moudules/getlist.js
+8
-0
index.js
xichongSys/src/router/index.js
+8
-4
datetime.js
xichongSys/src/utils/datetime.js
+16
-6
global.js
xichongSys/src/utils/global.js
+2
-2
allbaseInfo.vue
xichongSys/src/views/Myvue/allbaseInfo.vue
+342
-0
newsupdata.vue
xichongSys/src/views/Myvue/newsupdata.vue
+9
-9
shrecord.vue
xichongSys/src/views/Myvue/shrecord.vue
+18
-19
No files found.
xichongSys/src/http/moudules/getlist.js
View file @
26567f74
...
@@ -75,4 +75,12 @@ export const shebao = (params) => {
...
@@ -75,4 +75,12 @@ export const shebao = (params) => {
})
})
}
}
export
const
listAllBaseInfo
=
(
data
)
=>
{
return
axios
({
url
:
'/baseInfo/getAllBaseInfo'
,
method
:
'post'
,
data
})
}
xichongSys/src/router/index.js
View file @
26567f74
...
@@ -17,7 +17,7 @@ import drcbdj from "@/views/Myvue/drcbdj"
...
@@ -17,7 +17,7 @@ import drcbdj from "@/views/Myvue/drcbdj"
import
xxbg
from
"@/views/Myvue/xxbg"
import
xxbg
from
"@/views/Myvue/xxbg"
import
Record
from
"@/views/Myvue/rzrecord"
import
Record
from
"@/views/Myvue/rzrecord"
import
Newsupdata
from
"@/views/Myvue/newsupdata"
import
Newsupdata
from
"@/views/Myvue/newsupdata"
import
AllbaseInfo
from
"@/views/Myvue/allbaseInfo"
Vue
.
use
(
Router
)
Vue
.
use
(
Router
)
const
router
=
new
Router
({
const
router
=
new
Router
({
...
@@ -75,6 +75,10 @@ const router = new Router({
...
@@ -75,6 +75,10 @@ const router = new Router({
path
:
"/newsupdata"
,
path
:
"/newsupdata"
,
name
:
"新闻发布"
,
name
:
"新闻发布"
,
component
:
Newsupdata
component
:
Newsupdata
},{
path
:
"/allbaseInfo"
,
name
:
"覆盖人员"
,
component
:
AllbaseInfo
}
}
]
]
},
},
...
...
xichongSys/src/utils/datetime.js
View file @
26567f74
...
@@ -9,10 +9,14 @@
...
@@ -9,10 +9,14 @@
* @param datetime 国际化日期格式
* @param datetime 国际化日期格式
*/
*/
export
function
format
(
datetime
)
{
export
function
format
(
datetime
)
{
return
formatWithSeperator
(
datetime
,
"/"
,
":"
);
return
formatWithSeperator
(
datetime
,
"-"
,
":"
);
}
export
function
formatDate
(
datetime
)
{
return
formatWithSeperator
(
datetime
,
"-"
);
}
}
/**
/**
*
* 时间格式化
* 时间格式化
* 将 2018-09-23T11:54:16.000+0000 格式化成类似 2018/09/23 11:54:16
* 将 2018-09-23T11:54:16.000+0000 格式化成类似 2018/09/23 11:54:16
* 可以指定日期和时间分隔符
* 可以指定日期和时间分隔符
...
@@ -22,12 +26,18 @@ export function formatWithSeperator (datetime, dateSeprator, timeSeprator) {
...
@@ -22,12 +26,18 @@ export function formatWithSeperator (datetime, dateSeprator, timeSeprator) {
if
(
datetime
!=
null
)
{
if
(
datetime
!=
null
)
{
const
dateMat
=
new
Date
(
datetime
);
const
dateMat
=
new
Date
(
datetime
);
const
year
=
dateMat
.
getFullYear
();
const
year
=
dateMat
.
getFullYear
();
const
month
=
dateMat
.
getMonth
()
+
1
;
const
month
=
addZoo
(
dateMat
.
getMonth
()
+
1
);
const
day
=
dateMat
.
getDate
();
const
day
=
addZoo
(
dateMat
.
getDate
());
const
hh
=
dateMat
.
getHours
();
const
hh
=
addZoo
(
dateMat
.
getHours
());
const
mm
=
dateMat
.
getMinutes
();
const
mm
=
addZoo
(
dateMat
.
getMinutes
());
const
ss
=
dateMat
.
getSeconds
();
const
ss
=
addZoo
(
dateMat
.
getSeconds
());
if
(
!
timeSeprator
){
return
year
+
dateSeprator
+
month
+
dateSeprator
+
day
;
}
const
timeFormat
=
year
+
dateSeprator
+
month
+
dateSeprator
+
day
+
" "
+
hh
+
timeSeprator
+
mm
+
timeSeprator
+
ss
;
const
timeFormat
=
year
+
dateSeprator
+
month
+
dateSeprator
+
day
+
" "
+
hh
+
timeSeprator
+
mm
+
timeSeprator
+
ss
;
return
timeFormat
;
return
timeFormat
;
}
}
}
}
function
addZoo
(
val
)
{
return
val
<
9
?
0
+
""
+
val
:
val
;
}
xichongSys/src/utils/global.js
View file @
26567f74
...
@@ -5,13 +5,13 @@
...
@@ -5,13 +5,13 @@
*/
*/
// 后台管理系统服务器地址
// 后台管理系统服务器地址
export
const
baseUrl
=
'http://172.16.10.33:9002'
//
export const baseUrl = 'http://172.16.10.33:9002'
//export const baseUrl2 ="http://172.16.10.33:9002"
//export const baseUrl2 ="http://172.16.10.33:9002"
export
const
baseUrl2
=
'http://172.16.10.25:9999'
export
const
baseUrl2
=
'http://172.16.10.25:9999'
// 系统数据备份还原服务器地址
// 系统数据备份还原服务器地址
//export const backupBaseUrl = 'http://localhost:8002'
//export const backupBaseUrl = 'http://localhost:8002'
//export const baseUrl = 'http://faceauth.weface.com.cn:98'
//export const baseUrl = 'http://faceauth.weface.com.cn:98'
//export const baseUrl = 'http://172.16.10.16
3:9002'
export
const
baseUrl
=
'http://172.16.10.3
3:9002'
export
default
{
export
default
{
baseUrl
,
baseUrl
,
...
...
xichongSys/src/views/Myvue/allbaseInfo.vue
0 → 100644
View file @
26567f74
This diff is collapsed.
Click to expand it.
xichongSys/src/views/Myvue/newsupdata.vue
View file @
26567f74
xichongSys/src/views/Myvue/shrecord.vue
View file @
26567f74
...
@@ -181,7 +181,6 @@
...
@@ -181,7 +181,6 @@
methods
:
{
methods
:
{
//搜索
//搜索
serch
(){
serch
(){
var
data
=
{
var
data
=
{
idcard
:
this
.
idcard
?
this
.
Encrypt
(
this
.
idcard
):
""
,
idcard
:
this
.
idcard
?
this
.
Encrypt
(
this
.
idcard
):
""
,
recordType
:
this
.
ywtype
?
parseInt
(
this
.
ywtype
):
""
,
recordType
:
this
.
ywtype
?
parseInt
(
this
.
ywtype
):
""
,
...
...
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