Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
thinkApp
Project
Project
Details
Activity
Releases
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
游洁
thinkApp
Commits
99e90a3d
Commit
99e90a3d
authored
Sep 26, 2022
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
925edda2
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
72 additions
and
41 deletions
+72
-41
index.vue
src/pages/FriendsAndRelatives/index.vue
+5
-1
index.vue
src/pages/MyChild/index.vue
+56
-27
orderList.vue
src/pages/contract/orderList.vue
+1
-1
timeTable-item.vue
src/pages/timetable/timeTable-item.vue
+4
-4
timeTable.vue
src/pages/timetable/timeTable.vue
+3
-3
request.js
src/utils/request.js
+2
-3
requestErp.js
src/utils/requestErp.js
+1
-2
No files found.
src/pages/FriendsAndRelatives/index.vue
View file @
99e90a3d
...
...
@@ -222,7 +222,11 @@
});
const
methods
=
{
invite
(){
return
{
title
:
"微信邀请"
,
query
:
"/pages/login/login"
,
imageUrl
:
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1664163809000_838.png"
,
};
},
usernameInput
(
val
)
{
data
.
Account
=
val
.
detail
;
...
...
src/pages/MyChild/index.vue
View file @
99e90a3d
...
...
@@ -23,12 +23,13 @@
margin-left
:
27
rpx
;
}
.dataList-content
{
padding
:
150
rpx
50
rpx
0
5
0
rpx
;
padding
:
150
rpx
0
rpx
0
0
rpx
;
}
.title
{
font-size
:
34
rpx
;
font-weight
:
800
;
color
:
#111111
;
padding
:
0
50
rpx
;
}
.text
{
margin-top
:
20
rpx
;
...
...
@@ -36,6 +37,7 @@
font-size
:
26
rpx
;
font-weight
:
500
;
color
:
#BEBEBE
;
padding
:
0
50
rpx
;
}
.dataList-box
{
margin-bottom
:
40
rpx
;
...
...
@@ -44,7 +46,7 @@
height
:
204
rpx
;
flex-grow
:
1
;
position
:
relative
;
padding
:
31
rpx
40
rpx
0
2
2
rpx
;
padding
:
31
rpx
0
rpx
0
4
2
rpx
;
}
.dataList-image
{
width
:
177
rpx
;
...
...
@@ -53,7 +55,7 @@
background-size
:
100%
100%
;
position
:
absolute
;
bottom
:
0
;
left
:
0
;
left
:
50
rpx
;
flex-direction
:
column
;
justify-content
:
center
;
align-items
:
center
;
...
...
@@ -70,13 +72,12 @@
}
.dataList-center
{
background-color
:
#ffffff
;
position
:
absolute
;
left
:
177
rpx
;
bottom
:
0
;
right
:
0
;
margin-top
:
40
rpx
;
border-radius
:
0
50
rpx
50
rpx
0
;
padding
:
33
rpx
48
rpx
;
padding
:
33
rpx
48
rpx
33
rpx
157
rpx
;
box-shadow
:
0px
6px
29px
0px
rgba
(
76
,
76
,
76
,
0.09
);
margin-left
:
50
rpx
;
margin-right
:
50
rpx
;
}
.dataList-left
{
flex-direction
:
column
;
...
...
@@ -109,13 +110,20 @@
.van-swipe-cell__left
,
.van-swipe-cell__right
{
position
:
absolute
;
top
:
0
;
height
:
100%
;
right
:
-0
rpx
;
width
:
199
rpx
;
right
:
0
rpx
;
bottom
:
0
;
width
:
78
rpx
;
height
:
166
rpx
;
line-height
:
166
rpx
;
-webkit-transform
:
translate3d
(
100%
,
0
,
0
);
transform
:
translate3d
(
100%
,
0
,
0
);
text-align
:
center
;
}
/
deep
/
.van-swipe-cell__left
.van-button--danger
,
/
deep
/
.van-swipe-cell__right
.van-button--danger
{
background
:
rgba
(
0
,
0
,
0
,
0
);
border
:
0
;
}
</
style
>
<
template
>
<view
class=
"pages"
>
...
...
@@ -128,13 +136,12 @@
<view
class=
"dataList-content"
>
<view
class=
"title"
>
在读小孩列表
</view>
<view
class=
"text"
>
左滑可删除小孩信息
</view>
<view
class=
"dataList-box"
style=
"overflow: hidden;"
>
<van-swipe-cell
id=
"swipe-cell"
:right-width=
"116"
async-close
:disabled=
"true"
@
close=
"onClose"
>
<van-swipe-cell
id=
"swipe-cell"
:right-width=
"70"
async-close
:key=
"index"
@
close=
"onClose"
>
<view
class=
"dataList-form active"
>
<view
class=
"dataList-image flex"
>
<image
:src=
"imgBoy?imgBoy:imgGirl"
...
...
@@ -155,12 +162,11 @@
<text>
学习中/休学
</text>
</view>
</view>
<view
slot=
"right"
class=
"van-swipe-cell__right"
>
<van-icon
name=
"cross"
color=
"#BCBCBC"
></van-icon>
</view>
</view>
</van-swipe-cell>
</view>
<view
slot=
"right"
class=
"van-swipe-cell__right"
>
<van-icon
name=
"cross"
color=
"#BCBCBC"
size=
"20"
@
click
.
stop=
"DelData(item)"
></van-icon>
</view>
</van-swipe-cell>
<van-empty
description=
"暂无小孩"
v-if=
"dataList.length === 0"
/>
<view
v-if=
"dataList.length > 0"
>
<Loadmore
:state=
"pageState"
/>
...
...
@@ -227,12 +233,35 @@
break
;
}
},
// 删除接口
DelData
(
item
){
uni
.
showModal
({
title
:
'提示'
,
content
:
'将要删除数据,是否继续'
,
success
:
function
(
res
)
{
if
(
res
.
confirm
)
{
let
Msg
=
{
ExamId
:
item
.
ExamId
}
}
else
if
(
res
.
cancel
)
{
uni
.
showToast
({
title
:
'已取消'
,
icon
:
'none'
,
duration
:
500
})
}
}
});
},
jumpPage
(
url
)
{
uni
.
navigateTo
({
url
:
url
,
});
},
async
getData
()
{
return
let
res
=
await
GetOrderPage
(
data
.
msg
);
if
(
res
)
{
if
(
data
.
timer
)
data
.
timer
=
null
;
...
...
@@ -259,9 +288,9 @@
onLoad
(
options
)
{
this
.
msg
.
OrderType
=
options
.
type
this
.
getData
();
uni
.
setNavigationBarTitle
({
title
:
this
.
pageTitle
});
//
uni.setNavigationBarTitle({
//
title: this.pageTitle
//
});
},
onReachBottom
()
{
if
(
this
.
msg
.
pageIndex
<
this
.
pageCount
)
{
...
...
src/pages/contract/orderList.vue
View file @
99e90a3d
...
...
@@ -30,7 +30,7 @@
}
.Order_Number
{
color
:
#
0000ff
;
color
:
#
DC3241
;
font-size
:
24
rpx
;
}
.Order_Type
{
...
...
src/pages/timetable/timeTable-item.vue
View file @
99e90a3d
...
...
@@ -43,7 +43,7 @@
</view>
<view
class=
"class-con class_status"
>
<view
v-if=
"item.IsLeave === 1 && item.IsCheck == 2"
>
状态:
<text
style=
"color:#E6A23C;"
>
已请假
</text></view>
<view
v-if=
"item.IsLeave === 0 &&item.IsCheck === 0"
>
状态:
<text
style=
"color:#
0000FF
"
>
正常
</text></view>
<view
v-if=
"item.IsLeave === 0 &&item.IsCheck === 0"
>
状态:
<text
style=
"color:#
DC3241
"
>
正常
</text></view>
<view
v-if=
"item.IsLeave === 0 &&item.IsCheck === 1"
>
状态:
<text
style=
"color:#F56C6C"
>
缺勤
</text></view>
</view>
<view
class=
"btn-box"
>
...
...
@@ -120,7 +120,7 @@ export default {
width
:
12
rpx
;
height
:
12
rpx
;
background-color
:
#ffffff
;
border
:
4
rpx
solid
#
0000ff
;
border
:
4
rpx
solid
#
DC3241
;
border-radius
:
50%
;
margin-right
:
20
rpx
;
}
...
...
@@ -159,7 +159,7 @@ export default {
/
deep
/
.leave-btn
{
width
:
142
rpx
;
height
:
52
rpx
;
background-color
:
#
0000ff
;
background-color
:
#
DC3241
;
border-radius
:
8
rpx
;
font-size
:
26
rpx
;
font-family
:
PingFang
SC
;
...
...
@@ -169,7 +169,7 @@ export default {
/
deep
/
.already-leave-btn
{
width
:
142
rpx
;
height
:
52
rpx
;
background-color
:
#
0000ff
;
background-color
:
#
DC3241
;
opacity
:
0.5
;
border-radius
:
8
rpx
;
font-size
:
26
rpx
;
...
...
src/pages/timetable/timeTable.vue
View file @
99e90a3d
...
...
@@ -46,10 +46,10 @@
<view
class=
"openorclose flex flex_center_center"
>
<van-divider
contentPosition=
"center"
style=
"width: 90%"
v-if=
"isShowAllDay"
>
<van-icon
name=
"arrow-up"
size=
"40rpx"
color=
"#
0000ff
"
@
click=
"changeCalendar"
/>
<van-icon
name=
"arrow-up"
size=
"40rpx"
color=
"#
DC3241
"
@
click=
"changeCalendar"
/>
</van-divider>
<van-divider
contentPosition=
"center"
style=
"width: 90%"
v-if=
"!isShowAllDay"
>
<van-icon
name=
"arrow-down"
size=
"40rpx"
color=
"#
0000ff
"
@
click=
"changeCalendar"
/>
<van-icon
name=
"arrow-down"
size=
"40rpx"
color=
"#
DC3241
"
@
click=
"changeCalendar"
/>
</van-divider>
</view>
</view>
...
...
@@ -533,7 +533,7 @@
.calendar-active
{
width
:
50
rpx
;
height
:
50
rpx
;
background-color
:
rgba
(
0
,
0
,
25
5
,
0.9
)
!important
;
background-color
:
rgba
(
220
,
50
,
6
5
,
0.9
)
!important
;
border-radius
:
50%
;
color
:
#FFFFFF
!important
;
}
...
...
src/utils/request.js
View file @
99e90a3d
//请求教育接口
let
host
=
''
if
(
process
.
env
.
NODE_ENV
===
"development"
)
{
//host = 'http://localhost:5004/api'
host
=
'https://jjswapi.oytour.com/api'
//host = 'http://192.168.10.11:8082/api'
//host = 'https://jjswapi.oytour.com/api'
host
=
'http://192.168.10.206:5004/api'
// host = 'http://192.168.10.128:8900/api'
}
else
{
host
=
'https://jjswapi.oytour.com/api'
}
...
...
src/utils/requestErp.js
View file @
99e90a3d
//请求教育接口
let
host
=
''
if
(
process
.
env
.
NODE_ENV
===
"development"
)
{
//host = 'http://localhost:5004/api'
//host = 'https://jjswapi.oytour.com/api'
host
=
'http://192.168.10.206:5005/api'
// host = 'http://192.168.10.
36:8082
/api'
// host = 'http://192.168.10.
128:8900
/api'
}
else
{
host
=
'https://jjswapi.oytour.com/api'
}
...
...
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