| | |
| | | <!-- 表格部分 --> |
| | | <avue-crud class="ztzf-public-general-avue-crud" :data="tableData" :option="option" v-model:page="page" |
| | | ref="crud" :table-loading="loading" @current-change="currentChange" @refresh-change="refreshChange" |
| | | @on-load="onLoad" @search-change="searchChange" @size-change="sizeChange" @cell-click="handleCellClick" v-if="activeTab === tab.name"> |
| | | @on-load="onLoad" @search-change="searchChange" @size-change="sizeChange" v-if="activeTab === tab.name"> |
| | | <template #job_info_num="{row}"> |
| | | <el-tooltip-copy :content="row.job_info_num" :showCopyText="true" textAlign="left"> |
| | | {{ row.job_info_num }} |
| | | </el-tooltip-copy> |
| | | </template> |
| | | |
| | | <template #name="{ row }"> |
| | | <el-tooltip-copy :content="row.name" :showCopyText="true" textAlign="left"> |
| | | {{ row.name }} |
| | | </el-tooltip-copy> |
| | | </template> |
| | | |
| | | <template #menu-left> |
| | | <el-button v-if="hasAddBtnPermission() && activeTab != 'WAIT_AUDIT'" type="primary" icon="el-icon-plus" |
| | | @click="handleAdd">新建工单</el-button> |
| | |
| | | import dayjs from 'dayjs'; |
| | | import 'dayjs/locale/zh-cn'; // 导入中文语言包 |
| | | import weekday from 'dayjs/plugin/weekday'; |
| | | import elTooltipCopy from '@/components/ElTooltipCopy.vue' |
| | | |
| | | dayjs.extend(weekday); |
| | | dayjs.locale('zh-cn'); |
| | | |
| | | export default { |
| | | components: { elTooltipCopy }, |
| | | name: 'TicketPage', |
| | | data () { |
| | | return { |
| | |
| | | |
| | | column: [ |
| | | { |
| | | label: '工单编号', prop: 'job_info_num', width: 100, ellipsis: true, overHidden: true, |
| | | showOverflowTooltip: true, |
| | | label: '工单编号', prop: 'job_info_num', width: 150, |
| | | }, |
| | | { |
| | | label: '工单名称', prop: 'name', width: 100, ellipsis: true, overHidden: true, |
| | |
| | | showOverflowTooltip: true, |
| | | }, |
| | | { |
| | | label: '已执行次数', prop: 'job_num', width: 96, ellipsis: true, |
| | | label: '已执行次数', prop: 'job_num', width: 70, ellipsis: true, |
| | | showOverflowTooltip: true, |
| | | }, |
| | | { |
| | |
| | | |
| | | // if (selectedTime < now) { |
| | | // return this.$message.warning('任务时间不能小于当前时间') |
| | | |
| | | |
| | | // } |
| | | // } |
| | | // } |
| | |
| | | } |
| | | |
| | | :deep(.el-textarea__inner) { |
| | | resize: none; |
| | | resize: none; |
| | | } |
| | | |
| | | .action-bar { |