Tcsm
2023-07-25 90f011d24f2a771f9b63eef8f7047a38acf00fff
ruoyi-ui/src/views/economy/index.vue
@@ -2,11 +2,11 @@
  <div class="app-container" style="opacity: 1;">
    <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch">
      <el-form-item label="时间" >
      <el-form-item label="时间"  prop="createTime">
        <el-date-picker
          v-model="dateRange"
          style="width: 240px;"
          value-format="yyyy-MM-dd HH-MM"
          value-format="yyyy-MM-dd"
          type="daterange"
          range-separator="-"
          start-placeholder="开始日期"
@@ -22,15 +22,7 @@
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="类型" prop="type">
        <el-input
          v-model="queryParams.type"
          placeholder="请输入类型"
          clearable
          style="width: 240px"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="用途" prop="useFor">
        <el-input
@@ -109,7 +101,7 @@
    <!-- 这里有个familyList数组 是在data()中定义的 -->
    <el-table v-loading="loading" :data="economyList"  @selection-change="handleSelectionChange" @row-click="handleCheck" :row-class-name="tableRowClassName" style="background: #FFEFF2;  border-radius: 14px 14px 14px 14px;">
      <el-table-column type="selection" width="55"  align="center" />
      <el-table-column  label="序号" sortable type="index" :index="(queryParams.pageNum-1)*queryParams.pageSize+1" width="120"/>
      <el-table-column fixed label="序号" sortable type="index" :index="(queryParams.pageNum-1)*queryParams.pageSize+1" width="120"/>
      <el-table-column label="发生时间" prop="createTime" sortable width="100" align="center">
        <template slot-scope="scope">{{scope.row.createTime? scope.row.createTime: '————'}}</template>
@@ -190,9 +182,9 @@
          <el-input v-model="formDat.type" placeholder="请输入内容" clearable :style="{width: '100%'}" ></el-input>
        </el-form-item>
        <el-form-item label="时间" prop="happenTime">
        <el-form-item label="时间" prop="createTime">
          <el-date-picker
            v-model='formDat.happenTime'
            v-model='formDat.createTime'
            type='date'
            placeholder='选择日期'
          ></el-date-picker>
@@ -369,7 +361,8 @@
        type:undefined,
        useFor:undefined,
        usePeople:undefined,
        createTime:undefined,
        createTime:undefined
      },
      // 表单参数