Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
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
罗超
confucius
Commits
e644e1e2
Commit
e644e1e2
authored
Jan 19, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
196ac3db
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
33 additions
and
13 deletions
+33
-13
index.js
src/api/work/index.js
+13
-1
courserefund-form.vue
src/components/course/courserefund-form.vue
+4
-1
index.vue
src/components/work/index.vue
+9
-4
contractSign.vue
src/pages/contractSign.vue
+2
-4
courseRefundH5.vue
src/pages/courseRefundH5.vue
+5
-3
No files found.
src/api/work/index.js
View file @
e644e1e2
...
...
@@ -28,4 +28,16 @@ export function GetCenterCommissionStatistics(data) {
method
:
'post'
,
data
})
}
\ No newline at end of file
}
/**
* 首页 今日数据图标数据
*/
export
function
MarketStatic
(
data
)
{
return
request
({
url
:
'/UserCenter/MarketStatic'
,
method
:
'post'
,
data
})
}
src/components/course/courserefund-form.vue
View file @
e644e1e2
...
...
@@ -105,6 +105,8 @@
import
{
GetEducationReceiptPage
,
}
from
"../../api/teacher/index"
;
import
{
Encrypt
}
from
'../../utils/encrypt'
import
html2canvas
from
"html2canvas"
;
export
default
{
...
...
@@ -305,7 +307,8 @@
tipLoadding
.
show
({
message
:
'正在生成图片,请稍后...'
})
var
domain
=
"https://edu.kookaku.com/#/courseRefundH5?Id="
+
item
.
Id
;
let
str
=
Encrypt
(
item
.
Id
.
toString
())
var
domain
=
"https://edu.kookaku.com/#/courseRefundH5?a="
+
encodeURIComponent
(
str
);
let
msg
=
{
url
:
domain
,
width
:
430
...
...
src/components/work/index.vue
View file @
e644e1e2
...
...
@@ -131,7 +131,7 @@
class=
"q-px-md"
color=
"primary"
size=
"12px"
label=
"今日
工作
"
label=
"今日
数据统计
"
/>
<q-btn
dense
...
...
@@ -144,7 +144,8 @@
/>
</q-btn-group>
</div>
<dasbord></dasbord>
<dasbord
v-if=
"viewMode==2"
></dasbord>
<todayData
v-if=
"viewMode==1"
></todayData>
</div>
</div>
</template>
...
...
@@ -154,10 +155,14 @@ import { mapGetters } from "vuex";
import
{
queryOKRMyEmployeeList
}
from
"../../api/okr/work"
;
import
{
queryEmployee
}
from
"../../api/users/user"
;
import
dasbord
from
"./dasbord.vue"
;
import
todayData
from
"./todayData.vue"
import
{
Encrypt
,
Decrypt
}
from
'../../utils/encrypt'
export
default
{
components
:
{
dasbord
},
components
:
{
dasbord
,
todayData
},
data
()
{
return
{
usersList
:
[],
...
...
@@ -165,7 +170,7 @@ export default {
searchText
:
""
,
menuList
:
[],
activeMenu
:
"myokr"
,
viewMode
:
1
viewMode
:
2
};
},
created
()
{
...
...
src/pages/contractSign.vue
View file @
e644e1e2
...
...
@@ -120,6 +120,7 @@
if
(
this
.
$route
.
query
.
a
)
{
let
ContractId
=
Decrypt
(
decodeURIComponent
(
this
.
$route
.
query
.
a
));
this
.
msg
.
ContractId
=
ContractId
;
this
.
BackMsg
.
Id
=
ContractId
;
}
if
(
this
.
$route
.
query
.
StudentName
)
{
this
.
StudentName
=
this
.
$route
.
query
.
StudentName
...
...
@@ -127,9 +128,6 @@
if
(
this
.
$route
.
query
.
Money
)
{
this
.
Money
=
this
.
$route
.
query
.
Money
;
}
if
(
this
.
$route
.
query
.
Id
)
{
this
.
BackMsg
.
Id
=
this
.
$route
.
query
.
Id
;
}
if
(
this
.
$route
.
query
.
Type
)
{
this
.
Type
=
this
.
$route
.
query
.
Type
;
}
...
...
@@ -317,7 +315,7 @@
this
.
$router
.
push
({
path
:
'/courseRefundH5'
,
query
:
{
Id
:
this
.
BackMsg
.
Id
a
:
encodeURIComponent
(
Encrypt
(
this
.
BackMsg
.
Id
.
toString
()))
}
});
}
...
...
src/pages/courseRefundH5.vue
View file @
e644e1e2
...
...
@@ -312,6 +312,7 @@
import
{
GetBackClassProtocol
}
from
'../api/sale/contract'
import
{
Encrypt
,
Decrypt
}
from
'../utils/encrypt'
export
default
{
data
()
{
...
...
@@ -326,8 +327,9 @@
};
},
created
()
{
if
(
this
.
$route
.
query
.
Id
)
{
this
.
gmsg
.
Id
=
this
.
$route
.
query
.
Id
;
if
(
this
.
$route
.
query
.
a
)
{
let
ContractId
=
Decrypt
(
decodeURIComponent
(
this
.
$route
.
query
.
a
));
this
.
gmsg
.
Id
=
ContractId
}
this
.
getList
();
},
...
...
@@ -362,7 +364,7 @@
this
.
$router
.
push
({
path
:
'/contractSign'
,
query
:
{
Id
:
this
.
gmsg
.
Id
,
a
:
encodeURIComponent
(
Encrypt
(
this
.
gmsg
.
Id
.
toString
()))
,
Type
:
2
}
});
...
...
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