| ¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1682562180452" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2688" xmlns:xlink="http://www.w3.org/1999/xlink" width="64" height="64"><path d="M128 256a42.666667 42.666667 0 0 1 42.666667-42.666667h682.666666a42.666667 42.666667 0 0 1 42.666667 42.666667v469.333333a42.666667 42.666667 0 0 1-42.666667 42.666667H170.666667a42.666667 42.666667 0 0 1-42.666667-42.666667V256z m85.333333 42.666667v384h597.333334V298.666667H213.333333z" fill="#157b7e" p-id="2689"></path><path d="M485.802667 712.981333a42.666667 42.666667 0 0 1 52.394666 0l225.664 175.530667-52.373333 67.370667L512 800.725333l-199.466667 155.157334-52.416-67.370667 225.706667-175.530667zM554.666667 85.333333v170.666667h-85.333334V85.333333h85.333334zM448 256v106.666667a64 64 0 1 0 128 0v-106.666667h85.333333v106.666667a149.333333 149.333333 0 1 1-298.666666 0v-106.666667h85.333333z" fill="#157b7e" p-id="2690"></path></svg> |
| | |
| | | if (meta.activeMenu) { |
| | | return meta.activeMenu |
| | | } |
| | | |
| | | if (path.indexOf('kanbanManager') !== -1) { // å½ç¹å»æºæ
§çæ¿çæ¶å |
| | | const url = this.$router.resolve({ |
| | | path |
| | | // query: { id: 123 } |
| | | }) |
| | | const t = url.href.split('/') |
| | | window.open('#/' + t[2], '_blank') |
| | | } |
| | | |
| | | return path |
| | | }, |
| | | showLogo() { |
| | |
| | | meta: { code: '1061', title: 'åè´§æ¡£æ¡', icon: '', keepAlive: true } |
| | | } |
| | | ] |
| | | }, |
| | | |
| | | { |
| | | path: '/kanbanManager', |
| | | component: Layout, |
| | | redirect: '/kanbanManager/zhkb', |
| | | name: 'æºæ
§çæ¿', |
| | | code: '2023', |
| | | meta: { title: 'æºæ
§çæ¿', icon: 'zhkb' }, |
| | | alwaysShow: true, |
| | | children: [ |
| | | { |
| | | path: 'jgcj', |
| | | name: 'ZHKBCancel', |
| | | component: () => import('@/views/kb/jgcj'), |
| | | meta: { title: '综åçæ¿', icon: '', keepAlive: true } |
| | | }, { |
| | | path: 'zpcj', |
| | | name: 'cgddCancel', |
| | | component: () => import('@/views/kb/zpcj'), |
| | | meta: { title: 'éè´è®¢å', icon: '', keepAlive: true } |
| | | }, { |
| | | path: 'ckgl', |
| | | name: 'ckglCancel', |
| | | component: () => import('@/views/kb/ckgl'), |
| | | meta: { title: 'ä»åºç®¡ç', icon: '', keepAlive: true } |
| | | } |
| | | ] |
| | | } |
| | | |
| | | // { |
| | |
| | | return i |
| | | } |
| | | }) |
| | | newRoutes.push({ path: '*', redirect: '/404', hidden: true }) |
| | | } else { |
| | | newRoutes = getAsyncRoutes(asyncRoutes, menu) |
| | | } |
| | |
| | | </el-button> |
| | | </div> |
| | | <el-table |
| | | ref="multipleTable" |
| | | ref="multipleTableRef" |
| | | :data="dialogFormUserTable" |
| | | border |
| | | :row-class-name="tableRowClassName" |
| | |
| | | }, |
| | | |
| | | /* å
³èç¨æ·æ¨¡å*/ |
| | | async userClick(row) { |
| | | userClick(row) { |
| | | if (row.role_code === 'S001') { |
| | | return this.$message.info('æ¤è§è²æ æ³æä½ï¼') |
| | | } |
| | |
| | | |
| | | this.userForm.roleName = row.role_name |
| | | this.dialogFormUser.rolecode = row.role_code |
| | | const res = await this.getRoleAssociationUser() |
| | | |
| | | if (res.code === '200') { |
| | | setTimeout(() => { |
| | | loading.close() |
| | | this.userDialogVisible = true |
| | | this.$nextTick(() => { |
| | | this.$refs.multipleTable.doLayout() |
| | | this.getRoleAssociationUser().then(res => { |
| | | if (res.code === '200') { |
| | | setTimeout(() => { |
| | | loading.close() |
| | | |
| | | this.$nextTick(() => { |
| | | this.$refs.multipleTableRef.doLayout() |
| | | }) |
| | | }) |
| | | }, 1000) |
| | | } else { |
| | | loading.close() |
| | | } |
| | | } else { |
| | | loading.close() |
| | | } |
| | | }) |
| | | }, |
| | | // è·åè§è²æ¸
åå
³èç¨æ· |
| | | async getRoleAssociationUser() { |
| | | const res = await RoleAssociationUser(this.dialogFormUser) |
| | | this.dialogFormUserTable = res.data |
| | | this.dialogFormUserTableLength = res.count |
| | | this.userDialogVisible = true |
| | | this.$nextTick(() => { |
| | | this.dialogFormUserTable.forEach((item, index) => { |
| | | if (item.flag === 'Y') { |
| | | this.$refs.multipleTable.toggleRowSelection(this.dialogFormUserTable[index], true) |
| | | this.$refs.multipleTableRef.toggleRowSelection(this.dialogFormUserTable[index], true) |
| | | } |
| | | }) |
| | | }) |
| | |
| | | this.dialogFormUser.orgcode = '' |
| | | this.dialogFormUser.isrole = '' |
| | | this.$refs.dialogCascaderUser.checkedValue = '' |
| | | this.$refs.multipleTable.clearSelection() |
| | | this.$refs.multipleTableRef.clearSelection() |
| | | }, |
| | | // å
³èç¨æ·å¯¹è¯æ¡å
³é |
| | | userDialogVisibleCancel() { |
| | |
| | | WareHouseTopLeftData().then(res => { |
| | | this.tableDataTop = res.data |
| | | // this.number1 = this.tableDataTop.length |
| | | if (this.tableDataTop.length > 9) { |
| | | if (this.tableDataTop.length > 10) { |
| | | clearInterval(this.tableTopTask) |
| | | this.getWareHouseTopLeftData() |
| | | } |
| | | }) |
| | | } |
| | | }, this.tableDataTop.length <= 9 ? 1000 * 3 : 100) |
| | | }, this.tableDataTop.length <= 10 ? 1000 * 3 : 100) |
| | | }) |
| | | }, |
| | | // è·åå·¦ä¸tableæ°æ® |