对话框

This commit is contained in:
xing 2020-06-18 13:43:02 +08:00
parent 6614ffdb50
commit d5a804c037

View File

@ -15,7 +15,7 @@
</el-input>
</el-col>
<el-col :span="4">
<el-button type="primary">添加用户</el-button>
<el-button type="primary" @click="dialogVisible=true">添加用户</el-button>
</el-col>
</el-row>
@ -56,6 +56,16 @@
</el-card>
<el-dialog title="提示" :visible.sync="dialogVisible">
<!--内在主体区-->
<span>这是一段信息</span>
<!--底部区-->
<span slot="footer" class="dialog-footer">
<el-button @click="dialogVisible = false"> </el-button>
<el-button type="primary" @click="dialogVisible = false"> </el-button>
</span>
</el-dialog>
</div>
</template>
@ -64,10 +74,11 @@
export default {
data () {
return {
dialogVisible: false,
queryInfo: {
query: '',
pagenum: 1,
pagesize: 10
pagesize: 1
},
userList: [],
total: 0