| | |
| | | </div> |
| | | <el-table ref="multipleTableRef" :data="tableData" style="width: 100%" @selection-change="handleSelectionChange"> |
| | | <el-table-column type="selection" align="center" width="55" /> |
| | | <el-table-column property="createTime" align="center" label="奖惩日期" sortable /> |
| | | <el-table-column property="createTime" align="center" label="奖惩日期" :formatter="timeDate" sortable /> |
| | | <el-table-column label="奖惩类型" align="center" sortable> |
| | | <template #default="scope"> |
| | | <span v-if="scope.row.standardType == 1">奖励</span> |
| | |
| | | </template> |
| | | <script lang="ts"> |
| | | import DailogAdd from './component/DailogAdd.vue'; |
| | | import {timeDate} from '/@/assets/index.ts' |
| | | import DailogSearchUser from '/@/components/DailogSearchUser/index.vue'; |
| | | import { ref, toRefs, reactive, onMounted, defineComponent } from 'vue'; |
| | | import { ElMessageBox, ElMessage, ElButton, ElInput, TabsPaneContext, FormInstance } from 'element-plus'; |
| | |
| | | ruleForm.searchParams.personId = val.uid; |
| | | }; |
| | | return { |
| | | timeDate, |
| | | ruleForm, |
| | | userId, |
| | | resetForm, |