龚焕茏
2024-07-16 0ebcc1fd3b16b7a43e85a9a4bde1a1cee3ae5831
src/views/exam/personalRandomTemplate/list.vue
@@ -25,19 +25,18 @@
        range-separator="至"
        start-placeholder="开始日期"
        end-placeholder="结束日期"
        value-format="yyyy-MM-dd"
        :picker-options="pickerOptions">
      </el-date-picker>
    </el-form-item>
     <el-form-item>
       <el-button type="primary" @click="submitForm">查询</el-button>
       <!-- <router-link :to="{path:'/exam/personalSimulation/edit'}" class="link-left">
         <el-button type="primary">添加</el-button>
       </router-link> -->
       <el-button type="primary" @click="submitForm" size="small" style="margin-right: 5px">查询</el-button>
       <router-link :to="{path:'/exam/personalRandomTemplate/edit'}">
         <el-button type="success" size="small" style="margin-bottom: 5px">添加</el-button>
       </router-link>
     </el-form-item>
   </el-form>
    <router-link :to="{path:'/exam/personalRandomTemplate/edit'}">
      <el-button type="primary" size="small" style="margin-bottom: 5px">添加</el-button>
    </router-link>
    <el-table v-loading="listLoading" :data="tableData" border fit highlight-current-row style="width: 100%">
      <el-table-column prop="subjectNames" label="课目" />
      <el-table-column prop="name" label="名称"  />
@@ -280,6 +279,7 @@
    search () {
      this.listLoading = true
      this.queryParam.status = 0
      if (this.queryParam.period) this.queryParam.period[1] += ' 23:59:59'
      examPaperApi.pageselfList(this.queryParam).then(data => {
        const re = data.response
        this.tableData = re.list
@@ -324,4 +324,4 @@
  padding: 8px 20px;
  border-bottom: 1px solid #ccc;
}
</style>
</style>