Browse Source

去掉代码中的parseTime

test
wangxy 3 years ago
parent
commit
9437f34554
4 changed files with 1 additions and 11 deletions
  1. +0
    -2
      src/views/system/printer/printertab/index.vue
  2. +0
    -2
      src/views/system/printer/printheadtab/addOrEdit.vue
  3. +0
    -2
      src/views/system/printer/printheadtab/index.vue
  4. +1
    -5
      src/views/system/user/index.vue

+ 0
- 2
src/views/system/printer/printertab/index.vue View File

@ -24,8 +24,6 @@
<el-table-column v-for="(item, index) in headers" :key="index" :label="getColumnName(item)" :show-overflow-tooltip="true" width="200">
<template #default="scope">
<span v-if="item === 'Printer-PlantNr'">{{ getValue(scope.row['Printer-PlantNr']) }}</span>
<span v-else-if="item === 'Printer-LastModify'"> {{ parseTime(scope.row[item]) }} </span>
<span v-else-if="item === 'Printer-CreateTime'"> {{ parseTime(scope.row[item]) }} </span>
<span v-else-if="item === 'Printer-Active'"> {{ scope.row[item] === 1 ? '是' : '否' }} </span>
<span v-else>{{ scope.row[item] }}</span>
</template>


+ 0
- 2
src/views/system/printer/printheadtab/addOrEdit.vue View File

@ -4,8 +4,6 @@
<el-table-column v-for="(item, index) in formHeader" :key="index" align="center" :label="getColumnName(item)" :show-overflow-tooltip="true">
<template #default="scope">
<span v-if="item === 'PrintDetail-PlantNr'">{{ getValue(scope.row['PrintDetail-PlantNr']) }}</span>
<span v-else-if="item === 'PrintDetail-LastModify'"> {{ parseTime(scope.row[item]) }} </span>
<span v-else-if="item === 'PrintDetail-CreateTime'"> {{ parseTime(scope.row[item]) }} </span>
<span v-else>{{ scope.row[item] }}</span>
</template>
</el-table-column>


+ 0
- 2
src/views/system/printer/printheadtab/index.vue View File

@ -21,8 +21,6 @@
<el-table-column v-for="(item, index) in headers" :key="index" :label="getColumnName(item)" :show-overflow-tooltip="true" width="200">
<template #default="scope">
<span v-if="item === 'PrintHead-PlantNr'">{{ getValue(scope.row['PrintHead-PlantNr']) }}</span>
<span v-else-if="item === 'PrintHead-LastModify'"> {{ parseTime(scope.row[item]) }} </span>
<span v-else-if="item === 'PrintHead-CreateTime'"> {{ parseTime(scope.row[item]) }} </span>
<span v-else>{{ scope.row[item] }}</span>
</template>
</el-table-column>


+ 1
- 5
src/views/system/user/index.vue View File

@ -33,11 +33,7 @@
></el-switch>
</template>
</el-table-column>
<el-table-column label="创建时间" align="center" prop="User-CreateTime">
<template #default="scope">
<span>{{ parseTime(scope.row['User-CreateTime']) }}</span>
</template>
</el-table-column>
<el-table-column label="创建时间" align="center" prop="User-CreateTime"></el-table-column>
<el-table-column label="操作" width="200" align="center">
<template #default="scope">
<el-button class="edit-button-style" @click="handleUpdate(scope.row)" icon="el-icon-edit" size="small">修改</el-button>


Loading…
Cancel
Save