Compare commits

..

No commits in common. "97fa23869fbf12608626844bfba8b0fec0f10010" and "f7c1fa748a8e04f84e557e9917fb143bdc7eb0bc" have entirely different histories.

6 changed files with 5 additions and 8 deletions

View File

@ -218,7 +218,6 @@
height: 100%;
left: 0;
right: 0;
min-width: 1000px;
}
// 表格组件中的各插槽元素自定义样式
.custom-tooltip-content {

View File

@ -59,7 +59,6 @@
:label="column.label"
:width="column.width"
:align="column.align || 'center'"
:fixed="column.fixed ?? false"
:sortable="column.sortable"
:header-class-name="column.headerClassName"
>
@ -341,7 +340,7 @@ onBeforeUnmount(() => {
/* 自定义鼠标悬停颜色 */
:deep(.el-table__body tr:hover > td) {
background-color: rgba(237 255 248) !important;
background-color: rgba(37, 191, 130, 0.1) !important;
}
/* 自定义表头样式 */

View File

@ -171,7 +171,7 @@ const columns1 = ref([
{ prop: "level", label: "分类级别", slotName: "level" },
{ prop: "createTime", label: "添加时间" },
{ prop: "status", label: "状态", slotName: "status" },
{ prop: "action", label: "操作", slotName: "action", width: 150,fixed: "right" },
{ prop: "action", label: "操作", slotName: "action", width: 150 },
]);
//

View File

@ -564,7 +564,6 @@ const onGoodSave = async (params) => {
if (response.code === 200) {
ElMessage.success("新增成功!");
formRef.value.resetFields();
router.go(-1);
} else {
ElMessage.error(response.message);
}

View File

@ -554,7 +554,6 @@ const onGoodSave = async (params) => {
if (response.code === 200) {
ElMessage.success("编辑成功!");
formRef.value.resetFields();
router.go(-1);
} else {
ElMessage.error(response.message);
}

View File

@ -209,7 +209,7 @@
</el-form-item>
</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>
</template>
@ -530,7 +530,8 @@ const changeCategory3 = (id) => {
formInline.categoryId = id;
};
const goBack = async () => {
///
const approved = async () => {
router.go(-1);
};