Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gdtel-gztel-school-center-ui
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴学德
gdtel-gztel-school-center-ui
Commits
2e31690d
Commit
2e31690d
authored
Mar 15, 2022
by
伍思炜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
脱敏处理+更改图片获取接口
parent
9e32a10b
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
29 additions
and
8 deletions
+29
-8
public/json/school-center-ui.json
+0
-1
src/api/school-center/orderAPI.js
+4
-1
src/api/school-center/uploadVerify/studentCardVerifyAPI.js
+3
-1
src/api/school-center/userManager/newUserAPI.js
+3
-0
src/utils/request.js
+6
-0
src/views/school-center/order/order.vue
+0
-0
src/views/school-center/uploadVerify/studentCardVerify.vue
+7
-3
src/views/school-center/userManager/newUser.vue
+6
-2
No files found.
public/json/school-center-ui.json
View file @
2e31690d
...
...
@@ -37,7 +37,6 @@
{
"value"
:
"未下单"
,
"name"
:
"未下单"
},
{
"value"
:
"提交中"
,
"name"
:
"提交中"
},
{
"value"
:
"审核中"
,
"name"
:
"审核中"
},
{
"value"
:
"审核中"
,
"name"
:
"审核中"
},
{
"value"
:
"已完成"
,
"name"
:
"已完成"
},
{
"value"
:
"异常单"
,
"name"
:
"异常单"
}
]
...
...
src/api/school-center/orderAPI.js
View file @
2e31690d
...
...
@@ -29,6 +29,8 @@ let setKuanDiData = (params) => postAction(prefix +"order/setKuanDiData" , param
let
reportList
=
(
params
)
=>
postAction
(
prefix
+
"order/getHhrOrderInfo"
,
params
);
let
reportDownload
=
(
params
)
=>
downFilePost
(
prefix
+
"order/outputHhrOrder"
,
params
);
let
images
=
(
params
)
=>
postAction
(
prefix
+
"/images"
,
params
);
export
{
...
...
@@ -48,5 +50,6 @@ export {
updateSendType
,
updateIccid
,
setUpgradeStatus
,
setKuanDiData
setKuanDiData
,
images
}
src/api/school-center/uploadVerify/studentCardVerifyAPI.js
View file @
2e31690d
...
...
@@ -6,9 +6,11 @@ let excelOut = (params) => downFilePost(prefix + "/studentCardVerify/excelOut" ,
let
list
=
(
params
)
=>
postAction
(
prefix
+
"/studentCardVerify/list"
,
params
);
let
update
=
(
params
)
=>
postAction
(
prefix
+
"/studentCardVerify/update"
,
params
);
let
queryById
=
(
params
)
=>
postAction
(
prefix
+
"/studentCardVerify/queryById"
,
params
);
let
images
=
(
params
)
=>
postAction
(
prefix
+
"/images"
,
params
);
export
{
excelOut
,
list
,
update
,
queryById
queryById
,
images
}
src/api/school-center/userManager/newUserAPI.js
View file @
2e31690d
...
...
@@ -9,10 +9,13 @@ let getSchoolNames = (params) => postAction(prefix + "/newUser/getSchoolNames"
let
initUsers
=
(
params
)
=>
postAction
(
prefix
+
"/newUser/initUsers"
,
params
);
let
list
=
(
params
)
=>
postAction
(
prefix
+
"/newUser/list"
,
params
);
let
update
=
(
params
)
=>
postAction
(
prefix
+
"/newUser/update"
,
params
);
let
images
=
(
params
)
=>
postAction
(
prefix
+
"/images"
,
params
);
export
{
initUsers
,
initSubstName
,
getSchoolNames
,
list
,
update
,
images
}
src/utils/request.js
View file @
2e31690d
...
...
@@ -87,6 +87,12 @@ const err = (error) => {
// request interceptor
service
.
interceptors
.
request
.
use
(
config
=>
{
const
path
=
location
.
hash
.
substr
(
1
);
let
publicKey
=
"MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCAcsbUyeRD2lQGPEnu5LbXOL2lycUJwK/8BsoZD3b932l4JehAvOKR/YNzs6EG4gnZ7gaXLCnWbE5kB1wuUooo6bv8fSAg0W5QmM1TH8zaIImdAaN6c8mw5dUS/2VJ/2GHI54R1NJziX9VHecpf2DrHnWngETsNytmXaVl3JiXywIDAQAB"
;
let
encrypt
=
new
window
.
JSEncrypt
();
encrypt
.
setPublicKey
(
publicKey
);
config
.
headers
[
'security'
]
=
encrypt
.
encryptLong
(
path
);
console
.
log
(
config
)
if
(
config
.
url
.
indexOf
(
'school-center-ui.json'
)
!=
-
1
){
config
.
baseURL
=
''
}
...
...
src/views/school-center/order/order.vue
View file @
2e31690d
This diff is collapsed.
Click to expand it.
src/views/school-center/uploadVerify/studentCardVerify.vue
View file @
2e31690d
...
...
@@ -210,7 +210,7 @@
<
script
>
import
STable
from
'@/components/table'
;
import
ImportBtn
from
"../../../components/sysmanage/ImportBtn"
;
import
{
list
,
excelOut
,
update
,
queryById
}
from
"../../../api/school-center/uploadVerify/studentCardVerifyAPI"
import
{
list
,
excelOut
,
update
,
queryById
,
images
}
from
"../../../api/school-center/uploadVerify/studentCardVerifyAPI"
import
{
cloneObject
,
exportFile
}
from
'@/utils/util'
;
import
ConstantActivity
from
"@/constant/ConstantActivity"
;
import
Vue
from
'vue'
;
...
...
@@ -405,8 +405,12 @@
this
.
visiblepicture
=
false
;
},
imgClick
(
res
)
{
this
.
imgInfo
=
this
.
baseuploadUrl
()
+
res
this
.
imgInfo
=
this
.
replaceUrl
(
this
.
imgInfo
);
let
imgInfo
=
this
.
baseuploadUrl
()
+
res
//imgInfo = this.replaceUrl(imgInfo);
images
({
url
:
imgInfo
}).
then
(
response
=>
{
this
.
imgInfo
=
'data:image/jpg;base64,'
+
response
})
this
.
visiblepicture
=
true
},
replaceUrl
(
res
){
...
...
src/views/school-center/userManager/newUser.vue
View file @
2e31690d
...
...
@@ -137,7 +137,7 @@
<
script
>
import
STable
from
'@/components/table'
;
import
ImportBtn
from
"../../../components/sysmanage/ImportBtn"
;
import
{
list
,
update
,
getSchoolNames
,
initSubstName
}
from
"../../../api/school-center/userManager/newUserAPI"
import
{
list
,
update
,
getSchoolNames
,
initSubstName
,
images
}
from
"../../../api/school-center/userManager/newUserAPI"
import
{
cloneObject
}
from
'@/utils/util'
;
import
ConstantActivity
from
"@/constant/ConstantActivity"
;
import
Vue
from
'vue'
;
...
...
@@ -257,7 +257,11 @@
this
.
visiblepicture
=
false
;
},
imgClick
(
res
)
{
this
.
imgInfo
=
this
.
apis
+
(
res
!=
null
?
res
.
replace
(
"manager"
,
"app"
)
:
""
);
let
imgInfo
=
this
.
apis
+
(
res
!=
null
?
res
:
""
);
//imgInfo = this.replaceUrl(imgInfo);
images
({
url
:
imgInfo
}).
then
(
response
=>
{
this
.
imgInfo
=
'data:image/jpg;base64,'
+
response
})
this
.
visiblepicture
=
true
},
imgUrl
(
res
){
...
...
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