Compare commits
No commits in common. "97fa23869fbf12608626844bfba8b0fec0f10010" and "f7c1fa748a8e04f84e557e9917fb143bdc7eb0bc" have entirely different histories.
97fa23869f
...
f7c1fa748a
@ -218,7 +218,6 @@
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
min-width: 1000px;
|
|
||||||
}
|
}
|
||||||
// 表格组件中的各插槽元素自定义样式
|
// 表格组件中的各插槽元素自定义样式
|
||||||
.custom-tooltip-content {
|
.custom-tooltip-content {
|
||||||
|
@ -59,7 +59,6 @@
|
|||||||
:label="column.label"
|
:label="column.label"
|
||||||
:width="column.width"
|
:width="column.width"
|
||||||
:align="column.align || 'center'"
|
:align="column.align || 'center'"
|
||||||
:fixed="column.fixed ?? false"
|
|
||||||
:sortable="column.sortable"
|
:sortable="column.sortable"
|
||||||
:header-class-name="column.headerClassName"
|
:header-class-name="column.headerClassName"
|
||||||
>
|
>
|
||||||
@ -341,7 +340,7 @@ onBeforeUnmount(() => {
|
|||||||
|
|
||||||
/* 自定义鼠标悬停颜色 */
|
/* 自定义鼠标悬停颜色 */
|
||||||
:deep(.el-table__body tr:hover > td) {
|
:deep(.el-table__body tr:hover > td) {
|
||||||
background-color: rgba(237 255 248) !important;
|
background-color: rgba(37, 191, 130, 0.1) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 自定义表头样式 */
|
/* 自定义表头样式 */
|
||||||
|
@ -171,7 +171,7 @@ const columns1 = ref([
|
|||||||
{ prop: "level", label: "分类级别", slotName: "level" },
|
{ prop: "level", label: "分类级别", slotName: "level" },
|
||||||
{ prop: "createTime", label: "添加时间" },
|
{ prop: "createTime", label: "添加时间" },
|
||||||
{ prop: "status", label: "状态", slotName: "status" },
|
{ prop: "status", label: "状态", slotName: "status" },
|
||||||
{ prop: "action", label: "操作", slotName: "action", width: 150,fixed: "right" },
|
{ prop: "action", label: "操作", slotName: "action", width: 150 },
|
||||||
]);
|
]);
|
||||||
|
|
||||||
// 生成食物主题昵称
|
// 生成食物主题昵称
|
||||||
|
@ -564,7 +564,6 @@ const onGoodSave = async (params) => {
|
|||||||
if (response.code === 200) {
|
if (response.code === 200) {
|
||||||
ElMessage.success("新增成功!");
|
ElMessage.success("新增成功!");
|
||||||
formRef.value.resetFields();
|
formRef.value.resetFields();
|
||||||
router.go(-1);
|
|
||||||
} else {
|
} else {
|
||||||
ElMessage.error(response.message);
|
ElMessage.error(response.message);
|
||||||
}
|
}
|
||||||
|
@ -554,7 +554,6 @@ const onGoodSave = async (params) => {
|
|||||||
if (response.code === 200) {
|
if (response.code === 200) {
|
||||||
ElMessage.success("编辑成功!");
|
ElMessage.success("编辑成功!");
|
||||||
formRef.value.resetFields();
|
formRef.value.resetFields();
|
||||||
router.go(-1);
|
|
||||||
} else {
|
} else {
|
||||||
ElMessage.error(response.message);
|
ElMessage.error(response.message);
|
||||||
}
|
}
|
||||||
|
@ -209,7 +209,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
</el-form>
|
</el-form>
|
||||||
<el-button type="primary" @click="goBack" style="margin: 10px 0 0 80px;width: 150px;">返回</el-button>
|
<el-button type="primary" @click="approved" style="margin: 10px 0 0 80px;width: 150px;">返回</el-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@ -530,7 +530,8 @@ const changeCategory3 = (id) => {
|
|||||||
formInline.categoryId = id;
|
formInline.categoryId = id;
|
||||||
};
|
};
|
||||||
|
|
||||||
const goBack = async () => {
|
//审核/驳回
|
||||||
|
const approved = async () => {
|
||||||
router.go(-1);
|
router.go(-1);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user