Commit 6599fca4 authored by jiaxu.yan's avatar jiaxu.yan

Merge branch 'develop' into developer/yanjiaxu

parents ea52464a 43bc470b
...@@ -297,15 +297,15 @@ ...@@ -297,15 +297,15 @@
/> />
</el-form> </el-form>
<!-- 文件上传 --> <!-- 文件上传 -->
<div class="tip-navigation"> <!-- <div class="tip-navigation">-->
<div class="tip"></div> <!-- <div class="tip"></div>-->
<div class="tip-title">文件信息</div> <!-- <div class="tip-title">文件信息</div>-->
</div> <!-- </div>-->
<DocumentInfo <!-- <DocumentInfo-->
class="global-left-margin" <!-- class="global-left-margin"-->
:pass-data="passDocumentInfoArr" <!-- :pass-data="passDocumentInfoArr"-->
@change="handleDocumentInfoChange" <!-- @change="handleDocumentInfoChange"-->
/> <!-- />-->
<!--返回按钮--> <!--返回按钮-->
<div class="bottom-btn"> <div class="bottom-btn">
<footer-button <footer-button
...@@ -348,7 +348,6 @@ export default { ...@@ -348,7 +348,6 @@ export default {
'inspection_item' 'inspection_item'
], ],
components: { components: {
DocumentInfo,
CarInfo, CarInfo,
PartInfo PartInfo
}, },
...@@ -790,9 +789,11 @@ export default { ...@@ -790,9 +789,11 @@ export default {
}, },
getUserByRole() { getUserByRole() {
getUserByRole({ roleName: '检验员' }).then(response => { getUserByRole({ roleName: '检验员' }).then(response => {
this.userList = response.data.map(obj => { this.userList = response.data
return { ...obj, disabled: false } .filter(obj => obj.status.toString() !== '1')
}) .map(obj => {
return { ...obj, disabled: false }
})
console.log('this.userList-1', this.userList) console.log('this.userList-1', this.userList)
this.getInspectionItemDict() this.getInspectionItemDict()
}) })
......
...@@ -296,15 +296,15 @@ ...@@ -296,15 +296,15 @@
/> />
</el-form> </el-form>
<!-- 文件上传 --> <!-- 文件上传 -->
<div class="tip-navigation"> <!-- <div class="tip-navigation">-->
<div class="tip"></div> <!-- <div class="tip"></div>-->
<div class="tip-title">文件信息</div> <!-- <div class="tip-title">文件信息</div>-->
</div> <!-- </div>-->
<DocumentInfo <!-- <DocumentInfo-->
class="global-left-margin" <!-- class="global-left-margin"-->
:pass-data="passDocumentInfoArr" <!-- :pass-data="passDocumentInfoArr"-->
@change="handleDocumentChange" <!-- @change="handleDocumentChange"-->
/> <!-- />-->
<!--返回按钮--> <!--返回按钮-->
<div class="bottom-btn"> <div class="bottom-btn">
<footer-button <footer-button
...@@ -347,7 +347,6 @@ export default { ...@@ -347,7 +347,6 @@ export default {
'inspection_item' 'inspection_item'
], ],
components: { components: {
DocumentInfo,
CarInfo, CarInfo,
PartInfo PartInfo
}, },
...@@ -804,9 +803,11 @@ export default { ...@@ -804,9 +803,11 @@ export default {
}, },
getUserByRole() { getUserByRole() {
getUserByRole({ roleName: '检验员' }).then(response => { getUserByRole({ roleName: '检验员' }).then(response => {
this.userList = response.data.map(obj => { this.userList = response.data
return { ...obj, disabled: false } .filter(obj => obj.status.toString() !== '1')
}) .map(obj => {
return { ...obj, disabled: false }
})
console.log('this.userList-1', this.userList) console.log('this.userList-1', this.userList)
this.getInspectionItemDict() this.getInspectionItemDict()
}) })
......
...@@ -205,7 +205,7 @@ ...@@ -205,7 +205,7 @@
> >
<el-table-column label="姓名" align="left" prop="nickName"> <el-table-column label="姓名" align="left" prop="nickName">
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<span v-if="row.userId !== ''">{{ row.name }}</span> <span>{{ row.name }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="组内角色" align="left" prop="role"> <el-table-column label="组内角色" align="left" prop="role">
...@@ -250,15 +250,15 @@ ...@@ -250,15 +250,15 @@
@change="handleModChange" @change="handleModChange"
/> />
<!-- 文件上传 --> <!-- 文件上传 -->
<div class="tip-navigation"> <!-- <div class="tip-navigation">-->
<div class="tip"></div> <!-- <div class="tip"></div>-->
<div class="tip-title">文件信息</div> <!-- <div class="tip-title">文件信息</div>-->
</div> <!-- </div>-->
<DocumentInfo <!-- <DocumentInfo-->
class="global-left-margin" <!-- class="global-left-margin"-->
:pass-data="passDocumentInfoArr" <!-- :pass-data="passDocumentInfoArr"-->
:is-detail="true" <!-- :is-detail="true"-->
/> <!-- />-->
</el-form> </el-form>
</page-standard> </page-standard>
</template> </template>
...@@ -281,7 +281,6 @@ export default { ...@@ -281,7 +281,6 @@ export default {
'inspection_item' 'inspection_item'
], ],
components: { components: {
DocumentInfo,
CarInfo, CarInfo,
PartInfo PartInfo
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment