Browse Source

优化平衡系数表调整中

master
李磊 3 years ago
parent
commit
67c9890e9c
  1. 7
      src/views/allot/components/chengya_list.vue
  2. 7
      src/views/allot/components/jidian_list.vue
  3. 7
      src/views/allot/tuihui_list.vue
  4. 7
      src/views/bggl/components/boiler_db_list.vue
  5. 7
      src/views/bggl/components/original_db_list.vue
  6. 7
      src/views/bggl/daishen_list.vue
  7. 7
      src/views/print/1000/grant_create.vue
  8. 7
      src/views/print/1000/grant_list_yff.vue
  9. 2
      src/views/ysjl/3000/common/index.vue
  10. 38
      src/views/ysjl/3000/common/inspection-items.vue
  11. 18
      src/views/ysjl/3000/dj/common/phxsb.vue
  12. 25
      src/views/ysjl/3000/dj/yeyin/index.vue
  13. 25
      src/views/ysjl/3000/dj/yy/index.vue
  14. 25
      src/views/ysjl/3000/dj/zdft/index.vue
  15. 25
      src/views/ysjl/3000/jj/wjf-yy/index.vue
  16. 25
      src/views/ysjl/3000/jj/yy-jj/index.vue
  17. 7
      src/views/ysjl/components/gascylinder_db_list.vue
  18. 7
      src/views/ysjl/components/manufacture_db_list.vue
  19. 7
      src/views/ysjl/components/original_db_list.vue

7
src/views/allot/components/chengya_list.vue

@ -251,13 +251,6 @@ export default {
this.list = data.list
this.totalCount = data.totalCount
this.showLoading = false
const messagePush = this.$store.getters.messageCount
for (let i = 0; i < messagePush.length; i++) {
if (messagePush[i].key === 'AllotList') {
messagePush[i].value = this.totalCount
}
this.$store.state.messageCount = messagePush
}
})
},
getSbzlList() {

7
src/views/allot/components/jidian_list.vue

@ -335,13 +335,6 @@ export default {
this.list = data.list
this.totalCount = data.totalCount
this.showLoading = false
const messagePush = this.$store.getters.messageCount
for (let i = 0; i < messagePush.length; i++) {
if (messagePush[i].key === 'AllotList') {
messagePush[i].value = this.totalCount
}
this.$store.state.messageCount = messagePush
}
})
},
getSbzlList() {

7
src/views/allot/tuihui_list.vue

@ -204,13 +204,6 @@ export default {
this.list = data.list
this.totalCount = data.totalCount
this.showLoading = false
const messagePush = this.$store.getters.messageCount
for (let i = 0; i < messagePush.length; i++) {
if (messagePush[i].key === 'BackRenwu') {
messagePush[i].value = this.totalCount
}
this.$store.state.messageCount = messagePush
}
})
},
getSbzlList() {

7
src/views/bggl/components/boiler_db_list.vue

@ -445,13 +445,6 @@ export default {
this.list = data.list
this.totalCount = data.totalCount
this.common.switchInspection(this.list)
const messagePush = this.$store.getters.messageCount
for (let i = 0; i < messagePush.length; i++) {
if (messagePush[i].key === 'TODOReport') {
messagePush[i].value = this.totalCount
}
this.$store.state.messageCount = messagePush
}
})
},
sortChange(column) {

7
src/views/bggl/components/original_db_list.vue

@ -580,13 +580,6 @@ export default {
this.list = data.list
this.totalCount = data.total
this.common.switchInspection(this.list)
const messagePush = this.$store.getters.messageCount
for (let i = 0; i < messagePush.length; i++) {
if (messagePush[i].key === 'TODOReport') {
messagePush[i].value = this.totalCount
}
this.$store.state.messageCount = messagePush
}
})
},
sortChange(column) {

7
src/views/bggl/daishen_list.vue

@ -243,13 +243,6 @@ export default {
this.list = data.list
this.totalCount = data.totalCount
this.common.switchInspection(this.list)
const messagePush = this.$store.getters.messageCount
for (let i = 0; i < messagePush.length; i++) {
if (messagePush[i].key === 'dsbg-list') {
messagePush[i].value = this.totalCount
}
this.$store.state.messageCount = messagePush
}
})
},
sortChange(column) {

7
src/views/print/1000/grant_create.vue

@ -199,13 +199,6 @@ export default {
}).then(data => {
this.list = data.list
this.totalCount = data.totalCount
const messagePush = this.$store.getters.messageCount
for (let i = 0; i < messagePush.length; i++) {
if (messagePush[i].key === 'GrantReportGlCreate') {
messagePush[i].value = this.totalCount
}
this.$store.state.messageCount = messagePush
}
})
},
sortChange(column) {

7
src/views/print/1000/grant_list_yff.vue

@ -144,13 +144,6 @@ export default {
}).then(data => {
this.list = data.list
this.totalCount = data.totalCount
const messagePush = this.$store.getters.messageCount
for (let i = 0; i < messagePush.length; i++) {
if (messagePush[i].key === 'GrantReportGlYiFafang') {
messagePush[i].value = this.totalCount
}
this.$store.state.messageCount = messagePush
}
})
},
sortChange(column) {

2
src/views/ysjl/3000/common/index.vue

@ -666,7 +666,7 @@
<Table ref="table2" :tabel-header="arrayGroup[1].header" :table-data.sync="fubiao2" />
</el-tab-pane>
<el-tab-pane v-if="fromType === 1 || fromType === 3" label="附表3" name="six">
<phxsb ref="table3" :table-data.sync="fubiao3" :pic="pic" />
<phxsb ref="table3" :table-data.sync="fubiao3" :pic="pic" :ysjl-param.sync="param" />
</el-tab-pane>
</template>
</el-tabs>

38
src/views/ysjl/3000/common/inspection-items.vue

@ -199,44 +199,6 @@ export default {
}
</script>
<style scoped>
.el-tag {
margin: auto 5px;
}
/* 表格边框样式 */
>>> .el-table td,
>>> .el-table th.is-leaf,
.el-table--border,
.el-table--group {
border-color: black;
}
/* 多级表头样式 */
>>> .el-table--border th,
>>> .el-table--border th.gutter:last-of-type {
border-bottom: 1px solid black;
border-right: 1px solid black;
}
/* 表格字体增亮色 */
>>> .el-table--border::after,
>>> .el-table--group::after,
>>> .el-table::before {
background-color: black;
}
>>> .el-table thead,
.el-table {
color: black;
}
</style>
<style lang="scss" scoped>
/*.el-table/deep/ td, .el-table/deep/ th.is-leaf,.el-table--border,.el-table--group{
border-color: black;
}*/
.el-table {
/deep/tbody tr:hover > td {
background-color: oldlace;
}
}
</style>

18
src/views/ysjl/3000/dj/common/phxsb.vue

@ -28,6 +28,15 @@
</template>
</el-table-column>
</el-table>
<div style="margin-top: 10px;">
此电梯对重块总数为
<el-input v-model="ysjlParam.duizhongkuaishu" style="width: 100px" />
对重块总高度为
<el-input v-model="ysjlParam.duizhongkuaigaodu" style="width: 100px" />
m电梯平衡系数为
<el-input v-model="ysjlParam.pinghengxishu" style="width: 100px" />
%
</div>
<div id="chart" style="width:600px;height:500px;margin-top:50px" />
</div>
</template>
@ -49,7 +58,11 @@ export default {
},
pic: {
type: String,
default: ''
required: true
},
ysjlParam: {
type: Object,
required: true
}
},
data() {
@ -141,8 +154,7 @@ export default {
phxs = phxsTemp
}
}
console.log('平衡系数', phxs)
this.$emit('loadPhxs', phxs)
this.$set(this.ysjlParam, 'pinghengxishu', phxs)
},
crossPointX(line1x1, line1y1, line1x2, line1y2, line2x1, line2y1, line2x2, line2y2) {
return (line1x1 * (line1y2 - line1y1) / (line1x2 - line1x1) - line2x1 * (line2y2 - line2y1) / (line2x2 - line2x1) + line2y1 - line1y1) /

25
src/views/ysjl/3000/dj/yeyin/index.vue

@ -147,29 +147,4 @@ export default {
</script>
<style>
.el-input__inner {
border: 1px solid #00000075;
border-radius: 4px;
}
.el-textarea__inner {
border: 1px solid #91393975;
border-radius: 4px;
}
.el-form-item__error {
padding-top: 0;
position: absolute;
}
.el-input.is-disabled .el-input__inner {
color: #606266;
}
.el-textarea.is-disabled .el-textarea__inner {
color: #606266;
}
.el-dialog__body {
padding-top: 10px;
}
.myTable .el-input__inner {
padding: 0 5px;
text-align: center;
}
</style>

25
src/views/ysjl/3000/dj/yy/index.vue

@ -147,29 +147,4 @@ export default {
</script>
<style>
.el-input__inner {
border: 1px solid #00000075;
border-radius: 4px;
}
.el-textarea__inner {
border: 1px solid #91393975;
border-radius: 4px;
}
.el-form-item__error {
padding-top: 0;
position: absolute;
}
.el-input.is-disabled .el-input__inner {
color: #606266;
}
.el-textarea.is-disabled .el-textarea__inner {
color: #606266;
}
.el-dialog__body {
padding-top: 10px;
}
.myTable .el-input__inner {
padding: 0 5px;
text-align: center;
}
</style>

25
src/views/ysjl/3000/dj/zdft/index.vue

@ -80,29 +80,4 @@ export default {
</script>
<style>
.el-input__inner {
border: 1px solid #00000075;
border-radius: 4px;
}
.el-textarea__inner {
border: 1px solid #91393975;
border-radius: 4px;
}
.el-form-item__error {
padding-top: 0;
position: absolute;
}
.el-input.is-disabled .el-input__inner {
color: #606266;
}
.el-textarea.is-disabled .el-textarea__inner {
color: #606266;
}
.el-dialog__body {
padding-top: 10px;
}
.myTable .el-input__inner {
padding: 0 5px;
text-align: center;
}
</style>

25
src/views/ysjl/3000/jj/wjf-yy/index.vue

@ -147,29 +147,4 @@ export default {
</script>
<style>
.el-input__inner {
border: 1px solid #00000075;
border-radius: 4px;
}
.el-textarea__inner {
border: 1px solid #91393975;
border-radius: 4px;
}
.el-form-item__error {
padding-top: 0;
position: absolute;
}
.el-input.is-disabled .el-input__inner {
color: #606266;
}
.el-textarea.is-disabled .el-textarea__inner {
color: #606266;
}
.el-dialog__body {
padding-top: 10px;
}
.myTable .el-input__inner {
padding: 0 5px;
text-align: center;
}
</style>

25
src/views/ysjl/3000/jj/yy-jj/index.vue

@ -147,29 +147,4 @@ export default {
</script>
<style>
.el-input__inner {
border: 1px solid #00000075;
border-radius: 4px;
}
.el-textarea__inner {
border: 1px solid #91393975;
border-radius: 4px;
}
.el-form-item__error {
padding-top: 0;
position: absolute;
}
.el-input.is-disabled .el-input__inner {
color: #606266;
}
.el-textarea.is-disabled .el-textarea__inner {
color: #606266;
}
.el-dialog__body {
padding-top: 10px;
}
.myTable .el-input__inner {
padding: 0 5px;
text-align: center;
}
</style>

7
src/views/ysjl/components/gascylinder_db_list.vue

@ -151,13 +151,6 @@ export default {
this.list = data.list
this.totalCount = data.totalCount
this.common.switchInspection(this.list)
const messagePush = this.$store.getters.messageCount
for (let i = 0; i < messagePush.length; i++) {
if (messagePush[i].key === 'TODOYsjl') {
messagePush[i].value = this.totalCount
}
this.$store.state.messageCount = messagePush
}
})
},
sortChange(column) {

7
src/views/ysjl/components/manufacture_db_list.vue

@ -546,13 +546,6 @@ export default {
getNeedRecordList(this.listQuery).then(data => {
this.list = data.list
this.totalCount = data.totalCount
const messagePush = this.$store.getters.messageCount
for (let i = 0; i < messagePush.length; i++) {
if (messagePush[i].key === 'TODOYsjl') {
messagePush[i].value = this.totalCount
}
this.$store.state.messageCount = messagePush
}
})
},
sortChange(column) {

7
src/views/ysjl/components/original_db_list.vue

@ -214,13 +214,6 @@ export default {
this.list = data.list
this.totalCount = data.total
this.common.switchInspection(this.list)
const messagePush = this.$store.getters.messageCount
for (let i = 0; i < messagePush.length; i++) {
if (messagePush[i].key === 'TODOYsjl') {
messagePush[i].value = this.totalCount
}
this.$store.state.messageCount = messagePush
}
})
},
sortChange(column) {

Loading…
Cancel
Save