feat: 商品规格箭头左对齐
This commit is contained in:
parent
7d7d95f0ad
commit
f337d7841f
|
|
@ -10,6 +10,12 @@
|
||||||
<page-content ref="contentRef" :content-config="contentConfig" @add-click="handleAddClick"
|
<page-content ref="contentRef" :content-config="contentConfig" @add-click="handleAddClick"
|
||||||
@edit-click="handleEditClick" @export-click="handleExportClick" @search-click="handleSearchClick"
|
@edit-click="handleEditClick" @export-click="handleExportClick" @search-click="handleSearchClick"
|
||||||
@toolbar-click="handleToolbarClick" @operat-click="handleOperatClick" @filter-change="handleFilterChange">
|
@toolbar-click="handleToolbarClick" @operat-click="handleOperatClick" @filter-change="handleFilterChange">
|
||||||
|
<template #deptName="scope">
|
||||||
|
<div style="display: inline-block;width: 50px;">
|
||||||
|
{{ scope.row.name }}
|
||||||
|
</div>
|
||||||
|
<!-- <el-text></el-text> -->
|
||||||
|
</template>
|
||||||
<template #status="scope">
|
<template #status="scope">
|
||||||
<el-tag :type="scope.row[scope.prop] == 1 ? 'success' : 'info'">
|
<el-tag :type="scope.row[scope.prop] == 1 ? 'success' : 'info'">
|
||||||
{{ scope.row[scope.prop] == 1 ? "启用" : "禁用" }}
|
{{ scope.row[scope.prop] == 1 ? "启用" : "禁用" }}
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@ const contentConfig: IContentConfig<UserPageQuery> = {
|
||||||
],
|
],
|
||||||
cols: [
|
cols: [
|
||||||
// { type: "selection", width: 50, align: "center" },
|
// { type: "selection", width: 50, align: "center" },
|
||||||
{ label: "模板名称", align: "center", prop: "name" },
|
{ label: "模板名称", align: "center", slotName: "deptName", templet: "custom", },
|
||||||
{ label: "完整名称", align: "center", prop: "fullName" },
|
{ label: "完整名称", align: "center", prop: "fullName" },
|
||||||
// {
|
// {
|
||||||
// label: "操作",
|
// label: "操作",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue