| | |
| | | <div class="btns"> |
| | | <div> |
| | | <!--<el-button size="default" type="primary" :icon="Plus" @click="openD('新建')">新建</el-button>--> |
| | | <!-- <el-button size="default" type="warning" :disabled="warning" :icon="EditPen" plain>修改</el-button> --> |
| | | <el-button size="default" type="warning" :disabled="warning" :icon="EditPen" plain |
| | | @click="openD('修改', deletAll[0])">修改</el-button> |
| | | <el-button size="default" type="danger" :disabled="danger" :icon="Delete" plain @click="onDeleteAll">删除</el-button> |
| | | </div> |
| | | </div> |
| | |
| | | <el-table-column align="center" prop="dutyDepartmentName" label="责任部门" /> |
| | | <el-table-column align="center" prop="value" label="考核指标" /> |
| | | <el-table-column align="center" prop="makerDepartmentName" label="制定人部门" /> |
| | | <el-table-column align="center" prop="makeDate" label="制定日期" /> |
| | | <el-table-column align="center" prop="makeDate" :formatter="timeDate" label="制定日期" /> |
| | | <el-table-column align="center" prop="commitPersonName" label="上报人" /> |
| | | </el-table> |
| | | </el-tab-pane> |
| | |
| | | </div> |
| | | </template> |
| | | <script lang="ts"> |
| | | import { timeDate } from '/@/assets/index.ts'; |
| | | import Dailog from './component/Dailog.vue'; |
| | | import { ref, toRefs, reactive, onMounted, defineComponent } from 'vue'; |
| | | import { ElMessageBox, ElMessage, ElButton, ElInput, TabsPaneContext, FormInstance } from 'element-plus'; |
| | |
| | | listApi() |
| | | } |
| | | return { |
| | | timeDate, |
| | | listApi, |
| | | add, |
| | | resetForm, |