ss
jiangping
2025-07-04 a95b1f6e57354b0798c0043f986a44f523723d32
admin/src/views/business/information.vue
@@ -5,6 +5,14 @@
      <el-form-item label="标题" prop="title">
        <el-input v-model="searchForm.title" clearable placeholder="请输入标题" @keypress.enter.native="search"></el-input>
      </el-form-item>
      <el-form-item label="所属模块" prop="module">
        <el-select v-model="searchForm.module" clearable @change="search"  >
          <el-option :value="0" label="行业资讯"/>
          <el-option :value="1" label="运营经验"/>
          <el-option :value="2" label="功能介绍"/>
          <el-option :value="3" label="市场信息"/>
        </el-select>
      </el-form-item>
      <el-form-item label="状态" prop="status">
        <el-select v-model="searchForm.status" clearable @change="search" placeholder="状态">
          <el-option label="正常" value="0"></el-option>
@@ -39,11 +47,19 @@
            </el-image>
          </template>
        </el-table-column>
        <el-table-column prop="detail" label="简介" min-width="200px"></el-table-column>
        <el-table-column prop="detail" label="简介" min-width="200px" show-overflow-tooltip> </el-table-column>
        <el-table-column prop="jumpType" label="内容" align="center" min-width="150px">
          <template slot-scope="{row}">
            <span v-if=  "row.content!=null && row.content!=''"><el-button @click="showContentDo(row)" >查看内容</el-button></span>
            <span v-else>-</span>
          </template>
        </el-table-column>
        <el-table-column prop="module" label="所属模块" min-width="100px">
          <template slot-scope="{row}">
            <span v-if="row.module == 0">行业资讯</span>
            <span v-if="row.module == 1">营经验</span>
            <span v-if="row.module == 2">功能介绍</span>
            <span v-if="row.module == 3">市场信息</span>
          </template>
        </el-table-column>
        <el-table-column prop="status" label="状态" min-width="100px">
@@ -115,6 +131,7 @@
      searchForm: {
        type:0,
        title: '',
        module: null,
        status: null
      }
    }