041bfc77 by 任超

style:弹框修改

1 parent f70b37c2
......@@ -9,7 +9,6 @@ export default {
Vue.component('lbTable', LbTable);
Vue.component('Theme', Theme);
Vue.prototype.$popup = Popup.install;
Vue.prototype.$popupClose = Popup.close;
Vue.prototype.$alertMes = MessageBox.alert;
}
}
\ No newline at end of file
......
......@@ -16,11 +16,5 @@ Popup.install = function (title, editItem, data, formData) {
instance.isShow = true
})
}
Popup.close = function () {
let instance = new PopupBox().$mount()
Vue.nextTick(() => {
instance.isShow = false
})
}
export default Popup
......
......@@ -58,13 +58,13 @@ export default {
setTimeout(() => {
if (this.btnShow) {
if (this.height == 'auto') {
this.contentHeight = (this.$refs.contentRef.offsetHeight + 20) + 'px'
this.contentHeight = (this.$refs.contentRef.offsetHeight) + 'px'
} else {
this.contentHeight = this.height
}
} else {
if (this.height == 'auto') {
this.contentHeight = (this.$refs.contentRef.offsetHeight + 20) + 'px'
this.contentHeight = (this.$refs.contentRef.offsetHeight) + 'px'
} else {
this.contentHeight = this.height
}
......
......@@ -46,6 +46,10 @@
</el-form-item>
</el-col>
</el-row>
<el-row style="text-align:center">
<el-button type="primary" @click="onSubmit">确定</el-button>
<el-button>取消</el-button>
</el-row>
</el-form>
</div>
</template>
......@@ -97,10 +101,13 @@ export default {
this.loadGrid();
},
methods: {
onSubmit () {
},
fetchData () { },
//列表初始化
loadGrid () {
getUnclaimedBdcqz({bsmSlsq:this.formData.bsmSlsq}).then(res => {
getUnclaimedBdcqz({ bsmSlsq: this.formData.bsmSlsq }).then(res => {
if (res.code === 200) {
this.tableData.data = res.result;
}
......