Commit 86a62504 by chenwq

样式

1 parent e4f9574e
...@@ -121,7 +121,7 @@ html { ...@@ -121,7 +121,7 @@ html {
.marketing .edit-container { .marketing .edit-container {
margin-bottom: 84px; margin-bottom: 84px;
} }
.marketing .approval-container{ .marketing .approval-container {
margin-bottom: 10px; margin-bottom: 10px;
} }
...@@ -260,6 +260,10 @@ html { ...@@ -260,6 +260,10 @@ html {
color: #999999; color: #999999;
} }
.marketing .p-relative {
position: relative;
}
.marketing .footer { .marketing .footer {
position: fixed; position: fixed;
bottom: 0; bottom: 0;
......
<template> <template>
<div class="tag-main"> <div class="tag-main">
<el-dialog :title="activeName == 'tag' ? '选择标签' : '选择客户'" :visible.sync="dialogVisible" width="1080px" :before-close="handleClose"> <el-dialog :title="activeName == 'tag' ? '选择标签' : '选择客户'" :visible.sync="dialogVisible" width="1080px" :before-close="handleClose">
<div v-show="activeName == 'tag'" class="tag-panel"> <div v-if="activeName == 'tag'" class="tag-panel">
<div class="tag-panel-select"> <div class="tag-panel-select">
<div class="tag-title">预选标签</div> <div class="tag-title">预选标签</div>
<div class="tag-select-box"> <div class="tag-select-box">
......
<!-- sop管理 --> <!-- sop管理 -->
<template> <template>
<div class="marketing p-t-20"> <div class="marketing p-t-20 sop-list">
<div class="m-b-20"> <div class="m-b-20 p-relative">
<el-button :size="size" type="primary" class="el-icon-plus" @click="handleEdit('add')">新建SOP</el-button> <el-button :size="size" type="primary" class="el-icon-plus" @click="handleEdit('add')">新建SOP</el-button>
<!-- <GLButton :size="size" type="primary" fn="新建sop" class="el-icon-plus" @click="handleEdit(1)">新建sop</GLButton> --> <el-button class="sop-back-btn" :size="size" type="primary" @click="handleBack">返回</el-button>
</div> </div>
<div class="container"> <div class="container">
<div> <div>
<glsx-combi-form ref="showSearch" :formObj="searchForm" :formData="searchFormData"> <glsx-combi-form ref="showSearch" :formObj="searchForm" :formData="searchFormData">
<span slot="footer"> <span slot="footer">
<el-button :size="size" type="default" @click="handleReset">重置</el-button>
<el-button :size="size" type="primary" @click="handleSearch">查询</el-button> <el-button :size="size" type="primary" @click="handleSearch">查询</el-button>
<el-button :size="size" type="default" @click="handleReset">重置</el-button>
</span> </span>
</glsx-combi-form> </glsx-combi-form>
</div> </div>
...@@ -214,6 +214,12 @@ export default { ...@@ -214,6 +214,12 @@ export default {
this.$refs.sopListRef.data.length ? (this.$refs.sopListRef.tableHeightValues = '') : this.$refs.sopListRef.setTableHeightFun() this.$refs.sopListRef.data.length ? (this.$refs.sopListRef.tableHeightValues = '') : this.$refs.sopListRef.setTableHeightFun()
}, },
handleBack() {
this.$router.push({
path: '/sop/index'
})
},
handleSearch() { handleSearch() {
this.$refs.sopListRef.refreshTable() this.$refs.sopListRef.refreshTable()
}, },
...@@ -229,4 +235,10 @@ export default { ...@@ -229,4 +235,10 @@ export default {
} }
</script> </script>
<style scoped></style> <style scoped>
.sop-list .sop-back-btn {
position: absolute;
right: 0;
top: 0;
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!