Browse Source

表单样式修改

360view
bianyaqi 2 years ago
parent
commit
1beacb2f81
  1. 26
      src/components/360View/commonForm/deveopmentFIle-copy.vue
  2. 47
      src/components/360View/commonForm/eyesVision.vue
  3. 24
      src/components/360View/commonForm/optometryForm-copy.vue
  4. 18
      src/components/360View/commonForm/threeVision.vue

26
src/components/360View/commonForm/deveopmentFIle-copy.vue

@ -5,7 +5,7 @@
<el-button type="primary" size="small" @click="handleSaveTable">保存</el-button> <el-button type="primary" size="small" @click="handleSaveTable">保存</el-button>
<el-button type="danger" size="small" @click="handleDelete">删除</el-button> <el-button type="danger" size="small" @click="handleDelete">删除</el-button>
</div> </div>
<div id="threeFunc" style="width: 840px;padding-right: 8px">
<div id="development" style="width: 840px;padding-right: 8px">
<div class="flex j-c"> <div class="flex j-c">
<img width="450" src="@/assets/img/xianganlogo.png"> <img width="450" src="@/assets/img/xianganlogo.png">
</div> </div>
@ -321,7 +321,7 @@ export default {
data() { data() {
return { return {
printObj: { printObj: {
id: 'threeFunc',
id: 'development',
extraHead: '<meta http-equiv="Content-Language"content="zh-cn"/>,<style>  #printId { width: 100%; !important; } .el-input__prefix { display: none } <style>' extraHead: '<meta http-equiv="Content-Language"content="zh-cn"/>,<style>  #printId { width: 100%; !important; } .el-input__prefix { display: none } <style>'
}, },
dataForm: { dataForm: {
@ -608,7 +608,7 @@ export default {
} }
}, },
handlePrint() { handlePrint() {
this.printPage('threeFunc')
this.printPage('development')
}, },
handleSaveTable() { handleSaveTable() {
this.$http.post('/qgfyda/saveQgfyda', this.dataForm).then(({ data: res }) => { this.$http.post('/qgfyda/saveQgfyda', this.dataForm).then(({ data: res }) => {
@ -629,7 +629,13 @@ export default {
} }
</script> </script>
<style lang="scss"> <style lang="scss">
#threeFunc {
#development {
.el-input__inner {
border: none;
height: 26px !important;
line-height: 26px !important;
text-align: center;
}
.el-input__suffix, .el-input__prefix { .el-input__suffix, .el-input__prefix {
display: none; display: none;
} }
@ -651,12 +657,6 @@ export default {
justify-content: center; justify-content: center;
} }
.operation-record-table{ .operation-record-table{
.el-input__inner {
border: none;
height: 26px !important;
line-height: 26px !important;
text-align: center;
}
.el-input-group__append, .el-input-group__prepend{ .el-input-group__append, .el-input-group__prepend{
background-color: transparent; background-color: transparent;
color: #606266; color: #606266;
@ -690,12 +690,6 @@ export default {
color: #46a1ff; color: #46a1ff;
font-weight: 400; font-weight: 400;
} }
.el-input__inner {
border: none;
height: 26px !important;
line-height: 26px !important;
text-align: center;
}
.el-input__inner { .el-input__inner {
border-bottom: 1px solid #ccc; border-bottom: 1px solid #ccc;
border-radius: 0; border-radius: 0;

47
src/components/360View/commonForm/eyesVision.vue

@ -656,25 +656,30 @@ export default {
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
#eyesFunc{
::v-deep .el-input__inner {
border: none;
line-height: 26px !important;
text-align: center;
border-bottom: 1px solid #ccc;
border-radius: 0;
padding: 0;
}
::v-deep .el-input-group--prepend .el-input__inner{
height: 26px !important;
}
.eyesTable{
::v-deep .el-table__cell{
padding: 5px 0 !important;
}
}
}
.flex{ .flex{
display: flex; display: flex;
} }
.j-c{ .j-c{
justify-content: center; justify-content: center;
} }
::v-deep .el-select {
height: 100%;
line-height: inherit;
.el-input {
height: 100%;
.el-input__inner {
height: 100% !important;
}
.el-input__icon {
line-height: inherit;
}
}
}
.check { .check {
cursor: pointer; cursor: pointer;
user-select: none; user-select: none;
@ -689,15 +694,6 @@ export default {
font-weight: 700; font-weight: 700;
} }
.printBox{ .printBox{
.el-input__inner {
border: none;
height: 26px !important;
line-height: 26px !important;
text-align: center;
border-bottom: 1px solid #ccc;
border-radius: 0;
padding: 0;
}
.el-table tr{ .el-table tr{
page-break-inside: avoid; page-break-inside: avoid;
} }
@ -753,10 +749,3 @@ export default {
} }
} }
</style> </style>
<style lang="scss">
.eyesTable{
.el-table__cell{
padding: 7px 0 !important;
}
}
</style>

24
src/components/360View/commonForm/optometryForm-copy.vue

@ -5,7 +5,7 @@
<el-button type="primary" size="small" @click="handleSaveTable">保存</el-button> <el-button type="primary" size="small" @click="handleSaveTable">保存</el-button>
<el-button type="danger" size="small" @click="handleDelete">删除</el-button> <el-button type="danger" size="small" @click="handleDelete">删除</el-button>
</div> </div>
<div id="optomeFunc" style="width: 840px;padding-right: 8px" class="printBox">
<div id="optomeFunc" style="width: 840px;padding-right: 8px" class="printBox optomeFunc">
<div class="flex j-c" style="padding-bottom: 8px"> <div class="flex j-c" style="padding-bottom: 8px">
<img width="320" src="@/assets/img/xianganlogo.png"> <img width="320" src="@/assets/img/xianganlogo.png">
</div> </div>
@ -835,6 +835,18 @@ export default {
.printBox{ .printBox{
page-break-inside: avoid !important; page-break-inside: avoid !important;
} }
.optomeFunc{
.el-input__inner {
font-size: 16px;
border: none;
height: 26px !important;
line-height: 26px !important;
text-align: center;
border-bottom: 1px solid #8e8c8c;
border-radius: 0;
padding: 0;
}
}
#operation-record { #operation-record {
height: 100%; height: 100%;
overflow: auto; overflow: auto;
@ -921,16 +933,6 @@ export default {
width: 180px; width: 180px;
} }
} }
.el-input__inner {
font-size: 16px;
border: none;
height: 26px !important;
line-height: 26px !important;
text-align: center;
border-bottom: 1px solid #8e8c8c;
border-radius: 0;
padding: 0;
}
.el-textarea__inner{ .el-textarea__inner{
border: none; border: none;
} }

18
src/components/360View/commonForm/threeVision.vue

@ -486,6 +486,15 @@ export default {
justify-content: center; justify-content: center;
} }
#threeFunc{ #threeFunc{
.el-input__inner {
border: none;
height: 26px !important;
line-height: 26px !important;
text-align: center;
border-bottom: 1px solid #ccc;
border-radius: 0;
padding: 0;
}
.el-table__cell{ .el-table__cell{
padding: 7px 0 !important; padding: 7px 0 !important;
} }
@ -706,15 +715,6 @@ export default {
width: 180px; width: 180px;
} }
} }
.el-input__inner {
border: none;
height: 26px !important;
line-height: 26px !important;
text-align: center;
border-bottom: 1px solid #ccc;
border-radius: 0;
padding: 0;
}
.el-input__prefix { .el-input__prefix {
display: none; display: none;
} }

Loading…
Cancel
Save