Commit 5745c00b by 吴佳

2022.04.15 wujia sptrou 提交按钮样式修改

parent 97eb98a7
<template>
<div class="eContainer">
<el-button size="small"
<!-- <el-button size="small"
type="primary"
@click="handleSave">save</el-button>
@click="handleSave">save</el-button> -->
<!-- <el-button size="small" @click="handletak">tak</el-button> -->
<div class="m-Btn-eContainer">
<div class="m-funcBtn-eContainer">
<el-button size="small" type="primary" @click="handleSave">{{ $t('buttons.submit') }}</el-button>
<el-button size="small" @click="handleCancel">{{ $t('buttons.quit') }}</el-button>
</div>
</div>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="200px" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
......@@ -88,9 +94,9 @@ export default {
});
this.$store.dispatch("TagsView/delView", this.$route)
this.$router.history.push("/taskList", () => {
this.$store.commit("setTaskListTabVal", 'trnrel')
this.$store.commit("setTaskListTabVal", 'sptsel')
//修改待复核界面刷新状态为需要刷新
this.$store.commit("setLoadingFreshReview", true)
this.$store.commit("setLoadingFreshSptsel", true)
});
}
......@@ -127,9 +133,32 @@ export default {
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
},
}
</script>
<style>
.m-Btn-eContainer {
display: flex; /*flex布局*/
flex-direction: row;
flex-wrap: nowrap;
justify-content: space-between;
align-items: flex-start;
height: 24px;
margin-bottom: 5px;
}
.m-funcBtn-eContainer {
order: 1;
}
.m-funcBtn-eContainer button,
.m-funcBtn-eContainer .el-button + .el-button {
margin: 0px 0px 0px 0px;
}
.m-funcBtn-eContainer .el-button--default {
background-image: linear-gradient(#fff,#dedede);
border: 1px solid #ccc;
}
.m-funcBtn-eContainer .el-button--primary {
border: 1px solid #0D4FBD;
}
</style>
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