Explorar el Código

流量池添加用户

wanghairong hace 5 meses
padre
commit
0e4f76e36a

+ 1 - 1
src/views/flowPool/customerFlowPool/config.js

@@ -1,12 +1,12 @@
 export const columns = [
     { title: window.$t('flowPool.poolNumber'), dataIndex: 'poolNumber', align: 'center', width: 200 },
     { title: window.$t('flowPool.label'), dataIndex: 'label', align: 'center', width: 200 },
+    // { title: window.$t('flowPool.userId'), dataIndex: 'user_id', align: 'center', width: 200 },
     { title: window.$t('flowPool.trafficPoolType'), dataIndex: 'trafficPoolType', align: 'center', width: 200 },
     { title: window.$t('flowPool.trafficPoolStatus'), dataIndex: 'trafficPoolStatus', align: 'center', width: 200 },
     { title: window.$t('flowPool.cardFlow'), dataIndex: 'cardFlow', align: 'center', width: 200 },
     { title: window.$t('flowPool.UsedMonth'), dataIndex: 'UsedMonth', align: 'center', width: 200 },
     { title: window.$t('flowPool.surplusFlow'), dataIndex: 'surplusFlow', align: 'center', width: 200 },
-    // { title: window.$t('flowPool.warnStatus'), dataIndex: 'warnStatus', align: 'center', width: 200 },
     { title: window.$t('flowPool.exceededFlow'), dataIndex: 'exceededFlow', align: 'center', width: 200 },
     { title: window.$t('flowPool.source'), dataIndex: 'sourceName', align: 'center', width: 200 },
     { title: window.$t('flowPool.cardRariffName'), dataIndex: 'cardRariffName', align: 'center', width: 200 },

+ 2 - 0
src/views/flowPool/customerFlowPool/index.vue

@@ -95,6 +95,8 @@ const intData = async () => {
         const trafficPoolType = typeList.value.find(val => val.value == item.traffic_pool_type)?.label
         const trafficPoolStatus = trafficList.value.find(val => val.value == item.status)?.label
         const sourceName = sourceList.value.find(val => val.value == item.source)?.label
+        console.log(item, "item-------------------------");
+
         return {
             ...item,
             sourceName,// 运营商名称

+ 0 - 1
src/views/lotCard/cardList/index.vue

@@ -120,7 +120,6 @@ const intData = async () => {
     const sourceName = sourceList.value.find(sourceItem => sourceItem.value == item.source)?.label || ''
     const serviceName = serviceList.value.find(serviceItem => serviceItem.value == item.service_usage_mode)?.label || ''
     const statusName = statusList.value.find(statusItem => statusItem.value == item.status)?.label || ''
-    console.log(statusList, statusName, "statusList")
     return {
       ...item,
       sourceName,

+ 3 - 3
src/views/lotCard/cardList/list.vue

@@ -4,12 +4,12 @@
         <ul class="order_list_box">
             <li class="list_box_item" v-for="(item, index) in data" key="index">
                 <div class="list_item_left">
-                    <a-progress type="circle" :percent="0.02" />
+                    <a-progress type="circle" :percent="0.2" />
                 </div>
                 <div class="list_item_right">
                     <p>
-                        <span class="list_item_right_span">{{ $t('lotCard.orderID') }}:{{ item.id }}</span>
-                        <!-- <span>{{ $t('lotCard.orderType') }}:{{ item.orderType }}</span> -->
+                        <span>{{ $t('lotCard.orderID') }}:{{ item.id }}</span>
+                        <!-- <span class="list_item_right_span">{{ $t('lotCard.orderType') }}:{{ item.orderType }}</span> -->
                         <!-- <span>更新时间:{{ item.updated_at }}</span> -->
                     </p>
                     <template v-if="item.trafficList">

+ 2 - 2
src/views/lotCard/orderMange/index.vue

@@ -6,11 +6,11 @@
             <span class="head-title-right">
                 <a-popconfirm :content="$t('lotCard.confirmTitleOrder')" :ok-text="$t('form.Confirm')"
                     :cancel-text="$t('form.Cancel')" @ok="handleOrderDialog(record)">
-                    <a-button class="m-r-10" type="primary">{{ $t('lotCard.titleOrder') }}</a-button>
+                    <!-- <a-button class="m-r-10" type="primary">{{ $t('lotCard.titleOrder') }}</a-button> -->
                 </a-popconfirm>
                 <a-popconfirm :content="$t('lotCard.confirmTitleCancelOrder')" :ok-text="$t('form.Confirm')"
                     :cancel-text="$t('form.Cancel')" @ok="handleUnsubscribeDialog(record)">
-                    <a-button type="primary">{{ $t('lotCard.titleCancelOrder') }}</a-button>
+                    <!-- <a-button type="primary">{{ $t('lotCard.titleCancelOrder') }}</a-button> -->
                 </a-popconfirm>
             </span>
         </div>

+ 2 - 2
vite.config.js

@@ -1,7 +1,7 @@
 import { defineConfig } from 'vite'
 import vue from '@vitejs/plugin-vue'
 import { createSvgIconsPlugin } from 'vite-plugin-svg-icons'
- 
+
 import { resolve } from 'path'
 
 
@@ -61,7 +61,7 @@ export default defineConfig({
     hmr: true,
     proxy: {
       '/api': {
-        target: "http://sim.nanodreamtech.com",
+        target: "http://192.168.0.59:3001/",
         changeOrigin: true,
         ws: true,
         secure: true,