通知中心,修改字段名称
This commit is contained in:
parent
d538252399
commit
e2aa28b9d8
|
|
@ -10,16 +10,13 @@
|
||||||
<el-table-column label="描述" prop="name"> </el-table-column>
|
<el-table-column label="描述" prop="name"> </el-table-column>
|
||||||
<el-table-column label="图片" prop="value">
|
<el-table-column label="图片" prop="value">
|
||||||
<template v-slot="row">
|
<template v-slot="row">
|
||||||
<template v-if="row.row.id">
|
|
||||||
<img v-if="row.row.type == 'img'" :src="row.row.value" style="width: 40px;height: 40px;">
|
<img v-if="row.row.type == 'img'" :src="row.row.value" style="width: 40px;height: 40px;">
|
||||||
</template>
|
|
||||||
<span v-else>{{ row.row.value }}</span>
|
<span v-else>{{ row.row.value }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="操作" width="250">
|
<el-table-column label="操作" width="250">
|
||||||
<template v-slot="scope">
|
<template v-slot="scope">
|
||||||
<el-button type="text" size="mini" round icon="el-icon-edit"
|
<el-button type="text" size="mini" round icon="el-icon-edit" @click="edit(scope.row)">编辑</el-button>
|
||||||
@click="edit(scope.row)">编辑</el-button>
|
|
||||||
<!-- <el-popconfirm title="确定删除吗?" @confirm="delHandle([scope.row.id])">
|
<!-- <el-popconfirm title="确定删除吗?" @confirm="delHandle([scope.row.id])">
|
||||||
<el-button type="text" :disabled="!scope.row.id" size="mini" round icon="el-icon-delete" slot="reference">
|
<el-button type="text" :disabled="!scope.row.id" size="mini" round icon="el-icon-delete" slot="reference">
|
||||||
删除
|
删除
|
||||||
|
|
|
||||||
|
|
@ -35,13 +35,13 @@
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="昵称" prop="nickname"> </el-table-column>
|
<el-table-column label="昵称" prop="nickname"> </el-table-column>
|
||||||
<el-table-column label="商品库存" prop="createdAt">
|
<el-table-column label="商品库存预警" prop="createdAt">
|
||||||
<template v-slot="scope">
|
<template v-slot="scope">
|
||||||
<el-switch v-model="scope.row.proState" :active-value="1" :inactive-value="0"
|
<el-switch v-model="scope.row.proState" :active-value="1" :inactive-value="0"
|
||||||
@change="changeHot(scope.row.proState, 0, scope.row.openId)"></el-switch>
|
@change="changeHot(scope.row.proState, 0, scope.row.openId)"></el-switch>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="耗材" prop="createdAt">
|
<el-table-column label="耗材库存预警" prop="createdAt">
|
||||||
<template v-slot="scope">
|
<template v-slot="scope">
|
||||||
<el-switch v-model="scope.row.conState" :active-value="1" :inactive-value="0"
|
<el-switch v-model="scope.row.conState" :active-value="1" :inactive-value="0"
|
||||||
@change="changeHot(scope.row.conState, 1, scope.row.openId)"></el-switch>
|
@change="changeHot(scope.row.conState, 1, scope.row.openId)"></el-switch>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue