Commit 24912fc3 authored by miaohaoyun's avatar miaohaoyun

Merge branch 'master' into 'mhy'

Master

See merge request !80
parents 4cbbbdaf fdfec8bb
/** //ww
* 全局常量、方法封装模块 // export const baseUrl = 'http://xc.rensheju.com'
* 通过原型挂载到Vue属性 // export const baseUrl2 = 'http://xclc.rensheju.com'
* 通过 this.Global 调用 export const baseUrl = 'http://172.16.10.33:9002'
*/ export const baseUrl2 = 'http://172.16.10.25:9007'
// 后台管理系统服务器地址
// export const baseUrl2 = 'http://xclc.rensheju.com'
export const baseUrl = 'http://xc.rensheju.com'
//export const baseUrl = 'http://172.16.10.33:9002'
export const baseUrl2 = 'http://xclc.rensheju.com'
//export const baseUrl = 'http://xc.rensheju.com'
export default { export default {
baseUrl, baseUrl,
......
...@@ -33,12 +33,12 @@ ...@@ -33,12 +33,12 @@
<el-dialog :modal-append-to-body='false' title="修改密码" :visible.sync="updatePasswordDialogVisible" width="25%"> <el-dialog :modal-append-to-body='false' title="修改密码" :visible.sync="updatePasswordDialogVisible" width="25%">
<el-form :model="item"> <el-form :model="item">
<el-input placeholder="请输入原密码" v-model="item.password" show-password maxlength = 8 minlength = 6 ></el-input> <el-input placeholder="请输入原密码" v-model="item.password" show-password maxlength = 18 minlength = 6 ></el-input>
<div style="margin: 20px 0;"> <div style="margin: 20px 0;">
</div> </div>
<el-input placeholder="请输入新密码 6~8位" v-model="item.newpassword" show-password maxlength = 8 minlength = 6></el-input> <el-input placeholder="请输入新密码 6~18位" v-model="item.newpassword" show-password maxlength = 18 minlength = 6></el-input>
<div style="margin: 20px 0;"/> <div style="margin: 20px 0;"/>
<el-input placeholder="再次输入新密码 6~8位" v-model="item.newpasswordagain" show-password maxlength = 8 minlength = 6></el-input> <el-input placeholder="再次输入新密码 6~18位" v-model="item.newpasswordagain" show-password maxlength = 18 minlength = 6></el-input>
<div style="margin: 20px 0;"/> <div style="margin: 20px 0;"/>
</el-form> </el-form>
...@@ -69,7 +69,7 @@ export default { ...@@ -69,7 +69,7 @@ export default {
name: "admin", name: "admin",
avatar: "@/assets/user.png", avatar: "@/assets/user.png",
role: "超级管理员", role: "超级管理员",
registeInfo: "注册时间:2018-12-25 " registeInfo: "注册时间g:2018-12-25 "
} }
} }
}, },
......
...@@ -20,7 +20,13 @@ ...@@ -20,7 +20,13 @@
<el-table <el-table
:data="tableData" :data="tableData"
style="width: 100%" style="width: 100%"
@selection-change="handleSelectionChange"
tooltip-effect="dark"
> >
<el-table-column
type="selection"
width="55">
</el-table-column>
<el-table-column <el-table-column
prop="idcard" prop="idcard"
label="身份证号" label="身份证号"
...@@ -90,6 +96,8 @@ ...@@ -90,6 +96,8 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<div class="bottom">
<kt-button class="check" icon="el-icon-delete" label="删除已选" perms="sys:user:add" type="primary" />
<el-pagination <el-pagination
class="pone" class="pone"
:page-size='10' :page-size='10'
...@@ -102,6 +110,7 @@ ...@@ -102,6 +110,7 @@
> >
</el-pagination> </el-pagination>
</div>
</div> </div>
</template> </template>
...@@ -126,8 +135,16 @@ ...@@ -126,8 +135,16 @@
.el-table .success-row { .el-table .success-row {
background: #f0f9eb; background: #f0f9eb;
} }
.bottom{
margin-top: 40px;
overflow: hidden;
}
.pone{ .pone{
margin-top: 40px margin-left: 250px;
float: left;
}
.check{
float: left;
} }
</style> </style>
...@@ -135,9 +152,11 @@ ...@@ -135,9 +152,11 @@
import CryptoJS from 'crypto-js' import CryptoJS from 'crypto-js'
import { Loading } from 'element-ui'; import { Loading } from 'element-ui';
import Candode from "../Core/candode" import Candode from "../Core/candode"
import KtButton from "@/views/Core/KtButton"
// import baseUrl from "../../globe/globeUrl" // import baseUrl from "../../globe/globeUrl"
export default { export default {
components:{ components:{
KtButton,
Candode Candode
}, },
data() { data() {
...@@ -151,10 +170,14 @@ ...@@ -151,10 +170,14 @@
ywtype:"", ywtype:"",
info:'', info:'',
pageSize:10, pageSize:10,
tableData: [] tableData: [],
multipleSelection: []
} }
}, },
methods: { methods: {
handleSelectionChange(val){
this.multipleSelection=val
},
handleSizeChange(val){ handleSizeChange(val){
this.pageSize=val this.pageSize=val
this.serchh(this.Page) this.serchh(this.Page)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment