浏览代码

修改图标

yinxiangke 3 周之前
父节点
当前提交
bb0f3ca95c

+ 2 - 2
.env.development

@@ -1,6 +1,6 @@
 # 乔功
-VITE_API_BASE_URL=http://192.168.100.134:8080/api
-# VITE_API_BASE_URL=http://47.104.167.40/prod-api/api
+# VITE_API_BASE_URL=http://192.168.100.134:8080/api
+VITE_API_BASE_URL=http://47.104.167.40/prod-api/api
 # VITE_API_BASE_URL=http://192.168.100.134:8080/api
 # VITE_API_BASE_URL=http://192.168.101.12:8080/api
 # 高运甲

+ 14 - 1
src/locales/en.js

@@ -361,7 +361,20 @@ export default {
     jujueliyou:'reason for rejection',
     sfscggzl:'Whether to delete the workflow?',
     sfqxbm:'Whether to cancel the sign up?',
-    zdfp:'Automatically allocate MiBi to the employee every month',
+    zdfp:'The monthly MiCoin package for members can be allocated to your employees, and the remaining amount will be credited to your account each month.',
+    qydbtyzhxy:'Please read and agree to the conversion agreement',
+    qydbty:'Please read and agree',
+    zhxy:'Conversion Agreement',
+    txje:'Withdrawal Amount',
+    qsrtxje:'Please enter the withdrawal amount',
+    txfs:'Withdrawal Method',
+    qxztxfs:'Please select the withdrawal method',
+    txzh:'Withdrawal Account',
+    qsrtxzh:'Please enter the withdrawal account',
+    xm:'Name',
+    qsrxm:'Please enter the name',
+    txxy:'Withdrawal Agreement',
+    qydbtytxxy:'Please read and agree to the withdrawal agreement',
   },
   orderConfirm:{
     personalPay:'Personal Payment',

+ 14 - 1
src/locales/zh-CN.js

@@ -364,7 +364,20 @@ export default {
     jujueliyou:'拒绝理由',
     sfscggzl:'是否删除该工作流?',
     sfqxbm:'是否取消报名?',
-    zdfp:'每个月自动向该员工分配米币数量',
+    zdfp:'会员每月米币包可向您的员工分配,分配剩余的每月会到达您的账户。',
+    qydbtyzhxy:'请阅读并同意转换协议',
+    qydbty:'请阅读并同意',
+    zhxy:'转换协议',
+    txje:'提现金额',
+    qsrtxje:'请输入提现金额',
+    txfs:'提现方式',
+    qxztxfs:'请选择提现方式',
+    txzh:'提现账号',
+    qsrtxzh:'请输入提现账号',
+    xm:'姓名',
+    qsrxm:'请输入姓名',
+    txxy:'提现协议',
+    qydbtytxxy:'请阅读并同意《提现协议》',
   },
   orderConfirm:{
     personalPay:'个人支付',

+ 3 - 1
src/pages/Personal/BusinessManagement.vue

@@ -85,7 +85,7 @@
             <el-col :span="24">
               <el-form-item :label="$t('personalCenter.yuangong')" prop="userPhone">
                 <el-select v-model="formInline.userPhone" filterable remote reserve-keyword
-                  :placeholder="$t('common.placeholderInput')" :remote-method="remoteMethod">
+                  :placeholder="$t('personalCenter.qsryssdygsjh')" :remote-method="remoteMethod">
                   <el-option v-for="item in options" :key="item.userPhone" :label="item.nickName"
                     :value="item.userPhone" />
                 </el-select>
@@ -107,6 +107,7 @@
               </el-form-item>
             </el-col>
           </el-row>
+           <el-text class="mx-1" type="danger">*{{ $t('personalCenter.zdfp') }}</el-text>
         </template>
         <template v-else-if="title == 'personalCenter.fenpeimibi'">
           <el-row :gutter="0">
@@ -281,6 +282,7 @@ const resetForm = () => {
     formInline.value.deptName = '';
     formInline.value.parentId = null;
     formInline.value.points = 0;
+    formInline.value.userPhone = '';
   }, 500)
 }
 

+ 1 - 1
src/pages/Personal/Collection.vue

@@ -79,7 +79,7 @@ const toDetail = (item: any) => {
     path: `/learning-system/detail/${item.objectId}/course/${item.objectId}`,
     query: {
       courseId: item.objectId,
-      metaTitle: '课程详情'
+      metaTitle: item.courseTitle || '课程详情'
     }
   })
 }

+ 21 - 14
src/pages/Personal/Orders.vue

@@ -2,8 +2,8 @@
   <div class="order">
     <el-tabs v-model="form.orderStatus" class="demo-tabs" @tab-click="handleClick">
       <el-tab-pane v-for="tab in tabs" :key="tab.name" :label="$t(tab.label)" :name="tab.name">
-        <ul class="order-list">
-          <li v-for="(item, index) in list" :key="index">
+        <div class="order-list">
+          <div v-for="(item, index) in list" :key="index" class="li" @click="toDetail(item)">
             <div class="order-list-top flex-center-between">
               <div class="order-list-top-l flex-align-center">
                 <el-tag
@@ -43,7 +43,7 @@
                   <div class="flex-center-flex-end" style="width: 300px;">
                     <template v-if="item.invoiceStatus == 0 && item.orderStatus == 1">
                       <el-tag style="margin-right: 16px;" :type=" item.shipStatus == 0 ? 'primary' : 'shipStatus'" v-if="item.orderType == 'mi_mall'">{{ item.shipStatusName }}</el-tag>
-                      <div @click="applyInvoices(item, index)" class="blue btn">
+                      <div @click.stop="applyInvoices(item, index)" class="blue btn">
                         <img src="/src/assets/imgs/my/order3@2x.png" alt="">
                         <div class="">{{ $t('common.applyInvoice') }}</div>
                       </div>
@@ -51,7 +51,7 @@
                     </template>
 
 
-                    <div class="gradient btn" v-else-if="item.orderStatus == 0" @click="pay(item)">
+                    <div class="gradient btn" v-else-if="item.orderStatus == 0" @click.stop="pay(item)">
                       <img src="/src/assets/imgs/my/order1@2x.png" alt="">
                       <div class="">{{ $t('personalCenter.lookVoucher') }}</div>
                     </div>
@@ -97,8 +97,8 @@
 
 
             </div>
-          </li>
-        </ul>
+          </div>
+        </div>
       </el-tab-pane>
     </el-tabs>
     <template v-if="list.length">
@@ -179,8 +179,8 @@
       </el-form>
       <template #footer>
         <div class="dialog-footer flex-center">
-          <el-button @click="dialogVisible = false">{{ $t('common.cancel') }}</el-button>
-          <el-button class="gradient" type="primary" @click="submitForm(ruleFormRef)">{{ $t('common.confirm')
+          <el-button @click.stop.prevent="dialogVisible = false">{{ $t('common.cancel') }}</el-button>
+          <el-button class="gradient" type="primary" @click.stop.prevent="submitForm(ruleFormRef)">{{ $t('common.confirm')
           }}</el-button>
         </div>
       </template>
@@ -264,6 +264,17 @@ const rules = reactive<FormRules<RuleForm>>({
   ],
 })
 
+// 去详情页面
+const toDetail = (item:any) => {
+  console.log(item.orderType)
+  if (['workflow_purchase', 'course_purchase'].includes(item.orderType)) {
+    router.push({ path: item.orderType == 'workflow_purchase' ? '/workflow-detail' :  `/learning-system/detail/${item.bizId}`, query: item.orderType == 'workflow_purchase' ? { publishId: item.bizId,
+      metaTitle: 'route.WorkflowDetail' } : {courseId: item.bizId,
+      metaTitle: item.description || '课程详情'} })
+  }
+ 
+}
+
 const submitForm = async (formEl: FormInstance | undefined) => {
   if (!formEl) return
   let valid = await formEl.validate();
@@ -328,17 +339,13 @@ onMounted(() => {
 
 </script>
 <style scoped lang="scss">
-ul,
-li {
-  margin: 0;
-  padding: 0;
-}
 
 .order {
   padding-bottom: 16px;
 
   .order-list {
-    li {
+    .li {
+      cursor: pointer;
       background: #FFFFFF;
       border-radius: 16rpx;
       margin-bottom: 16px;

+ 66 - 22
src/pages/Personal/Wallet.vue

@@ -34,7 +34,8 @@
               <div class="flex-center-between">
                 <el-tag
                   :type="item.applyStatus == 0 ? 'primary' : item.applyStatus == 1 ? 'success' : item.applyStatus == 2 ? 'danger' : ''">{{
-                    item.applyStatus == 0 ? $t('personalCenter.daishenhe') : item.applyStatus == 1 ? $t('personalCenter.yitongguo') : $t('personalCenter.weitongguo') }}</el-tag>
+                    item.applyStatus == 0 ? $t('personalCenter.daishenhe') : item.applyStatus == 1 ?
+                      $t('personalCenter.yitongguo') : $t('personalCenter.weitongguo') }}</el-tag>
 
                 <div class="price">¥{{ item.applyAmount }}</div>
               </div>
@@ -44,16 +45,18 @@
                 <div class="">{{ $t('personalCenter.shouxufei') }}:{{ item.feeAmount }}</div>
               </div>
               <div class="flex-center-between">
-                <div class="">{{ $t('personalCenter.tixianfangshi') }}:{{ item.settleType == 'alipay' ? $t('personalCenter.zhifubao') : item.settleType == 'wechat' ? '微信' : $t('personalCenter.yinhangka')
-                }}</div>
+                <div class="">{{ $t('personalCenter.tixianfangshi') }}:{{ item.settleType == 'alipay' ?
+                  $t('personalCenter.zhifubao') : item.settleType == 'wechat' ? '微信' : $t('personalCenter.yinhangka')
+                  }}</div>
                 <div class="">{{ $t('personalCenter.tixianzhanghao') }}:{{ item.receiveAccount }}</div>
               </div>
               <div class="flex-center-between">
-                 <div class="">{{ $t('personalCenter.shenqingshijian') }}:{{ item.createTime }}</div>
-                
-                <el-text v-if=" item.applyStatus == 2" class="mx-1" type="danger">{{ $t('personalCenter.jujueliyou') }}:{{ item.auditRemark }}</el-text>
+                <div class="">{{ $t('personalCenter.shenqingshijian') }}:{{ item.createTime }}</div>
+
+                <el-text v-if="item.applyStatus == 2" class="mx-1" type="danger">{{ $t('personalCenter.jujueliyou')
+                  }}:{{ item.auditRemark }}</el-text>
               </div>
-             
+
             </div>
           </div>
         </template>
@@ -93,7 +96,7 @@
               </el-form-item>
 
               <el-form-item :label="$t('common.use') + $t('common.mibi')" v-else prop="orderAmt">
-                <el-input-number v-model="walletForm.orderAmt" :min="Number(configTxt.configValue)"
+                <el-input-number v-model="walletForm.orderAmt" :min="1"
                   :max="appStore?.userInfo?.pointsBalance" :step="Number(configTxt.configValue)"
                   controls-position="right" size="large" @change="handleChange" style="width: 100%;"
                   :placeholder="$t('common.placeholderInput')" align="left" :input-style="{ fontSize: '28px' }"
@@ -123,6 +126,13 @@
 
         <div class="" style="font-size: 14px;margin-top: 16px;"> <text style="color: #E43434;">*</text> {{
           configTxt.configName }}{{ configTxt.configValue }}</div>
+        <el-form-item prop="checked">
+          <el-checkbox v-model="walletForm.checked">
+            <template #default>
+              <div class="">{{ $t('personalCenter.qydbty') }} <span style="color: #2D71FF;font-weight: bold;">《{{  $t('personalCenter.zhxy') }}》</span> </div>
+            </template>
+          </el-checkbox>
+        </el-form-item>
       </el-form>
       <template #footer>
         <div class="dialog-footer flex-center">
@@ -137,37 +147,44 @@
       <el-form ref="ruleFormRef" :model="ruleForm" :rules="rules" label-width="auto">
         <el-row>
           <el-col :span="24">
-            <el-form-item label="提现金额" prop="applyAmount">
+            <el-form-item :label="$t('personalCenter.txje')" prop="applyAmount">
               <el-input type="number" :min="1" :max="appStore?.userInfo?.baoMiBalance" v-model="ruleForm.applyAmount"
-                :placeholder="$t('common.placeholderInput')" />
+                :placeholder="$t('personalCenter.qsrtxje')" />
             </el-form-item>
           </el-col>
         </el-row>
         <el-row>
           <el-col :span="24">
-            <el-form-item label="提现方式" prop="settleType">
+            <el-form-item :label="$t('personalCenter.txfs')" prop="settleType">
 
-              <el-select v-model="ruleForm.settleType" placeholder="Select" style="width: 100%">
-                <el-option label="支付宝" value="alipay" />
-                <el-option label="银行卡" value="bank_card" />
+              <el-select v-model="ruleForm.settleType" :placeholder="$t('personalCenter.qxztxfs')" style="width: 100%">
+                <el-option :label="$t('personalCenter.zhifubao')" value="alipay" />
+                <el-option :label="$t('personalCenter.yinhangka')" value="bank_card" />
               </el-select>
             </el-form-item>
           </el-col>
         </el-row>
         <el-row>
           <el-col :span="24">
-            <el-form-item label="姓名" prop="withdrawPerson">
-              <el-input v-model="ruleForm.withdrawPerson" :placeholder="$t('common.placeholderInput')" />
+            <el-form-item :label="$t('personalCenter.xm')" prop="withdrawPerson">
+              <el-input v-model="ruleForm.withdrawPerson" :placeholder="$t('personalCenter.qsrxm')" />
             </el-form-item>
           </el-col>
         </el-row>
         <el-row>
           <el-col :span="24">
-            <el-form-item label="账号" prop="receiveAccount">
-              <el-input v-model="ruleForm.receiveAccount" :placeholder="$t('common.placeholderInput')" />
+            <el-form-item :label="$t('personalCenter.txzh')" prop="receiveAccount">
+              <el-input v-model="ruleForm.receiveAccount" :placeholder="$t('personalCenter.qsrtxzh')" />
             </el-form-item>
           </el-col>
         </el-row>
+        <el-form-item prop="checked1">
+          <el-checkbox v-model="ruleForm.checked1">
+            <template #default>
+              <div class="">{{ $t('personalCenter.qydbty') }} <span style="color: #2D71FF;font-weight: bold;">《{{  $t('personalCenter.txxy') }}》</span> </div>
+            </template>
+          </el-checkbox>
+        </el-form-item>
       </el-form>
       <template #footer>
         <div class="dialog-footer flex-center">
@@ -228,7 +245,8 @@ const walletForm = ref({
   orderNum: null,
   orderAmt: 1,
   feeRate: 0,
-  targetAmount: 0
+  targetAmount: 0,
+  checked: false
 })
 
 const ruleFormRef = ref()
@@ -247,7 +265,8 @@ const ruleForm = ref({
   applyAmount: null,
   settleType: "alipay",
   withdrawPerson: "",
-  receiveAccount: ""
+  receiveAccount: "",
+  checked1: false
 })
 
 const ruleFormRefs = ref()
@@ -272,7 +291,22 @@ const validatePass1 = (rule: any, value: any, callback: any) => {
     callback()
   }
 }
-
+const validatePass2 = (rule: any, value: any, callback: any) => {
+  if (!value) {
+    callback(new Error(t('personalCenter.qydbtyzhxy')))
+    return
+  } else {
+    callback()
+  }
+}
+const validatePass3 = (rule: any, value: any, callback: any) => {
+  if (!value) {
+    callback(new Error(t('personalCenter.qydbtytxxy')))
+    return
+  } else {
+    callback()
+  }
+}
 const rules = ref({
   applyAmount: [
     { required: true, validator: validatePass1, trigger: 'blur' }
@@ -289,6 +323,16 @@ const rules = ref({
   orderAmt: [
     { required: true, trigger: 'blur', validator: validatePass },
   ],
+  checked: [{
+    required: true,
+   validator:validatePass2,
+    trigger: 'blur',
+  }],
+  checked1: [{
+    required: true,
+   validator:validatePass3,
+    trigger: 'blur',
+  }]
 })
 
 const submitForm = async (formEl) => {
@@ -309,7 +353,7 @@ const submitForm = async (formEl) => {
 
 // 确认转换
 const confirmTransformation = async (formEl) => {
-
+ 
   if (!formEl) return
   await formEl.validate(async (valid, fields) => {
     if (valid) {

+ 52 - 38
src/pages/PersonalCenter.vue

@@ -12,7 +12,7 @@
               <div class="personal-username">
                 <div class="">{{ appStore?.userInfo?.nickName }}</div>
                 <template v-if="['0', '1', '2'].includes(appStore?.userInfo?.memberType)"></template>
-                <img :src="`/src/assets/imgs/my/vip${appStore?.userInfo?.memberType}@2x.png`" alt="">
+                <img :src="`${ getImgUrl(`vip${appStore?.userInfo?.memberType}@2x.png`) }`" alt="">
                 <!-- memberType  会员类型memberType 会员类型分为企业会员(2)和个人会员(1)、免费会员(0) -->
               </div>
               <div class="personal-user-phone mt4">{{ $t('personalCenter.phoneNumber') }}:{{
@@ -133,9 +133,14 @@
                 v-for="(item, index) in workList" :key="index">
                 <template #title>
                   <div class="work-head">
-                    <img v-if="activeName == 2" src="/src/assets/imgs/my/Q@2x.png" alt="">
-                    <div class="">{{ `${activeName == 2 ? (index + 1) + '、' : ''}` }}{{ item.issueTitle ||
-                      item.question }}</div>
+                    <div class="work-head-left">
+                      <img v-if="activeName == 2" src="/src/assets/imgs/my/Q@2x.png" alt="">
+                      <div class="">{{ `${activeName == 2 ? (index + 1) + '、' : ''}` }}{{ item.issueTitle ||
+                        item.question }}</div>
+                    </div>
+                    <el-tag v-if="activeName == 1" :type="item.issueStatus == 2 ? 'success' : 'primary'">{{ item.issueStatus == 0 ?
+                        $t('personalCenter.daijiejue') : item.issueStatus == 2 ? $t('personalCenter.yijiejue') : ''
+                        }}</el-tag>
                   </div>
                 </template>
                 <div class="work-content">
@@ -143,7 +148,7 @@
                     <img src="/src/assets/imgs/my/A@2x.png" alt="">
                     <div class="">{{ item.issueContent || item.answer }}</div>
                   </template>
-                  <el-descriptions style="width: 100%;" class="margin-top" :column="2" border v-else label-width="auto">
+                  <el-descriptions style="width: 100%;" class="margin-top" :column="2" border v-else :label-width="langStore.currentLang == 'en' ? 180 : 80">
                     <el-descriptions-item>
                       <template #label>
                         <div class="cell-item">{{ $t('personalCenter.gongdanbianhao') }}</div>
@@ -154,8 +159,10 @@
                       <template #label>
                         <div class="cell-item">{{ $t('personalCenter.gongdanzhuangtai') }}</div>
                       </template>
-                      
-                      <el-tag :type="item.issueStatus == 2 ? 'success' : 'primary'">{{ item.issueStatus == 0 ? $t('personalCenter.daijiejue') : item.issueStatus == 2 ? $t('personalCenter.yijiejue') : '' }}</el-tag>
+
+                      <el-tag :type="item.issueStatus == 2 ? 'success' : 'primary'">{{ item.issueStatus == 0 ?
+                        $t('personalCenter.daijiejue') : item.issueStatus == 2 ? $t('personalCenter.yijiejue') : ''
+                        }}</el-tag>
                     </el-descriptions-item>
                     <el-descriptions-item>
                       <template #label>
@@ -168,7 +175,7 @@
                         <div class="cell-item">{{ $t('personalCenter.gongdanbiaoti') }}</div>
                       </template>
                       {{ item.issueTitle }}
-                      
+
                     </el-descriptions-item>
                     <el-descriptions-item :span="2">
                       <template #label>
@@ -239,14 +246,12 @@
           </el-col>
           <el-col :span="12" v-if="!appStore?.userInfo?.userPhone">
             <el-form-item :label="$t('personalCenter.phoneCode')" prop="verifyCode">
-              <el-input v-model="userInfo.verifyCode" 
-              maxlength="6"
-              :placeholder="$t('login.placeholderCaptcha')" class="inputStyle"
-                :input-style="{
+              <el-input v-model="userInfo.verifyCode" maxlength="6" :placeholder="$t('login.placeholderCaptcha')"
+                class="inputStyle" :input-style="{
                   backgroundColor: 'transparent',
                 }">
                 <template #append>
-                  <el-button :disabled="smsCountdown > 0" @click="sendSmsCode" style="width:120px" 
+                  <el-button :disabled="smsCountdown > 0" @click="sendSmsCode" style="width:120px"
                     :class="{ 'countdown-btn': smsCountdown > 0 }" size="small">
                     {{ smsCountdown > 0 ? `${smsCountdown}s` : $t('login.sendCaptcha') }}
                   </el-button>
@@ -267,10 +272,8 @@
           </el-col>
           <el-col :span="12" v-if="!appStore?.userInfo?.email">
             <el-form-item :label="$t('personalCenter.emailCode')" prop="verifyCode">
-              <el-input v-model="userInfo.verifyCode" 
-              maxlength="6"
-              :placeholder="$t('login.placeholderCaptcha')" class="inputStyle"
-                :input-style="{
+              <el-input v-model="userInfo.verifyCode" maxlength="6" :placeholder="$t('login.placeholderCaptcha')"
+                class="inputStyle" :input-style="{
                   backgroundColor: 'transparent',
                 }">
                 <template #append>
@@ -409,7 +412,7 @@
       </el-form>
       <template #footer>
         <div class="dialog-footer flex-center">
-          <el-button @click="userInfo = {},dialogVisible = false">{{ $t('common.cancel') }}</el-button>
+          <el-button @click="userInfo = {}, dialogVisible = false">{{ $t('common.cancel') }}</el-button>
           <el-button class="gradient" type="primary" @click="handleConfirm(userFormRef)">
             {{ $t('common.confirm') }}
           </el-button>
@@ -446,7 +449,8 @@ import Pagination from '@/components/Pagination.vue'
 
 
 import type { FormInstance, FormRules } from 'element-plus'
-
+import { useLangStore } from '@/pinia/langStore'
+const langStore = useLangStore();
 interface RuleForm {
   issueCategory: string
   issueTitle: string
@@ -465,61 +469,65 @@ const route = useRoute()
 
 const router = useRouter()
 
+const getImgUrl = (path) => {
+  return new URL(`/src/assets/imgs/my/${path}`, import.meta.url).href
+}
+
 const navList = ref([
   {
     name: 'personalCenter.myWallet',
     path: '/personal-center/wallet',
-    icon: '/src/assets/imgs/my/icon1@2x.png',
-    iconActive: '/src/assets/imgs/my/icon1a@2x.png',
+    icon: getImgUrl('icon1@2x.png'),
+    iconActive: getImgUrl('icon1a@2x.png'),
     show: true
   },
   {
     name: 'personalCenter.membershipInfo',
     path: '/personal-center/member-details',
-    icon: '/src/assets/imgs/my/icon2@2x.png',
-    iconActive: '/src/assets/imgs/my/icon2a@2x.png',
+    icon: getImgUrl('icon2@2x.png'),
+    iconActive: getImgUrl('icon2a@2x.png'),
     show: true
   },
   {
     name: 'personalCenter.myCollection',
     path: '/personal-center/collection',
-    icon: '/src/assets/imgs/my/icon3@2x.png',
-    iconActive: '/src/assets/imgs/my/icon3a@2x.png',
+    icon: getImgUrl('icon3@2x.png'),
+    iconActive: getImgUrl('icon3a@2x.png'),
     show: true
   },
   {
     name: 'personalCenter.myDemand',
     path: '/personal-center/demand',
-    icon: '/src/assets/imgs/my/icon4@2x.png',
-    iconActive: '/src/assets/imgs/my/icon4a@2x.png',
+    icon: getImgUrl('icon4@2x.png'),
+    iconActive: getImgUrl('icon4a@2x.png'),
     show: true
   },
   {
     name: 'personalCenter.myOrders',
     path: '/personal-center/orders',
-    icon: '/src/assets/imgs/my/icon5@2x.png',
-    iconActive: '/src/assets/imgs/my/icon5a@2x.png',
+    icon: getImgUrl('icon5@2x.png'),
+    iconActive: getImgUrl('icon5a@2x.png'),
     show: true
   },
   {
     name: 'personalCenter.myInvoice',
     path: '/personal-center/invoice',
-    icon: '/src/assets/imgs/my/icon6@2x.png',
-    iconActive: '/src/assets/imgs/my/icon6a@2x.png',
+    icon: getImgUrl('icon6@2x.png'),
+    iconActive: getImgUrl('icon6a@2x.png'),
     show: true
   },
   {
     name: 'personalCenter.myWorkflow',
     path: '/personal-center/workflow',
-    icon: '/src/assets/imgs/my/icon7@2x.png',
-    iconActive: '/src/assets/imgs/my/icon7a@2x.png',
+    icon: getImgUrl('icon7@2x.png'),
+    iconActive: getImgUrl('icon7a@2x.png'),
     show: true
   },
   {
     name: 'personalCenter.businessManagement',
     path: '/personal-center/business-management',
-    icon: '/src/assets/imgs/my/icon8@2x.png',
-    iconActive: '/src/assets/imgs/my/icon8a@2x.png',
+    icon: getImgUrl('icon8@2x.png'),
+    iconActive: getImgUrl('icon8a@2x.png'),
     show: false
   },
   // {
@@ -575,9 +583,9 @@ const workTypeList = ref([
   }
 ])
 // 获取工单分类
-const getName = (value) =>{
+const getName = (value) => {
   let txt = ''
-  workTypeList.value.forEach(item=>{
+  workTypeList.value.forEach(item => {
     if (item.value == value) {
       txt = item.label
     }
@@ -851,7 +859,7 @@ const getCount = async () => {
 
 
 const changeSHow = () => {
-   getInfo()
+  getInfo()
   dialogVisible.value = true;
 }
 onMounted(() => {
@@ -1109,6 +1117,12 @@ div {
   font-size: 18px;
   font-weight: bold;
   align-items: center;
+  justify-content: space-between;
+
+  .work-head-left {
+    display: flex;
+    align-items: center;
+  }
 
   img {
     width: 24px;