| | |
| | | align: "center", |
| | | index: true, |
| | | delBtnText: "注销", |
| | | menuWidth: 271, |
| | | menuWidth: 327, |
| | | selection: true, |
| | | viewBtn: true, |
| | | defaultExpandAll: true, |
| | |
| | | // value: 3, |
| | | // }, |
| | | ], |
| | | rules: [{ |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "请选择性别", |
| | | trigger: "blur" |
| | | }] |
| | | trigger: "blur", |
| | | }, |
| | | ], |
| | | }, |
| | | // { |
| | | // label: "生日", |
| | |
| | | }, |
| | | { |
| | | // icon: "el-icon-info", |
| | | label: "保安员证书", |
| | | label: "上岗证", |
| | | prop: "tab5", |
| | | }, |
| | | ], |
| | |
| | | }, |
| | | methods: { |
| | | submit0(row, done, loading) { |
| | | if (this.userInfo.role_name == "保安公司管理员") { |
| | | row["departmentid"] = this.userInfo.dept_id; |
| | | } |
| | | console.log(row); |
| | | update(row).then( |
| | | () => { |
| | |
| | | type: "success", |
| | | message: "操作成功!", |
| | | }); |
| | | this.onloads(); |
| | | done(); |
| | | }, |
| | | (error) => { |
| | |
| | | <el-tag>{{ row.roleName }}</el-tag> |
| | | </template> |
| | | <template slot-scope="{ row }" slot="deptName"> |
| | | <el-tag>{{ row.deptName }}</el-tag> |
| | | <el-tag>{{ row.deptName.split(",").join(" ,") }}</el-tag> |
| | | </template> |
| | | <template slot-scope="{ row }" slot="userTypeName"> |
| | | <el-tag>{{ row.userTypeName }}</el-tag> |
| | |
| | | label: "登录账号", |
| | | prop: "account", |
| | | search: true, |
| | | width: 190, |
| | | display: false, |
| | | }, |
| | | { |
| | |
| | | '/api': { |
| | | // 本地服务接口地址 |
| | | // target: 'http://localhost:81', |
| | | // target: 'http://192.168.0.114:81',//钟日健W |
| | | target: 'http://192.168.0.114:81',//钟日健W |
| | | // target: 'http://localhost:81', //原W |
| | | // target: 'http://192.168.0.108:81',//原W |
| | | target: 'http://192.168.0.112:81',//唐N |
| | | // target: 'http://192.168.0.110:81',//唐N |
| | | // target: 'http://223.82.109.183:81',//唐N |
| | | //远程演示服务地址,可用于直接启动项目 |
| | | ws: true, |