Commit 82d212e4 authored by chenwei's avatar chenwei

提交关于个人信息的代码

parent e9eb444e
...@@ -192,7 +192,6 @@ export function checkControlPwd(orderId) { ...@@ -192,7 +192,6 @@ export function checkControlPwd(orderId) {
//获取城市 //获取城市
export function getCityListByParent(query) { export function getCityListByParent(query) {
console.log("99999", query);
return request({ return request({
url: "/admin-api/ecw/region/getCityListByParent", url: "/admin-api/ecw/region/getCityListByParent",
method: "get", method: "get",
......
...@@ -25,6 +25,7 @@ export default { ...@@ -25,6 +25,7 @@ export default {
bannerdetail: "banner detail", bannerdetail: "banner detail",
coupons: "coupons", coupons: "coupons",
customer: "customers", customer: "customers",
integral: "integral",
supplier: "suppliers", supplier: "suppliers",
ecash: "e-cash", ecash: "e-cash",
delivery: "delivery", delivery: "delivery",
...@@ -378,6 +379,9 @@ export default { ...@@ -378,6 +379,9 @@ export default {
validate1: "name", validate1: "name",
validate2: "phone number", validate2: "phone number",
validate3: "English name", validate3: "English name",
validateCity: "city",
validateCountry: "city",
saveButton: "Please input info",
editPwdNotice: "Before performing this operation, initialize the password", editPwdNotice: "Before performing this operation, initialize the password",
initPwdNotice: "Ensure that the two passwords are the same", initPwdNotice: "Ensure that the two passwords are the same",
companyWebsiteNotice: companyWebsiteNotice:
......
export default { export default {
common: { common: {
success: '成功', success: "成功",
reload: '重置', reload: "重置",
search: '搜索', search: "搜索",
add: '新增', add: "新增",
update: '修改', update: "修改",
delete: '删除', delete: "删除",
save: '保存', save: "保存",
back: '返回', back: "返回",
action: '操作', action: "操作",
submit: '提交', submit: "提交",
cancel: '取消', cancel: "取消",
confirm: '确定', confirm: "确定",
newfile: '上传新附件', newfile: "上传新附件",
uploadnotice: '附件最多上传10个', uploadnotice: "附件最多上传10个",
uploadDeclaration: '上传报关资料', uploadDeclaration: "上传报关资料",
seeDeclaration: '查看报关资料', seeDeclaration: "查看报关资料",
deleteDeclaration: '是否确认删除附件?', deleteDeclaration: "是否确认删除附件?",
passwordNotSame: '两次输入密码不一致', passwordNotSame: "两次输入密码不一致",
submitSuccess: '提交成功', submitSuccess: "提交成功",
returnIndex: '返回首页', returnIndex: "返回首页",
close: '关闭' close: "关闭",
}, },
route: { route: {
dashboard: '首页', dashboard: "首页",
profile: '个人中心', profile: "个人中心",
setting: '个人设置', setting: "个人设置",
advice: '咨询建议', advice: "咨询建议",
help: '帮助', help: "帮助",
message: '消息列表', message: "消息列表",
messagedetail: '消息详情', messagedetail: "消息详情",
notice: '公告列表', notice: "公告列表",
noticedetail: '公告详情', noticedetail: "公告详情",
bannerdetail: '轮播图详情', bannerdetail: "轮播图详情",
coupons: '我的优惠卷', coupons: "我的优惠卷",
customer: '我的客户', integral: "我的积分",
supplier: '我的供应商', customer: "我的客户",
ecash: '汇率查询', supplier: "我的供应商",
delivery: '我要发货', ecash: "汇率查询",
controlorder: '控货订单', delivery: "我要发货",
waitmoneyorder: '待结款订单', controlorder: "控货订单",
receivedorder: '收到订单', waitmoneyorder: "待结款订单",
postorder: '发出订单', receivedorder: "收到订单",
orderdetail: '订单详情', postorder: "发出订单",
price: '价格查询', orderdetail: "订单详情",
logistics: '物流状态', price: "价格查询",
abnormal: '异常处理', logistics: "物流状态",
idcard: '实名认证', abnormal: "异常处理",
deliverysuccess: '下单成功' idcard: "实名认证",
deliverysuccess: "下单成功",
}, },
login: { login: {
title: '登录', title: "登录",
logIn: '登录', logIn: "登录",
username: '账号', username: "账号",
password: '密码', password: "密码",
forget: '忘记密码', forget: "忘记密码",
mobile: '手机号', mobile: "手机号",
code: '验证码', code: "验证码",
type: '登录方式', type: "登录方式",
getCode: '获取验证码', getCode: "获取验证码",
userLogin: '密码登录', userLogin: "密码登录",
mobileLogin: '手机验证登录', mobileLogin: "手机验证登录",
registered: '没有账号?立即注册>>', registered: "没有账号?立即注册>>",
bgTitle1: '捷道货运', bgTitle1: "捷道货运",
bgTitle2: '会员权益介绍', bgTitle2: "会员权益介绍",
bgTitle3: '积分奖励,电子运单专享特权', bgTitle3: "积分奖励,电子运单专享特权",
bgTitle4: '物流信息管理,订单分明', bgTitle4: "物流信息管理,订单分明",
bgTitle5: '更多资讯,时刻掌握物流时效动态', bgTitle5: "更多资讯,时刻掌握物流时效动态",
bgTitle6: '运单电子化,随时随地管理查看', bgTitle6: "运单电子化,随时随地管理查看",
bgTitle7: '自动控货、放货、安全、及时', bgTitle7: "自动控货、放货、安全、及时",
bgTitle8: '数据统计,助你业务发展', bgTitle8: "数据统计,助你业务发展",
mobileRules: '手机号不能为空', mobileRules: "手机号不能为空",
codeRules: '验证码不能为空', codeRules: "验证码不能为空",
nameRules: '账号不能为空', nameRules: "账号不能为空",
passwordRules: '密码不能为空', passwordRules: "密码不能为空",
nameEnRules: '英文名称不能为空', nameEnRules: "英文名称不能为空",
confirmPwdRules: '确认密码不能为空' confirmPwdRules: "确认密码不能为空",
}, },
myInfo: { myInfo: {
info: '个人信息', info: "个人信息",
nameNotice: '请输入姓名', nameNotice: "请输入姓名",
name: '姓名', name: "姓名",
nameEn: '英文名', nameEn: "英文名",
nameEnNotice: '请输入英文姓名', nameEnNotice: "请输入英文姓名",
birth: '生日', birth: "生日",
sex: '性别', sex: "性别",
phone: '电话', phone: "电话",
adderss: '地址', adderss: "地址",
department: '部门', department: "部门",
job: '岗位', job: "岗位",
edit: '修改', edit: "修改",
girl: '', girl: "",
boy: '', boy: "",
secret: '保密', secret: "保密",
country: '国家', country: "国家",
city: '城市' city: "城市",
}, },
notices: { notices: {
name: '请输入姓名', name: "请输入姓名",
adderss: '请输入地址', adderss: "请输入地址",
nameEn: '请输入英文名', nameEn: "请输入英文名",
birthday: '请选择生日日期', birthday: "请选择生日日期",
noData: '暂无数据', noData: "暂无数据",
Idcode: '请输入证件号码', Idcode: "请输入证件号码",
gender: '请选择性别', gender: "请选择性别",
Idtype: '请选择证件类型', Idtype: "请选择证件类型",
Id1: '请上传证件正面照', Id1: "请上传证件正面照",
Id2: '请上传证件反面照', Id2: "请上传证件反面照",
success: '提交成功', success: "提交成功",
loading: '上传中..', loading: "上传中..",
newPhone: '请输入您的新手机号', newPhone: "请输入您的新手机号",
edited: '修改成功', edited: "修改成功",
company: '请输入公司名称', company: "请输入公司名称",
companyEn: '请输入公司英文名', companyEn: "请输入公司英文名",
addressCom: '请输入公司地址', addressCom: "请输入公司地址",
remark: '请输入公司简介', remark: "请输入公司简介",
web: '请输入公司官网', web: "请输入公司官网",
stall: '请输入档口', stall: "请输入档口",
brand: '请输入公司品牌', brand: "请输入公司品牌",
title: '请输入标题', title: "请输入标题",
orderNo: '请输入订单号', orderNo: "请输入订单号",
content: '请输入内容', content: "请输入内容",
type: '请选择类型', type: "请选择类型",
please: '请选择', please: "请选择",
lined: '请选择线路', lined: "请选择线路",
numbers: '请输入商品的快递单号,多个用(,)隔开', numbers: "请输入商品的快递单号,多个用(,)隔开",
clearRemark: '请输入清关证书备注', clearRemark: "请输入清关证书备注",
specialNote: '请输入特需备注', specialNote: "请输入特需备注",
marks: '请输入唛头,以字母开头', marks: "请输入唛头,以字母开头",
addressInfo: '请输入收货详细地址', addressInfo: "请输入收货详细地址",
link: '请输入商品链接', link: "请输入商品链接",
names: '请输入名称', names: "请输入名称",
transport: '请选择运输方式', transport: "请选择运输方式",
channel: '请选择出货渠道', channel: "请选择出货渠道",
startCity: '请选择始发地', startCity: "请选择始发地",
endCity: '请选择目的地', endCity: "请选择目的地",
marksIn: '请输入唛头', marksIn: "请输入唛头",
marksNum: '唛头不能以数字开头', marksNum: "唛头不能以数字开头",
customsType: '请选择单证报关', customsType: "请选择单证报关",
date: '请选择送货日期', date: "请选择送货日期",
consignorType: '请选择收货方式', consignorType: "请选择收货方式",
levite: '请选择入仓类型', levite: "请选择入仓类型",
consignee: '请输入收货人姓名', consignee: "请输入收货人姓名",
consigneePhone: '请输入收货人电话', consigneePhone: "请输入收货人电话",
foreignConsignee: '非控货只能选择国外收货人', foreignConsignee: "非控货只能选择国外收货人",
consigneeEmail: '请输入收货人邮箱', consigneeEmail: "请输入收货人邮箱",
noEmail: '邮箱格式不对', noEmail: "邮箱格式不对",
creat: '创建成功', creat: "创建成功",
shopname: '请选择商品名', shopname: "请选择商品名",
isBrand: '请选择有无品牌', isBrand: "请选择有无品牌",
num: '请输入件数', num: "请输入件数",
unit: '请选择单位', unit: "请选择单位",
number: '请输入数量', number: "请输入数量",
works: '请输入货值', works: "请输入货值",
add: '添加成功', add: "添加成功",
delete: '确定删除商品吗', delete: "确定删除商品吗",
notice: '提示', notice: "提示",
newEmail: '请输入新邮箱地址', newEmail: "请输入新邮箱地址",
email: '请输入邮箱', email: "请输入邮箱",
bind: '绑定成功', bind: "绑定成功",
phone: '请输入您的手机号', phone: "请输入您的手机号",
password: '请输入您的密码', password: "请输入您的密码",
code: '请输入验证码', code: "请输入验证码",
chooseService: '请勾选服务协议', chooseService: "请勾选服务协议",
oldPsd: '请输入旧密码', oldPsd: "请输入旧密码",
numPsd: '密码由6~32位英文字母和数字组成', numPsd: "密码由6~32位英文字母和数字组成",
newPsd: '请输入新密码', newPsd: "请输入新密码",
nextPsd: '请再次确认密码', nextPsd: "请再次确认密码",
read: '我已仔细阅读并同意', read: "我已仔细阅读并同意",
service: '用户服务协议', service: "用户服务协议",
contact: '遇到问题?您可以联系客服', contact: "遇到问题?您可以联系客服",
psd6: '密码不能少于6位', psd6: "密码不能少于6位",
different: '两次输入的密码不一致', different: "两次输入的密码不一致",
nickName: '请输入昵称', nickName: "请输入昵称",
contactPhone: '请输入联系电话', contactPhone: "请输入联系电话",
address: '请输入地址', address: "请输入地址",
department: '请输入部门', department: "请输入部门",
job: '请输入工作职位', job: "请输入工作职位",
moreKey: '订单号,提单号,唛头或收货人姓名电话', moreKey: "订单号,提单号,唛头或收货人姓名电话",
reason: '请告知我们您的退仓原因', reason: "请告知我们您的退仓原因",
sum: '请输入箱数', sum: "请输入箱数",
note: '请输入备注', note: "请输入备注",
oldControl: '请输入原控货人', oldControl: "请输入原控货人",
newControl: '请输入新控货人', newControl: "请输入新控货人",
deleteSuccess: '删除成功', deleteSuccess: "删除成功",
cancel: '取消成功', cancel: "取消成功",
delOrder: '确定删除订单吗', delOrder: "确定删除订单吗",
cancelOrder: '确定取消订单吗', cancelOrder: "确定取消订单吗",
weight: '请输入货物重量', weight: "请输入货物重量",
goodsSum: '请输入货物总数量', goodsSum: "请输入货物总数量",
operation: '操作成功', operation: "操作成功",
openError: '打开文件失败', openError: "打开文件失败",
noLined: '无可用线路', noLined: "无可用线路",
height: '请输入货物高度', height: "请输入货物高度",
wide: '请输入货物宽度', wide: "请输入货物宽度",
long: '请输入货物长度', long: "请输入货物长度",
nophone: '手机格式不对', nophone: "手机格式不对",
conNotice: '放货箱数不能大于可放货箱数', conNotice: "放货箱数不能大于可放货箱数",
newControlTel: '请输入新控货人电话', newControlTel: "请输入新控货人电话",
opening: '正在打开', opening: "正在打开",
volume: '请输入体积', volume: "请输入体积",
intNotice1: '件数必须大于0且必须是整数', intNotice1: "件数必须大于0且必须是整数",
intNotice2: '数量必须大于0且必须是整数', intNotice2: "数量必须大于0且必须是整数",
intNotice3: '体积必须大于0', intNotice3: "体积必须大于0",
intNotice4: '重量必须大于0', intNotice4: "重量必须大于0",
intNotice5: '货值必须大于0', intNotice5: "货值必须大于0",
easyPass: '您的密码过于简单,请前往修改密码', easyPass: "您的密码过于简单,请前往修改密码",
update: '立即更新', update: "立即更新",
close: '关闭弹窗', close: "关闭弹窗",
newVersion: '新版本更新', newVersion: "新版本更新",
nowVersion: '当前版本号', nowVersion: "当前版本号",
newVersions: '有新版本可更新', newVersions: "有新版本可更新",
nowNews: '当前已是最新版本', nowNews: "当前已是最新版本",
startDown: '下载中...', startDown: "下载中...",
failDown: '安装失败,请稍候重试', failDown: "安装失败,请稍候重试",
contactKf: '联系客户', contactKf: "联系客户",
isClude: '订单包含不接受货物,请检查!', isClude: "订单包含不接受货物,请检查!",
keyWord: '请输入关键词', keyWord: "请输入关键词",
copySuccess: '复制成功', copySuccess: "复制成功",
copy: '一键复制', copy: "一键复制",
newfile: '上传新附件', newfile: "上传新附件",
upload: '下载', upload: "下载",
back: '返回', back: "返回",
upCustome: '上传报关资料', upCustome: "上传报关资料",
know: '我知道了', know: "我知道了",
openFile: '打开文件', openFile: "打开文件",
saveed: '文件已保存', saveed: "文件已保存",
deleteFile: '是否删除附件?', deleteFile: "是否删除附件?",
customsRefund: '报关退税,请备齐资料。', customsRefund: "报关退税,请备齐资料。",
nofile: '上传文件格式不对', nofile: "上传文件格式不对",
loading: '加载中......', loading: "加载中......",
country: '请选择国家', country: "请选择国家",
city: '请选择城市', city: "请选择城市",
fullAddress: '请输入详细地址', fullAddress: "请输入详细地址",
fullAddressLength: '最多输入100字', fullAddressLength: "最多输入100字",
delAddress: '确定删除地址吗?' delAddress: "确定删除地址吗?",
}, },
registered: { registered: {
title: '注册', title: "注册",
registered: '注册', registered: "注册",
code: '验证码', code: "验证码",
getCode: '获取验证码', getCode: "获取验证码",
mobile: '手机号', mobile: "手机号",
nameEn: '英文名称', nameEn: "英文名称",
password: '密码', password: "密码",
passwordPlaceholder: '密码由6-32位英文字母和数字组成', passwordPlaceholder: "密码由6-32位英文字母和数字组成",
confirmPwd: '确认密码', confirmPwd: "确认密码",
confirmPwdPlaceholder: '请再次确认密码', confirmPwdPlaceholder: "请再次确认密码",
referralCodePlaceholder: '请输入推荐码(非必填)', referralCodePlaceholder: "请输入推荐码(非必填)",
referralCode: '推荐码', referralCode: "推荐码",
weak: '', weak: "",
medium: '', medium: "",
strong: '', strong: "",
login: '已有账号?直接登录>>', login: "已有账号?直接登录>>",
forget: '忘记密码', forget: "忘记密码",
backLogin: '返回登录', backLogin: "返回登录",
update: '修 改', update: "修 改",
problem: '遇到问题?', problem: "遇到问题?",
contact: '您可以联系客服' contact: "您可以联系客服",
}, },
sidebar: { sidebar: {
userInfo: '账户信息', userInfo: "账户信息",
reload: '刷新', reload: "刷新",
logout: '退出登录>>', logout: "退出登录>>",
home: '首页', home: "首页",
controlOrder: '控货中订单', controlOrder: "控货中订单",
moneyOrder: '待结款订单', moneyOrder: "待结款订单",
notReadMessage: '未读短消息', notReadMessage: "未读短消息",
coupons: '我的优惠券', coupons: "我的优惠券",
delivery: '我要发货>>', delivery: "我要发货>>",
price: '价格查询>>', price: "价格查询>>",
myPanel: '我的面板', myPanel: "我的面板",
myOrder: '我的订单', myOrder: "我的订单",
myPost: '我发出的', myPost: "我发出的",
myReceivedo: '我收到的', myReceivedo: "我收到的",
controlManage: '控货管理', controlManage: "控货管理",
ecash: '汇率', ecash: "汇率",
customerManage: '客户管理', customerManage: "客户管理",
myCustomer: '我的客户', myCustomer: "我的客户",
mySupplier: '我的供应商', mySupplier: "我的供应商",
setting: '个人设置', setting: "个人设置",
help: '帮助', help: "帮助",
logistics: '物流查询', logistics: "物流查询",
service: '客户服务热线', service: "客户服务热线",
artificial: '人工服务时间', artificial: "人工服务时间",
focus: '关注', focus: "关注",
complaints: '投诉', complaints: "投诉",
consult: '咨询', consult: "咨询",
advice: '建议', advice: "建议",
onlineConsult: '在线咨询', onlineConsult: "在线咨询",
notice: '提示', notice: "提示",
cancel: '取消', cancel: "取消",
determine: '确定', determine: "确定",
realNameNotice1: realNameNotice1:
'根据国家公安部、安监总局等部门所有入仓货物需要“实名制”登记,请在系统后台进行实名制认证', "根据国家公安部、安监总局等部门所有入仓货物需要“实名制”登记,请在系统后台进行实名制认证",
realNameNotice2: '您提交的实名认证正在审核中,信息如下', realNameNotice2: "您提交的实名认证正在审核中,信息如下",
realNameNotice3: realNameNotice3:
'您提交的实名认证审核不通过,信息如下,请到个人设置中重新提交认证', "您提交的实名认证审核不通过,信息如下,请到个人设置中重新提交认证",
logoutNotice: '确定注销并退出系统吗?', logoutNotice: "确定注销并退出系统吗?",
transport: '选择运输方式', transport: "选择运输方式",
sea: '海运拼柜', sea: "海运拼柜",
airCargo: '空运专线', airCargo: "空运专线",
seaAir: '海空联运' seaAir: "海空联运",
}, },
profile: { profile: {
myPost: '我发出的订单', myPost: "我发出的订单",
myReceivedo: '我收到的订单', myReceivedo: "我收到的订单",
orderNo: '订单编号', orderNo: "订单编号",
transport: '运输方式', transport: "运输方式",
marks: '唛头', marks: "唛头",
status: '订单状态', status: "订单状态",
createTime: '下单时间', createTime: "下单时间",
viewMorePost: '查看更多发出订单>>', viewMorePost: "查看更多发出订单>>",
viewMoreReceivedo: '查看更多收到订单>>', viewMoreReceivedo: "查看更多收到订单>>",
notOrder: '暂无订单~', notOrder: "暂无订单~",
know: '知道了' know: "知道了",
}, },
setting: { setting: {
userInfo: '个人信息', userInfo: "个人信息",
nickname: '登录会员', nickname: "登录会员",
loginDate: '上次登录', loginDate: "上次登录",
advice: '若您的登录信息与实际不符,建议您及时', advice: "若您的登录信息与实际不符,建议您及时",
editPassword: '修改密码', editPassword: "修改密码",
baseInfo: '基本信息', baseInfo: "基本信息",
update: '修改', update: "修改",
cancel: '取消', cancel: "取消",
save: '保存', save: "保存",
name: '姓名', name: "姓名",
mobile: '电话', mobile: "电话",
jobPosition: '职位', jobPosition: "职位",
birthday: '生日', birthday: "生日",
englishName: '英文名', englishName: "英文名",
address: '地址', address: "地址",
gender: '性别', gender: "性别",
girl: '', girl: "",
male: '', male: "",
secret: '保密', secret: "保密",
department: '部门', department: "部门",
companyInfo: '公司信息', companyInfo: "公司信息",
companyName: '公司名称', companyName: "公司名称",
companyDesc: '公司简介', companyDesc: "公司简介",
companyStall: '档口', companyStall: "档口",
companyEnName: '英文名称', companyEnName: "英文名称",
companyAddress: '公司地址', companyAddress: "公司地址",
companyBand: '品牌', companyBand: "品牌",
companyWebsite: '公司官网', companyWebsite: "公司官网",
safetyVerificat: '安全验证', safetyVerificat: "安全验证",
bindMobile: '绑定手机', bindMobile: "绑定手机",
changePhone: '更换手机号', changePhone: "更换手机号",
removePhone: '解除绑定', removePhone: "解除绑定",
bindEmail: '绑定邮箱', bindEmail: "绑定邮箱",
ImmediatelyBind: '立即绑定', ImmediatelyBind: "立即绑定",
realName: '实名认证', realName: "实名认证",
ImmediatelyrealName: '立即认证', ImmediatelyrealName: "立即认证",
passwork: '密码设置', passwork: "密码设置",
passworkNotice: '登陆后修改您的捷道密码', passworkNotice: "登陆后修改您的捷道密码",
passworkUpdate: '修改密码', passworkUpdate: "修改密码",
passworkInit: '初始化密码', passworkInit: "初始化密码",
passworkNew: '新密码', passworkNew: "新密码",
passworkNewRules: '新密码不能为空', passworkNewRules: "新密码不能为空",
passworkNewNotice: '请输入新密码', passworkNewNotice: "请输入新密码",
comfirmNewPasswork: '确认新密码', comfirmNewPasswork: "确认新密码",
comfirmNewPassworkRules: '确认新密码不能为空', comfirmNewPassworkRules: "确认新密码不能为空",
comfirmNewPassworkNotice: '请再次输入新密码', comfirmNewPassworkNotice: "请再次输入新密码",
reset: '重置', reset: "重置",
determine: '确定', determine: "确定",
passworkOld: '旧密码', passworkOld: "旧密码",
passworkOldRules: '旧密码不能为空', passworkOldRules: "旧密码不能为空",
passworkOldotice: '请输入旧密码', passworkOldotice: "请输入旧密码",
oldMobile: '原绑定手机号', oldMobile: "原绑定手机号",
oldMobileRules: '原绑定手机号不能为空', oldMobileRules: "原绑定手机号不能为空",
oldMobileNotice: '请输入原绑定手机号', oldMobileNotice: "请输入原绑定手机号",
passwork1: '密码', passwork1: "密码",
passworkRules1: '密码不能为空', passworkRules1: "密码不能为空",
passworkNotice1: '请输入密码', passworkNotice1: "请输入密码",
changeMobileRules: '电话必须为数字值', changeMobileRules: "电话必须为数字值",
newMobileNotice: '请输入更换手机号', newMobileNotice: "请输入更换手机号",
mobileCode: '手机验证码', mobileCode: "手机验证码",
mobileCodeRules: '验证码不能为空', mobileCodeRules: "验证码不能为空",
mobileCodeNotice: '请输入验证码', mobileCodeNotice: "请输入验证码",
getCode: '获取验证码', getCode: "获取验证码",
email: '邮箱地址', email: "邮箱地址",
emailRules: '邮箱地址不能为空', emailRules: "邮箱地址不能为空",
emailRules1: '请输入正确的邮箱格式', emailRules1: "请输入正确的邮箱格式",
emailNotice: '请输入邮箱地址', emailNotice: "请输入邮箱地址",
validate1: '请输入姓名', validate1: "请输入姓名",
validate2: '请输入手机', validate2: "请输入手机",
validate3: '请输入英文名', validate3: "请输入英文名",
editPwdNotice: '请先初始化密码再进行此操作', validateCity: "请输入城市",
initPwdNotice: '请确保两次密码输入一致', validateCountry: "请输入国家",
companyWebsiteNotice: '请填写公司官网地址', saveButton: "请填写信息",
imgType: '文件格式错误,请上传图片类型,如:JPG,PNG后缀的文件。', editPwdNotice: "请先初始化密码再进行此操作",
initPwdNotice: "请确保两次密码输入一致",
companyWebsiteNotice: "请填写公司官网地址",
imgType: "文件格式错误,请上传图片类型,如:JPG,PNG后缀的文件。",
fileType: fileType:
'文件格式错误,请上传:JPG,PNG,DOC,xls,ppt,txt.pdf,jpen,docx,xlsx后缀的文件。', "文件格式错误,请上传:JPG,PNG,DOC,xls,ppt,txt.pdf,jpen,docx,xlsx后缀的文件。",
setControlPassword: '设置控货密码', setControlPassword: "设置控货密码",
controlPassword: '控货密码', controlPassword: "控货密码",
confirmPassword: '确认密码', confirmPassword: "确认密码",
country: '国家', country: "国家",
city: '城市', city: "城市",
deliveryAddress: '收货地址', deliveryAddress: "收货地址",
add: '新增', add: "新增",
addAddress: '新增地址', addAddress: "新增地址",
editAddress: '编辑地址', editAddress: "编辑地址",
deliveryAddressInput: '请输入地址信息' deliveryAddressInput: "请输入地址信息",
}, },
realName: { realName: {
title: '实名认证', title: "实名认证",
name: '姓名', name: "姓名",
nameRules: '姓名不能为空', nameRules: "姓名不能为空",
nameNotice: '请输入姓名', nameNotice: "请输入姓名",
cardType: '证件类型', cardType: "证件类型",
cardTypeRules: '证件类型不能为空', cardTypeRules: "证件类型不能为空",
cardTypeNotice: '请选择证件类型', cardTypeNotice: "请选择证件类型",
cardNumber: '证件号码', cardNumber: "证件号码",
cardNumberRules: '证件号码不能为空', cardNumberRules: "证件号码不能为空",
cardNumberNotice: '请输入证件号码', cardNumberNotice: "请输入证件号码",
img1: '证件正面照', img1: "证件正面照",
imgRules1: '证件正面照不能为空', imgRules1: "证件正面照不能为空",
upload: '上传图片', upload: "上传图片",
img2: '证件背面照', img2: "证件背面照",
imgRules2: '证件背面照不能为空', imgRules2: "证件背面照不能为空",
status: '未认证', status: "未认证",
status0: '待审核', status0: "待审核",
status1: '审核中', status1: "审核中",
status2: '已认证', status2: "已认证",
status3: '审核不通过', status3: "审核不通过",
uploadNotice: '只能上传图片,且不超过20张' uploadNotice: "只能上传图片,且不超过20张",
}, },
abnormal: { abnormal: {
none: '', none: "",
header: '查看', header: "查看",
marks: '唛头', marks: "唛头",
sumNum: '已到箱数/总箱数', sumNum: "已到箱数/总箱数",
orderStatus: '订单状态', orderStatus: "订单状态",
deliveryDate: '送货日期', deliveryDate: "送货日期",
transport: '运输方式', transport: "运输方式",
startTitle: '始发地', startTitle: "始发地",
destTitle: '目的地', destTitle: "目的地",
consignorName: '发货人', consignorName: "发货人",
consignorCompany: '发货公司', consignorCompany: "发货公司",
consignorPhone: '发货电话', consignorPhone: "发货电话",
consigneeName: '收货人', consigneeName: "收货人",
consigneeCompany: '收货公司', consigneeCompany: "收货公司",
consigneePhone: '收货电话', consigneePhone: "收货电话",
header1: '问题详情', header1: "问题详情",
index: '序号', index: "序号",
orderExceptionType: '异常类型', orderExceptionType: "异常类型",
orderExceptionDesc: '异常描述', orderExceptionDesc: "异常描述",
orderExceptionAmount: '金额', orderExceptionAmount: "金额",
status: '状态', status: "状态",
filelist: '附件', filelist: "附件",
userName: '处理人', userName: "处理人",
handlerTime: '处理时间', handlerTime: "处理时间",
finish: '已完成', finish: "已完成",
deal: '处理', deal: "处理",
dealAbnormal: '处理异常' dealAbnormal: "处理异常",
}, },
consult: { consult: {
consult: '咨询建议', consult: "咨询建议",
title: '标题', title: "标题",
titleRules: '标题不能为空', titleRules: "标题不能为空",
titleNotice: '请输入咨询建议标题', titleNotice: "请输入咨询建议标题",
name: '联系人', name: "联系人",
nameRules: '联系人不能为空', nameRules: "联系人不能为空",
nameNotice: '请输入联系人', nameNotice: "请输入联系人",
type: '类型', type: "类型",
type2: '建议', type2: "建议",
type1: '咨询', type1: "咨询",
phone: '联系电话', phone: "联系电话",
phoneRules: '联系电话不能为空', phoneRules: "联系电话不能为空",
phoneNotice: '请输入联系电话', phoneNotice: "请输入联系电话",
orderCode: '订单号', orderCode: "订单号",
orderCodeRules: '请输入订单号', orderCodeRules: "请输入订单号",
notice: '提示:若为固定电话需填写区号,且为纯数字', notice: "提示:若为固定电话需填写区号,且为纯数字",
content: '内容', content: "内容",
contentRules: '内容不能为空', contentRules: "内容不能为空",
contentNotice: '请输入咨询建议内容', contentNotice: "请输入咨询建议内容",
submit: '确认提交', submit: "确认提交",
record: '留言记录', record: "留言记录",
consultName: '留言人', consultName: "留言人",
createTime: '留言时间', createTime: "留言时间",
status: '状态', status: "状态",
status1: '待回复', status1: "待回复",
status2: '回复中', status2: "回复中",
status3: '已回复', status3: "已回复",
replyContent: '回复结果', replyContent: "回复结果",
replyTime: '回复时间' replyTime: "回复时间",
}, },
complaint: { complaint: {
complaint: '投诉', complaint: "投诉",
title: '标题', title: "标题",
titleRules: '标题不能为空', titleRules: "标题不能为空",
titleNotice: '请输入投诉标题', titleNotice: "请输入投诉标题",
name: '联系人', name: "联系人",
nameRules: '联系人不能为空', nameRules: "联系人不能为空",
nameNotice: '请输入联系人', nameNotice: "请输入联系人",
type: '类型', type: "类型",
typeRules: '类型不能为空', typeRules: "类型不能为空",
typeNotice: '请选择投诉类型', typeNotice: "请选择投诉类型",
phone: '联系电话', phone: "联系电话",
phoneRules: '联系电话不能为空', phoneRules: "联系电话不能为空",
phoneNotice: '请输入联系电话', phoneNotice: "请输入联系电话",
orderCode: '订单号', orderCode: "订单号",
orderCodeRules: '请输入订单号', orderCodeRules: "请输入订单号",
notice: '提示:若为固定电话需填写区号,且为纯数字', notice: "提示:若为固定电话需填写区号,且为纯数字",
content: '投诉内容', content: "投诉内容",
contentRules: '投诉内容不能为空', contentRules: "投诉内容不能为空",
contentNotice: '请输入投诉内容', contentNotice: "请输入投诉内容",
submit: '确认提交', submit: "确认提交",
record: '投诉记录', record: "投诉记录",
complaintName: '投诉人', complaintName: "投诉人",
createTime: '投诉时间', createTime: "投诉时间",
status: '投诉状态', status: "投诉状态",
status1: '待处理', status1: "待处理",
status2: '处理中', status2: "处理中",
status3: '已处理', status3: "已处理",
status4: '已取消', status4: "已取消",
replyContent: '处理结果', replyContent: "处理结果",
replyTime: '处理时间' replyTime: "处理时间",
}, },
bannerdetail: { bannerdetail: {
header: '轮播图详情', header: "轮播图详情",
title: '标题', title: "标题",
time: '创建时间' time: "创建时间",
}, },
controlorder: { controlorder: {
header: '控货管理', header: "控货管理",
transport: '运输方式', transport: "运输方式",
controlStatus: '控货状态', controlStatus: "控货状态",
orderNo: '订单编号', orderNo: "订单编号",
No: '编号', No: "编号",
NoRules: '请输入订单编号、提单号搜索', NoRules: "请输入订单编号、提单号搜索",
marks: '唛头', marks: "唛头",
marksRules: '请输入唛头', marksRules: "请输入唛头",
date: '日期筛选', date: "日期筛选",
start: '开始日期', start: "开始日期",
end: '结束日期', end: "结束日期",
status: '订单状态', status: "订单状态",
cargoControlStatus: '控货状态', cargoControlStatus: "控货状态",
createTime: '下单时间', createTime: "下单时间",
release: '放货', release: "放货",
transfer: '控货权转移', transfer: "控货权转移",
view: '查看' view: "查看",
}, },
orderdetail: { orderdetail: {
orderNo: '订单编号', orderNo: "订单编号",
deliveryDate: '送货时间', deliveryDate: "送货时间",
transport: '运输方式', transport: "运输方式",
channel: '出货渠道', channel: "出货渠道",
startTitle: '始发仓', startTitle: "始发仓",
destTitle: '目的仓', destTitle: "目的仓",
startAddress: '地址', startAddress: "地址",
consignorName: '发货人', consignorName: "发货人",
consignorCompany: '发货人公司名称', consignorCompany: "发货人公司名称",
consignorNameEn: '发货人英文名称', consignorNameEn: "发货人英文名称",
consignorCompanyEn: '发货人公司英文名称', consignorCompanyEn: "发货人公司英文名称",
consignorPhone: '发货人电话', consignorPhone: "发货人电话",
consignorEmail: '发货人邮箱', consignorEmail: "发货人邮箱",
consigneeName: '收货人', consigneeName: "收货人",
consigneeCompany: '收货人公司名称', consigneeCompany: "收货人公司名称",
consigneeNameEn: '收货人英文名称', consigneeNameEn: "收货人英文名称",
consigneeCompanyEn: '收货人公司英文名称', consigneeCompanyEn: "收货人公司英文名称",
consigneeEmail: '收货人邮箱', consigneeEmail: "收货人邮箱",
consigneePhone: '收货人电话', consigneePhone: "收货人电话",
marks: '唛头', marks: "唛头",
isCargoControl: '是否控货', isCargoControl: "是否控货",
baseInfo: '基础信息', baseInfo: "基础信息",
transportInfo: '物流信息', transportInfo: "物流信息",
costVO: '填单信息', costVO: "填单信息",
box: '', box: "",
is: '', is: "",
no: '', no: "",
warehouseNum: '仓库实测', warehouseNum: "仓库实测",
entry: '收款数据', entry: "收款数据",
warehouseType: '入仓类型', warehouseType: "入仓类型",
customsType: '单证报关', customsType: "单证报关",
isCollection: '代收货款', isCollection: "代收货款",
activeFirst: '货物详情', activeFirst: "货物详情",
activeSecond: '订单动态', activeSecond: "订单动态",
activeThree: '运单资料/提货单', activeThree: "运单资料/提货单",
prodTitleZh: '中文品名', prodTitleZh: "中文品名",
prodTitleEn: '英文品名', prodTitleEn: "英文品名",
brand: '品牌', brand: "品牌",
num: '填单件数', num: "填单件数",
sumNum: '入仓件数', sumNum: "入仓件数",
unit: '单位', unit: "单位",
worth: '货值', worth: "货值",
material: '材质', material: "材质",
volume: '体积(m3)', volume: "体积(m3)",
weight: '重量(kg)', weight: "重量(kg)",
noData: '暂无数据', noData: "暂无数据",
notOrderData: '暂无订单动态数据', notOrderData: "暂无订单动态数据",
showWarehouseReceipt: '查看入仓单', showWarehouseReceipt: "查看入仓单",
showLadingBill: '查看提货单', showLadingBill: "查看提货单",
hiddenText: '隐藏', hiddenText: "隐藏",
showText: '展示', showText: "展示",
transInfo: '运输信息' transInfo: "运输信息",
}, },
customer: { customer: {
none: '', none: "",
customer: '我的客户', customer: "我的客户",
group: '分组管理', group: "分组管理",
grouping: '分组', grouping: "分组",
name: '姓名', name: "姓名",
nameEn: '姓名(英文)', nameEn: "姓名(英文)",
nameRules: '姓名不能为空', nameRules: "姓名不能为空",
nameNotice: '请输入姓名', nameNotice: "请输入姓名",
company: '公司名称', company: "公司名称",
companyEn: '公司名称(英文)', companyEn: "公司名称(英文)",
companyRules: '公司名称不能为空', companyRules: "公司名称不能为空",
companyNotice: '请输入公司名称', companyNotice: "请输入公司名称",
phone: '联系电话', phone: "联系电话",
phoneRules1: '联系电话不能为空', phoneRules1: "联系电话不能为空",
phoneRules2: '电话必须为数字值', phoneRules2: "电话必须为数字值",
dialCode: '国家区号不能为空', dialCode: "国家区号不能为空",
phoneNotice: '请输入联系电话', phoneNotice: "请输入联系电话",
index: '序号', index: "序号",
createTime: '添加时间', createTime: "添加时间",
maitou: '唛头', maitou: "唛头",
maitouNotice: '请输入唛头', maitouNotice: "请输入唛头",
groupBy: '所属分组', groupBy: "所属分组",
email: '电子邮箱', email: "电子邮箱",
emailNotice: '请输入电子邮箱', emailNotice: "请输入电子邮箱",
address: '详细地址', address: "详细地址",
addressNotice: '请输入详细地址', addressNotice: "请输入详细地址",
addCustomer: '添加客户', addCustomer: "添加客户",
updateCustomer: '修改客户', updateCustomer: "修改客户",
deleteCustomer: '是否确认删除客户?', deleteCustomer: "是否确认删除客户?",
submit: '确 定', submit: "确 定",
cancel: '取 消', cancel: "取 消",
groupTitle: '分组名称', groupTitle: "分组名称",
groupTitleRules: '分组名称', groupTitleRules: "分组名称",
groupTitleNotice: '分组名称不能为空', groupTitleNotice: "分组名称不能为空",
groupBeizhu: '分组备注', groupBeizhu: "分组备注",
groupAorder: '分组排序', groupAorder: "分组排序",
groupAorderNotice: '请输入分组排序', groupAorderNotice: "请输入分组排序",
beizhu: '备注信息', beizhu: "备注信息",
beizhuNotice: '请输入备注信息', beizhuNotice: "请输入备注信息",
addGroup: '请输入备注信息', addGroup: "请输入备注信息",
updateGroup: '请输入备注信息', updateGroup: "请输入备注信息",
deleteGroup: '是否确认删除分组?', deleteGroup: "是否确认删除分组?",
default: '默认', default: "默认",
yes: '', yes: "",
no: '' no: "",
}, },
ecash: { ecash: {
time: '有效时间', time: "有效时间",
bj: '中国', bj: "中国",
nrly: '尼日利亚' nrly: "尼日利亚",
}, },
message: { message: {
title: '我的消息(站内信)', title: "我的消息(站内信)",
notTatal1: '站内信', notTatal1: "站内信",
notTatal2: '条未读', notTatal2: "条未读",
read: '已读', read: "已读",
unread: '未读' unread: "未读",
}, },
messagedetail: { messagedetail: {
header: '消息详情', header: "消息详情",
title: '标题', title: "标题",
type: '消息分类', type: "消息分类",
createTime: '创建时间', createTime: "创建时间",
type1: '订单消息', type1: "订单消息",
type2: '出货消息', type2: "出货消息",
type3: '提醒消息' type3: "提醒消息",
}, },
notice: { notice: {
header: '公告消息' header: "公告消息",
}, },
postorder: { postorder: {
header: '发出订单', header: "发出订单",
transport: '运输方式', transport: "运输方式",
orderNo: '订单编号', orderNo: "订单编号",
orderNoRules: '请输入订单编号', orderNoRules: "请输入订单编号",
marks: '唛头', marks: "唛头",
marksRules: '请输入唛头', marksRules: "请输入唛头",
date: '日期筛选', date: "日期筛选",
start: '开始日期', start: "开始日期",
end: '结束日期', end: "结束日期",
status: '订单状态', status: "订单状态",
cargoControlStatus: '控货状态', cargoControlStatus: "控货状态",
createTime: '下单时间', createTime: "下单时间",
refundWarehouse: '申请退仓', refundWarehouse: "申请退仓",
abnormal: '处理', abnormal: "处理",
edit: '编辑', edit: "编辑",
cancel: '取消订单', cancel: "取消订单",
refundOrderNo: '退仓订单号', refundOrderNo: "退仓订单号",
refundReason: '退仓原因', refundReason: "退仓原因",
refundReasonNotice: '请输入退仓原因', refundReasonNotice: "请输入退仓原因",
submitRefund: '确定退仓', submitRefund: "确定退仓",
noRefund: '不,再考虑考虑', noRefund: "不,再考虑考虑",
confirm: '确定要取消此订单么?', confirm: "确定要取消此订单么?",
refundImg: '退仓图片', refundImg: "退仓图片",
refundWarehouseSuccess: '申请退仓成功' refundWarehouseSuccess: "申请退仓成功",
}, },
prepayDeal: { prepayDeal: {
orderNo: '订单号:', orderNo: "订单号:",
box: '', box: "",
prodTitleZh: '产品名称:', prodTitleZh: "产品名称:",
prodTitleEn: '英文名称:', prodTitleEn: "英文名称:",
transport: '运输路线:', transport: "运输路线:",
costVO: '填单参数:', costVO: "填单参数:",
warehouseNum: '入仓参数:', warehouseNum: "入仓参数:",
abnormal: '异常描述:', abnormal: "异常描述:",
add: '新增收款单', add: "新增收款单",
brand: '品牌', brand: "品牌",
proName: '品名', proName: "品名",
boxNum: '箱数', boxNum: "箱数",
volumeWeight: '体积/重量', volumeWeight: "体积/重量",
payType: '收款类型', payType: "收款类型",
feeType: '收入类型', feeType: "收入类型",
consigneeName: '收货人', consigneeName: "收货人",
paystatus: '付款状态', paystatus: "付款状态",
costVOBox: '填单箱数', costVOBox: "填单箱数",
cartonsNum: '入仓箱数', cartonsNum: "入仓箱数",
volume: '方数', volume: "方数",
weight: '重量', weight: "重量",
quantity: '数量', quantity: "数量",
worth: '货值', worth: "货值",
result: '处理结果:', result: "处理结果:",
remark: '备注:', remark: "备注:",
customsData: '报关资料:', customsData: "报关资料:",
content: '详细内容:', content: "详细内容:",
status: '状态:', status: "状态:",
cause: '*查明原因:', cause: "*查明原因:",
none: '', none: "",
prepaid: '预付', prepaid: "预付",
shouldMoney: '应收金额', shouldMoney: "应收金额",
dollar: '总金额美元', dollar: "总金额美元",
rmb: '总金额RMB', rmb: "总金额RMB",
actualMoney: '实收金额', actualMoney: "实收金额",
drawee: '付款人', drawee: "付款人",
payable: '应付金额:', payable: "应付金额:",
verificationMoney: '核销金额:', verificationMoney: "核销金额:",
verificationRatio: '核销比例:', verificationRatio: "核销比例:",
submit: '转交', submit: "转交",
from: ' 从【', from: " 从【",
to: '】发往【' to: "】发往【",
}, },
weightDeal: { weightDeal: {
view: '查看', view: "查看",
marks: '唛头', marks: "唛头",
costVO: '已到箱数/总箱数', costVO: "已到箱数/总箱数",
status: '订单状态', status: "订单状态",
inTime: '送货日期', inTime: "送货日期",
transport: '运输方式', transport: "运输方式",
start: '始发地', start: "始发地",
dest: '目的地', dest: "目的地",
consignorName: '发货人', consignorName: "发货人",
consignorCompany: '发货公司', consignorCompany: "发货公司",
consignorPhone: '发货电话', consignorPhone: "发货电话",
consigneeName: '收货人', consigneeName: "收货人",
consigneeCompany: '收货公司', consigneeCompany: "收货公司",
consigneePhone: '收货电话', consigneePhone: "收货电话",
goods: '货物信息', goods: "货物信息",
index: '序号', index: "序号",
proName: '品名', proName: "品名",
orderGoods: '填单货物信息', orderGoods: "填单货物信息",
brand: '品牌', brand: "品牌",
num: '箱数', num: "箱数",
volume: '体积', volume: "体积",
weight: '重量', weight: "重量",
putGoods: '入库货物属性', putGoods: "入库货物属性",
unit: '规格', unit: "规格",
ss: '重货方数', ss: "重货方数",
vweight: '泡货重量', vweight: "泡货重量",
handlerTime: '最后操作时间', handlerTime: "最后操作时间",
general: '设为普货', general: "设为普货",
process: '同意重货', process: "同意重货",
pao: '同意泡货', pao: "同意泡货",
subtotal: '小计', subtotal: "小计",
sums2: '下单统计:', sums2: "下单统计:",
sums3: '入仓统计:', sums3: "入仓统计:",
box: '', box: "",
none: '' none: "",
}, },
price: { price: {
header: '价格查询', header: "价格查询",
departure: '始发地', departure: "始发地",
departureRules: '始发地必选', departureRules: "始发地必选",
departureNotice: '请选择始发地', departureNotice: "请选择始发地",
objective: '目的地', objective: "目的地",
objectiveRules: '目的城市必选', objectiveRules: "目的城市必选",
objectiveNotice: '请选择目的地', objectiveNotice: "请选择目的地",
prod: '商品名称', prod: "商品名称",
prodRules: '商品名称必选', prodRules: "商品名称必选",
transport: '运输方式', transport: "运输方式",
channel: '出货渠道', channel: "出货渠道",
num: '箱数', num: "箱数",
numRule1: '箱数不能为空', numRule1: "箱数不能为空",
numRule2: '箱数必须为正整数', numRule2: "箱数必须为正整数",
box: '', box: "",
quantity: '总数量', quantity: "总数量",
quantityRule1: '总数量不能为空', quantityRule1: "总数量不能为空",
quantityRule2: '总数量必须为正整数', quantityRule2: "总数量必须为正整数",
one: '', one: "",
weight: '货物重量', weight: "货物重量",
weightRule1: '重量不能为空', weightRule1: "重量不能为空",
weightRule2: '货物重量必须为正数,且最多保留两位小数', weightRule2: "货物重量必须为正数,且最多保留两位小数",
long: '', long: "",
longRule1: '长不能为空', longRule1: "长不能为空",
longRule2: '长必须为正数,且最多保留两位小数', longRule2: "长必须为正数,且最多保留两位小数",
wide: '', wide: "",
wideRule1: '宽不能为空', wideRule1: "宽不能为空",
wideRule2: '宽必须为正数,且最多保留两位小数', wideRule2: "宽必须为正数,且最多保留两位小数",
high: '', high: "",
highRule1: '高不能为空', highRule1: "高不能为空",
highRule2: '高必须为正数,且最多保留两位小数', highRule2: "高必须为正数,且最多保留两位小数",
seaFreight: '运费', seaFreight: "运费",
none: '未报价', none: "未报价",
clearanceFreight: '清关费', clearanceFreight: "清关费",
startTitle: '始发仓', startTitle: "始发仓",
destTitle: '目的仓', destTitle: "目的仓",
estimatedSales: '预估费用', estimatedSales: "预估费用",
notice: '温馨提醒', notice: "温馨提醒",
text: '<p>1、以上报价仅供参考,实际计费以装箱打包后的实重或轻泡体积重来计算。</p><p></p><p>2、请注意渠道的选择,不同的东西选择不同的渠道价格就不同。</p><p></p><p>3、报价不含目的地关税,不含偏远或超重超长费。</p><p></p><p>4、包裹赔偿方法:包裹在运输途中发生丢失,我司将会按照包裹购买价值原价赔偿,但最高赔偿为包裹USD100/票,若包裹价值比较昂贵的请自行购买保险。若出现外包装完好,但内件损坏,我司不予赔偿。若出现外包装破损,请在签收前立即开箱检查包裹,并向快递员取证,以便后期进行索赔。</p><p></p><p>5、本公司拒绝接收国家明令禁止的物品,如:易燃易爆品、毒品、刀具、枪支弹药及配件、淫秽、反动刊物等,若出现夹带被海关查获,由此产生的责任由客户自行承担!</p>' text: "<p>1、以上报价仅供参考,实际计费以装箱打包后的实重或轻泡体积重来计算。</p><p></p><p>2、请注意渠道的选择,不同的东西选择不同的渠道价格就不同。</p><p></p><p>3、报价不含目的地关税,不含偏远或超重超长费。</p><p></p><p>4、包裹赔偿方法:包裹在运输途中发生丢失,我司将会按照包裹购买价值原价赔偿,但最高赔偿为包裹USD100/票,若包裹价值比较昂贵的请自行购买保险。若出现外包装完好,但内件损坏,我司不予赔偿。若出现外包装破损,请在签收前立即开箱检查包裹,并向快递员取证,以便后期进行索赔。</p><p></p><p>5、本公司拒绝接收国家明令禁止的物品,如:易燃易爆品、毒品、刀具、枪支弹药及配件、淫秽、反动刊物等,若出现夹带被海关查获,由此产生的责任由客户自行承担!</p>",
}, },
receiveorder: { receiveorder: {
header: '收到订单', header: "收到订单",
transport: '运输方式', transport: "运输方式",
orderNo: '订单编号', orderNo: "订单编号",
orderNoRules: '请输入订单编号', orderNoRules: "请输入订单编号",
marks: '唛头', marks: "唛头",
marksRules: '请输入唛头', marksRules: "请输入唛头",
date: '日期筛选', date: "日期筛选",
start: '开始日期', start: "开始日期",
end: '结束日期', end: "结束日期",
status: '订单状态', status: "订单状态",
createTime: '下单时间' createTime: "下单时间",
}, },
supplier: { supplier: {
none: '', none: "",
supplier: '我的供应商', supplier: "我的供应商",
group: '分组管理', group: "分组管理",
grouping: '分组', grouping: "分组",
name: '姓名', name: "姓名",
nameRules: '姓名不能为空', nameRules: "姓名不能为空",
nameNotice: '请输入姓名', nameNotice: "请输入姓名",
company: '公司名称', company: "公司名称",
companyRules: '公司名称不能为空', companyRules: "公司名称不能为空",
companyNotice: '请输入公司名称', companyNotice: "请输入公司名称",
phone: '联系电话', phone: "联系电话",
phoneRules1: '联系电话不能为空', phoneRules1: "联系电话不能为空",
phoneRules2: '电话必须为数字值', phoneRules2: "电话必须为数字值",
dialCode: '国家区号不能为空', dialCode: "国家区号不能为空",
phoneNotice: '请输入联系电话', phoneNotice: "请输入联系电话",
index: '序号', index: "序号",
createTime: '添加时间', createTime: "添加时间",
maitou: '唛头', maitou: "唛头",
maitouNotice: '请输入唛头', maitouNotice: "请输入唛头",
groupBy: '所属分组', groupBy: "所属分组",
email: '电子邮箱', email: "电子邮箱",
emailNotice: '请输入电子邮箱', emailNotice: "请输入电子邮箱",
address: '详细地址', address: "详细地址",
addressNotice: '请输入详细地址', addressNotice: "请输入详细地址",
addSupplier: '添加供应商', addSupplier: "添加供应商",
updateSupplier: '修改供应商', updateSupplier: "修改供应商",
deleteSupplier: '是否确认删除供应商?', deleteSupplier: "是否确认删除供应商?",
submit: '确 定', submit: "确 定",
cancel: '取 消', cancel: "取 消",
groupTitle: '分组名称', groupTitle: "分组名称",
groupTitleRules: '分组名称', groupTitleRules: "分组名称",
groupTitleNotice: '分组名称不能为空', groupTitleNotice: "分组名称不能为空",
groupBeizhu: '分组备注', groupBeizhu: "分组备注",
groupAorder: '分组排序', groupAorder: "分组排序",
groupAorderNotice: '请输入分组排序', groupAorderNotice: "请输入分组排序",
beizhu: '备注信息', beizhu: "备注信息",
beizhuNotice: '请输入备注信息', beizhuNotice: "请输入备注信息",
addGroup: '请输入备注信息', addGroup: "请输入备注信息",
updateGroup: '请输入备注信息', updateGroup: "请输入备注信息",
deleteGroup: '是否确认删除分组?' deleteGroup: "是否确认删除分组?",
}, },
printLadingBill: { printLadingBill: {
loading: '加载中', loading: "加载中",
download: '下载', download: "下载",
print: '打印', print: "打印",
tidanNO: '提货单', tidanNO: "提货单",
lodop: '请检查LODOP打印控件是否安装并启动' lodop: "请检查LODOP打印控件是否安装并启动",
}, },
printWarehouseReceipt: { printWarehouseReceipt: {
orderNo: '订单号', orderNo: "订单号",
phone: '发货人电话', phone: "发货人电话",
address: '提货地点', address: "提货地点",
marks: '唛头', marks: "唛头",
prodTitle: '货物描述', prodTitle: "货物描述",
cartonsNum: '箱数', cartonsNum: "箱数",
boxGauge: '尺寸', boxGauge: "尺寸",
volume: '方数', volume: "方数",
weight: '重量', weight: "重量",
inTime: '入仓时间', inTime: "入仓时间",
text1: text1:
'1.控货成功标准:入仓3天内收到我司控货短信视为控货成功;否则视为不控货,如未收到请在2个工作日内与我司联系。', "1.控货成功标准:入仓3天内收到我司控货短信视为控货成功;否则视为不控货,如未收到请在2个工作日内与我司联系。",
text2: '2.如需保价赔付需在入仓3天内告知。', text2: "2.如需保价赔付需在入仓3天内告知。",
print: '去打印', print: "去打印",
comprint: '确定打印', comprint: "确定打印",
printNo: '打印入仓单', printNo: "打印入仓单",
lodop: '请检查LODOP打印控件是否安装并启动' lodop: "请检查LODOP打印控件是否安装并启动",
}, },
release: { release: {
orderNo: '订单号', orderNo: "订单号",
sumNum: '总箱数', sumNum: "总箱数",
sumVolume: '体积', sumVolume: "体积",
sumWeight: '重量', sumWeight: "重量",
sumConNum: '总控货箱数', sumConNum: "总控货箱数",
remainNum: '剩余放货箱数', remainNum: "剩余放货箱数",
releaseNotice: '请填写放货信息', releaseNotice: "请填写放货信息",
consigneeName: '收货人', consigneeName: "收货人",
consigneeNameRules: '请填写收货人', consigneeNameRules: "请填写收货人",
consigneeNameNotice: '请输入收货人', consigneeNameNotice: "请输入收货人",
consigneePhone: '收货人电话', consigneePhone: "收货人电话",
consigneePhoneNotice: '请输入收货人电话', consigneePhoneNotice: "请输入收货人电话",
consigneeEmail: '收货人邮箱', consigneeEmail: "收货人邮箱",
consigneeEmailNotice: '请输入收货人邮箱', consigneeEmailNotice: "请输入收货人邮箱",
conNum: '控货箱数', conNum: "控货箱数",
pickNum: '放货箱数', pickNum: "放货箱数",
pickVolume: '体积(m³)', pickVolume: "体积(m³)",
pickWeight: '重量(kg)', pickWeight: "重量(kg)",
remarks: '备注', remarks: "备注",
phone: '控货手机号', phone: "控货手机号",
phoneNotice: '请输入控货手机号', phoneNotice: "请输入控货手机号",
code: '手机验证码', code: "手机验证码",
deliverymode: '放货方式', deliverymode: "放货方式",
codeRules: '验证码不能为空', codeRules: "验证码不能为空",
codeNotice: '请输入手机验证码', codeNotice: "请输入手机验证码",
submit: '确认放货', submit: "确认放货",
close: '关闭', close: "关闭",
agree: '我同意', agree: "我同意",
release: '放货', release: "放货",
VerifyNotice: '*控货密码或手机验证码放货,二选一', VerifyNotice: "*控货密码或手机验证码放货,二选一",
releaseSuccess: '放货成功' releaseSuccess: "放货成功",
}, },
sendSmsCode: { sendSmsCode: {
send: '发送验证码', send: "发送验证码",
seconds: '', seconds: "",
again: '重新发送', again: "重新发送",
success: '发送成功' success: "发送成功",
}, },
transfer: { transfer: {
cargoControlName: '原控货人', cargoControlName: "原控货人",
cargoControlPhone: '原控货手机号', cargoControlPhone: "原控货手机号",
name: '新控货人', name: "新控货人",
nameRules: '控货人不能为空', nameRules: "控货人不能为空",
phone: '新控货手机号', phone: "新控货手机号",
phoneRules: '控货人手机不能为空', phoneRules: "控货人手机不能为空",
email: '新控货人邮箱', email: "新控货人邮箱",
code: '手机验证码', code: "手机验证码",
codeRules: '验证码不能为空', codeRules: "验证码不能为空",
submit: '确定转移', submit: "确定转移",
agree: '我同意', agree: "我同意",
close: '关闭' close: "关闭",
}, },
coupons: { coupons: {
status: '优惠状态', status: "优惠状态",
info: '暂无数据~' info: "暂无数据~",
}, },
delivery: { delivery: {
header: '我要发货', header: "我要发货",
orderType: '订单类型', orderType: "订单类型",
orderType1: '集运服务', orderType1: "集运服务",
orderType2: '海外仓', orderType2: "海外仓",
consigneeName: '收货人', consigneeName: "收货人",
consigneeNameNotice: '请输入收货人姓名', consigneeNameNotice: "请输入收货人姓名",
consigneeNameNoticeEn: '请输入收货人英文名称', consigneeNameNoticeEn: "请输入收货人英文名称",
openConsignee: '选择收货人', openConsignee: "选择收货人",
consigneePhone: '电话', consigneePhone: "电话",
consigneePhoneNotice: '请输入电话', consigneePhoneNotice: "请输入电话",
consigneeCompany: '收货人公司名称', consigneeCompany: "收货人公司名称",
consigneeCompanyNotice: '请输入公司名称', consigneeCompanyNotice: "请输入公司名称",
consigneeCompanyNoticeEn: '请输入公司英文名称', consigneeCompanyNoticeEn: "请输入公司英文名称",
emailNotice: '请输入邮箱', emailNotice: "请输入邮箱",
transport: '运输方式', transport: "运输方式",
transportNotice: '请选择运输方式', transportNotice: "请选择运输方式",
channel: '出货渠道', channel: "出货渠道",
channelNotice: '请选择出货渠道', channelNotice: "请选择出货渠道",
departure: '始发城市', departure: "始发城市",
departureRules: '始发城市必选', departureRules: "始发城市必选",
departureNotice: '请选择始发地', departureNotice: "请选择始发地",
objective: '目的城市', objective: "目的城市",
objectiveRules: '目的城市必选', objectiveRules: "目的城市必选",
objectiveNotice: '请选择目的地', objectiveNotice: "请选择目的地",
router: '请选择线路', router: "请选择线路",
routerNotice: '请在右侧选择线路', routerNotice: "请在右侧选择线路",
goods: '商品信息', goods: "商品信息",
addPro: '添加货物', addPro: "添加货物",
addPros: '批量添加货物', addPros: "批量添加货物",
index: '序号', index: "序号",
proZh: '中文品名', proZh: "中文品名",
proEn: '英文品名', proEn: "英文品名",
proRules: '请选择产品', proRules: "请选择产品",
brand: '品牌', brand: "品牌",
num: '件数', num: "件数",
unit: '包装单位', unit: "包装单位",
quantity: '数量', quantity: "数量",
volume: '体积', volume: "体积",
weight: '重量', weight: "重量",
worth: '货值', worth: "货值",
worthRules: '货值不能为空', worthRules: "货值不能为空",
prodAttrArr: '商品特性', prodAttrArr: "商品特性",
isPayAdvance: '是否预付', isPayAdvance: "是否预付",
link: '商品链接', link: "商品链接",
linkedit: '编辑商品链接', linkedit: "编辑商品链接",
linkadd: '添加商品链接', linkadd: "添加商品链接",
sum: '合计', sum: "合计",
totalNum: '总件数', totalNum: "总件数",
totalWorth: '总货值', totalWorth: "总货值",
insuranceFee: '保价费', insuranceFee: "保价费",
rmb: '', rmb: "",
dollar: '美元', dollar: "美元",
common: '通用', common: "通用",
marks: '唛头', marks: "唛头",
marksRules: '请输入唛头', marksRules: "请输入唛头",
marksRules1: '唛头首位必须为字母', marksRules1: "唛头首位必须为字母",
isCargoControl: '是否控货', isCargoControl: "是否控货",
isCollection: '是否代收货款', isCollection: "是否代收货款",
collectionProxy: '代收货款金额', collectionProxy: "代收货款金额",
customsType: '单证报关', customsType: "单证报关",
issuingMethod: '出单方式', issuingMethod: "出单方式",
deliveryDate: '送货日期', deliveryDate: "送货日期",
deliveryDateRules: '送货日期不能为空', deliveryDateRules: "送货日期不能为空",
warehouseType: '入仓类型', warehouseType: "入仓类型",
harvestMethod: '收货方式', harvestMethod: "收货方式",
deliveryaddress: '收货地区', deliveryaddress: "收货地区",
deliveryaddressRules: '收货地区不能为空', deliveryaddressRules: "收货地区不能为空",
addressdetail: '收货详细地址', addressdetail: "收货详细地址",
addressdetailRules: '收货详细地址不能为空', addressdetailRules: "收货详细地址不能为空",
drawee: '付款人', drawee: "付款人",
customDraweeList: '费用类型', customDraweeList: "费用类型",
number: '快递单号', number: "快递单号",
numberNotice: '请输入购买商品的快递单号', numberNotice: "请输入购买商品的快递单号",
getNumber: '生成单号', getNumber: "生成单号",
doubleClear: '是否双清', doubleClear: "是否双清",
airlineCompany: '航空公司', airlineCompany: "航空公司",
shippingCompany: '船公司', shippingCompany: "船公司",
customsClearCert: '清关证书', customsClearCert: "清关证书",
clearCertRemark: '清关证书备注', clearCertRemark: "清关证书备注",
isUnpack: '是否拆包', isUnpack: "是否拆包",
isSingleTicketTransport: '单票立刻转运', isSingleTicketTransport: "单票立刻转运",
notice: notice:
'注:若只有一件,货到仓库立即发,选“是”,多件需仓库集运待发,选“否”', "注:若只有一件,货到仓库立即发,选“是”,多件需仓库集运待发,选“否”",
packageType: '特殊要求', packageType: "特殊要求",
packageRemarks: '特殊要求备注', packageRemarks: "特殊要求备注",
select: '选择', select: "选择",
addCustomer: '新建收货人', addCustomer: "新建收货人",
batchImport: '批量导入', batchImport: "批量导入",
uoloadBox: '上传集装箱', uoloadBox: "上传集装箱",
startImport: '开始导入', startImport: "开始导入",
complete: '完成', complete: "完成",
upload: '点击上传', upload: "点击上传",
boxTpl: '装箱单模板', boxTpl: "装箱单模板",
material: '材质', material: "材质",
next: '下一步', next: "下一步",
none: '', none: "",
realName: '请先完成实名认证', realName: "请先完成实名认证",
linkRules: '请输入商品链接', linkRules: "请输入商品链接",
delPro: '确定删除此条内容么?', delPro: "确定删除此条内容么?",
isContainNotice: '订单包含不接受货物,请检查', isContainNotice: "订单包含不接受货物,请检查",
consignorConfirm: '请再次确认国际运费是否由您支付?', consignorConfirm: "请再次确认国际运费是否由您支付?",
isCargoControlNotice: isCargoControlNotice:
'是指由发货人与收货人约定在货物的国际运输过程中,我司作为第三方对该货物货权的控制;需由发货人授权我司放货的情况下收货人才能提取该票货物的一种交易方式', "是指由发货人与收货人约定在货物的国际运输过程中,我司作为第三方对该货物货权的控制;需由发货人授权我司放货的情况下收货人才能提取该票货物的一种交易方式",
customsTypeNotice: customsTypeNotice:
'我司全代 : 该货物的出口手续由我司代为办理 ; 自单代报: 该货物由发货人提供相关出口单证并委托我司代为办理 ;混单代报该货物有以上两种情况出现', "我司全代 : 该货物的出口手续由我司代为办理 ; 自单代报: 该货物由发货人提供相关出口单证并委托我司代为办理 ;混单代报该货物有以上两种情况出现",
packageTypeNotice: packageTypeNotice:
'如需我司打包,请勾选相应选项,费用付款人及打包要求可备注补充' "如需我司打包,请勾选相应选项,费用付款人及打包要求可备注补充",
}, },
deliverysuccess: { deliverysuccess: {
success: '新建订单成功', success: "新建订单成功",
orderNo: '您的订舱号', orderNo: "您的订舱号",
startAddress: '仓库地址', startAddress: "仓库地址",
startTell: '仓库电话', startTell: "仓库电话",
text: '您的订单已提交,谢谢您选择捷道物流!', text: "您的订单已提交,谢谢您选择捷道物流!",
delivery: '再来一单', delivery: "再来一单",
profile: '个人中心', profile: "个人中心",
detail: '查看订单', detail: "查看订单",
push: '入仓须知', push: "入仓须知",
notice: notice:
'为保证入仓数据准确性,入仓请带上一份装箱单(品名,件数,毛重,尺寸方数,是否有牌)', "为保证入仓数据准确性,入仓请带上一份装箱单(品名,件数,毛重,尺寸方数,是否有牌)",
products: '商品列表', products: "商品列表",
productCount: '总件数', productCount: "总件数",
copy: '复制订单信息' copy: "复制订单信息",
} },
} };
<template> <template>
<div style="width: 208px;position: absolute;"> <div style="width: 208px; position: absolute">
<div class="block"> <div class="block">
<div style="display: flex;justify-content: space-between;"> <div style="display: flex; justify-content: space-between">
<div style="display: flex;margin: 12px"> <div style="display: flex; margin: 12px">
<img src="@/assets/sidebar/user.png" alt class="banner-icon"> <img src="@/assets/sidebar/user.png" alt class="banner-icon" />
<span class="banner">{{ $t('sidebar.userInfo') }}</span> <span class="banner">{{ $t("sidebar.userInfo") }}</span>
</div> </div>
<div style="display: flex;margin: 12px;cursor: pointer;" @click="reload"> <div
<img src="@/assets/sidebar/fresh.png" alt style="width: 26px;height: 26px;"> style="display: flex; margin: 12px; cursor: pointer"
@click="reload"
>
<img
src="@/assets/sidebar/fresh.png"
alt
style="width: 26px; height: 26px"
/>
<span <span
style="font-size: 14px;font-weight: 500;line-height: 26px;text-decoration: underline;color: #27417C;" style="
>{{ $t('sidebar.reload') }}</span> font-size: 14px;
font-weight: 500;
line-height: 26px;
text-decoration: underline;
color: #27417c;
"
>{{ $t("sidebar.reload") }}</span
>
</div> </div>
</div> </div>
<div style="width:100%; text-align: center;"> <div style="width: 100%; text-align: center">
<el-image style="width: 36px; height: 36px;border-radius:50%" :src="userInfo.avatar" fit="cover"> <el-image
style="width: 36px; height: 36px; border-radius: 50%"
:src="userInfo.avatar"
fit="cover"
>
<div slot="error" class="image-slot"> <div slot="error" class="image-slot">
<img src="@/assets/default.png" alt style="width: 36px; height: 36px;"> <img
src="@/assets/default.png"
alt
style="width: 36px; height: 36px"
/>
</div> </div>
</el-image> </el-image>
</div> </div>
<div style="width:100%; text-align: center;font-size: 14px;font-weight: bold;color: #27417C;line-height: 36px;"> <div
style="
width: 100%;
text-align: center;
font-size: 14px;
font-weight: bold;
color: #27417c;
line-height: 36px;
"
>
{{ userInfo.nickname }} {{ userInfo.nickname }}
<span class="memberLevel">{{
userInfo.userScoreLevelInfo.levelName
}}</span>
</div> </div>
<jd-button style="margin:0 17px" :name="$t('sidebar.logout')" @click.native="logout" /> <jd-button
<div style="width:100%;height: 42px;margin-top:26px;display: flex;cursor: pointer;background: #659FD5;color: #fff !important;" @click="index"> style="margin: 0 17px"
<img src="@/assets/sidebar/home.png" alt style="width: 26px;height: 26px;margin-top: 8px;margin-left: 14px;"> :name="$t('sidebar.logout')"
<span style="font-size: 14px;font-weight: 500;line-height: 42px;margin-left:5px">{{ $t('sidebar.home') }}</span> @click.native="logout"
/>
<div
style="
width: 100%;
height: 42px;
margin-top: 26px;
display: flex;
cursor: pointer;
background: #659fd5;
color: #fff !important;
"
@click="index"
>
<img
src="@/assets/sidebar/home.png"
alt
style="width: 26px; height: 26px; margin-top: 8px; margin-left: 14px"
/>
<span
style="
font-size: 14px;
font-weight: 500;
line-height: 42px;
margin-left: 5px;
"
>{{ $t("sidebar.home") }}</span
>
</div> </div>
<div style="display: flex;justify-content: space-between;margin-top:16px;cursor: pointer;" class="hover" :class="{active:action==='Person'}" @click="profile"> <div
<div style="display: flex;"> style="
<img v-if="action=='Person'" src="@/assets/sidebar/user.png" alt style="width: 26px;height: 26px;margin-top: 10px;margin-left: 17px;"> display: flex;
<img v-else src="@/assets/sidebar/user.png" alt style="width: 26px;height: 26px;margin-top: 10px;margin-left: 17px;"> justify-content: space-between;
<span style="font-size: 14px;font-weight: 500;line-height: 42px;margin-left:5px">{{ $t('个人中心') }}</span> margin-top: 16px;
cursor: pointer;
"
class="hover"
:class="{ active: action === 'Person' }"
@click="profile"
>
<div style="display: flex">
<img
v-if="action == 'Person'"
src="@/assets/sidebar/user.png"
alt
style="
width: 26px;
height: 26px;
margin-top: 10px;
margin-left: 17px;
"
/>
<img
v-else
src="@/assets/sidebar/user.png"
alt
style="
width: 26px;
height: 26px;
margin-top: 10px;
margin-left: 17px;
"
/>
<span
style="
font-size: 14px;
font-weight: 500;
line-height: 42px;
margin-left: 5px;
"
>{{ $t("个人中心") }}</span
>
</div> </div>
</div> </div>
<div style="display: flex;justify-content: space-between;margin-top:16px;cursor: pointer;" class="hover" :class="{active:action==='Controlorder'}" @click="controlorder"> <div
<div style="display: flex;"> style="
<img v-if="action=='Controlorder'" src="@/assets/sidebar1/order.png" alt style="width: 26px;height: 26px;margin-top: 10px;margin-left: 17px;"> display: flex;
<img v-else src="@/assets/sidebar/order1.png" alt style="width: 26px;height: 26px;margin-top: 10px;margin-left: 17px;"> justify-content: space-between;
<span style="font-size: 14px;font-weight: 500;line-height: 42px;margin-left:5px">{{ $t('sidebar.controlOrder') }}</span> margin-top: 16px;
cursor: pointer;
"
class="hover"
:class="{ active: action === 'Controlorder' }"
@click="controlorder"
>
<div style="display: flex">
<img
v-if="action == 'Controlorder'"
src="@/assets/sidebar1/order.png"
alt
style="
width: 26px;
height: 26px;
margin-top: 10px;
margin-left: 17px;
"
/>
<img
v-else
src="@/assets/sidebar/order1.png"
alt
style="
width: 26px;
height: 26px;
margin-top: 10px;
margin-left: 17px;
"
/>
<span
style="
font-size: 14px;
font-weight: 500;
line-height: 42px;
margin-left: 5px;
"
>{{ $t("sidebar.controlOrder") }}</span
>
</div> </div>
<div style="display: flex;"> <div style="display: flex">
<span style="font-size: 14px;font-weight: 500;color: #333333;line-height: 42px;margin-right:30px">({{ mark.cargoControlAllNum }})</span> <span
style="
font-size: 14px;
font-weight: 500;
color: #333333;
line-height: 42px;
margin-right: 30px;
"
>({{ mark.cargoControlAllNum }})</span
>
</div> </div>
</div> </div>
<div v-if="false" style="display: flex;justify-content: space-between;margin-top:16px;cursor: pointer;" class="hover" :class="{active:action==='Waitmoneyorder'}" @click="waitmoneyorder"> <div
<div style="display: flex;"> v-if="false"
<img v-if="action=='Waitmoneyorder'" src="@/assets/sidebar1/other.png" alt style="width: 26px;height: 26px;margin-top: 10px;margin-left: 17px;"> style="
<img v-else src="@/assets/sidebar/order2.png" alt style="width: 26px;height: 26px;margin-top: 10px;margin-left: 17px;"> display: flex;
<span style="font-size: 14px;font-weight: 500;line-height: 42px;margin-left:5px">{{ $t('sidebar.moneyOrder') }}</span> justify-content: space-between;
margin-top: 16px;
cursor: pointer;
"
class="hover"
:class="{ active: action === 'Waitmoneyorder' }"
@click="waitmoneyorder"
>
<div style="display: flex">
<img
v-if="action == 'Waitmoneyorder'"
src="@/assets/sidebar1/other.png"
alt
style="
width: 26px;
height: 26px;
margin-top: 10px;
margin-left: 17px;
"
/>
<img
v-else
src="@/assets/sidebar/order2.png"
alt
style="
width: 26px;
height: 26px;
margin-top: 10px;
margin-left: 17px;
"
/>
<span
style="
font-size: 14px;
font-weight: 500;
line-height: 42px;
margin-left: 5px;
"
>{{ $t("sidebar.moneyOrder") }}</span
>
</div>
<div style="display: flex">
<span
style="
font-size: 14px;
font-weight: 500;
color: #333333;
line-height: 42px;
margin-right: 30px;
"
>({{ mark.notSettlementNum }})</span
>
</div> </div>
<div style="display: flex;">
<span style="font-size: 14px;font-weight: 500;color: #333333;line-height: 42px;margin-right:30px">({{ mark.notSettlementNum }})</span>
</div> </div>
<div
style="
display: flex;
justify-content: space-between;
margin-top: 16px;
cursor: pointer;
"
class="hover"
:class="{ active: action === 'Message' }"
@click="message"
>
<div style="display: flex">
<img
v-if="action == 'Message'"
src="@/assets/sidebar1/message.png"
alt
style="
width: 26px;
height: 26px;
margin-top: 10px;
margin-left: 17px;
"
/>
<img
v-else
src="@/assets/sidebar/msg.png"
alt
style="
width: 26px;
height: 26px;
margin-top: 10px;
margin-left: 17px;
"
/>
<span
style="
font-size: 14px;
font-weight: 500;
line-height: 42px;
margin-left: 5px;
"
>{{ $t("sidebar.notReadMessage") }}</span
>
</div>
<div style="display: flex">
<span
style="
font-size: 14px;
font-weight: 500;
color: #333333;
line-height: 42px;
margin-right: 30px;
"
>({{ mark.unreadMessageNum }})</span
>
</div> </div>
<div style="display: flex;justify-content: space-between;margin-top:16px;cursor: pointer;" class="hover" :class="{active:action==='Message'}" @click="message">
<div style="display: flex;">
<img v-if="action=='Message'" src="@/assets/sidebar1/message.png" alt style="width: 26px;height: 26px;margin-top: 10px;margin-left: 17px;">
<img v-else src="@/assets/sidebar/msg.png" alt style="width: 26px;height: 26px;margin-top: 10px;margin-left: 17px;">
<span style="font-size: 14px;font-weight: 500;line-height: 42px;margin-left:5px">{{ $t('sidebar.notReadMessage') }}</span>
</div> </div>
<div style="display: flex;"> <div
<span style="font-size: 14px;font-weight: 500;color: #333333;line-height: 42px;margin-right:30px">({{ mark.unreadMessageNum }})</span> style="
display: flex;
justify-content: space-between;
margin-top: 16px;
cursor: pointer;
"
class="hover"
:class="{ active: action === 'Coupons' }"
@click="coupon"
>
<div style="display: flex">
<img
v-if="action == 'Coupons'"
src="@/assets/sidebar1/coupon.png"
alt
style="
width: 26px;
height: 26px;
margin-top: 10px;
margin-left: 17px;
"
/>
<img
v-else
src="@/assets/sidebar/coupons.png"
alt
style="
width: 26px;
height: 26px;
margin-top: 10px;
margin-left: 17px;
"
/>
<span
style="
font-size: 14px;
font-weight: 500;
line-height: 42px;
margin-left: 5px;
"
>{{ $t("sidebar.coupons") }}</span
>
</div> </div>
<div style="display: flex">
<span
style="
font-size: 14px;
font-weight: 500;
color: #333333;
line-height: 42px;
margin-right: 30px;
"
>({{ mark.couponNum }})</span
>
</div> </div>
<div style="display: flex;justify-content: space-between;margin-top:16px; cursor: pointer;" class="hover" :class="{active:action==='Coupons'}" @click="coupon">
<div style="display: flex;">
<img v-if="action=='Coupons'" src="@/assets/sidebar1/coupon.png" alt style="width: 26px;height: 26px;margin-top: 10px;margin-left: 17px;">
<img v-else src="@/assets/sidebar/coupons.png" alt style="width: 26px;height: 26px;margin-top: 10px;margin-left: 17px;">
<span style="font-size: 14px;font-weight: 500;line-height: 42px;margin-left:5px">{{ $t('sidebar.coupons') }}</span>
</div> </div>
<div style="display: flex;"> <div
<span style="font-size: 14px;font-weight: 500;color: #333333;line-height: 42px;margin-right:30px">({{ mark.couponNum }})</span> style="
display: flex;
justify-content: space-between;
margin-top: 16px;
cursor: pointer;
"
class="hover"
:class="{ active: action === 'Integral' }"
@click="myIntegral"
>
<div style="display: flex">
<img
src="@/assets/sidebar/rage.png"
alt
style="
width: 26px;
height: 20px;
margin-top: 10px;
margin-left: 17px;
"
/>
<span
style="
font-size: 14px;
font-weight: 500;
line-height: 42px;
margin-left: 5px;
"
>{{ $t("route.integral") }}</span
>
</div> </div>
</div> </div>
<jd-button style="margin:16px auto;width: 160px;" :name="$t('sidebar.delivery')" @click.native="transVisble=true" /> <jd-button
<jd-button v-if="check" style="margin:16px auto;width: 160px;" :name="$t('sidebar.price')" dark @click.native="price" /> style="margin: 16px auto; width: 160px"
<div style="display: flex;margin-top: 16px;cursor:pointer" class="hover" @click="old"> :name="$t('sidebar.delivery')"
<span style="font-size: 14px;font-weight: 500;line-height: 48px;margin-left:35px">{{ $t('旧订单') }}</span> @click.native="transVisble = true"
/>
<jd-button
v-if="check"
style="margin: 16px auto; width: 160px"
:name="$t('sidebar.price')"
dark
@click.native="price"
/>
<div
style="display: flex; margin-top: 16px; cursor: pointer"
class="hover"
@click="old"
>
<span
style="
font-size: 14px;
font-weight: 500;
line-height: 48px;
margin-left: 35px;
"
>{{ $t("旧订单") }}</span
>
</div> </div>
<br> <br />
</div> </div>
<div class="block"> <div class="block">
<div style="display: flex;"> <div style="display: flex">
<div style="display: flex;margin: 12px"> <div style="display: flex; margin: 12px">
<img src="@/assets/sidebar/panel.png" alt class="banner-icon" />
<span class="banner">{{ $t("sidebar.myPanel") }}</span>
</div>
</div>
<div
style="
width: 100%;
height: 42px;
margin-top: 10px;
display: flex;
justify-content: space-between;
"
class="hover"
@click="handerShowMyOrderMenu"
>
<div style="display: flex; margin-top: 10px; margin-left: 13px">
<img <img
src="@/assets/sidebar/panel.png" src="@/assets/sidebar/orderBlack.png"
alt alt
class="banner-icon" style="width: 26px; height: 26px"
/>
<span
style="
font-size: 14px;
font-weight: bold;
line-height: 26px;
margin-left: 5px;
"
>{{ $t("sidebar.myOrder") }}</span
> >
<span class="banner">{{ $t('sidebar.myPanel') }}</span>
</div>
</div> </div>
<div style="width:100%;height: 42px;margin-top:10px;display: flex;justify-content: space-between;" class="hover" @click="handerShowMyOrderMenu"> <div class="arrow-top" :class="{ arrowBottom: showMyOrder }" />
<div style="display: flex;margin-top: 10px;margin-left: 13px;">
<img src="@/assets/sidebar/orderBlack.png" alt style="width: 26px;height: 26px;">
<span style="font-size: 14px;font-weight: bold;line-height: 26px;margin-left:5px">{{ $t('sidebar.myOrder') }}</span>
</div>
<div class="arrow-top" :class="{arrowBottom:showMyOrder}" />
</div> </div>
<el-collapse-transition> <el-collapse-transition>
<div v-show="showMyOrder"> <div v-show="showMyOrder">
<div style="margin-top: 20px;cursor: pointer;" class="hover" :class="{active:action==='Postorder'}" @click="postorder"> <div
<span style="font-size: 13px;font-weight: 400;line-height: 32px;margin-left:44px">{{ $t('sidebar.myPost') }}</span> style="margin-top: 20px; cursor: pointer"
class="hover"
:class="{ active: action === 'Postorder' }"
@click="postorder"
>
<span
style="
font-size: 13px;
font-weight: 400;
line-height: 32px;
margin-left: 44px;
"
>{{ $t("sidebar.myPost") }}</span
>
</div> </div>
<div style="margin-top: 16px;cursor: pointer;" class="hover" :class="{active:action==='Receivedorder'}" @click="receivedorder"> <div
<span style="font-size: 13px;font-weight: 400;line-height: 32px;margin-left:44px">{{ $t('sidebar.myReceivedo') }}</span> style="margin-top: 16px; cursor: pointer"
class="hover"
:class="{ active: action === 'Receivedorder' }"
@click="receivedorder"
>
<span
style="
font-size: 13px;
font-weight: 400;
line-height: 32px;
margin-left: 44px;
"
>{{ $t("sidebar.myReceivedo") }}</span
>
</div> </div>
</div> </div>
</el-collapse-transition> </el-collapse-transition>
<div style="display: flex;margin-top: 16px;cursor: pointer;" class="hover" :class="{active:action==='Controlorder'}" @click="controlorder"> <div
<img v-if="action=='Controlorder'" src="@/assets/sidebar1/manage.png" alt style="width: 26px;height: 26px;margin-top: 10px;margin-left: 17px;"> style="display: flex; margin-top: 16px; cursor: pointer"
<img v-else src="@/assets/sidebar/manage.png" alt style="width: 26px;height: 26px;margin-top: 10px;margin-left: 17px;"> class="hover"
<span style="font-size: 14px;font-weight: 500;line-height: 42px;margin-left:5px">{{ $t('sidebar.controlManage') }}</span> :class="{ active: action === 'Controlorder' }"
@click="controlorder"
>
<img
v-if="action == 'Controlorder'"
src="@/assets/sidebar1/manage.png"
alt
style="width: 26px; height: 26px; margin-top: 10px; margin-left: 17px"
/>
<img
v-else
src="@/assets/sidebar/manage.png"
alt
style="width: 26px; height: 26px; margin-top: 10px; margin-left: 17px"
/>
<span
style="
font-size: 14px;
font-weight: 500;
line-height: 42px;
margin-left: 5px;
"
>{{ $t("sidebar.controlManage") }}</span
>
</div> </div>
<div style="display: flex;margin-top: 16px;cursor: pointer;" class="hover" :class="{active:action==='Logistics'}" @click="logistics"> <div
<img v-if="action=='Logistics'" src="@/assets/sidebar1/logistics.png" alt style="width: 26px;height: 26px;margin-top: 10px;margin-left: 17px;"> style="display: flex; margin-top: 16px; cursor: pointer"
<img v-else src="@/assets/sidebar/logistics.png" alt style="width: 26px;height: 26px;margin-top: 10px;margin-left: 17px;"> class="hover"
<span style="font-size: 14px;font-weight: 500;line-height: 45px;margin-left:5px">{{ $t('sidebar.logistics') }}</span> :class="{ active: action === 'Logistics' }"
@click="logistics"
>
<img
v-if="action == 'Logistics'"
src="@/assets/sidebar1/logistics.png"
alt
style="width: 26px; height: 26px; margin-top: 10px; margin-left: 17px"
/>
<img
v-else
src="@/assets/sidebar/logistics.png"
alt
style="width: 26px; height: 26px; margin-top: 10px; margin-left: 17px"
/>
<span
style="
font-size: 14px;
font-weight: 500;
line-height: 45px;
margin-left: 5px;
"
>{{ $t("sidebar.logistics") }}</span
>
</div> </div>
<div style="display: flex;margin-top: 16px;cursor: pointer;" class="hover" :class="{active:action==='Ecash'}" @click="ecash"> <div
<img v-if="action=='Ecash'" src="@/assets/sidebar1/ecash.png" alt style="width: 26px;height: 26px;margin-top: 10px;margin-left: 17px;"> style="display: flex; margin-top: 16px; cursor: pointer"
<img v-else src="@/assets/sidebar/rage.png" alt style="width: 26px;height: 26px;margin-top: 10px;margin-left: 17px;"> class="hover"
<span style="font-size: 14px;font-weight: 500;line-height: 42px;margin-left:5px">{{ $t('sidebar.ecash') }}</span> :class="{ active: action === 'Ecash' }"
@click="ecash"
>
<img
v-if="action == 'Ecash'"
src="@/assets/sidebar1/ecash.png"
alt
style="width: 26px; height: 26px; margin-top: 10px; margin-left: 17px"
/>
<img
v-else
src="@/assets/sidebar/rage.png"
alt
style="width: 26px; height: 26px; margin-top: 10px; margin-left: 17px"
/>
<span
style="
font-size: 14px;
font-weight: 500;
line-height: 42px;
margin-left: 5px;
"
>{{ $t("sidebar.ecash") }}</span
>
</div> </div>
<div style="width:100%;height: 42px;margin-top:26px;display: flex;justify-content: space-between;" class="hover" @click="handerShowCustomMenu"> <div
<div style="display: flex;margin-top: 10px;margin-left: 13px;"> style="
<img src="@/assets/sidebar/customBlack.png" alt style="width: 26px;height: 26px;"> width: 100%;
<span style="font-size: 14px;font-weight: bold;line-height: 26px;margin-left:5px">{{ $t('sidebar.customerManage') }}</span> height: 42px;
margin-top: 26px;
display: flex;
justify-content: space-between;
"
class="hover"
@click="handerShowCustomMenu"
>
<div style="display: flex; margin-top: 10px; margin-left: 13px">
<img
src="@/assets/sidebar/customBlack.png"
alt
style="width: 26px; height: 26px"
/>
<span
style="
font-size: 14px;
font-weight: bold;
line-height: 26px;
margin-left: 5px;
"
>{{ $t("sidebar.customerManage") }}</span
>
</div> </div>
<div class="arrow-top" :class="{arrowBottom:showCustom}" /> <div class="arrow-top" :class="{ arrowBottom: showCustom }" />
</div> </div>
<el-collapse-transition> <el-collapse-transition>
<div v-show="showCustom"> <div v-show="showCustom">
<div style="margin-top: 20px;cursor: pointer;" class="hover" :class="{active:action==='Customer'}" @click="customer"> <div
<span style="font-size: 13px;font-weight: 400;line-height: 32px;margin-left:44px;">{{ $t('sidebar.myCustomer') }}</span> style="margin-top: 20px; cursor: pointer"
class="hover"
:class="{ active: action === 'Customer' }"
@click="customer"
>
<span
style="
font-size: 13px;
font-weight: 400;
line-height: 32px;
margin-left: 44px;
"
>{{ $t("sidebar.myCustomer") }}</span
>
</div> </div>
<div style="margin-top: 16px;cursor: pointer;" class="hover" :class="{active:action==='Supplier'}" @click="supplier"> <div
<span style="font-size: 13px;font-weight: 400;line-height: 32px;margin-left:44px">{{ $t('sidebar.mySupplier') }}</span> style="margin-top: 16px; cursor: pointer"
class="hover"
:class="{ active: action === 'Supplier' }"
@click="supplier"
>
<span
style="
font-size: 13px;
font-weight: 400;
line-height: 32px;
margin-left: 44px;
"
>{{ $t("sidebar.mySupplier") }}</span
>
</div> </div>
</div> </div>
</el-collapse-transition> </el-collapse-transition>
<div style="display: flex;margin-top: 16px;cursor:pointer" class="hover" :class="{active:action==='Setting'}" @click="setting"> <div
<img v-if="action=='Setting'" src="@/assets/sidebar1/setting.png" alt style="width: 26px;height: 26px;margin-top: 10px;margin-left: 17px;"> style="display: flex; margin-top: 16px; cursor: pointer"
<img v-else src="@/assets/sidebar/setting.png" alt style="width: 26px;height: 26px;margin-top: 10px;margin-left: 17px;"> class="hover"
<span style="font-size: 14px;font-weight: 500;line-height: 45px;margin-left:5px">{{ $t('sidebar.setting') }}</span> :class="{ active: action === 'Setting' }"
@click="setting"
>
<img
v-if="action == 'Setting'"
src="@/assets/sidebar1/setting.png"
alt
style="width: 26px; height: 26px; margin-top: 10px; margin-left: 17px"
/>
<img
v-else
src="@/assets/sidebar/setting.png"
alt
style="width: 26px; height: 26px; margin-top: 10px; margin-left: 17px"
/>
<span
style="
font-size: 14px;
font-weight: 500;
line-height: 45px;
margin-left: 5px;
"
>{{ $t("sidebar.setting") }}</span
>
</div> </div>
<div style="display: flex;margin-top: 16px;cursor:pointer" class="hover" :class="{active:action==='Help'}" @click="help"> <div
<img v-if="action=='Help'" src="@/assets/sidebar1/help.png" alt style="width: 26px;height: 26px;margin-top: 10px;margin-left: 17px;"> style="display: flex; margin-top: 16px; cursor: pointer"
<img v-else src="@/assets/sidebar/help.png" alt style="width: 26px;height: 26px;margin-top: 10px;margin-left: 17px;"> class="hover"
<span style="font-size: 14px;font-weight: 500;line-height: 48px;margin-left:5px">{{ $t('sidebar.help') }}</span> :class="{ active: action === 'Help' }"
@click="help"
>
<img
v-if="action == 'Help'"
src="@/assets/sidebar1/help.png"
alt
style="width: 26px; height: 26px; margin-top: 10px; margin-left: 17px"
/>
<img
v-else
src="@/assets/sidebar/help.png"
alt
style="width: 26px; height: 26px; margin-top: 10px; margin-left: 17px"
/>
<span
style="
font-size: 14px;
font-weight: 500;
line-height: 48px;
margin-left: 5px;
"
>{{ $t("sidebar.help") }}</span
>
</div> </div>
</div> </div>
<div class="block"> <div class="block">
<div style="display: flex;justify-content: space-between;"> <div style="display: flex; justify-content: space-between">
<div style="margin-left:22px;margin-top:28px;"> <div style="margin-left: 22px; margin-top: 28px">
<div><span style="font-size: 13px;color: #333333;font-weight: Bold;">{{ $t('sidebar.service') }}</span></div> <div>
<div style="margin-top:12px"><span style="font-size: 13px;color: #27417C;font-weight: Regular;">400-900-9962</span></div> <span style="font-size: 13px; color: #333333; font-weight: Bold">{{
$t("sidebar.service")
}}</span>
</div>
<div style="margin-top: 12px">
<span style="font-size: 13px; color: #27417c; font-weight: Regular"
>400-900-9962</span
>
</div>
</div> </div>
<img src="@/assets/sidebar/service.png" alt style="width: 66px;height: 66px;margin-top: 16px;margin-right: 14px;"> <img
src="@/assets/sidebar/service.png"
alt
style="
width: 66px;
height: 66px;
margin-top: 16px;
margin-right: 14px;
"
/>
</div> </div>
<div style="margin-top:16px;margin-left:22px"> <div style="margin-top: 16px; margin-left: 22px">
<span style="font-size: 13px;color: #999999;">({{ $t('sidebar.artificial') }}{{ $t('周一到周六') }}9:00-18:00)</span> <span style="font-size: 13px; color: #999999"
>({{ $t("sidebar.artificial") }}{{
$t("周一到周六")
}}9:00-18:00)</span
>
</div> </div>
<div style="display: flex;justify-content: space-between;margin-top: 30px;margin-bottom: 30px;"> <div
<div style="display: flex;width: 76px;height: 38px;margin-left:17px;background: #659FD5;border: 2px solid #659FD5;border-radius: 24px;align-items: center;"> style="
<img src="@/assets/sidebar/bird.png" alt style="width: 26px;height: 26px;margin-left: 8px;"> display: flex;
<span style="font-size: 13px;font-weight: bold;color: #FFFFFF;">+{{ $t('sidebar.focus') }}</span> justify-content: space-between;
margin-top: 30px;
margin-bottom: 30px;
"
>
<div
style="
display: flex;
width: 76px;
height: 38px;
margin-left: 17px;
background: #659fd5;
border: 2px solid #659fd5;
border-radius: 24px;
align-items: center;
"
>
<img
src="@/assets/sidebar/bird.png"
alt
style="width: 26px; height: 26px; margin-left: 8px"
/>
<span style="font-size: 13px; font-weight: bold; color: #ffffff"
>+{{ $t("sidebar.focus") }}</span
>
</div> </div>
<div style="display: flex;width: 76px;height: 38px;margin-left:12px;border: 2px solid #659FD5;border-radius: 24px;margin-right:29px;align-items: center;"> <div
<img src="@/assets/sidebar/f.png" alt style="width: 26px;height: 26px;margin-left: 8px;"> style="
<span style="font-size: 13px;font-weight: bold;color: #659FD5;">+{{ $t('sidebar.focus') }}</span> display: flex;
width: 76px;
height: 38px;
margin-left: 12px;
border: 2px solid #659fd5;
border-radius: 24px;
margin-right: 29px;
align-items: center;
"
>
<img
src="@/assets/sidebar/f.png"
alt
style="width: 26px; height: 26px; margin-left: 8px"
/>
<span style="font-size: 13px; font-weight: bold; color: #659fd5"
>+{{ $t("sidebar.focus") }}</span
>
</div> </div>
</div> </div>
</div> </div>
<div style="position: fixed;bottom: 0;"> <div style="position: fixed; bottom: 0">
<div class="complaint" @click="advice('complaint')"> <div class="complaint" @click="advice('complaint')">
<div style="position:absolute;"> <div style="position: absolute">
<img src="@/assets/sidebar/complaint.png" alt style="position:relative;"> <img
<div style="position:absolute;font-size: 12px;top: 78px;left: 45px;font-weight: bold;color: #333333;line-height: 16px;"> src="@/assets/sidebar/complaint.png"
<span>{{ $t('sidebar.complaints') }}</span> alt
style="position: relative"
/>
<div
style="
position: absolute;
font-size: 12px;
top: 78px;
left: 45px;
font-weight: bold;
color: #333333;
line-height: 16px;
"
>
<span>{{ $t("sidebar.complaints") }}</span>
</div> </div>
</div> </div>
</div> </div>
<div class="wechat"> <div class="wechat">
<div style="position:absolute;cursor: pointer;" @click="advice('consult', 1)"> <div
<img src="@/assets/sidebar/wechat.png" alt style="position:relative;"> style="position: absolute; cursor: pointer"
<div style="position:absolute;font-size: 12px;top: 75px;left: 35px;font-weight: bold;color: #333333;line-height: 16px;"> @click="advice('consult', 1)"
<span style="cursor: pointer;" @click="advice('consult', 1)">{{ $t('sidebar.consult') }}</span> >
<span style="cursor: pointer;margin-left:5px" @click="advice('consult',2)">{{ $t('sidebar.advice') }}</span> <img
src="@/assets/sidebar/wechat.png"
alt
style="position: relative"
/>
<div
style="
position: absolute;
font-size: 12px;
top: 75px;
left: 35px;
font-weight: bold;
color: #333333;
line-height: 16px;
"
>
<span style="cursor: pointer" @click="advice('consult', 1)">{{
$t("sidebar.consult")
}}</span>
<span
style="cursor: pointer; margin-left: 5px"
@click="advice('consult', 2)"
>{{ $t("sidebar.advice") }}</span
>
</div> </div>
</div> </div>
</div> </div>
<div class="phone"> <div class="phone">
<div style="position:absolute;cursor: pointer;" @click="handleService"> <div style="position: absolute; cursor: pointer" @click="handleService">
<img src="@/assets/sidebar/phone.png" alt style="position:relative;"> <img
<div style="position:absolute;font-size: 12px;top: 60px;left: 40px;font-weight: bold;color: #333333;line-height: 60px;"> src="@/assets/sidebar/phone.png"
<span>{{ $t('sidebar.onlineConsult') }}</span> alt
style="position: relative"
/>
<div
style="
position: absolute;
font-size: 12px;
top: 60px;
left: 40px;
font-weight: bold;
color: #333333;
line-height: 60px;
"
>
<span>{{ $t("sidebar.onlineConsult") }}</span>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<!-- 实名登记提示弹窗 --> <!-- 实名登记提示弹窗 -->
<el-dialog :title="$t('sidebar.notice')" :visible.sync="noticeVisble" width="30%" append-to-body :close-on-click-modal="false"> <el-dialog
:title="$t('sidebar.notice')"
:visible.sync="noticeVisble"
width="30%"
append-to-body
:close-on-click-modal="false"
>
<el-card> <el-card>
{{ $t('sidebar.realNameNotice1') }} {{ $t("sidebar.realNameNotice1") }}
</el-card> </el-card>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button type="primary" @click="noticeVisble=false">{{ $t('sidebar.cancel') }}</el-button> <el-button type="primary" @click="noticeVisble = false">{{
<el-button @click="noticeVisble=false;$router.push('/jiedao/jd-idcard');">{{ $t('sidebar.determine') }}</el-button> $t("sidebar.cancel")
}}</el-button>
<el-button
@click="
noticeVisble = false;
$router.push('/jiedao/jd-idcard');
"
>{{ $t("sidebar.determine") }}</el-button
>
</div> </div>
</el-dialog> </el-dialog>
<!-- 实名认证弹窗 --> <!-- 实名认证弹窗 -->
<el-dialog :title="$t('sidebar.notice')" :visible.sync="idcardVisble" width="30%" append-to-body :close-on-click-modal="false"> <el-dialog
:title="$t('sidebar.notice')"
:visible.sync="idcardVisble"
width="30%"
append-to-body
:close-on-click-modal="false"
>
<el-card v-if="authUserForm.status == 3"> <el-card v-if="authUserForm.status == 3">
{{ $t('sidebar.realNameNotice3') }} {{ $t("sidebar.realNameNotice3") }}
</el-card> </el-card>
<el-card v-else> <el-card v-else>
{{ $t('sidebar.realNameNotice2') }} {{ $t("sidebar.realNameNotice2") }}
</el-card> </el-card>
<el-form ref="authUserForm" :model="authUserForm" label-width="150px" style="margin-top: 20px;"> <el-form
<el-form-item ref="authUserForm"
:label="$t('realName.name')" :model="authUserForm"
prop="name" label-width="150px"
style="margin-top: 20px"
> >
<el-form-item :label="$t('realName.name')" prop="name">
<el-input v-model="authUserForm.name" type="text" readonly /> <el-input v-model="authUserForm.name" type="text" readonly />
</el-form-item> </el-form-item>
<el-form-item <el-form-item :label="$t('realName.cardType')" prop="cardType">
:label="$t('realName.cardType')" <dict-tag
prop="cardType" :type="DICT_TYPE.CERTIFICATE_TYPE"
> :value="authUserForm.cardType"
<dict-tag :type="DICT_TYPE.CERTIFICATE_TYPE" :value="authUserForm.cardType" /> />
</el-form-item> </el-form-item>
<el-form-item <el-form-item :label="$t('realName.cardNumber')" prop="cardNumber">
:label="$t('realName.cardNumber')"
prop="cardNumber"
>
<el-input v-model="authUserForm.cardNumber" type="text" readonly /> <el-input v-model="authUserForm.cardNumber" type="text" readonly />
</el-form-item> </el-form-item>
<el-form-item <el-form-item :label="$t('realName.img1')" prop="img1">
:label="$t('realName.img1')"
prop="img1"
>
<el-col v-if="authUserForm.img1" :span="18"> <el-col v-if="authUserForm.img1" :span="18">
<el-image <el-image
style="width: 100px; height: 100px" style="width: 100px; height: 100px"
...@@ -251,10 +930,7 @@ ...@@ -251,10 +930,7 @@
/> />
</el-col> </el-col>
</el-form-item> </el-form-item>
<el-form-item <el-form-item :label="$t('realName.img2')" prop="img2">
:label="$t('realName.img2')"
prop="img2"
>
<el-col v-if="authUserForm.img2" :span="18"> <el-col v-if="authUserForm.img2" :span="18">
<el-image <el-image
style="width: 100px; height: 100px" style="width: 100px; height: 100px"
...@@ -264,24 +940,71 @@ ...@@ -264,24 +940,71 @@
</el-col> </el-col>
</el-form-item> </el-form-item>
</el-form> </el-form>
<div slot="footer" class="dialog-footer" style="text-align: center;"> <div slot="footer" class="dialog-footer" style="text-align: center">
<el-button v-if="authUserForm.status != 3" style="width: 200px;" type="primary" @click="idcardVisble=false">{{ $t('sidebar.determine') }}</el-button> <el-button
<el-button v-if="authUserForm.status == 3" style="width: 200px;" type="primary" @click="idcardVisble=false">{{ $t('common.cancel') }}</el-button> v-if="authUserForm.status != 3"
<el-button v-if="authUserForm.status == 3" style="width: 200px;" type="primary" @click="idcardVisble=false;$router.push('/jiedao/jd-idcard');">{{ $t('common.update') }}</el-button> style="width: 200px"
type="primary"
@click="idcardVisble = false"
>{{ $t("sidebar.determine") }}</el-button
>
<el-button
v-if="authUserForm.status == 3"
style="width: 200px"
type="primary"
@click="idcardVisble = false"
>{{ $t("common.cancel") }}</el-button
>
<el-button
v-if="authUserForm.status == 3"
style="width: 200px"
type="primary"
@click="
idcardVisble = false;
$router.push('/jiedao/jd-idcard');
"
>{{ $t("common.update") }}</el-button
>
</div> </div>
</el-dialog> </el-dialog>
<!-- 选择运输方式 --> <!-- 选择运输方式 -->
<el-dialog :title="$t('sidebar.transport')" :visible.sync="transVisble" width="564px" append-to-body :close-on-click-modal="false"> <el-dialog
<img style="width: 100%;height: 100%;position: absolute;left: 0;top:0;z-index:0" src="@/assets/profile/bg.png"> :title="$t('sidebar.transport')"
<img style="width: 205px;height: 70px;position: absolute;right: 72px;top:0;z-index:0" src="@/assets/profile/bg2.png"> :visible.sync="transVisble"
<div style="display: flex; flex-wrap: wrap;margin:0 auto;width:100%"> width="564px"
append-to-body
:close-on-click-modal="false"
>
<img
style="
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
z-index: 0;
"
src="@/assets/profile/bg.png"
/>
<img
style="
width: 205px;
height: 70px;
position: absolute;
right: 72px;
top: 0;
z-index: 0;
"
src="@/assets/profile/bg2.png"
/>
<div style="display: flex; flex-wrap: wrap; margin: 0 auto; width: 100%">
<template v-for="item in getDictDatas(DICT_TYPE.ECW_TRANSPORT_TYPE)"> <template v-for="item in getDictDatas(DICT_TYPE.ECW_TRANSPORT_TYPE)">
<div class="transtype" @click="delivery(item.value)"> <div class="transtype" @click="delivery(item.value)">
<span>{{ $l(item, 'label') }}</span> <span>{{ $l(item, "label") }}</span>
<img v-if="item.value==1" src="@/assets/profile/type1.png"> <img v-if="item.value == 1" src="@/assets/profile/type1.png" />
<img v-else-if="item.value==2" src="@/assets/profile/type2.png"> <img v-else-if="item.value == 2" src="@/assets/profile/type2.png" />
<img v-else-if="item.value==3" src="@/assets/profile/type3.png"> <img v-else-if="item.value == 3" src="@/assets/profile/type3.png" />
<img v-else src="@/assets/profile/type4.png"> <img v-else src="@/assets/profile/type4.png" />
</div> </div>
</template> </template>
</div> </div>
...@@ -290,20 +1013,20 @@ ...@@ -290,20 +1013,20 @@
</template> </template>
<script> <script>
import JdButton from '@/components/JdButton' import JdButton from "@/components/JdButton";
import { getMark, getInfo, getIdCard } from '@/api/user' import { getMark, getInfo, getIdCard } from "@/api/user";
import { mapGetters } from 'vuex' import { mapGetters } from "vuex";
import DictTag from '@/components/DictTag' import DictTag from "@/components/DictTag";
import md5 from 'js-md5' import md5 from "js-md5";
import { getDictDatas } from '@/utils/dict' import { getDictDatas } from "@/utils/dict";
export default { export default {
name: 'Menu', name: "Menu",
components: { JdButton, DictTag }, components: { JdButton, DictTag },
data() { data() {
return { return {
check: false, check: false,
action: '', action: "",
showMyOrder: true, showMyOrder: true,
showCustom: true, showCustom: true,
mark: {}, mark: {},
...@@ -311,98 +1034,104 @@ export default { ...@@ -311,98 +1034,104 @@ export default {
noticeVisble: false, noticeVisble: false,
idcardVisble: false, idcardVisble: false,
authUserForm: {}, authUserForm: {},
transVisble: false transVisble: false,
} };
}, },
computed: { computed: {
...mapGetters(['loginUser']) ...mapGetters(["loginUser"]),
}, },
created() { created() {
this.action = this.$route.name this.action = this.$route.name;
this.userInfo = this.loginUser this.userInfo = this.loginUser;
getMark().then(r => { getMark().then((r) => {
this.mark = r.data this.mark = r.data;
}) });
this.$bus.$on('updateAvatar', () => { this.$bus.$on("updateAvatar", () => {
this.getInfo() this.getInfo();
}) });
this.$bus.$on('reload', () => { this.$bus.$on("reload", () => {
this.reload() this.reload();
}) });
}, },
methods: { methods: {
getDictDatas, getDictDatas,
handleService() { handleService() {
const online_talk = document.getElementsByClassName('online_talk ') const online_talk = document.getElementsByClassName("online_talk ");
if (online_talk) { if (online_talk) {
online_talk[0].click() online_talk[0].click();
} }
}, },
myIntegral() {
this.$router.push("/jiedao/jd-integral");
this.action = "Integral";
},
getInfo() { getInfo() {
getInfo().then(r => { getInfo().then((r) => {
this.userInfo = r.data this.userInfo = r.data;
}) });
}, },
reload() { reload() {
getMark().then(r => { getMark().then((r) => {
this.mark = r.data this.mark = r.data;
}) });
}, },
handerShowMyOrderMenu() { handerShowMyOrderMenu() {
if (this.showMyOrder) { if (this.showMyOrder) {
this.showMyOrder = false this.showMyOrder = false;
} else { } else {
this.showMyOrder = true this.showMyOrder = true;
} }
}, },
handerShowCustomMenu() { handerShowCustomMenu() {
if (this.showCustom) { if (this.showCustom) {
this.showCustom = false this.showCustom = false;
} else { } else {
this.showCustom = true this.showCustom = true;
} }
}, },
logout() { logout() {
this.$confirm(this.$t('sidebar.logoutNotice'), this.$t('sidebar.notice')).then(() => { this.$confirm(this.$t("sidebar.logoutNotice"), this.$t("sidebar.notice"))
this.$store.dispatch('user/logout').then(() => { .then(() => {
location.href = '' this.$store.dispatch("user/logout").then(() => {
location.href = "";
});
}) })
}).catch(() => {}) .catch(() => {});
}, },
setting() { setting() {
this.$router.push('/jiedao/jd-setting') this.$router.push("/jiedao/jd-setting");
this.action = 'Setting' this.action = "Setting";
}, },
help() { help() {
this.$router.push('/jiedao/jd-help') this.$router.push("/jiedao/jd-help");
this.action = 'Help' this.action = "Help";
}, },
logistics() { logistics() {
this.$router.push('/jiedao/jd-logistics') this.$router.push("/jiedao/jd-logistics");
this.action = 'Logistics' this.action = "Logistics";
}, },
advice(val, type = 0) { advice(val, type = 0) {
this.$router.push(`/jiedao/jd-advice?type=${val}&dtype=${type}`) this.$router.push(`/jiedao/jd-advice?type=${val}&dtype=${type}`);
}, },
message() { message() {
this.$router.push('/jiedao/jd-message') this.$router.push("/jiedao/jd-message");
this.action = 'Message' this.action = "Message";
}, },
coupon() { coupon() {
this.$router.push('/jiedao/jd-coupon') this.$router.push("/jiedao/jd-coupon");
this.action = 'Coupons' this.action = "Coupons";
}, },
customer() { customer() {
this.$router.push('/jiedao/jd-customer') this.$router.push("/jiedao/jd-customer");
this.action = 'Customer' this.action = "Customer";
}, },
supplier() { supplier() {
this.$router.push('/jiedao/jd-supplier') this.$router.push("/jiedao/jd-supplier");
this.action = 'Supplier' this.action = "Supplier";
}, },
ecash() { ecash() {
this.$router.push('/jiedao/jd-ecash') this.$router.push("/jiedao/jd-ecash");
this.action = 'Ecash' this.action = "Ecash";
}, },
delivery(tranfId) { delivery(tranfId) {
// getIdCard().then(r => { // getIdCard().then(r => {
...@@ -415,61 +1144,70 @@ export default { ...@@ -415,61 +1144,70 @@ export default {
// this.$router.push('/jiedao/jd-delivery') // this.$router.push('/jiedao/jd-delivery')
// } // }
// }) // })
this.transVisble = false this.transVisble = false;
this.$router.push('/jiedao/jd-delivery?tranfId=' + tranfId) this.$router.push("/jiedao/jd-delivery?tranfId=" + tranfId);
}, },
controlorder() { controlorder() {
this.$router.push('/jiedao/jd-controlorder') this.$router.push("/jiedao/jd-controlorder");
this.action = 'Controlorder' this.action = "Controlorder";
}, },
waitmoneyorder() { waitmoneyorder() {
this.$router.push('/jiedao/jd-waitmoneyorder') this.$router.push("/jiedao/jd-waitmoneyorder");
this.action = 'Waitmoneyorder' this.action = "Waitmoneyorder";
}, },
receivedorder() { receivedorder() {
this.$router.push('/jiedao/jd-receivedorder') this.$router.push("/jiedao/jd-receivedorder");
this.action = 'Receivedorder' this.action = "Receivedorder";
}, },
postorder() { postorder() {
this.$router.push('/jiedao/jd-postorder') this.$router.push("/jiedao/jd-postorder");
this.action = 'Postorder' this.action = "Postorder";
}, },
price() { price() {
this.$router.push('/jiedao/jd-price') this.$router.push("/jiedao/jd-price");
}, },
profile() { profile() {
this.$router.push('/jiedao/jd-profile') this.$router.push("/jiedao/jd-profile");
this.action = 'Profile' this.action = "Profile";
}, },
index() { index() {
window.open(process.env.VUE_APP_HOME_API) window.open(process.env.VUE_APP_HOME_API);
}, },
old() { old() {
const code = md5(md5('jiedaoguoji' + this.loginUser.mobile)) const code = md5(md5("jiedaoguoji" + this.loginUser.mobile));
const url = 'http://backend.groupage.cn/Member?phone=' + this.loginUser.mobile + '&code=' + code + '&area_code=+' + this.loginUser.areaCode const url =
window.open(url) "http://backend.groupage.cn/Member?phone=" +
} this.loginUser.mobile +
} "&code=" +
} code +
"&area_code=+" +
this.loginUser.areaCode;
window.open(url);
},
},
};
</script> </script>
<style scoped> <style scoped>
.memberLevel {
color: red;
}
.block { .block {
background-color: #f5f5f5; background-color: #f5f5f5;
margin-bottom: 12px; margin-bottom: 12px;
} }
.banner{ .banner {
font-size: 14px; font-size: 14px;
font-weight: 500; font-weight: 500;
color: #333333; color: #333333;
line-height: 26px; line-height: 26px;
} }
.banner-icon{ .banner-icon {
width: 26px; width: 26px;
height: 26px; height: 26px;
margin-right: 5px margin-right: 5px;
} }
.arrow-top{ .arrow-top {
margin-top: 16px; margin-top: 16px;
margin-right: 16px; margin-right: 16px;
width: 16px; width: 16px;
...@@ -481,9 +1219,9 @@ export default { ...@@ -481,9 +1219,9 @@ export default {
-webkit-transform: rotate(-45deg); -webkit-transform: rotate(-45deg);
-moz-transform: rotate(-45deg); -moz-transform: rotate(-45deg);
-ms-transform: rotate(-45deg); -ms-transform: rotate(-45deg);
cursor:pointer cursor: pointer;
} }
.arrowBottom{ .arrowBottom {
margin-top: 10px; margin-top: 10px;
margin-right: 16px; margin-right: 16px;
width: 16px; width: 16px;
...@@ -491,72 +1229,72 @@ export default { ...@@ -491,72 +1229,72 @@ export default {
border-top: 2px solid; border-top: 2px solid;
border-right: 2px solid; border-right: 2px solid;
transform: matrix(0.71, 0.71, 0.71, -0.71, 0, 0); transform: matrix(0.71, 0.71, 0.71, -0.71, 0, 0);
cursor:pointer cursor: pointer;
} }
.complaint{ .complaint {
position: absolute; position: absolute;
width: 108px; width: 108px;
height: 108px; height: 108px;
background: #FFFFFF; background: #ffffff;
border-radius: 50%; border-radius: 50%;
left: -150px; left: -150px;
bottom: 10px; bottom: 10px;
cursor:pointer cursor: pointer;
} }
.wechat{ .wechat {
position: absolute; position: absolute;
width: 108px; width: 108px;
height: 108px; height: 108px;
background: #FFFFFF; background: #ffffff;
border-radius: 50%; border-radius: 50%;
left: -150px; left: -150px;
bottom: 125px; bottom: 125px;
} }
.phone{ .phone {
position: absolute; position: absolute;
width: 108px; width: 108px;
height: 108px; height: 108px;
background: #FFFFFF; background: #ffffff;
border-radius: 50%; border-radius: 50%;
left: -150px; left: -150px;
bottom: 235px; bottom: 235px;
} }
.hover:hover{ .hover:hover {
background: #659FD5; background: #659fd5;
color: #fff !important; color: #fff !important;
} }
.active{ .active {
background: #659FD5; background: #659fd5;
color: #fff !important; color: #fff !important;
} }
/deep/ .el-dialog{ /deep/ .el-dialog {
border-radius:20px; border-radius: 20px;
position: relative; position: relative;
} }
/deep/ .el-dialog__title{ /deep/ .el-dialog__title {
color:#143050; color: #143050;
font-size:20px; font-size: 20px;
font-weight:600; font-weight: 600;
position: relative; position: relative;
z-index:9; z-index: 9;
} }
/deep/ .el-dialog__title::after{ /deep/ .el-dialog__title::after {
content: ''; content: "";
position: absolute; position: absolute;
left: -10px; left: -10px;
top: 0; top: 0;
width: 2.5px; width: 2.5px;
height: 16.5px; height: 16.5px;
border-radius: 4px; border-radius: 4px;
background-color: #2A6cd9; background-color: #2a6cd9;
} }
/deep/ .el-dialog__headerbtn{ /deep/ .el-dialog__headerbtn {
z-index:9 z-index: 9;
} }
.transtype{ .transtype {
color: #333; color: #333;
font-weight: 600; font-weight: 600;
font-family: 'PingFang-SC-Bold'; font-family: "PingFang-SC-Bold";
border-radius: 4px; border-radius: 4px;
width: 121px; width: 121px;
height: 165px; height: 165px;
...@@ -565,14 +1303,14 @@ color: #fff !important; ...@@ -565,14 +1303,14 @@ color: #fff !important;
position: relative; position: relative;
background-size: 100% 100%; background-size: 100% 100%;
margin-right: 10px; margin-right: 10px;
z-index:9; z-index: 9;
} }
.transtype img{ .transtype img {
width: 100%; width: 100%;
height: 100%; height: 100%;
position: absolute; position: absolute;
left: 0; left: 0;
top:0; top: 0;
z-index:-1 z-index: -1;
} }
</style> </style>
/** When your routing table is too long, you can split it into small modules **/ /** When your routing table is too long, you can split it into small modules **/
import Jdlayout from '@/layout/jdlayout' import Jdlayout from "@/layout/jdlayout";
const jiedaoRouter = { const jiedaoRouter = {
path: '/jiedao', path: "/jiedao",
component: Jdlayout, component: Jdlayout,
redirect: '/jiedao/jd-profile', redirect: "/jiedao/jd-profile",
name: 'Table', name: "Table",
meta: { meta: {
title: 'profile', title: "profile",
icon: 'table' icon: "table",
}, },
children: [ children: [
{ {
path: 'jd-profile', path: "jd-profile",
component: () => import('@/views/jiedao/profile'), component: () => import("@/views/jiedao/profile"),
name: 'Profile', name: "Profile",
meta: { title: 'profile' } meta: { title: "profile" },
}, },
{ {
path: 'jd-setting', path: "jd-setting",
component: () => import('@/views/jiedao/profile/setting'), component: () => import("@/views/jiedao/profile/setting"),
name: 'Setting', name: "Setting",
meta: { title: 'setting' } meta: { title: "setting" },
}, },
{ {
path: 'jd-advice', path: "jd-advice",
component: () => import('@/views/jiedao/profile/advice'), component: () => import("@/views/jiedao/profile/advice"),
name: 'Advice', name: "Advice",
meta: { title: 'advice' } meta: { title: "advice" },
}, },
{ {
path: 'jd-help', path: "jd-help",
component: () => import('@/views/jiedao/profile/help'), component: () => import("@/views/jiedao/profile/help"),
name: 'Help', name: "Help",
meta: { title: 'help' } meta: { title: "help" },
}, },
{ {
path: 'jd-message', path: "jd-message",
component: () => import('@/views/jiedao/profile/message'), component: () => import("@/views/jiedao/profile/message"),
name: 'Message', name: "Message",
meta: { title: 'message' } meta: { title: "message" },
}, },
{ {
path: 'jd-message', path: "jd-message",
component: () => import('@/views/jiedao/profile/messagedetail'), component: () => import("@/views/jiedao/profile/messagedetail"),
name: 'Message', name: "Message",
meta: { title: 'message' }, meta: { title: "message" },
children: [ children: [
{ {
path: 'jd-messagedetail', path: "jd-messagedetail",
component: () => import('@/views/jiedao/profile/messagedetail'), component: () => import("@/views/jiedao/profile/messagedetail"),
name: 'Messagedetail', name: "Messagedetail",
meta: { title: 'messagedetail' } meta: { title: "messagedetail" },
} },
] ],
}, },
{ {
path: 'jd-notice', path: "jd-notice",
component: () => import('@/views/jiedao/profile/notice'), component: () => import("@/views/jiedao/profile/notice"),
name: 'Notice', name: "Notice",
meta: { title: 'notice' } meta: { title: "notice" },
}, },
{ {
path: 'jd-notice', path: "jd-notice",
component: () => import('@/views/jiedao/profile/noticedetail'), component: () => import("@/views/jiedao/profile/noticedetail"),
name: 'Notice', name: "Notice",
meta: { title: 'notice' }, meta: { title: "notice" },
children: [ children: [
{ {
path: 'jd-noticedetail', path: "jd-noticedetail",
component: () => import('@/views/jiedao/profile/noticedetail'), component: () => import("@/views/jiedao/profile/noticedetail"),
name: 'Noticedetail', name: "Noticedetail",
meta: { title: 'noticedetail' } meta: { title: "noticedetail" },
} },
] ],
}, },
{ {
path: 'jd-bannerdetail', path: "jd-bannerdetail",
component: () => import('@/views/jiedao/profile/bannerdetail'), component: () => import("@/views/jiedao/profile/bannerdetail"),
name: 'Banner', name: "Banner",
meta: { title: 'bannerdetail' } meta: { title: "bannerdetail" },
}, },
{ {
path: 'jd-coupon', path: "jd-coupon",
component: () => import('@/views/jiedao/profile/coupons'), component: () => import("@/views/jiedao/profile/coupons"),
name: 'Coupons', name: "Coupons",
meta: { title: 'coupons' } meta: { title: "coupons" },
}, },
{ {
path: 'jd-customer', path: "jd-integral",
component: () => import('@/views/jiedao/profile/customer'), component: () => import("@/views/jiedao/profile/integral"),
name: 'Customer', name: "Integral",
meta: { title: 'customer' } meta: { title: "integral" },
}, },
{ {
path: 'jd-supplier', path: "jd-customer",
component: () => import('@/views/jiedao/profile/supplier'), component: () => import("@/views/jiedao/profile/customer"),
name: 'Supplier', name: "Customer",
meta: { title: 'supplier' } meta: { title: "customer" },
}, },
{ {
path: 'jd-ecash', path: "jd-supplier",
component: () => import('@/views/jiedao/profile/ecash'), component: () => import("@/views/jiedao/profile/supplier"),
name: 'Ecash', name: "Supplier",
meta: { title: 'ecash' } meta: { title: "supplier" },
}, },
{ {
path: 'jd-delivery', path: "jd-ecash",
component: () => import('@/views/jiedao/profile/delivery'), component: () => import("@/views/jiedao/profile/ecash"),
name: 'Delivery', name: "Ecash",
meta: { title: 'delivery' } meta: { title: "ecash" },
}, },
{ {
path: 'jd-controlorder', path: "jd-delivery",
component: () => import('@/views/jiedao/profile/controlorder'), component: () => import("@/views/jiedao/profile/delivery"),
name: 'Controlorder', name: "Delivery",
meta: { title: 'controlorder' } meta: { title: "delivery" },
}, },
{ {
path: 'jd-waitmoneyorder', path: "jd-controlorder",
component: () => import('@/views/jiedao/profile/waitmoneyorder'), component: () => import("@/views/jiedao/profile/controlorder"),
name: 'Waitmoneyorder', name: "Controlorder",
meta: { title: 'waitmoneyorder' } meta: { title: "controlorder" },
}, },
{ {
path: 'jd-receivedorder', path: "jd-waitmoneyorder",
component: () => import('@/views/jiedao/profile/receivedorder'), component: () => import("@/views/jiedao/profile/waitmoneyorder"),
name: 'Receivedorder', name: "Waitmoneyorder",
meta: { title: 'receivedorder' } meta: { title: "waitmoneyorder" },
}, },
{ {
path: 'jd-postorder', path: "jd-receivedorder",
component: () => import('@/views/jiedao/profile/postorder'), component: () => import("@/views/jiedao/profile/receivedorder"),
name: 'Postorder', name: "Receivedorder",
meta: { title: 'postorder' } meta: { title: "receivedorder" },
}, },
{ {
path: 'jd-orderdetail', path: "jd-postorder",
component: () => import('@/views/jiedao/profile/orderdetail'), component: () => import("@/views/jiedao/profile/postorder"),
name: 'Orderdetail', name: "Postorder",
meta: { title: 'orderdetail' } meta: { title: "postorder" },
}, },
{ {
path: 'jd-price', path: "jd-orderdetail",
component: () => import('@/views/jiedao/profile/price'), component: () => import("@/views/jiedao/profile/orderdetail"),
name: 'Orderdetail', name: "Orderdetail",
meta: { title: 'price' } meta: { title: "orderdetail" },
}, },
{ {
path: 'jd-logistics', path: "jd-price",
component: () => import('@/views/jiedao/profile/logistics'), component: () => import("@/views/jiedao/profile/price"),
name: 'Logistics', name: "Orderdetail",
meta: { title: 'logistics' } meta: { title: "price" },
}, },
{ {
path: 'jd-abnormal', path: "jd-logistics",
component: () => import('@/views/jiedao/profile/abnormal'), component: () => import("@/views/jiedao/profile/logistics"),
name: 'Abnormal', name: "Logistics",
meta: { title: 'abnormal' } meta: { title: "logistics" },
}, },
{ {
path: 'jd-idcard', path: "jd-abnormal",
component: () => import('@/views/jiedao/profile/idcard'), component: () => import("@/views/jiedao/profile/abnormal"),
name: 'Notice', name: "Abnormal",
meta: { title: 'idcard' } meta: { title: "abnormal" },
}, },
{ {
path: 'jd-deliveryedit', path: "jd-idcard",
component: () => import('@/views/jiedao/profile/delivery'), component: () => import("@/views/jiedao/profile/idcard"),
name: 'Notice', name: "Notice",
meta: { title: 'delivery' } meta: { title: "idcard" },
}, },
{ {
path: 'jd-deliverysuccess', path: "jd-deliveryedit",
component: () => import('@/views/jiedao/profile/deliverysuccess'), component: () => import("@/views/jiedao/profile/delivery"),
name: 'Notice', name: "Notice",
meta: { title: 'deliverysuccess' } meta: { title: "delivery" },
} },
] {
} path: "jd-deliverysuccess",
export default jiedaoRouter component: () => import("@/views/jiedao/profile/deliverysuccess"),
name: "Notice",
meta: { title: "deliverysuccess" },
},
],
};
export default jiedaoRouter;
<template>
<div class="app-container">
我的积分
<img src="@/assets/setting/user.png" />
</div>
</template>
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -161,21 +161,6 @@ export default { ...@@ -161,21 +161,6 @@ export default {
}, 1000); }, 1000);
}); });
}, },
getInfo() {
getInfo().then((r) => {
if (r.data.city) {
this.$router.push({
path: this.redirect || "//myInfo",
query: this.otherQuery,
});
} else {
}
this.$router.push({
path: this.redirect || "/jiedao/jd-profile",
query: this.otherQuery,
});
});
},
getInfos() { getInfos() {
getInfo().then((r) => { getInfo().then((r) => {
this.loading = false; this.loading = false;
...@@ -196,20 +181,8 @@ export default { ...@@ -196,20 +181,8 @@ export default {
this.$refs.loginForm.validate(async (valid) => { this.$refs.loginForm.validate(async (valid) => {
if (valid) { if (valid) {
this.loading = true; this.loading = true;
await this.$store.dispatch("user/login", this.loginForm); await this.$store.dispatch("user/smsLogin", this.loginForm);
await this.getInfos(); await this.getInfos();
// this.$store
// .dispatch("user/smsLogin", this.loginForm)
// .then(() => {
// this.$router.push({
// path: this.redirect || "/jiedao/jd-profile",
// query: this.otherQuery,
// });
// this.loading = false;
// })
// .catch(() => {
// this.loading = false;
// });
} else { } else {
console.log("error submit!!"); console.log("error submit!!");
return false; return false;
......
...@@ -169,15 +169,6 @@ export default { ...@@ -169,15 +169,6 @@ export default {
this.loading = true; this.loading = true;
await this.$store.dispatch("user/login", this.loginForm); await this.$store.dispatch("user/login", this.loginForm);
await this.getInfos(); await this.getInfos();
// .then(() => {
// console.log("9999997--ee--");
// return this.getInfos();
// console.log("9999997----");
// this.loading = false;
// })
// .catch(() => {
// this.loading = false;
// });
} else { } else {
console.log("error submit!!"); console.log("error submit!!");
return false; return false;
......
...@@ -6,14 +6,14 @@ ...@@ -6,14 +6,14 @@
<div class="right_back"> <div class="right_back">
<div class="start-bar"></div> <div class="start-bar"></div>
<el-form <el-form
ref="loginForm" ref="myInfo"
:model="params" :model="params"
:rules="rules" :rules="rules"
autocomplete="on" autocomplete="on"
label-position="left" label-position="left"
label-width="80px" label-width="80px"
> >
<el-form-item prop="username" :label="$t('myInfo.name')"> <el-form-item prop="nickname" :label="$t('myInfo.name')">
<el-input <el-input
ref="username" ref="username"
v-model="params.nickname" v-model="params.nickname"
...@@ -23,9 +23,8 @@ ...@@ -23,9 +23,8 @@
tabindex="1" tabindex="1"
/> />
</el-form-item> </el-form-item>
<el-form-item prop="username" :label="$t('myInfo.nameEn')"> <el-form-item :label="$t('myInfo.nameEn')">
<el-input <el-input
ref="username"
v-model="params.englishName" v-model="params.englishName"
:placeholder="$t('notices.nameEn')" :placeholder="$t('notices.nameEn')"
name="username" name="username"
...@@ -34,10 +33,10 @@ ...@@ -34,10 +33,10 @@
/> />
</el-form-item> </el-form-item>
<!-- 生日 --> <!-- 生日 -->
<el-form-item prop="username" :label="$t('myInfo.birth')"> <el-form-item :label="$t('myInfo.birth')">
<el-date-picker <el-date-picker
v-model="params.birthday" v-model="params.birthday"
type="datetime" type="date"
:placeholder="$t('notices.birthday')" :placeholder="$t('notices.birthday')"
/> />
</el-form-item> </el-form-item>
...@@ -79,7 +78,7 @@ ...@@ -79,7 +78,7 @@
</el-select> </el-select>
</el-col> </el-col>
</el-row> </el-row>
<el-form-item :label="$t('myInfo.country')"> <el-form-item prop="country" :label="$t('myInfo.country')">
<el-select <el-select
v-model="params.country" v-model="params.country"
@change="getCityList" @change="getCityList"
...@@ -92,7 +91,7 @@ ...@@ -92,7 +91,7 @@
></el-option> ></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item :label="$t('myInfo.city')"> <el-form-item prop="city" :label="$t('myInfo.city')">
<el-select v-model="params.city" :placeholder="$t('notices.city')"> <el-select v-model="params.city" :placeholder="$t('notices.city')">
<el-option <el-option
v-for="(item, index) in cityList" v-for="(item, index) in cityList"
...@@ -102,9 +101,8 @@ ...@@ -102,9 +101,8 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<!-- 地址 --> <!-- 地址 -->
<el-form-item prop="username" :label="$t('myInfo.adderss')"> <el-form-item :label="$t('myInfo.adderss')">
<el-input <el-input
ref="username"
v-model="params.adderss" v-model="params.adderss"
:placeholder="$t('notices.adderss')" :placeholder="$t('notices.adderss')"
name="username" name="username"
...@@ -112,9 +110,8 @@ ...@@ -112,9 +110,8 @@
tabindex="1" tabindex="1"
/> />
</el-form-item> </el-form-item>
<el-form-item prop="username" :label="$t('myInfo.department')"> <el-form-item :label="$t('myInfo.department')">
<el-input <el-input
ref="username"
v-model="params.department" v-model="params.department"
:placeholder="$t('notices.department')" :placeholder="$t('notices.department')"
name="department" name="department"
...@@ -122,9 +119,8 @@ ...@@ -122,9 +119,8 @@
tabindex="1" tabindex="1"
/> />
</el-form-item> </el-form-item>
<el-form-item prop="username" :label="$t('myInfo.job')"> <el-form-item :label="$t('myInfo.job')">
<el-input <el-input
ref="username"
v-model="params.department" v-model="params.department"
:placeholder="$t('notices.job')" :placeholder="$t('notices.job')"
name="username" name="username"
...@@ -133,34 +129,15 @@ ...@@ -133,34 +129,15 @@
/> />
</el-form-item> </el-form-item>
</el-form> </el-form>
<!-- <div class="consultAdd"> <div style="width: 100%; text-align: center; margin-top: 60px">
<div class="consult-item"> <el-button
<div class="consult-item-label"> type="primary"
<span>{{ $t("myInfo.birth") }}</span> round
</div> style="width: 70%"
</div> @click.native.prevent="submitForm"
</div> --> >{{ $t("myInfo.edit") }}</el-button
<!-- <div class="consult-item">
</div>
</div>
<div class="consult-item">
<div class="consult-item-label">
<span>{{ myInfo.country }}</span>
</div>
<div class="consult-item-put">
<picker
style="width: 100%"
:range="countryArray"
:range-key="rangeKey == 'zh' ? 'titleZh' : 'titleEn'"
@change="bindCountyChange"
> >
<div :class="{ placeholder: !params.country }">{{ </div>
params.countryValue ? params.countryValue : notices.country
}}</div>
</picker>
<div class="" @click="submitForm">{{ myInfo.edit }}</div> -->
<!-- </div> -->
</div> </div>
</div> </div>
</template> </template>
...@@ -170,18 +147,20 @@ import { ...@@ -170,18 +147,20 @@ import {
getCode, getCode,
getCountryList, getCountryList,
getCityListByParent, getCityListByParent,
getInfo,
getTradeCountryList, getTradeCountryList,
update,
} from "@/api/user"; } from "@/api/user";
import { langData } from "@/data/lang"; import { langData } from "@/data/lang";
import { deepClone } from "@/utils";
export default { export default {
data() { data() {
const currentDate = this.getDate({
format: true,
});
return { return {
rules: {}, rules: {},
params: {}, params: {
areaCode: "86",
city: null,
country: null,
},
areaData: [], areaData: [],
areaName: [], areaName: [],
countryAreaCodeList: [], countryAreaCodeList: [],
...@@ -190,17 +169,45 @@ export default { ...@@ -190,17 +169,45 @@ export default {
areaIndex: 0, areaIndex: 0,
countryList: [], countryList: [],
genderData: [ genderData: [
{ value: 0, label: this.$t("myInfo.girl") }, { value: "0", label: this.$t("myInfo.girl") },
{ value: 1, label: this.$t("myInfo.boy") }, { value: "1", label: this.$t("myInfo.boy") },
{ value: 2, label: this.$t("myInfo.secret") }, { value: "2", label: this.$t("myInfo.secret") },
], ],
// 国家列表 // 国家列表
// 城市列表 // 城市列表
cityList: [], cityList: [],
}; rules: {
nickname: [
{
required: true,
message: this.$t("notices.name"),
trigger: "blur",
}, },
onLoad() { ],
this.getUserInfo(); mobile: [
{
required: true,
message: this.$t("login.mobileRules"),
trigger: "blur",
},
{ pattern: /^[0-9]\d*$/, message: this.$t("customer.phoneRules2") },
],
city: [
{
required: true,
message: this.$t("notices.city"),
trigger: "change",
},
],
country: [
{
required: true,
message: this.$t("notices.country"),
trigger: "change",
},
],
},
};
}, },
computed: { computed: {
language: { language: {
...@@ -224,87 +231,43 @@ export default { ...@@ -224,87 +231,43 @@ export default {
this.countryAreaCodeList = r.data; this.countryAreaCodeList = r.data;
}); });
this.getTradeCountryList(); this.getTradeCountryList();
this.getUserInfo();
}, },
methods: { methods: {
submitForm() { submitForm() {
this.$request this.$refs["myInfo"].validate((valid) => {
.put("/app-api/member/user/update", this.params) if (valid) {
.then((res) => { update(this.params).then((res) => {
if (res.code == 0) { this.$router.push({
uni.showToast({ path: "/jiedao/jd-profile",
title: this.notices.edited,
icon: "none",
}); });
} else {
uni.showToast({
title: res.msg,
icon: "none",
}); });
} else {
console.log("error submit!!");
return false;
} }
}); });
}, },
getUserInfo() { getUserInfo() {
this.$request.get("/app-api/member/user/get").then((res) => { this.$store.dispatch("user/getInfo").then((res) => {
if (res.code == 0 && res.data) { this.params = deepClone(res);
this.params = res.data; if (!res.gender) {
if (!res.data.gender) { this.params.gender = "2";
this.params.gender = 2;
}
if (res.data.birthday) {
this.date = res.data.birthday;
}
} }
}); });
}, },
getDate(type) {
const date = new Date();
let year = date.getFullYear() - 16;
let month = date.getMonth() + 1;
let day = date.getDate();
if (type === "start") {
year = year - 80;
} else if (type === "end") {
year = year;
}
month = month > 9 ? month : "0" + month;
day = day > 9 ? day : "0" + day;
return `${year}-${month}-${day}`;
},
bindDateChange: function (e) {
this.date = e.detail.value;
this.params.birthday = e.detail.value;
},
//获取城市接口 //获取城市接口
getTradeCountryList() { getTradeCountryList() {
getTradeCountryList().then((res) => { getTradeCountryList().then((res) => {
this.countryList = res.data; this.countryList = res.data;
}); });
}, },
// 国家选择 change
bindCountyChange(e) {
// const index = e.detail.value;
// const { titleZh, titleEn, id } = this.countryArray[index];
// const value = this.rangeKey == "zh" ? titleZh : titleEn;
// this.$set(this.params, "countryValue", value);
// this.$set(this.params, "country", id);
// this.getCityList(id);
},
// 获取城市列表 // 获取城市列表
getCityList(id) { getCityList(id) {
getCityListByParent({ id }).then((res) => { getCityListByParent({ id }).then((res) => {
this.cityList = res.data; this.cityList = res.data;
}); });
}, },
// 城市选择 change
bindCityChange(e) {
const index = e.detail.value;
const { titleZh, titleEn, id } = this.cityArray[index];
const value = this.rangeKey == "zh" ? titleZh : titleEn;
this.$set(this.params, "cityValue", value);
this.$set(this.params, "city", id);
},
}, },
}; };
</script> </script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment