Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TF-MOM-WEB
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
TFMOM
TF-MOM-WEB
Commits
11e3922f
Commit
11e3922f
authored
Apr 18, 2024
by
15008242619
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://94.191.100.41/tfmom/tf-mom-web
into dev
parents
57388555
99fd3c5b
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
112 additions
and
18 deletions
+112
-18
index.vue
...c/commonComponents/components/GeneralUserSelect/index.vue
+56
-6
index.vue
...rivateComponents/components/ExtPositionUserLink/index.vue
+18
-1
index.vue
...s/assemblyPlanManagement/stationPlanMaintenance/index.vue
+1
-1
stationPlanList.vue
...PlanManagement/stationPlanMaintenance/stationPlanList.vue
+27
-1
index.vue
...c/views/taskExecution/components/ProblemDeclare/index.vue
+7
-8
index.vue
applications/dee-mes/src/views/taskExecution/index.vue
+3
-1
No files found.
applications/architecture-dee/src/commonComponents/components/GeneralUserSelect/index.vue
View file @
11e3922f
...
...
@@ -19,7 +19,7 @@
<el-option
v-for=
"citem in UserData"
:key=
"citem.id"
:label=
"citem.name"
:label=
"citem.name
+'('+citem.userAccount+')'
"
:value=
"basicData.subTypeName==='ScrapNoticeDoc'?`$
{citem.name}(${citem.userAccount})`:citem.id"
/>
</el-select>
...
...
@@ -27,7 +27,8 @@
</
template
>
<
script
>
import
{
getUsersByAccount
,
getFuzzyMatchUser
}
from
'@/api/user'
import
{
getFuzzyMatchUser
}
from
'@/api/user'
import
{
post
}
from
'@/utils/http'
import
config
from
'./config'
export
default
{
name
:
'GeneralUserSelect'
,
...
...
@@ -157,14 +158,63 @@ export default {
})
}
else
{
// 针对非审计页面查人
const
params
=
{
userAccount
:
query
,
containInnerUser
:
this
.
item
.
containInnerUse
||
false
}
// const params = { userAccount: query, containInnerUser: this.item.containInnerUse || false }
// if (this.item.secret) {
// params.secretCode = this.$store.state.user.userInfo.secretCode
// }
const
params
=
{
'pageFrom'
:
1
,
'pageSize'
:
200
,
'openProps'
:
[],
'sortItem'
:
[
{
'fieldName'
:
'modifyTime'
,
'sortOrder'
:
'desc'
}
],
'searchItems'
:
{
'operator'
:
'AND'
,
'children'
:
[
{
'items'
:
[
{
'fieldName'
:
'userAccount'
,
'operator'
:
'LIKE'
,
'value'
:
query
},
{
'fieldName'
:
'name'
,
'operator'
:
'LIKE'
,
'value'
:
query
}
],
'operator'
:
'OR'
},
{
'items'
:
[
{
'fieldName'
:
'enableFlag'
,
'operator'
:
'EQ'
,
'value'
:
true
}
],
'operator'
:
'AND'
}
]
}
}
if
(
this
.
item
.
secret
)
{
params
.
secretCode
=
this
.
$store
.
state
.
user
.
userInfo
.
secretCode
// params.secretCode = this.$store.state.user.userInfo.secretCode
params
.
searchItems
.
items
.
push
({
'fieldName'
:
'secretCode'
,
'operator'
:
'EQ'
,
'value'
:
this
.
$store
.
state
.
user
.
userInfo
.
secretCode
},)
}
this
.
loading
=
true
getUsersByAccount
(
params
)
post
(
'/DxUserInfo/search'
,
params
)
.
then
(
res
=>
{
this
.
UserData
=
res
.
items
?
res
.
items
:
[]
this
.
UserData
=
res
.
items
&&
res
.
items
.
content
?
res
.
items
.
content
:
[]
})
.
finally
(()
=>
{
this
.
loading
=
false
...
...
applications/dee-mes/src/privateComponents/components/ExtPositionUserLink/index.vue
View file @
11e3922f
...
...
@@ -81,6 +81,23 @@ export default {
if
(
this
.
item
.
secret
)
{
params
.
secretCode
=
this
.
$store
.
state
.
user
.
userInfo
.
secretCode
}
let
subTypeName
=
''
switch
(
this
.
item
.
title
)
{
case
'计划员'
:
subTypeName
=
'PositionPlanner'
break
case
'工程师'
:
subTypeName
=
'PositionEngineer'
break
case
'站位长'
:
subTypeName
=
'ExtPositionUserLink'
break
case
'准备工'
:
subTypeName
=
'PropareLink'
break
default
:
break
}
getUsersByAccount
(
params
).
then
(
res
=>
{
const
arr
=
[]
this
.
bindValue
.
forEach
(
item
=>
{
...
...
@@ -97,7 +114,7 @@ export default {
disabled
:
element
.
disabled
,
target
:
element
,
targetId
:
element
.
id
,
subTypeName
:
this
.
basicData
&&
this
.
basicData
.
propareLinks
&&
this
.
basicData
.
propareLinks
[
0
]
&&
this
.
basicData
.
propareLinks
[
0
].
subTypeName
||
''
subTypeName
:
this
.
basicData
&&
this
.
basicData
.
propareLinks
&&
this
.
basicData
.
propareLinks
[
0
]
&&
this
.
basicData
.
propareLinks
[
0
].
subTypeName
||
this
.
basicData
.
extPositionUserLinks
&&
this
.
basicData
.
extPositionUserLinks
[
0
]
&&
this
.
basicData
.
extPositionUserLinks
[
0
].
subTypeName
||
subTypeName
||
''
}
})
}
else
{
...
...
applications/dee-mes/src/views/assemblyPlanManagement/stationPlanMaintenance/index.vue
View file @
11e3922f
...
...
@@ -36,7 +36,7 @@
:lay-config=
"layConfig"
@
row-click=
"rowClick"
/>
-->
<stationPlanList
@
getMissData=
"getMissData"
/>
<stationPlanList
:state-options=
"stateOptions"
@
getMissData=
"getMissData"
/>
</div>
</
template
>
<
template
slot=
"paneR"
>
...
...
applications/dee-mes/src/views/assemblyPlanManagement/stationPlanMaintenance/stationPlanList.vue
View file @
11e3922f
...
...
@@ -83,12 +83,20 @@
<dee-as-com
ref=
"detailComSI2"
:key=
"layConfig2.typeName"
:basic-data=
"
{stateOptions}"
:lay-config="layConfig2"
table-height="calc(100vh - 200px)"
@row-click="rowClick"
/>
</div>
</dee-tab>
<span
v-if=
"areaUpdatingLists[form.sorties]==='Y'"
class=
"areaUpdateTip"
>
<i
class=
"el-icon-warning"
/>
<span>
温馨提示:
</span>
<span
class=
"tipInfo"
>
当前架次下区域正在更新中......
</span>
</span>
</div>
</
template
>
</dee-fold-pane>
...
...
@@ -99,6 +107,14 @@
import
{
post
}
from
'@/utils/http'
export
default
{
name
:
'StationPlanList'
,
props
:
{
stateOptions
:
{
type
:
Array
,
default
:
()
=>
{
return
[]
}
}
},
data
()
{
return
{
keyword
:
''
,
...
...
@@ -169,7 +185,8 @@ export default {
},
activeTab
:
'0'
,
activeNodeData
:
{},
currentNodekey
:
''
currentNodekey
:
''
,
areaUpdatingLists
:
{}
}
},
watch
:
{
...
...
@@ -388,7 +405,9 @@ export default {
res
.
items
.
content
.
unshift
(
res
.
items
.
content
.
splice
(
index
,
1
)[
0
])
}
})
this
.
areaUpdatingLists
=
{}
this
.
sortiesData
=
res
.
items
.
content
.
map
((
row
)
=>
{
this
.
areaUpdatingLists
[
row
.
id
]
=
row
.
areaUpdating
return
{
value
:
row
.
id
,
label
:
row
.
defName
...
...
@@ -771,8 +790,15 @@ export default {
}
}
.right-container
{
position
:
relative
;
// width: 82%;
margin-left
:
20px
;
.areaUpdateTip
{
position
:
absolute
;
top
:
20px
;
right
:
40px
;
color
:
#ff0000
;
}
}
}
</
style
>
applications/dee-mes/src/views/taskExecution/components/ProblemDeclare/index.vue
View file @
11e3922f
...
...
@@ -120,12 +120,11 @@
/>
</el-form-item>
</el-row>
<el-row>
<
!--
<
el-row>
<el-form-item
label=
"站位长/站位计划员/站位工程师"
prop=
"receiver"
label-width=
"250px"
>
<!--
<DxUserSelect
/>
-->
<GeneralUserSelect
v-model=
"form.receiver"
:item=
"
{multiple:true}" />
</el-form-item>
</el-row>
</el-row>
-->
</el-form>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
...
...
@@ -327,10 +326,10 @@ export default {
res
.
forEach
(
item
=>
{
result
.
push
({
operator
:
'ADD'
,
target
:
item
})
})
var
receiver
=
''
this
.
form
.
receiver
.
forEach
((
item
,
i
)
=>
{
receiver
+=
(
item
+
(
this
.
form
.
receiver
.
length
-
1
>
i
?
','
:
''
))
})
//
var receiver = ''
//
this.form.receiver.forEach((item, i) => {
//
receiver += (item + (this.form.receiver.length - 1 > i ? ',' : ''))
//
})
const
params
=
{
operator
:
'ADD'
,
subTypeName
:
'SpotProblem'
,
...
...
@@ -347,7 +346,7 @@ export default {
airModel
:
this
.
form
.
airModel
,
sorties
:
this
.
form
.
sorties
,
standPosition
:
this
.
form
.
standPosition
,
receiver
:
receiver
,
//
receiver: receiver,
objFileLinks
:
result
}
...
...
applications/dee-mes/src/views/taskExecution/index.vue
View file @
11e3922f
...
...
@@ -537,12 +537,14 @@
<el-drawer
v-if=
"drawerShowExperimentAdd"
title=
"试验申请"
size=
"50%"
class=
"DeeDrawerCmp"
size=
"70%"
append-to-body
:before-close=
"onClose"
:visible
.
sync=
"drawerShowExperimentAdd"
>
<dee-as-com
style=
"margin: 10px;"
:lay-config=
"
{
typeName: 'ExperimentRecord',
layKey: 'NotGeneral_Experiment_Create'
...
...
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