jiangping
2024-12-27 5506edbe54883b31db3cc8e4a1d9d0795a18a3c9
company/src/views/indexShop.vue
@@ -86,6 +86,39 @@
            </el-pagination>
          </div>
        </div>
        <div v-if="activeName === '6'"  >
          <div class="home_content_right_list" v-if="tableData6&&tableData6.length">
            <div class="list_item"  v-for="(item, index) in tableData6" :key="index">
              <div class="list_item_left">
                <span>{{item.title}}({{ item.typeDetail }})</span>
                <span>{{item.content}}</span>
              </div>
              <div class="list_item_center">
                <span>{{item.companyName}}</span>
                <span>提交时间  {{item.createDate}}</span>
              </div>
              <div class="list_item_right">
                <span @click="jump('/business/contract')">查看</span>
              </div>
            </div>
          </div>
          <div class="home_content_right_list" v-else>
            <div class="list_item" style="width: 100%;font-size: 12px;display:block;color: #8c939d;text-align: center; padding: 20px">
              暂无消息
            </div>
          </div>
          <div class="home_content_right_page">
            <el-pagination
              @current-change="handleCurrentChange1"
              :current-page="page1"
              :page-size="5"
              layout="total, prev, pager, next, jumper"
              :total="totalPage1">
            </el-pagination>
          </div>
        </div>
      </div>
    </div>
    <OperaInsuranceApplyWindow ref="operaInsuranceApplyWindow" @success="handleCurrentChange0()"/>
@@ -118,12 +151,15 @@
      page0: 1,
      page1: 1,
      page2: 1,
      page6: 1,
      totalPage6: 0,
      totalPage2: 0,
      totalPage1: 0,
      totalPage0: 0,
      tableData0: [],
      tableData1: [],
      tableData2: [],
      tableData6: [],
      cate: [
        {
          name: '投保申请审核',
@@ -201,6 +237,7 @@
    initLoadData () {
        this.handleCurrentChange0(0)
        this.handleCurrentChange1(0)
        this.handleCurrentChange6(0)
    },
    getNoticeList (type, page) {
      noticeList({
@@ -218,6 +255,10 @@
            this.tableData1 = response.records
            this.totalPage1 = response.total
          }
          if (type === 6) {
            this.tableData6 = response.records
            this.totalPage6 = response.total
          }
        })
        .catch(e => {
          this.$tip.apiFailed(e)
@@ -226,6 +267,7 @@
    initPanel () {
      this.tabs.push({ name: '0', label: '直接投保待办' })
      this.tabs.push({ name: '1', label: '委托投保待办' })
      this.tabs.push({ name: '6', label: '合同签署提醒' })
    },
    handleClick (e) {
      this.activeName = e.name
@@ -233,6 +275,8 @@
        this.handleCurrentChange0(0)
      } else if (this.activeName === '1') {
        this.handleCurrentChange1(0)
      } else if (this.activeName === '6') {
        this.handleCurrentChange6(0)
      }
    },
    handleCurrentChange0 (page) {
@@ -243,6 +287,10 @@
      this.page1 = page
      this.getNoticeList(4, this.page1)
    },
    handleCurrentChange6 (page) {
      this.page6 = page
      this.getNoticeList(6, this.page6)
    },
    jump (url) {
      if (!url) return
      this.$router.push({ path: url })