From 6ab6654f1aca46cdb5145b4e6b41ae28735eafab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E6=99=93=E8=8C=B9?= <1935832701@qq.com> Date: Thu, 3 Nov 2022 18:16:30 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AC=AC=E4=B8=80=E6=AC=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 63 ++++ api/Modifyinformation/Modifyinformation.js | 24 ++ api/Mymission.js | 10 + api/baseurl.js | 4 + api/forgotPassword/forgotPassword.js | 9 + api/login/index.js | 9 + api/personnal/personal.js | 7 + api/register/index.js | 16 + api/request.js | 49 +++ api/taskDetails.js | 11 + index.html | 20 ++ main.js | 23 ++ manifest.json | 72 +++++ package-lock.json | 24 ++ package.json | 5 + pages.json | 106 ++++++ pages/Modifyinformation/Modifyinformation.vue | 218 +++++++++++++ pages/Mymission/Mymission.vue | 296 +++++++++++++++++ pages/confirmCompletion/confirmCompletion.vue | 147 +++++++++ pages/forgotPassword/forgotPassword.scss | 74 +++++ pages/forgotPassword/forgotPassword.vue | 122 +++++++ pages/homepage/homepage.vue | 56 ++++ pages/login/login.scss | 89 ++++++ pages/login/login.vue | 179 +++++++++++ pages/personal/personal.vue | 222 +++++++++++++ pages/register/register.scss | 80 +++++ pages/register/register.vue | 301 ++++++++++++++++++ pages/startup/startup.vue | 53 +++ pages/taskDetails/taskDetails.vue | 209 ++++++++++++ pages/taskReturn/taskReturn.vue | 76 +++++ static/autograph.png | Bin 0 -> 1571 bytes static/detailed.png | Bin 0 -> 13871 bytes static/dingdan.png | Bin 0 -> 2029 bytes static/evaluated.png | Bin 0 -> 2019 bytes static/finished.png | Bin 0 -> 1673 bytes static/fuwutu.png | Bin 0 -> 50424 bytes static/gb.png | Bin 0 -> 1253 bytes static/headportrait.png | Bin 0 -> 2342 bytes static/home.png | Bin 0 -> 3372 bytes static/home1.png | Bin 0 -> 2236 bytes static/homepagew.png | Bin 0 -> 1610 bytes static/homepagews.png | Bin 0 -> 1610 bytes static/jiantou.png | Bin 0 -> 1297 bytes static/order.png | Bin 0 -> 1443 bytes static/person.png | Bin 0 -> 1632 bytes static/pic.png | Bin 0 -> 729 bytes static/radio.png | Bin 0 -> 2283 bytes static/rowsright.png | Bin 0 -> 638 bytes static/shopping.png | Bin 0 -> 2651 bytes static/sousuo.png | Bin 0 -> 1512 bytes static/user.png | Bin 0 -> 2406 bytes static/users.png | Bin 0 -> 1942 bytes static/启动页.png | Bin 0 -> 23943 bytes uni.scss | 77 +++++ 54 files changed, 2651 insertions(+) create mode 100644 App.vue create mode 100644 api/Modifyinformation/Modifyinformation.js create mode 100644 api/Mymission.js create mode 100644 api/baseurl.js create mode 100644 api/forgotPassword/forgotPassword.js create mode 100644 api/login/index.js create mode 100644 api/personnal/personal.js create mode 100644 api/register/index.js create mode 100644 api/request.js create mode 100644 api/taskDetails.js create mode 100644 index.html create mode 100644 main.js create mode 100644 manifest.json create mode 100644 package-lock.json create mode 100644 package.json create mode 100644 pages.json create mode 100644 pages/Modifyinformation/Modifyinformation.vue create mode 100644 pages/Mymission/Mymission.vue create mode 100644 pages/confirmCompletion/confirmCompletion.vue create mode 100644 pages/forgotPassword/forgotPassword.scss create mode 100644 pages/forgotPassword/forgotPassword.vue create mode 100644 pages/homepage/homepage.vue create mode 100644 pages/login/login.scss create mode 100644 pages/login/login.vue create mode 100644 pages/personal/personal.vue create mode 100644 pages/register/register.scss create mode 100644 pages/register/register.vue create mode 100644 pages/startup/startup.vue create mode 100644 pages/taskDetails/taskDetails.vue create mode 100644 pages/taskReturn/taskReturn.vue create mode 100644 static/autograph.png create mode 100644 static/detailed.png create mode 100644 static/dingdan.png create mode 100644 static/evaluated.png create mode 100644 static/finished.png create mode 100644 static/fuwutu.png create mode 100644 static/gb.png create mode 100644 static/headportrait.png create mode 100644 static/home.png create mode 100644 static/home1.png create mode 100644 static/homepagew.png create mode 100644 static/homepagews.png create mode 100644 static/jiantou.png create mode 100644 static/order.png create mode 100644 static/person.png create mode 100644 static/pic.png create mode 100644 static/radio.png create mode 100644 static/rowsright.png create mode 100644 static/shopping.png create mode 100644 static/sousuo.png create mode 100644 static/user.png create mode 100644 static/users.png create mode 100644 static/启动页.png create mode 100644 uni.scss diff --git a/App.vue b/App.vue new file mode 100644 index 0000000..493643a --- /dev/null +++ b/App.vue @@ -0,0 +1,63 @@ + + + diff --git a/api/Modifyinformation/Modifyinformation.js b/api/Modifyinformation/Modifyinformation.js new file mode 100644 index 0000000..7f44611 --- /dev/null +++ b/api/Modifyinformation/Modifyinformation.js @@ -0,0 +1,24 @@ +import request from "../request.js" + +export function userPassWord(data) { + return request({ + url: `/nurseApp/PersonLogin/userPassWord`, + method: 'POST', + data, + }) +} +export function updateHeadAvatarHead(userId,File) { + return request({ + url: `/nurseApp/PersonLogin/updateHeadAvatarHead?userId=${userId}&File=${File}`, + method: 'POST', + data, + }) +} +export function nursePerson(phonenumber,password) { + return request({ + url: `/nurseApp/PersonLogin/nursePerson?phonenumber=${phonenumber}&password=${password}`, + method: 'GET' + }) +} + + diff --git a/api/Mymission.js b/api/Mymission.js new file mode 100644 index 0000000..0c2b986 --- /dev/null +++ b/api/Mymission.js @@ -0,0 +1,10 @@ +import request from "./request.js" + + +export function selectMission(nursePersonId,orderStatus,pageNum,pageSize) { + return request({ + url: `/nurseApp/personLogin/selectMission?nursePersonId=${nursePersonId}&orderStatus=${orderStatus}&pageNum=${pageNum}&pageSize=${pageSize}`, + method: 'GET' + }) +} + diff --git a/api/baseurl.js b/api/baseurl.js new file mode 100644 index 0000000..f2aa699 --- /dev/null +++ b/api/baseurl.js @@ -0,0 +1,4 @@ +var baseurl = "http://192.168.16.30:8081"; +// var baseurl = "http://192.168.16.48:8081"; +// var baseurl = "http://192.168.16.76:8080"; +export default baseurl diff --git a/api/forgotPassword/forgotPassword.js b/api/forgotPassword/forgotPassword.js new file mode 100644 index 0000000..a5c9fca --- /dev/null +++ b/api/forgotPassword/forgotPassword.js @@ -0,0 +1,9 @@ +import request from "../request.js" + +export function updatePassword(phonenumber, password,) { + return request({ + url: `/nurseApp/PersonLogin/updatePassword?phonenumber=${phonenumber}&password=${password}`, + method: 'POST' + }) +} + diff --git a/api/login/index.js b/api/login/index.js new file mode 100644 index 0000000..d40017e --- /dev/null +++ b/api/login/index.js @@ -0,0 +1,9 @@ +import request from "../request.js" + +//密码 +export function appLogin(phonenumber, password) { + return request({ + url: `/nurseApp/PersonLogin/appLogin?phonenumber=${phonenumber}&password=${password}`, + method: 'POST' + }) +} \ No newline at end of file diff --git a/api/personnal/personal.js b/api/personnal/personal.js new file mode 100644 index 0000000..5174f43 --- /dev/null +++ b/api/personnal/personal.js @@ -0,0 +1,7 @@ +import request from "../request.js" +export function nursePerson(phonenumber,password) { + return request({ + url: `/nurseApp/PersonLogin/nursePerson?phonenumber=${phonenumber}&password=${password}`, + method: 'GET' + }) +} diff --git a/api/register/index.js b/api/register/index.js new file mode 100644 index 0000000..ea0ffd0 --- /dev/null +++ b/api/register/index.js @@ -0,0 +1,16 @@ +import request from "../request.js" + +export function nurseAppLoginSysUser(data) { + return request({ + url: `/nurseApp/PersonLogin/nurseAppLoginSysUser`, + method: 'POST', + data, + }) +} + +export function personNurseStationLists(pageNum,pageSize) { + return request({ + url: `/nurseApp/PersonLogin/personNurseStationLists?pageNum=${pageNum}&pageSize=${pageSize}`, + method: 'get' + }) +} diff --git a/api/request.js b/api/request.js new file mode 100644 index 0000000..5638e9d --- /dev/null +++ b/api/request.js @@ -0,0 +1,49 @@ +import baseurl from './baseurl.js' + +var request = function(config) { + return new Promise((resolve, rejected) => { + uni.showLoading({ + title: '' + }); + uni.request({ + url: baseurl + config.url, + data: config.data, + method: config.method, + timeout: 10000, + // header: { + // token: uni.getStorageSync('token') + // }, + success(res) { + // if (res.data.code == 20002) { + // uni.showModal({ + // title: "登录提示", + // content: res.data.message, + // success(res1) { + // if (res1.confirm) { + // uni.navigateTo({ + // url: '/pages/user/login/login' + // }) + // } + // } + // }) + // } else { + // if (res.data.success) { + uni.hideLoading(); + resolve(res.data) + // } else { + // uni.showToast({ + // title: res.data.message, + // icon: "none" + // }) + // } + // } + }, + fail(err) { + uni.hideLoading(); + rejected(err) + } + }) + }) +} + +export default request diff --git a/api/taskDetails.js b/api/taskDetails.js new file mode 100644 index 0000000..876dff8 --- /dev/null +++ b/api/taskDetails.js @@ -0,0 +1,11 @@ +import request from "./request.js" + +// 任务详情 + +export function taskDetails(orderDetailsId) { + return request({ + url: `/nurseApp/personLogin/taskDetails?&orderDetailsId=${orderDetailsId}`, + method: 'GET' + }) +} + diff --git a/index.html b/index.html new file mode 100644 index 0000000..c3ff205 --- /dev/null +++ b/index.html @@ -0,0 +1,20 @@ + + +
+ + +KItJh|*dU6H3(GtA@m2oj-Aw%t6x8{^j#DwVoKO;23fg7#
zb%Q}CGBXHZ&==HzDad(TD@^{Z7-j}MhAy#b<*=Y}-J?ejo%=5U$2?tIED2Cw$g|n`
zU}gd^;P-pbiTt})uNXJ1;J)F^{PGu-%v*v0Xa+Q(%YE|SWkLGoqu(C-5s>$6EJoc<
zUf~xT4==fM_q6iL?ybJ}z4NA?mmH{h2A9YTYJIx-z;rr(+T8u-z6#(AZ;3MiM>8t@
z^6jAo^18oG9r96E$LvDaSlP1TC;{HDBvi2mz*mFF4B%R6j$PTj{Ft$e_dbM~-~2L2
zWdJY@ku10D#LiyFmkGaJcxAzc*vexRt1&+5F9A?HP;(6`k?((Jrs25heR5vTx3u=n
zU-Ey8z6T&Rm}}?@2mmt-O|H4K*Yah8r!%J{vTa9^pw^%n9uDAxftqVjiQLj|Mv_iq
zcgyghCbs^#5v?CxTUAwc?Ti^SzVIr>F7yt+dG5R^n-Xg-&3PHW&-54NbawPW&Npa8
zW(M7~z!;WOxuFDtEq&tMnzydV4)L65b@Ybl)TlRDYx%NaN9QLEG_HC2CzCeB*Zn?~
zjepHDY-r{{Tc&N)K+ZX6M85v|DB;lhk)CqPhzLXkrIq}!?#-)<{N>|reg2B*FOL4*
z%E4OCmj}cG^rgsMo?bOw?inilQB8dP)mb+?Mhb%fz*8PlPHNQc3oa?X^w>KFr1*C5
zREya_(W3HEIq$!wZTJ8HQb;h98OyZHSmosozW9mL9tc{2f8Kb)gX;%vT{{8H%xUIs
z-#|nF0iw-Sqo=*lQ1S1hDjEi3eZ9rZB{R*!n)DF~H~G``ZEKEJ$_*OQ*dji}VC|OW
zY`Yl1mz&6Y&s|2#!X?86iLHK4BtQfs *f^I?6 Wi8~pBd62Kd~z(P3f(akqp8t6T9lG0*6%^l8n<<{lBw$Sko43;w5>m=24_!j
zMx{F!zmjm+?YVh;!!QPp^NMI7#K15nY;~_*rM9AhWBTIUB2f}U2t?@;!fsae?0E1J
zxNS>*R?bChb?jO@Kgxy`&IaZ;-T$bo&$=qK0|gH~!98o&;#gZ{xh&OeMfQsgq1(-3
zPD!O95|d)Z+`}k@5H~~INN~HjoOD6Qwig^b7g*PoH7^KC3< nTv%JV!(ul~^)Qo;>Em
z58mhJKmVMc{o-@}=nwvYAN}x;_~0t?e4e?>3yI9KE@;Yxp%ATJ=m1+N>)rCq6q9oC
z7{$8nd}?^;ftnuG#1}AZRxX>jrmM7!O@QHKgAh#Eg~ZivBF351X{LlgiUZfXft$m`
zYQnSMJSUeEj}9YLVLq;{ZRCIzC6|>DBdBtkXUZ~DmLp~>yU{)I8KZKMRJDJ$(6+3Z
z`};eVC3`;tQBKQ={Cegz-*Y<6SQS5J0!SQ)!$6Gw05A=aAx#XxgK%<7a5#Z;DiI~I>1S1k7{+pQ2
zV4y>^3jBW$UW^-N**(X8Vf~omj#AVxcXesxTa2f(
I?1{{#EKvvxYc3bOzJ002ovPDHLkV1hk}
B*R22m
literal 0
HcmV?d00001
diff --git a/static/finished.png b/static/finished.png
new file mode 100644
index 0000000000000000000000000000000000000000..0b35f0966440f991ebe9018287f66b19f4892a68
GIT binary patch
literal 1673
zcmV;426p+0P)
(|`Qt5bBzy#n!(rqwO^h*-BqF%+(ISa&_P{x>?i_H7IDUhh
z$EyOhR3sZW
f!kOAub?nH!L1{VS#PSJfI=^F75BPFez>zy^;idN6>`L
zUY(M*i8{VIE2!A`*G&|IPnuIFm3cW)OJSNOQXHFcH?Q8X;8tI6#^@%)R(R<5W!?2{
z!#qbDq)|l%&S
*r|S9Vr$F59
zKhPT;j3N~3r1!<#+d4%tN>xW@9L|qe88EF8MR+z0Jl|X~9~*<$I<(eCT36O}VHgH{
z@c0;rF%n$AnytZlr_j