| | |
| | | prop="company" |
| | | width="200" |
| | | /> |
| | | <el-table-column label="工号" align="center" prop="jobNo" width="80" /> |
| | | <!-- <el-table-column label="工号" align="center" prop="jobNo" width="80" /> --> |
| | | <el-table-column label="姓名" align="center" prop="name" width="75" /> |
| | | <el-table-column label="性别" align="center" prop="sex" width="75"> |
| | | <template slot-scope="scope"> |
| | |
| | | prop="birthday" |
| | | width="100" |
| | | /> |
| | | <el-table-column label="职位" align="center" prop="position" /> |
| | | <el-table-column label="部门" align="center" prop="department" /> |
| | | <el-table-column label="部门编号" align="center" prop="departmentId" /> |
| | | <!-- <el-table-column label="职位" align="center" prop="position" /> --> |
| | | <!-- <el-table-column label="部门" align="center" prop="department" /> --> |
| | | <!-- <el-table-column label="部门编号" align="center" prop="departmentId" /> --> |
| | | <el-table-column |
| | | label="联系电话" |
| | | align="center" |
| | | prop="phoe" |
| | | width="120" |
| | | width="140" |
| | | /> |
| | | <el-table-column label="地址" align="center" prop="address" /> |
| | | <el-table-column |
| | |
| | | /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="联系邮箱" align="center" prop="email" /> |
| | | <!-- <el-table-column label="联系邮箱" align="center" prop="email" /> --> |
| | | <!-- <el-table-column label="体检类别" align="center" prop="tjCategory" /> --> |
| | | <el-table-column label="分组" align="center" prop="groupingName" /> |
| | | <el-table-column label="项目收费" align="center" prop="ysPrice" /> |
| | |
| | | const { columns, data } = param; |
| | | const sums = []; |
| | | columns.forEach((column, index) => { |
| | | // if (index === 0) { |
| | | // sums[index] = "合计"; |
| | | // return; |
| | | // } |
| | | if (index === 0) { |
| | | sums[index] = "合计"; |
| | | return; |
| | | } |
| | | if (index === 1) { |
| | | sums[index] = "总计人数"; |
| | | return; |
| | | } |
| | | if (index === 2) { |
| | | if (index === 1) { |
| | | sums[index] = this.ListObj.count; |
| | | return; |
| | | } |
| | | if (index === 6) { |
| | | if (index === 2) { |
| | | sums[index] = "男组人数"; |
| | | return; |
| | | } |
| | | if (index === 7) { |
| | | if (index === 3) { |
| | | sums[index] = this.ListObj.manCount; |
| | | return; |
| | | } |
| | | if (index === 8) { |
| | | if (index === 4) { |
| | | sums[index] = "男组金额"; |
| | | return; |
| | | } |
| | | if (index === 9) { |
| | | if (index === 5) { |
| | | sums[index] = this.ListObj.manMoney; |
| | | return; |
| | | } |
| | | if (index === 11) { |
| | | if (index === 6) { |
| | | sums[index] = "女组人数"; |
| | | return; |
| | | } |
| | | if (index === 12) { |
| | | if (index === 7) { |
| | | sums[index] = this.ListObj.woManCount; |
| | | return; |
| | | } |
| | | if (index === 13) { |
| | | if (index === 8) { |
| | | sums[index] = "女组金额"; |
| | | return; |
| | | } |
| | | if (index === 14) { |
| | | if (index === 9) { |
| | | sums[index] = this.ListObj.woManMoney; |
| | | return; |
| | | } |
| | | if (index === 15) { |
| | | if (index === 10) { |
| | | sums[index] = "合计金额"; |
| | | return; |
| | | } |
| | | if (index === 16) { |
| | | if (index === 11) { |
| | | sums[index] = this.ListObj.hjMoney; |
| | | return; |
| | | } |