Tcsm
2023-08-08 1737343f1ac89c5980a268775a201304c47151ca
ruoyi-ui/src/views/selfeconomy/index.vue
@@ -176,22 +176,23 @@
          <template slot-scope="scope" >
            <div  @click="handleCheck(scope.row)">
            <img
              class="el-upload-list__item-thumbnail"
              src="../../assets/images/deviceLis.png"
              alt=""
              style="width: 35px; height: 35px;"
              fit="cover"
              v-if="scope.row.url !== ',' "
            >
            <img
              class="el-upload-list__item-thumbnail"
              src="../../assets/images/deviceA.png"
              alt=""
              style="width: 35px; height: 35px;"
              fit="cover"
              v-if="scope.row.url === ','"
            ></div>
              <img
                class="el-upload-list__item-thumbnail"
                src="../../assets/images/deviceLis.png"
                alt=""
                style="width: 35px; height: 35px;"
                fit="cover"
                v-if="!(scope.row.url === '' || scope.row.url === ',' || scope.row.url === null)"
              >
              <img
                v-else
                class="el-upload-list__item-thumbnail"
                src="../../assets/images/deviceA.png"
                alt=""
                style="width: 35px; height: 35px;"
                fit="cover"
              ></div>
          </template>
        </el-table-column>
        <el-table-column label="备注" prop="remark" sortable width="90" align="center">
@@ -246,14 +247,14 @@
          <!--          <el-input v-model="formDat.happenTime" placeholder="请输入获得时间" clearable :style="{width: '100%'}" ></el-input>-->
          <!--        </el-form-item>-->
          <el-form-item label="时间" prop="happenTime">
            <el-date-picker v-model='formDat.happenTime' type='date' placeholder='选择日期'></el-date-picker>
            <el-input v-model='formDat.happenTime' type='date' placeholder='选择日期'></el-input>
          </el-form-item>
          <el-form-item label="财产类别" prop="type">
            <el-input v-model="formDat.type" placeholder="请输入财产类别" clearable :style="{width: '100%'}" >
            </el-input>
          </el-form-item>
          <el-form-item label="收支名称" prop="incomeName">
            <el-input v-model="formDat.incomeName" placeholder="请输入收支名称" clearable :style="{width: '100%'}" >
          <el-form-item label="获得方式" prop="incomeName">
            <el-input v-model="formDat.incomeName" placeholder="请输入获得方式" clearable :style="{width: '100%'}" >
            </el-input>
          </el-form-item>
          <el-form-item label="金额" prop="price">
@@ -445,6 +446,7 @@
          incomeName:undefined,
          timeLimit:undefined,
          happenTime:undefined,
        },
        // searchVal:"",
@@ -484,7 +486,7 @@
          }],
          incomeName: [{
            required: true,
            message: '请输入收支类别',
            message: '请输入获得方式',
            trigger: 'blur'
          }],
          timeLimit: [{
@@ -742,20 +744,20 @@
        if(Ids.length==0)
        {
          this.download('zIdea/export', {
          this.download('zProperty/export', {
            ...this.queryParams
          }, `zIdea_${new Date().getTime()}.xlsx`)
          }, `zProperty_${new Date().getTime()}.xlsx`)
        }else{
          this.download('zIdea/export1/'+Ids, {
          }, `zIdea_${new Date().getTime()}.xlsx`)
          this.download('zProperty/export1/'+Ids, {
          }, `zProperty_${new Date().getTime()}.xlsx`)
        }
      },
      /** 导入模板下载按钮操作 */
      handleExportModel() {
        this.download('/zIdea/model', {
        }, `zIdea_model_${new Date().getTime()}.xlsx`)
        this.download('/zProperty/model', {
        }, `zProperty_model_${new Date().getTime()}.xlsx`)
      },
      /** 导入操作*/