| | |
| | | |
| | | export const updateUserStatus = (params) => { |
| | | return request({ |
| | | url: '/api/ubcs-user/updateUserStatus ', |
| | | url: '/api/ubcs-user/updateUserStatus', |
| | | method: 'post', |
| | | params:{ |
| | | ...params |
| | | } |
| | | data: params |
| | | }) |
| | | } |
| | | |
| | |
| | | }, |
| | | // 最大流水号 |
| | | maxSerialNum() { |
| | | if (this.selectionList.length === 0) { |
| | | if (this.selectionList.length <= 0) { |
| | | this.$message.warning("请选择一条编码规则!"); |
| | | return; |
| | | } |
| | | if(this.selectionList.length> 1){ |
| | | this.$message.warning("只能选择一条编码规则!"); |
| | | return; |
| | | } |
| | | this.maxSerial.visible = true; |
| | | this.maxSerial.ruleOid = this.selectionList[0]["oid"]; |
| | | }, |
| | |
| | | } |
| | | }, |
| | | created() { |
| | | updateUserStatus({userid:'1702600796324032513',status:'true'}).then(res=>{ |
| | | updateUserStatus({userid:'1702600796324032513',status:true}).then(res=>{ |
| | | console.log(res) |
| | | }) |
| | | this.selecload() |