|
|
@@ -775,7 +775,7 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
loadData () {
|
|
|
- const sql = `select * from t_sshjpzb where id_=${this.parentData.mainId}`
|
|
|
+ const sql = `select * from t_sshjpzb where id_='${this.parentData.mainId}'`
|
|
|
this.$common.request('sql', sql).then(res => {
|
|
|
const { data = [] } = res.variables || {}
|
|
|
// console.log('主表', data)
|
|
|
@@ -821,7 +821,7 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
loadSubData () {
|
|
|
- const sql = `select * from t_sshjpzxq where parent_id_=${this.parentData.mainId}`
|
|
|
+ const sql = `select * from t_sshjpzxq where parent_id_='${this.parentData.mainId}'`
|
|
|
this.$common.request('sql', sql).then(res => {
|
|
|
const { data = [] } = res.variables || {}
|
|
|
// console.log('子表', data)
|
|
|
@@ -1484,7 +1484,7 @@ export default {
|
|
|
}
|
|
|
.main{
|
|
|
width: 80%;
|
|
|
- height: calc(100vh - 70px);
|
|
|
+ height: calc(100vh - 100px);
|
|
|
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
|
|
|
padding:20px;
|
|
|
overflow-y: auto;
|