大宝管理后台代码
11
jhzh
2024-10-11 417c8c4716f8dab251c9877665f256c1be58acbb
src/views/position/components/financing-hold.vue
@@ -3,7 +3,7 @@
    <a-card :bordered="false">
      <div class="table-page-search-wrapper">
        <a-form layout="inline">
          <a-row :gutter="48">
          <!-- <a-row :gutter="48">
            <a-col :md="12" :lg="6" :sm="24">
              <a-form-item label="持仓类型">
                <a-select v-model="queryParam.positionType" placeholder="请选择持仓类型">
@@ -12,7 +12,7 @@
                  <a-select-option :value="1">模拟持仓</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            </a-col> -->
            <a-col :md="12" :lg="6" :sm="24">
              <a-form-item label="下级代理">
                <a-select
@@ -92,7 +92,7 @@
          </div>
        </template>
      </span>
      <span slot="positionType" slot-scope="text, record">
      <!-- <span slot="positionType" slot-scope="text, record">
        <template>
          <div>
            <a-tag :color="record.positionType == 1 ? 'blue' : 'green'">
@@ -100,7 +100,7 @@
            </a-tag>
          </div>
        </template>
      </span>
      </span> -->
      <span slot="orderDirection" slot-scope="text, record">
        <template>
          <div>
@@ -197,12 +197,12 @@
          width: 180,
          scopedSlots: { customRender: 'stockName' },
        },
        {
          title: '账户类型',
          dataIndex: 'positionType',
          align: 'center',
          scopedSlots: { customRender: 'positionType' },
        },
        // {
        //   title: '账户类型',
        //   dataIndex: 'positionType',
        //   align: 'center',
        //   scopedSlots: { customRender: 'positionType' },
        // },
        {
          title: '用户名称(ID)',
          dataIndex: 'nickName',
@@ -257,6 +257,19 @@
          align: 'center',
        },
        {
          title: '账号',
          dataIndex: 'phone',
          align: 'center',
        },
        {
          title: '所属代理(ID)',
          dataIndex: 'agentName_Id',
          align: 'center',
          customRender: (text, row, index) => {
            return `${row.agentName}(${row.agentId})`
          },
        },
        {
          title: '总市值',
          dataIndex: 'orderTotalPrice',
          align: 'center',