Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
pda-ui
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pda
pda-ui
Commits
7f649f8c
Commit
7f649f8c
authored
Jun 13, 2024
by
chenzj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
人员管理拉取
parent
88ba98ac
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
40 additions
and
8 deletions
+40
-8
user.js
src/api/system/user.js
+9
-0
ProcessProd.vue
...ews/mes/pro/productionSolution/components/ProcessProd.vue
+2
-2
ProogingProcess.vue
...mes/pro/productionSolution/components/ProogingProcess.vue
+1
-1
arangeSelect.vue
src/views/mes/pro/request/components/arangeSelect.vue
+3
-4
index.vue
src/views/system/user/index.vue
+25
-1
No files found.
src/api/system/user.js
View file @
7f649f8c
...
@@ -125,3 +125,12 @@ export function updateAuthRole(data) {
...
@@ -125,3 +125,12 @@ export function updateAuthRole(data) {
params
:
data
params
:
data
})
})
}
}
// 同步bpm人员数据
export
function
getBpmUser
()
{
return
request
({
url
:
'/system/usermanage/userManageCreate'
,
method
:
'post'
,
})
}
src/views/mes/pro/productionSolution/components/ProcessProd.vue
View file @
7f649f8c
...
@@ -134,8 +134,8 @@
...
@@ -134,8 +134,8 @@
<el-form-item
label=
"主副单位转换比例"
>
<el-form-item
label=
"主副单位转换比例"
>
<el-input
type=
"number"
v-model=
"form.unitConvert"
></el-input>
<el-input
type=
"number"
v-model=
"form.unitConvert"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"反冲"
>
<el-form-item
label=
"
是否
反冲"
>
<el-input
v-model=
"form.
idx
"
></el-input>
<el-input
v-model=
"form.
recoil
"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"备注"
>
<el-form-item
label=
"备注"
>
<el-input
v-model=
"form.remark"
type=
"textarea"
:rows=
"3"
></el-input>
<el-input
v-model=
"form.remark"
type=
"textarea"
:rows=
"3"
></el-input>
...
...
src/views/mes/pro/productionSolution/components/ProogingProcess.vue
View file @
7f649f8c
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<el-table-column
label=
"工序名称"
prop=
"processName"
align=
"center"
/>
<el-table-column
label=
"工序名称"
prop=
"processName"
align=
"center"
/>
<el-table-column
label=
"工作中心"
prop=
"workstationName"
align=
"center"
/>
<el-table-column
label=
"工作中心"
prop=
"workstationName"
align=
"center"
/>
<el-table-column
label=
"标准工时"
prop=
"stdWorkingTime"
align=
"center"
/>
<el-table-column
label=
"标准工时"
prop=
"stdWorkingTime"
align=
"center"
/>
<el-table-column
label=
"换
行
时间"
prop=
"lineBreakTime"
align=
"center"
/>
<el-table-column
label=
"换
形
时间"
prop=
"lineBreakTime"
align=
"center"
/>
<el-table-column
<el-table-column
label=
"工时单位"
label=
"工时单位"
prop=
"stdWorkingTimeUom"
prop=
"stdWorkingTimeUom"
...
...
src/views/mes/pro/request/components/arangeSelect.vue
View file @
7f649f8c
<
template
>
<
template
>
<el-dialog
title=
"
生产任务选择
"
<el-dialog
title=
"
编排单号
"
v-if=
"showFlag"
v-if=
"showFlag"
:visible
.
sync=
"showFlag"
:visible
.
sync=
"showFlag"
:modal=
false
:modal=
false
...
@@ -35,10 +35,9 @@
...
@@ -35,10 +35,9 @@
<el-radio
v-model=
"selectedTaskId"
:label=
"scope.row.taskCode + scope.row.arrangeCode"
@
change=
"handleRowChange(scope.row)"
>
{{
""
}}
</el-radio>
<el-radio
v-model=
"selectedTaskId"
:label=
"scope.row.taskCode + scope.row.arrangeCode"
@
change=
"handleRowChange(scope.row)"
>
{{
""
}}
</el-radio>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"任务编号"
align=
"center"
prop=
"taskCode"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"编排单号"
align=
"center"
prop=
"arrangeCode"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"编排单号"
align=
"center"
prop=
"arrangeCode"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"
工作中心编号"
align=
"center"
prop=
"workstation
Code"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"
生产工单"
align=
"center"
prop=
"workorder
Code"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"
工作中心名称"
align=
"center"
prop=
"workstationNam
e"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"
分组号"
align=
"center"
prop=
"groupCod
e"
:show-overflow-tooltip=
"true"
/>
<el-table-column
v-if=
"btnShow"
label=
"操作"
align=
"center"
width=
"100px"
class-name=
"small-padding fixed-width"
>
<el-table-column
v-if=
"btnShow"
label=
"操作"
align=
"center"
width=
"100px"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
...
...
src/views/system/user/index.vue
View file @
7f649f8c
...
@@ -131,6 +131,16 @@
...
@@ -131,6 +131,16 @@
v-hasPermi=
"['system:user:export']"
v-hasPermi=
"['system:user:export']"
>
导出
</el-button>
>
导出
</el-button>
</el-col>
</el-col>
<el-col
:span=
"1.5"
>
<el-button
:loading=
"syncLoading"
type=
"primary"
icon=
"el-icon-refresh"
size=
"mini"
@
click=
"handleSynchronism"
v-hasPermi=
"['mes:md:mditem:edit']"
>
同步
</el-button>
</el-col>
<right-toolbar
:showSearch
.
sync=
"showSearch"
@
queryTable=
"getList"
:columns=
"columns"
></right-toolbar>
<right-toolbar
:showSearch
.
sync=
"showSearch"
@
queryTable=
"getList"
:columns=
"columns"
></right-toolbar>
</el-row>
</el-row>
...
@@ -340,7 +350,7 @@
...
@@ -340,7 +350,7 @@
</template>
</template>
<
script
>
<
script
>
import
{
listUser
,
getUser
,
delUser
,
addUser
,
updateUser
,
resetUserPwd
,
changeUserStatus
}
from
"@/api/system/user"
;
import
{
listUser
,
getUser
,
delUser
,
addUser
,
updateUser
,
resetUserPwd
,
changeUserStatus
,
getBpmUser
}
from
"@/api/system/user"
;
import
{
getToken
}
from
"@/utils/auth"
;
import
{
getToken
}
from
"@/utils/auth"
;
import
{
treeselect
}
from
"@/api/system/dept"
;
import
{
treeselect
}
from
"@/api/system/dept"
;
import
Treeselect
from
"@riophae/vue-treeselect"
;
import
Treeselect
from
"@riophae/vue-treeselect"
;
...
@@ -376,6 +386,8 @@ export default {
...
@@ -376,6 +386,8 @@ export default {
deptName
:
undefined
,
deptName
:
undefined
,
// 默认密码
// 默认密码
initPassword
:
undefined
,
initPassword
:
undefined
,
syncLoading
:
false
,
// 日期范围
// 日期范围
dateRange
:
[],
dateRange
:
[],
// 岗位选项
// 岗位选项
...
@@ -481,6 +493,18 @@ export default {
...
@@ -481,6 +493,18 @@ export default {
treeselect
().
then
(
response
=>
{
treeselect
().
then
(
response
=>
{
this
.
deptOptions
=
response
.
data
;
this
.
deptOptions
=
response
.
data
;
});
});
},
/** 同步bpm人员管理 */
handleSynchronism
()
{
this
.
syncLoading
=
true
;
this
.
reset
();
getBpmUser
().
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
this
.
$modal
.
msgSuccess
(
"同步成功"
);
this
.
getList
();
}
this
.
syncLoading
=
false
;
});
},
},
// 筛选节点
// 筛选节点
filterNode
(
value
,
data
)
{
filterNode
(
value
,
data
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment