| | |
| | | </el-row> |
| | | <!-- 序号、基金/台账、时间、收入/支出、用途、使用人、现金/自动扣划、余额、电子文件、备注 操作--> |
| | | <!-- 这里有个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 v-loading="loading" :data="economyList" @selection-change="handleSelectionChange" :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 fixed label="序号" sortable type="index" :index="(queryParams.pageNum-1)*queryParams.pageSize+1" width="80"/> |
| | | |
| | |
| | | <template slot-scope="scope">{{scope.row.kind? scope.row.kind: '————'}}</template> |
| | | </el-table-column> |
| | | <el-table-column label="是否是本家庭记录" prop="ownData" sortable width="150px" > |
| | | <template slot-scope="scope">{{scope.row.ownData === 0 ? '否': '是'}}</template> |
| | | <template slot-scope="scope">{{scope.row.ownData === 1 ? '是': '否'}}</template> |
| | | </el-table-column> |
| | | <el-table-column label="电子文件" prop="url" align="center" sortable width="110" > |
| | | <template slot-scope="scope" > |
| | | <div @click="handleCheck(scope.row)"> |
| | | <div > |
| | | <img |
| | | class="el-upload-list__item-thumbnail" |
| | | src="../../assets/images/deviceLis.png" |
| | |
| | | <el-button size="mini" type="text" icon="el-icon-d-arrow-right" @click="handleCheck(scope.row)">查看详情</el-button> |
| | | |
| | | </el-dropdown> |
| | | |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | |
| | | listEconomy(this.queryParams).then(response => { |
| | | // alert(123) |
| | | // console.log(response.data) |
| | | // console.log(response.data.data) |
| | | this.economyList = response.data.data; |
| | | |
| | | this.total = response.data.total; |
| | |
| | | |
| | | /** 查看详细信息 */ |
| | | handleCheck(row){ |
| | | // alert(123) |
| | | const id = row.id; |
| | | this.$router.push("/familymodel/economy/economyInfo/" + id); |
| | | }, |