Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
eae13327
Commit
eae13327
authored
May 24, 2024
by
liudong1993
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
77b62d9d
e9959acc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
79 additions
and
32 deletions
+79
-32
PersonalInfoSet.vue
src/components/PersonalInfoSet.vue
+60
-28
productOrderList.vue
src/components/orderCommon/productOrderList.vue
+1
-1
index.js
src/plug/index.js
+18
-3
No files found.
src/components/PersonalInfoSet.vue
View file @
eae13327
...
@@ -643,6 +643,11 @@
...
@@ -643,6 +643,11 @@
<i
class=
"iconfont icon-Edit"
></i>
{{
$t
(
'objFill.xiugaitouxiang'
)
}}
</span>
<i
class=
"iconfont icon-Edit"
></i>
{{
$t
(
'objFill.xiugaitouxiang'
)
}}
</span>
<input
type=
"file"
id=
"change"
accept=
"image"
@
change=
"change"
>
<input
type=
"file"
id=
"change"
accept=
"image"
@
change=
"change"
>
</a>
</a>
<!--
<el-upload
accept=
"*.*"
style=
"display:inline-block;"
class=
"EducationvideoListupload"
drag
:http-request=
"UploadFileToAli"
:multiple=
"false"
:show-file-list=
"false"
action=
""
>
<i
class=
"el-icon-plus avatar-uploader-icon"
></i>
<div
class=
"el-upload__text"
>
{{
$t
(
"active.ld_djscwj"
)
}}
</div>
</el-upload>
-->
</div>
</div>
<div
class=
"Person_Header"
>
<div
class=
"Person_Header"
>
<img
v-if=
"dataList.EmPhoto"
:src=
"dataList.EmPhoto"
:onerror=
"defaultHeadImg"
alt
/>
<img
v-if=
"dataList.EmPhoto"
:src=
"dataList.EmPhoto"
:onerror=
"defaultHeadImg"
alt
/>
...
@@ -749,10 +754,12 @@
...
@@ -749,10 +754,12 @@
</div>
</div>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('objFill.yanzhengma')"
prop=
"code"
>
<el-form-item
:label=
"$t('objFill.yanzhengma')"
prop=
"code"
>
<el-input
v-model=
"phoneMsg.code"
class=
"w150"
:placeholder=
"$t('objFill.siweiyzm')"
maxlength=
"4"
></el-input>
<el-input
v-model=
"phoneMsg.code"
class=
"w150"
:placeholder=
"$t('objFill.siweiyzm')"
maxlength=
"4"
>
</el-input>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<button
class=
"normalBtn"
style=
"margin:30px 0 0 100px;"
@
click=
"submitForm1('phoneMsg')"
>
{{
$t
(
'pub.sureBtn'
)
}}
</button>
<button
class=
"normalBtn"
style=
"margin:30px 0 0 100px;"
@
click=
"submitForm1('phoneMsg')"
>
{{
$t
(
'pub.sureBtn'
)
}}
</button>
</div>
</div>
</div>
</div>
<!-- 修改密码 -->
<!-- 修改密码 -->
...
@@ -762,29 +769,32 @@
...
@@ -762,29 +769,32 @@
<el-form
:model=
"passWordMsg"
ref=
"passWordMsg"
label-position=
"right"
:rules=
"rules2"
label-width=
"100px"
>
<el-form
:model=
"passWordMsg"
ref=
"passWordMsg"
label-position=
"right"
:rules=
"rules2"
label-width=
"100px"
>
<el-form-item
v-if=
"sureOldPwd"
:label=
"$t('objFill.jiumima')"
prop=
"OldPwd"
style=
"margin-bottom:30px;"
>
<el-form-item
v-if=
"sureOldPwd"
:label=
"$t('objFill.jiumima')"
prop=
"OldPwd"
style=
"margin-bottom:30px;"
>
<el-input
type=
"password"
class=
"w400"
v-model=
"passWordMsg.OldPwd"
maxlength=
"15"
>
<el-input
type=
"password"
class=
"w400"
v-model=
"passWordMsg.OldPwd"
maxlength=
"15"
>
<i
slot=
"suffix"
:title=
"$t('objFill.xianshimima')"
@
click=
"changePassOld('show')"
style=
"cursor:pointer;"
<i
slot=
"suffix"
:title=
"$t('objFill.xianshimima')"
@
click=
"changePassOld('show')"
class=
"el-input__icon iconfont icon-yincang"
></i>
style=
"cursor:pointer;"
class=
"el-input__icon iconfont icon-yincang"
></i>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
v-else
:label=
"$t('objFill.jiumima')"
prop=
"OldPwd"
style=
"margin-bottom:30px;"
>
<el-form-item
v-else
:label=
"$t('objFill.jiumima')"
prop=
"OldPwd"
style=
"margin-bottom:30px;"
>
<el-input
type=
"text"
class=
"w400"
v-model=
"passWordMsg.OldPwd"
maxlength=
"15"
>
<el-input
type=
"text"
class=
"w400"
v-model=
"passWordMsg.OldPwd"
maxlength=
"15"
>
<i
slot=
"suffix"
:title=
"$t('objFill.yinchangmima')"
@
click=
"changePassOld('hide')"
style=
"cursor:pointer;"
<i
slot=
"suffix"
:title=
"$t('objFill.yinchangmima')"
@
click=
"changePassOld('hide')"
class=
"el-input__icon iconfont icon-xianshi"
></i>
style=
"cursor:pointer;"
class=
"el-input__icon iconfont icon-xianshi"
></i>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
v-if=
"visible"
:label=
"$t('objFill.xinmima')"
style=
"margin-bottom:30px;"
prop=
"Pwd"
>
<el-form-item
v-if=
"visible"
:label=
"$t('objFill.xinmima')"
style=
"margin-bottom:30px;"
prop=
"Pwd"
>
<el-input
type=
"password"
class=
"w400"
v-model=
"passWordMsg.Pwd"
maxlength=
"15"
:placeholder=
"$t('objFill.mimageshi')"
>
<el-input
type=
"password"
class=
"w400"
v-model=
"passWordMsg.Pwd"
maxlength=
"15"
:placeholder=
"$t('objFill.mimageshi')"
>
<i
slot=
"suffix"
:title=
"$t('objFill.xianshimima')"
@
click=
"changePass('show')"
style=
"cursor:pointer;"
<i
slot=
"suffix"
:title=
"$t('objFill.xianshimima')"
@
click=
"changePass('show')"
style=
"cursor:pointer;"
class=
"el-input__icon iconfont icon-yincang"
></i>
class=
"el-input__icon iconfont icon-yincang"
></i>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
v-else
:label=
"$t('objFill.xinmima')"
style=
"margin-bottom:30px;"
prop=
"Pwd"
>
<el-form-item
v-else
:label=
"$t('objFill.xinmima')"
style=
"margin-bottom:30px;"
prop=
"Pwd"
>
<el-input
type=
"text"
class=
"w400"
v-model=
"passWordMsg.Pwd"
maxlength=
"15"
:placeholder=
"$t('objFill.mimageshi')"
>
<el-input
type=
"text"
class=
"w400"
v-model=
"passWordMsg.Pwd"
maxlength=
"15"
:placeholder=
"$t('objFill.mimageshi')"
>
<i
slot=
"suffix"
:title=
"$t('objFill.yinchangmima')"
@
click=
"changePass('hide')"
style=
"cursor:pointer;"
<i
slot=
"suffix"
:title=
"$t('objFill.yinchangmima')"
@
click=
"changePass('hide')"
style=
"cursor:pointer;"
class=
"el-input__icon iconfont icon-xianshi"
></i>
class=
"el-input__icon iconfont icon-xianshi"
></i>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
v-if=
"SureVisible"
:label=
"$t('objFill.querenmima')"
style=
"margin-bottom:30px;"
prop=
"surePassword"
>
<el-form-item
v-if=
"SureVisible"
:label=
"$t('objFill.querenmima')"
style=
"margin-bottom:30px;"
prop=
"surePassword"
>
<el-input
type=
"password"
class=
"w400"
v-model=
"passWordMsg.surePassword"
maxlength=
"15"
<el-input
type=
"password"
class=
"w400"
v-model=
"passWordMsg.surePassword"
maxlength=
"15"
:placeholder=
"$t('objFill.mimageshi')"
>
:placeholder=
"$t('objFill.mimageshi')"
>
<i
slot=
"suffix"
:title=
"$t('objFill.xianshimima')"
@
click=
"changePass2('show')"
style=
"cursor:pointer;"
<i
slot=
"suffix"
:title=
"$t('objFill.xianshimima')"
@
click=
"changePass2('show')"
style=
"cursor:pointer;"
...
@@ -792,13 +802,15 @@
...
@@ -792,13 +802,15 @@
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
v-else
:label=
"$t('objFill.querenmima')"
style=
"margin-bottom:30px;"
prop=
"surePassword"
>
<el-form-item
v-else
:label=
"$t('objFill.querenmima')"
style=
"margin-bottom:30px;"
prop=
"surePassword"
>
<el-input
type=
"text"
class=
"w400"
v-model=
"passWordMsg.surePassword"
maxlength=
"15"
:placeholder=
"$t('objFill.mimageshi')"
>
<el-input
type=
"text"
class=
"w400"
v-model=
"passWordMsg.surePassword"
maxlength=
"15"
<i
slot=
"suffix"
:title=
"$t('objFill.yinchangmima')"
@
click=
"changePass2('hide')"
style=
"cursor:pointer;"
:placeholder=
"$t('objFill.mimageshi')"
>
class=
"el-input__icon iconfont icon-xianshi"
></i>
<i
slot=
"suffix"
:title=
"$t('objFill.yinchangmima')"
@
click=
"changePass2('hide')"
style=
"cursor:pointer;"
class=
"el-input__icon iconfont icon-xianshi"
></i>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<button
class=
"normalBtn"
style=
"margin:30px 0 0 100px;"
@
click=
"submitForm2('passWordMsg')"
>
{{
$t
(
'pub.sureBtn'
)
}}
</button>
<button
class=
"normalBtn"
style=
"margin:30px 0 0 100px;"
@
click=
"submitForm2('passWordMsg')"
>
{{
$t
(
'pub.sureBtn'
)
}}
</button>
</div>
</div>
</div>
</div>
<!-- 银行账户 -->
<!-- 银行账户 -->
...
@@ -814,8 +826,10 @@
...
@@ -814,8 +826,10 @@
<span
class=
"AC_bankName"
>
{{item.BankName}}
</span><span>
{{getBankNum(item.CardNum)}}
</span>
<span
class=
"AC_bankName"
>
{{item.BankName}}
</span><span>
{{getBankNum(item.CardNum)}}
</span>
</td>
</td>
<td
class=
"AC_jeibang"
>
<td
class=
"AC_jeibang"
>
<span
style=
"cursor:pointer;color:#007EFF;"
v-if=
'item.Status==0'
@
click=
"deleteData(item.ID)"
>
{{$t('pub.fressSel')}}
</span>
<span
style=
"cursor:pointer;color:#007EFF;"
v-if=
'item.Status==0'
<span
style=
"cursor:pointer;color:#007EFF;"
v-if=
'item.Status==1'
@
click=
"deleteData(item.ID)"
>
{{$t('fnc.qiyong')}}
</span>
@
click=
"deleteData(item.ID)"
>
{{$t('pub.fressSel')}}
</span>
<span
style=
"cursor:pointer;color:#007EFF;"
v-if=
'item.Status==1'
@
click=
"deleteData(item.ID)"
>
{{$t('fnc.qiyong')}}
</span>
</td>
</td>
</tr>
</tr>
</table>
</table>
...
@@ -825,16 +839,19 @@
...
@@ -825,16 +839,19 @@
<el-form
:model=
"addAccountMsg"
ref=
"addAccountMsg"
label-position=
"right"
:rules=
"rules3"
<el-form
:model=
"addAccountMsg"
ref=
"addAccountMsg"
label-position=
"right"
:rules=
"rules3"
label-width=
"100px"
>
label-width=
"100px"
>
<el-form-item
:label=
"$t('fnc.zhfenlei')"
prop=
"oldPassword"
style=
"margin-bottom:30px;"
>
<el-form-item
:label=
"$t('fnc.zhfenlei')"
prop=
"oldPassword"
style=
"margin-bottom:30px;"
>
<el-select
v-model=
'addAccountMsg.AccountClassify'
class=
"w400"
:placeholder=
"$t('pub.pleaseSel')"
@
change=
'changeTitle'
>
<el-select
v-model=
'addAccountMsg.AccountClassify'
class=
"w400"
:placeholder=
"$t('pub.pleaseSel')"
@
change=
'changeTitle'
>
<el-option
:label=
"$t('fnc.yinhang')"
value=
'2'
key=
'2'
></el-option>
<el-option
:label=
"$t('fnc.yinhang')"
value=
'2'
key=
'2'
></el-option>
<el-option
:label=
"$t('objFill.xulizhanghu')"
value=
'3'
key=
'3'
></el-option>
<el-option
:label=
"$t('objFill.xulizhanghu')"
value=
'3'
key=
'3'
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
v-if=
"addAccountMsg.AccountClassify==2"
:label=
"$t('objFill.suoshujigou')"
prop=
"BankName"
>
<el-form-item
v-if=
"addAccountMsg.AccountClassify==2"
:label=
"$t('objFill.suoshujigou')"
prop=
"BankName"
>
<el-input
type=
"text"
class=
"w400"
v-model=
"addAccountMsg.BankName"
:placeholder=
"$t('objFill.liruzgjh')"
></el-input>
<el-input
type=
"text"
class=
"w400"
v-model=
"addAccountMsg.BankName"
:placeholder=
"$t('objFill.liruzgjh')"
>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
v-if=
'addAccountMsg.AccountClassify!=3'
:label=
"nameA"
prop=
"OpenBankName"
>
<el-form-item
v-if=
'addAccountMsg.AccountClassify!=3'
:label=
"nameA"
prop=
"OpenBankName"
>
<el-input
type=
"text"
class=
"w400"
v-model=
"addAccountMsg.OpenBankName"
:placeholder=
"$t('objFill.lirujjzh')"
></el-input>
<el-input
type=
"text"
class=
"w400"
v-model=
"addAccountMsg.OpenBankName"
:placeholder=
"$t('objFill.lirujjzh')"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
v-if=
'addAccountMsg.AccountClassify!=3'
:label=
"nameB"
prop=
"AccountHolder"
>
<el-form-item
v-if=
'addAccountMsg.AccountClassify!=3'
:label=
"nameB"
prop=
"AccountHolder"
>
<el-input
type=
"text"
class=
"w400"
v-model=
"addAccountMsg.AccountHolder"
></el-input>
<el-input
type=
"text"
class=
"w400"
v-model=
"addAccountMsg.AccountHolder"
></el-input>
...
@@ -847,7 +864,8 @@
...
@@ -847,7 +864,8 @@
<el-input
type=
"text"
class=
"w400"
v-model=
"addAccountMsg.AccountAlias"
></el-input>
<el-input
type=
"text"
class=
"w400"
v-model=
"addAccountMsg.AccountAlias"
></el-input>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<button
class=
"normalBtn"
style=
"margin:30px 0 0 100px;"
@
click=
"submitForm3('addAccountMsg')"
>
{{$t('pub.sureBtn')}}
</button>
<button
class=
"normalBtn"
style=
"margin:30px 0 0 100px;"
@
click=
"submitForm3('addAccountMsg')"
>
{{$t('pub.sureBtn')}}
</button>
</div>
</div>
</div>
</div>
<!-- 页面切换方式 -->
<!-- 页面切换方式 -->
...
@@ -860,14 +878,16 @@
...
@@ -860,14 +878,16 @@
<span
style=
"font-weight:bold;"
v-else
>
{{$t('objFill.duoyemiandbqms')}}
</span>
<span
style=
"font-weight:bold;"
v-else
>
{{$t('objFill.duoyemiandbqms')}}
</span>
</div>
</div>
<div
class=
"PI_qiehuan"
style=
"margin-bottom:50px;"
>
<div
class=
"PI_qiehuan"
style=
"margin-bottom:50px;"
>
<el-radio
v-model=
"radio"
:label=
"1"
>
{{$t('objFill.danyeduobqms')}}
<span
class=
"PI_comMoshi"
>
{{$t('objFill.danyemmianmszs')}}
</span>
<el-radio
v-model=
"radio"
:label=
"1"
>
{{$t('objFill.danyeduobqms')}}
<span
class=
"PI_comMoshi"
>
{{$t('objFill.danyemmianmszs')}}
</span>
<div
class=
"PI_QiehuanImg"
:class=
"{'ckedQieImg':radio==1}"
@
click=
"radio=1"
>
<div
class=
"PI_QiehuanImg"
:class=
"{'ckedQieImg':radio==1}"
@
click=
"radio=1"
>
<img
src=
'../assets/img/chosen_one.png'
/>
<img
src=
'../assets/img/chosen_one.png'
/>
</div>
</div>
</el-radio>
</el-radio>
</div>
</div>
<div
class=
"PI_qiehuan"
>
<div
class=
"PI_qiehuan"
>
<el-radio
v-model=
"radio"
:label=
"2"
>
{{$t('objFill.duoyemiandbqms')}}
<span
class=
"PI_comMoshi"
>
{{$t('objFill.duoyemmianmszs')}}
</span>
<el-radio
v-model=
"radio"
:label=
"2"
>
{{$t('objFill.duoyemiandbqms')}}
<span
class=
"PI_comMoshi"
>
{{$t('objFill.duoyemmianmszs')}}
</span>
<div
class=
"PI_QiehuanImg"
:class=
"{'ckedQieImg':radio==2}"
@
click=
"radio=2"
>
<div
class=
"PI_QiehuanImg"
:class=
"{'ckedQieImg':radio==2}"
@
click=
"radio=2"
>
<img
src=
'../assets/img/chosen_two.png'
/>
<img
src=
'../assets/img/chosen_two.png'
/>
</div>
</div>
...
@@ -881,12 +901,15 @@
...
@@ -881,12 +901,15 @@
<div
class=
"Shouji_Top"
>
{{$t('objFill.zhanyangscwxbd')}}
</div>
<div
class=
"Shouji_Top"
>
{{$t('objFill.zhanyangscwxbd')}}
</div>
<div
class=
"Shouji_Conteng"
>
<div
class=
"Shouji_Conteng"
>
<el-form
label-position=
"right"
label-width=
"100px"
>
<el-form
label-position=
"right"
label-width=
"100px"
>
<el-form-item
:label=
"$t('objFill.yibangdin')"
style=
"margin-bottom:30px;"
v-if=
"dataList.WeChatName&&dataList.WeChatName!=''"
>
<el-form-item
:label=
"$t('objFill.yibangdin')"
style=
"margin-bottom:30px;"
v-if=
"dataList.WeChatName&&dataList.WeChatName!=''"
>
<el-input
:disabled=
"true"
class=
"w210"
v-model=
"dataList.WeChatName"
></el-input>
<el-input
:disabled=
"true"
class=
"w210"
v-model=
"dataList.WeChatName"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"dataList.WeChatName&&dataList.WeChatName!=''?$t('objFill.chongxingbdwx'):$t('objFill.bangdinwx')"
style=
"margin-bottom:30px;"
size=
"small"
>
<el-form-item
<el-select
v-model=
"mallUserId"
class=
"w210"
filterable
remote
reserve-keyword
:placeholder=
"$t('objFill.qingshuruwxnc')"
:label=
"dataList.WeChatName&&dataList.WeChatName!=''?$t('objFill.chongxingbdwx'):$t('objFill.bangdinwx')"
:remote-method=
"getWechatData"
@
change=
"weChatChange"
>
style=
"margin-bottom:30px;"
size=
"small"
>
<el-select
v-model=
"mallUserId"
class=
"w210"
filterable
remote
reserve-keyword
:placeholder=
"$t('objFill.qingshuruwxnc')"
:remote-method=
"getWechatData"
@
change=
"weChatChange"
>
<el-option
v-for=
"wItem in weChatData"
:key=
"wItem.Id"
:label=
"wItem.Name"
:value=
"wItem.Id"
>
<el-option
v-for=
"wItem in weChatData"
:key=
"wItem.Id"
:label=
"wItem.Name"
:value=
"wItem.Id"
>
<span
style=
"float: left"
>
{{ wItem.Name }}
<span
style=
"float: left"
>
{{ wItem.Name }}
<
template
v-if=
"wItem.ShopId>0"
>
<
template
v-if=
"wItem.ShopId>0"
>
...
@@ -1054,12 +1077,21 @@
...
@@ -1054,12 +1077,21 @@
weChatMsg
:
{
weChatMsg
:
{
MallUserId
:
0
,
//赞羊商城用户Id
MallUserId
:
0
,
//赞羊商城用户Id
MallSmallShopsId
:
0
,
//赞羊用户商城Id
MallSmallShopsId
:
0
,
//赞羊用户商城Id
WeChatName
:
""
,
//微信昵称
WeChatName
:
""
,
//微信昵称
},
},
weChatData
:
[],
weChatData
:
[],
};
};
},
},
methods
:
{
methods
:
{
//测试文件上传
UploadFileToAli
(
file
)
{
let
newArr
=
[];
newArr
.
push
(
file
.
file
);
let
path
=
"/Sale/Uploadvideo/"
;
this
.
UploadFileToAli2024
(
path
,
newArr
,
x
=>
{
console
.
log
(
"UploadFileToAli2024"
,
x
)
});
},
//绑定手机
//绑定手机
submitForm1
(
formName
)
{
submitForm1
(
formName
)
{
this
.
$refs
[
formName
].
validate
((
valid
)
=>
{
this
.
$refs
[
formName
].
validate
((
valid
)
=>
{
...
@@ -1351,7 +1383,7 @@
...
@@ -1351,7 +1383,7 @@
newArr
.
push
(
blob
);
newArr
.
push
(
blob
);
var
fileName
=
`
${
that
.
uuid
(
10
,
10
)}
.png`
;
var
fileName
=
`
${
that
.
uuid
(
10
,
10
)}
.png`
;
var
path
=
`/Upload/Temporary`
;
var
path
=
`/Upload/Temporary`
;
that
.
uploadSelfBlob
(
path
,
newArr
,
''
,
x
=>
{
that
.
uploadSelfBlob
(
path
,
newArr
,
''
,
x
=>
{
let
allPath
=
that
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
;
let
allPath
=
that
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
;
this
.
postImg
(
allPath
)
this
.
postImg
(
allPath
)
})
})
...
@@ -1444,7 +1476,7 @@
...
@@ -1444,7 +1476,7 @@
if
(
obj
)
{
if
(
obj
)
{
this
.
weChatMsg
.
MallUserId
=
obj
.
Id
;
this
.
weChatMsg
.
MallUserId
=
obj
.
Id
;
this
.
weChatMsg
.
MallSmallShopsId
=
obj
.
ShopId
;
this
.
weChatMsg
.
MallSmallShopsId
=
obj
.
ShopId
;
this
.
weChatMsg
.
WeChatName
=
obj
.
Name
;
this
.
weChatMsg
.
WeChatName
=
obj
.
Name
;
}
}
},
},
//保存微信
//保存微信
...
...
src/components/orderCommon/productOrderList.vue
View file @
eae13327
...
@@ -874,7 +874,7 @@
...
@@ -874,7 +874,7 @@
</el-tooltip>
</el-tooltip>
<!--关内团后不能在报名 hk 2022-07-13去掉 && item.IsB2B === 1 修改为可报名 -->
<!--关内团后不能在报名 hk 2022-07-13去掉 && item.IsB2B === 1 修改为可报名 -->
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('salesModule.LJXD')"
placement=
"top-start"
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('salesModule.LJXD')"
placement=
"top-start"
v-if=
"item.IsPayOrder !== 1 "
>
v-if=
"item.IsPayOrder !== 1
&& item.IsB2B !== 0
"
>
<el-button
type=
"primary"
style=
"background-color: #f16c3c !important; border-color: #f16c3c !important"
<el-button
type=
"primary"
style=
"background-color: #f16c3c !important; border-color: #f16c3c !important"
v-if=
"!TCIDList"
icon=
"iconfont icon-fukuan1"
@
click=
"goBuy(item)"
></el-button>
v-if=
"!TCIDList"
icon=
"iconfont icon-fukuan1"
@
click=
"goBuy(item)"
></el-button>
</el-tooltip>
</el-tooltip>
...
...
src/plug/index.js
View file @
eae13327
...
@@ -227,6 +227,7 @@ export default {
...
@@ -227,6 +227,7 @@ export default {
//警告提示
//警告提示
Vue
.
prototype
.
Warning
=
function
(
msg
)
{
Vue
.
prototype
.
Warning
=
function
(
msg
)
{
this
.
$message
({
this
.
$message
({
message
:
msg
,
message
:
msg
,
duration
:
2000
,
duration
:
2000
,
type
:
"warning"
type
:
"warning"
...
@@ -1162,10 +1163,22 @@ export default {
...
@@ -1162,10 +1163,22 @@ export default {
co
(
function
*
()
{
co
(
function
*
()
{
for
(
let
index
=
0
;
index
<
files
.
length
;
index
++
)
{
for
(
let
index
=
0
;
index
<
files
.
length
;
index
++
)
{
let
fileName
=
nameList
[
index
]
let
fileName
=
nameList
[
index
]
fileName
=
path
+
fileName
+
"."
+
files
[
index
].
name
.
split
(
'.'
).
pop
()
fileName
=
path
+
fileName
+
"."
+
files
[
index
].
name
.
split
(
'.'
).
pop
();
var
newPath
=
""
;
if
(
!
that
.
isOnline
())
{
newPath
=
"/2024Test"
+
path
;
}
else
{
newPath
=
path
;
}
var
formData
=
new
FormData
();
var
formData
=
new
FormData
();
var
uploadUrl
=
that
.
domainManager
().
UploadUrl
+
"/Upload/UploadToALiOSS?filePath="
+
p
ath
;
var
uploadUrl
=
that
.
domainManager
().
UploadUrl
+
"/Upload/UploadToALiOSS?filePath="
+
newP
ath
;
formData
.
append
(
"myfile"
,
files
[
index
]);
formData
.
append
(
"myfile"
,
files
[
index
]);
// var parms = {
// isppt:"1",
// uid: "Bm++E7WftLk=",
// gid: "1"
// }
// formData.append("parms", JSON.stringify(parms));
that
.
$http
.
post
(
uploadUrl
,
formData
,
{})
that
.
$http
.
post
(
uploadUrl
,
formData
,
{})
.
then
(
res
=>
{
.
then
(
res
=>
{
successCall
(
res
);
successCall
(
res
);
...
@@ -1176,7 +1189,9 @@ export default {
...
@@ -1176,7 +1189,9 @@ export default {
});
});
}
}
}).
catch
(
function
(
err
)
{
}).
catch
(
function
(
err
)
{
that
.
$refs
[
'my-upload'
].
clearFiles
();
if
(
that
.
$refs
[
'my-upload'
])
{
that
.
$refs
[
'my-upload'
].
clearFiles
();
}
that
.
$message
.
error
(
'上传失败!'
);
that
.
$message
.
error
(
'上传失败!'
);
});
});
}
}
...
...
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