Compare commits

..

No commits in common. "984cf2e7d5243441ed590f641a73c211bb6e04e1" and "b8f9d3626f2b26c85398ab0fd23400005ed82bb8" have entirely different histories.

3 changed files with 35 additions and 23 deletions

View File

@ -12,7 +12,7 @@
:label-width="`${labelWidth}px`"
:size="size"
:label-position="labelPosition"
v-loading="0 && formLoading">
v-loading="formLoading">
<el-row :gutter="20" v-for="(row, rindex) in rows" :key="rindex">
<el-col v-for="col in row" :key="col.label" :span="24 / row.length">
<el-form-item :label="col.label" :prop="col.prop" :rules="col.rules">

View File

@ -91,18 +91,8 @@ export default {
// : undefined,
].filter((v) => v),
tableProps: [
{
prop: 'name',
label: '巡检单名称',
showOverflowtooltip: true,
filter: (v) => v ?? '---',
},
{
prop: 'department',
label: '部门',
showOverflowtooltip: true,
filter: (v) => v ?? '---',
},
{ prop: 'name', label: '巡检单名称', showOverflowtooltip: true },
{ prop: 'department', label: '部门', showOverflowtooltip: true },
{
prop: 'actualCheckTime',
label: '巡检时间',
@ -110,12 +100,33 @@ export default {
filter: parseTime,
showOverflowtooltip: true,
},
{
prop: 'groupClass',
label: '班次',
showOverflowtooltip: true,
filter: (v) => v ?? '---',
},
{ prop: 'groupClass', label: '班次', showOverflowtooltip: true },
// {
// prop: '_detail',
// label: '',
// subcomponent: {
// name: 'ViewDetail',
// props: ['injectData'],
// data() {
// return {};
// },
// methods: {
// handleClick() {
// this.$emit('emitData', {
// action: this.injectData.label,
// value: this.injectData,
// });
// },
// },
// render: function (h) {
// return (
// <el-button type="text" onClick={this.handleClick}>
//
// </el-button>
// );
// },
// },
// },
{ prop: 'remark', label: '备注' },
],
searchBarFormConfig: [
@ -150,7 +161,9 @@ export default {
type: 'separate',
},
{
type: this.$auth.hasPermi('se:check-record:export') ? 'button' : '',
type: this.$auth.hasPermi('se:check-record:export')
? 'button'
: '',
btnName: '导出',
name: 'export',
plain: true,

View File

@ -80,9 +80,8 @@ import {
import RecordDetail from './Record--detail.vue';
import { TableBtn } from '@/components/tableInnerComponents';
const timeFilter = (val) => {
return val ? moment(val).format('yyyy-MM-DD HH:mm:ss') : '---';
};
const timeFilter = (val) =>
val ? moment(val).format('yyyy-MM-DD HH:mm:ss') : '---';
export default {
name: 'SpecialEquipmentMaintainRecord',