Commit 66b1c116 by YG8999

bug修复

parent 2f1e61bb
...@@ -44,17 +44,17 @@ ...@@ -44,17 +44,17 @@
v-hasPermi="['system:cleanConsumer:add']" v-hasPermi="['system:cleanConsumer:add']"
>新增</el-button> >新增</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <!-- <el-col :span="1.5">-->
<el-button <!-- <el-button-->
type="success" <!-- type="success"-->
plain <!-- plain-->
icon="el-icon-edit" <!-- icon="el-icon-edit"-->
size="mini" <!-- size="mini"-->
:disabled="single" <!-- :disabled="single"-->
@click="handleUpdate" <!-- @click="handleUpdate"-->
v-hasPermi="['system:cleanConsumer:edit']" <!-- v-hasPermi="['system:cleanConsumer:edit']"-->
>修改</el-button> <!-- >修改</el-button>-->
</el-col> <!-- </el-col>-->
<el-col :span="1.5"> <el-col :span="1.5">
<el-button <el-button
type="danger" type="danger"
...@@ -66,16 +66,16 @@ ...@@ -66,16 +66,16 @@
v-hasPermi="['system:cleanConsumer:remove']" v-hasPermi="['system:cleanConsumer:remove']"
>删除</el-button> >删除</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <!-- <el-col :span="1.5">-->
<el-button <!-- <el-button-->
type="warning" <!-- type="warning"-->
plain <!-- plain-->
icon="el-icon-download" <!-- icon="el-icon-download"-->
size="mini" <!-- size="mini"-->
@click="handleExport" <!-- @click="handleExport"-->
v-hasPermi="['system:cleanConsumer:export']" <!-- v-hasPermi="['system:cleanConsumer:export']"-->
>导出</el-button> <!-- >导出</el-button>-->
</el-col> <!-- </el-col>-->
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row> </el-row>
...@@ -96,13 +96,13 @@ ...@@ -96,13 +96,13 @@
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width"> <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <!-- <el-button-->
size="mini" <!-- size="mini"-->
type="text" <!-- type="text"-->
icon="el-icon-edit" <!-- icon="el-icon-edit"-->
@click="handleUpdate(scope.row)" <!-- @click="handleUpdate(scope.row)"-->
v-hasPermi="['system:cleanConsumer:edit']" <!-- v-hasPermi="['system:cleanConsumer:edit']"-->
>修改</el-button> <!-- >修改</el-button>-->
<el-button <el-button
size="mini" size="mini"
type="text" type="text"
......
<template> <template>
<div class="app-container"> <div class="app-container">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px"> <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
<el-form-item label="开始时间" prop="startDate"> <el-form-item label="创建时间" prop="startDate">
<el-date-picker clearable <el-date-picker clearable
v-model="queryParams.startDate" v-model="queryParams.createTime"
type="date" type="date"
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
placeholder="请选择开始时间"> placeholder="请选择创建时间">
</el-date-picker>
</el-form-item>
<el-form-item label="结束时间" prop="endDate">
<el-date-picker clearable
v-model="queryParams.endDate"
type="date"
value-format="yyyy-MM-dd"
placeholder="请选择结束时间">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
<el-form-item label="保洁状态" prop="status"> <el-form-item label="保洁状态" prop="status">
...@@ -83,7 +75,7 @@ ...@@ -83,7 +75,7 @@
<el-table-column type="selection" width="55" align="center" /> <el-table-column type="selection" width="55" align="center" />
<el-table-column label="所属门店" align="center" prop="storeName" /> <el-table-column label="所属门店" align="center" prop="storeName" />
<el-table-column label="房间名称" align="center" prop="roomName" /> <el-table-column label="房间名称" align="center" prop="roomName" />
<el-table-column label="开始时间" align="center" prop="startDate" width="180"> <el-table-column label="开始时间" align="center" prop="startDate" >
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ parseTime(scope.row.startDate, '{y}-{m}-{d} {h}:{i}') }}</span> <span>{{ parseTime(scope.row.startDate, '{y}-{m}-{d} {h}:{i}') }}</span>
</template> </template>
...@@ -93,7 +85,7 @@ ...@@ -93,7 +85,7 @@
<image-preview :src="scope.row.startImage" :width="50" :height="50"/> <image-preview :src="scope.row.startImage" :width="50" :height="50"/>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="结束时间" align="center" prop="endDate" width="180"> <el-table-column label="结束时间" align="center" prop="endDate" >
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ parseTime(scope.row.endDate, '{y}-{m}-{d} {h}:{i}') }}</span> <span>{{ parseTime(scope.row.endDate, '{y}-{m}-{d} {h}:{i}') }}</span>
</template> </template>
...@@ -108,9 +100,13 @@ ...@@ -108,9 +100,13 @@
<dict-tag :options="dict.type.clean_records_status" :value="scope.row.status"/> <dict-tag :options="dict.type.clean_records_status" :value="scope.row.status"/>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="保洁人员" align="center" prop="cleanUser" /> <el-table-column label="保洁人员" align="center" prop="cleanName" />
<el-table-column label="联系方式" align="center" prop="phone" /> <el-table-column label="联系方式" align="center" prop="phone" />
<el-table-column label="完成情况" align="center" prop="xx" /> <el-table-column label="创建时间" align="center" prop="createTime" >
<template slot-scope="scope">
<span>{{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
<el-table-column label="备注" align="center" prop="remark" /> <el-table-column label="备注" align="center" prop="remark" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width"> <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope"> <template slot-scope="scope">
...@@ -223,9 +219,8 @@ export default { ...@@ -223,9 +219,8 @@ export default {
pageNum: 1, pageNum: 1,
pageSize: 10, pageSize: 10,
startDate: null, startDate: null,
startImage: null,
endDate: null, endDate: null,
endImage: null, createTime: null,
status: null, status: null,
}, },
// 表单参数 // 表单参数
......
...@@ -114,7 +114,8 @@ ...@@ -114,7 +114,8 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="联系人" align="center" prop="manager"/> <el-table-column label="联系人" align="center" prop="manager"/>
<el-table-column label="联系人电话" align="center" prop="phone"/> <el-table-column label="联系电话" align="center" prop="phone"/>
<el-table-column label="设备分组" align="center" prop="deviceGroup"/>
<el-table-column label="状态" align="center" prop="status"> <el-table-column label="状态" align="center" prop="status">
<template slot-scope="scope"> <template slot-scope="scope">
<dict-tag :options="dict.type.store_status" :value="scope.row.status"/> <dict-tag :options="dict.type.store_status" :value="scope.row.status"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment