From 2c841182f9eb601cfccc137b7c6896850d9a868a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=8B=E4=BA=8E=E5=88=9D=E8=A7=81?= <752204717@qq.com> Date: Thu, 10 Apr 2025 11:09:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/index.js | 2 +- src/assets/img/email.png | Bin 0 -> 1993 bytes src/assets/img/tel.png | Bin 0 -> 1796 bytes src/router/index.js | 1 + .../modules/certificate/addCertificate.vue | 137 ++-- src/views/modules/certificate/cateList.vue | 37 +- src/views/modules/user/addPoints.vue | 412 +++++++++++ src/views/modules/user/user.vue | 445 +++++++++--- src/views/modules/user/userCertificate.vue | 52 +- src/views/modules/user/userCourse.vue | 14 +- src/views/modules/user/userPoints.vue | 686 ++++++++++++++++++ static/config/index.js | 2 +- 12 files changed, 1592 insertions(+), 196 deletions(-) create mode 100644 src/assets/img/email.png create mode 100644 src/assets/img/tel.png create mode 100644 src/views/modules/user/addPoints.vue create mode 100644 src/views/modules/user/userPoints.vue diff --git a/config/index.js b/config/index.js index a8f8fa9..7d3a216 100644 --- a/config/index.js +++ b/config/index.js @@ -23,7 +23,7 @@ module.exports = { }, // Various Dev Server settings - host: '192.168.110.160', // can be overwritten by process.env.HOST + host: '192.168.110.157', // can be overwritten by process.env.HOST port: 8001, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined autoOpenBrowser: true, errorOverlay: true, diff --git a/src/assets/img/email.png b/src/assets/img/email.png new file mode 100644 index 0000000000000000000000000000000000000000..3742a60bf88e66711f6ef36848765acb6b69b0c2 GIT binary patch literal 1993 zcmb_d`9IWq7yrx{W-^wqhe8cTv{05TWj9+)x9)^2U14-{xk)ubcE*qqW2y9TD`ON! zDcp!8jEk}pmzstw$+ct|Ta4|Q=YP0AocH^j*Lj`y>wV5I=e7gIURHXqGyp*M6q)2C zX8QjFB_+m2n~UvYf(1F*6F^B9W(ojg{3#ONIm~M|hw3gcQ))iot2O(R)J+_9a>1nR zZts1bRY)6}597D`XmQqk#zwT$LY8-QEyAbW0#3jA$8XBx^nYKCmCm3hOD=T3I|A=9 zMfnP$ zX$rKmEF5Sq8= zf<=}ZKZH?!76}>>h6K)+ep`JiPbM$BWl1tTyEd@M_H~aHXvDj}=oDlS=d3LrnKC<| zwtFDib}&D-$bM$YSGOAQZn8e5>0Lvm)nqN=r}9Y}+6g+3!DVhedHGTSaSJPO1XOX}dK`I`9e_l8n!0uz_&_tJE z3!M;L_r4XQ(+dg~RYu1JuI_`&1(7q)P_);zvU{fdCSf)PyF$-CBLAhi5VhCRW}q3J zJsG-u*lb*vmdG>tp!!9IVtYk?;g5qi7t$o=Yu2u9+|od6CVYyPQ4U zDQ&s+2CybFidj->{$^VuU`Sk0tml|_O~cY!ms+8NDK4JA#LZ!Rxu3w%VKdMEr$z0a zb6^m|Zgets*kn>2V4dONWk+V?@N&l1mniowPMTaGke4 zS;tj%ec8(1`c8m^S^l7DVf;nTr6vvZZGQVY@Vo$Dkktf)GZ9<&xsw{0|>lFPik;f>Fca>P78tz@%OXutds?F))30C)PD4`!$Nk9-)v(S$1JMIkU(AV-*8SPV% zieQdsGgN7t&*BB?ij{N2BvY>^ddL4EDj_AtOG8Rh9L8FWWuq36tXJ2a;jF@V3m5U6Q*Gy!XH{pD~>iuxRns zS0kHNBX4b9)pFRy7zYlUwEUcV=T)un?f~c4ZnPB3xUQ|{|%?6X**lJodijw38stTLC1eOS&&Q>Z2%dobW*Vv|H5ylrL=Lf@KWs+UVpt2qRwgLWc44 zv>?UEAn>U`;8CZx=hBqlRoAKr;}`kH=!`G>2MqM#2&{fgXYSA7L6%_&>|ZLjY&|Q^ Udyp|4lK3}+Qzt2;5`s75f9Zsj(EtDd literal 0 HcmV?d00001 diff --git a/src/assets/img/tel.png b/src/assets/img/tel.png new file mode 100644 index 0000000000000000000000000000000000000000..a9fb85dd337d009c4747a4172668a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djWk9RSsZ1m@_UEdaHI1c@tevkC!Y z5wzP;Jf2~0z)JplUCkbVL2h6Z#It}jE6XYpqkq;RV9aW>Sv(Sm{Z)B@=P;B!Wt4th zeib2LpARoEKM;xgLw!^Yz%D=7(kYoXKS+Aydn(!BtoiS2yLteIim^FD)6hi@=l`D@ zOvCuqC4o~Ttp9(zqL`0YP`efe033)&=@o3kXAE8ac)x0ICTaX21bAq*n?{}zk@mup z>ZnH&=wbAiinc&3=z}qIER;7~Zw=jOj`-*Dzyk=uV4JZ(v~hLOz8db0{oBIP#o9yr znz-)o_BS=OF+~5lTt^q|=98uXfR<(pX%_$#VkoU{0st+|7Sb*ND8x`&-2?zynk}SV z08ogbw7LlZv@}~ty8xgNLuqvr0BC8pkaht;A%@cGCIHaVY$5FefI -
+
绑定用户

--> + diff --git a/src/views/modules/user/userCertificate.vue b/src/views/modules/user/userCertificate.vue index 23ee1fa..b94e1e3 100644 --- a/src/views/modules/user/userCertificate.vue +++ b/src/views/modules/user/userCertificate.vue @@ -8,12 +8,12 @@
- - 查询 - 开通证书 - --> + + 开通证书 + -
-
用户信息:{{ user.name }}{{ user.tel }}
-
+
+
用户信息:{{ user.name }}{{user.tel?user.tel:user.email }}
+
@@ -166,7 +167,7 @@ label="创建日期" > - +
@@ -457,14 +459,14 @@ export default { ) .then(async () => { // var lableIds = row[0].bookLabelId; - var productIds = row[0].id; + var productIds = row.id; await this.$http .request({ - url: this.$http.adornUrl(`${this.urlList.deleteShop}`), + url: this.$http.adornUrl(`/master/userCertificate/delCertificate`), method: "POST", data: { - id: row[0].bindId + id: productIds // marketId: this.addForm.id }, header: { @@ -480,9 +482,7 @@ export default { } this.$nextTick(() => { // this.$refs.commonShop.selectShopArr = []; - if (this.$refs.commonShop) { - this.$refs.commonShop.getAssociatedGoodsList(); - } + this.getDataList() }); }); }) @@ -507,7 +507,17 @@ export default { }, delay(val) { this.$nextTick(() => { - this.$refs.addCertificate.init("edit", { val }); + this.$refs.addCertificate.init("edit", { + certificateNo:val.certificateNo, + id:val.id, + userId:val.userId, + userKey:val.user.tel||val.user.email, + userName:val.user.name, + courseId:val.courseId, + courseName:val.title, + labelId:val.labelId, + images:val.certificateUrl, + }); }); }, delaySubmit(data) { diff --git a/src/views/modules/user/userCourse.vue b/src/views/modules/user/userCourse.vue index 97c1e89..c959521 100644 --- a/src/views/modules/user/userCourse.vue +++ b/src/views/modules/user/userCourse.vue @@ -6,7 +6,7 @@ @keyup.enter.native="getDataList()" > - + - @@ -28,7 +28,7 @@ - 开通课程 + 开通课程 -
+
用户信息:{{ user.name }}{{ user.tel }}
-
+
diff --git a/src/views/modules/user/userPoints.vue b/src/views/modules/user/userPoints.vue new file mode 100644 index 0000000..12d9498 --- /dev/null +++ b/src/views/modules/user/userPoints.vue @@ -0,0 +1,686 @@ + + + + diff --git a/static/config/index.js b/static/config/index.js index 7168a66..490ba3f 100644 --- a/static/config/index.js +++ b/static/config/index.js @@ -7,7 +7,7 @@ // api接口请求地址 window.SITE_CONFIG['baseUrl'] = 'https://api.nuttyreading.com'; // 线上正式环境 // window.SITE_CONFIG['baseUrl'] = 'http://192.168.110.100:9200/pb'; //川 - //window.SITE_CONFIG['baseUrl'] = 'http://192.168.110.110:9200/pb'; //本地 + // window.SITE_CONFIG['baseUrl'] = 'http://192.168.110.110:9200/pb'; //本地 // cdn地址 = 域名 + 版本号 window.SITE_CONFIG['domain'] = './'; // 域名