修复周三测试提出的住数据bug
This commit is contained in:
parent
316fc54137
commit
086faa7d87
|
@ -321,8 +321,7 @@
|
||||||
<div
|
<div
|
||||||
flex="cross:center main:center"
|
flex="cross:center main:center"
|
||||||
v-if="
|
v-if="
|
||||||
scope.row.index + 1 != tableInfo.tableData.length &&
|
scope.row.index + 1 != tableInfo.tableData.length
|
||||||
tableInfo.tableData.length > 2
|
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
|
@ -680,6 +679,7 @@ export default {
|
||||||
return data //属性名必须返回一个string
|
return data //属性名必须返回一个string
|
||||||
},
|
},
|
||||||
newRow() {
|
newRow() {
|
||||||
|
console.log(this.tableInfo, 'this.tableInfo', this.formIndex)
|
||||||
this.$emit('newRow', this.tableInfo, this.formIndex)
|
this.$emit('newRow', this.tableInfo, this.formIndex)
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.elTable.bodyWrapper.scrollTop =
|
this.$refs.elTable.bodyWrapper.scrollTop =
|
||||||
|
|
|
@ -98,6 +98,7 @@
|
||||||
@onFunc="dialogTableDeleHandle"
|
@onFunc="dialogTableDeleHandle"
|
||||||
:funData="dialogfunData"
|
:funData="dialogfunData"
|
||||||
:border="false"
|
:border="false"
|
||||||
|
:formIndex="index"
|
||||||
table-height="30vh"
|
table-height="30vh"
|
||||||
></BaseTableForm>
|
></BaseTableForm>
|
||||||
</div>
|
</div>
|
||||||
|
@ -395,7 +396,7 @@ export default {
|
||||||
this.mainTabLoading = false
|
this.mainTabLoading = false
|
||||||
this.pageModel.total = res.attribute.total
|
this.pageModel.total = res.attribute.total
|
||||||
this.tableData = []
|
this.tableData = []
|
||||||
this.$nextTick(()=>{
|
this.$nextTick(() => {
|
||||||
this.tableData = res.attribute.list
|
this.tableData = res.attribute.list
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
@ -900,7 +901,7 @@ export default {
|
||||||
// this.sendHandle(row.rowId)
|
// this.sendHandle(row.rowId)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.init()
|
this.init()
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
|
|
|
@ -40,8 +40,9 @@ module.exports = {
|
||||||
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
||||||
[process.env.VUE_APP_BASE_API]: {
|
[process.env.VUE_APP_BASE_API]: {
|
||||||
// target: `http://hzya.ufyct.com:9067/`,
|
// target: `http://hzya.ufyct.com:9067/`,
|
||||||
|
target: `http://ufidahz.com.cn:9067/`,
|
||||||
// target: `http://127.0.0.1:9081/`,
|
// target: `http://127.0.0.1:9081/`,
|
||||||
target: `http://192.168.2.78:9999`,
|
// target: `http://192.168.2.78:9999`,
|
||||||
// target: `http://192.168.2.83:9999`,
|
// target: `http://192.168.2.83:9999`,
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
|
|
Loading…
Reference in New Issue