|
|
|
@ -83,9 +83,13 @@ |
|
|
|
<span slot="label" style="" @click="getUserList(4)"><a herf="#">CS人员</a></span> |
|
|
|
<el-input v-model="dataForm.csOperaterName" ref="csOperaterName" placeholder="请选择人员" readonly style="width: 130px" ></el-input> |
|
|
|
</el-form-item> |
|
|
|
<!-- <el-form-item >--> |
|
|
|
<!-- <span slot="label" style="" @click="getUserList(5)"><a herf="#">DCC人员</a></span>--> |
|
|
|
<!-- <el-input v-model="dataForm.dccOperaterName" ref="dccOperaterName" placeholder="请选择人员" readonly style="width: 130px" ></el-input>--> |
|
|
|
<!-- </el-form-item>--> |
|
|
|
<el-form-item > |
|
|
|
<span slot="label" style="" @click="getUserList(5)"><a herf="#">DCC人员</a></span> |
|
|
|
<el-input v-model="dataForm.dccOperaterName" ref="dccOperaterName" placeholder="请选择人员" readonly style="width: 130px" ></el-input> |
|
|
|
<span slot="label" style="" @click="dccChooseModal()"><a herf="#">DCC人员</a></span> |
|
|
|
<el-input v-model="dataForm.dcc" ref="dcc" readonly style="" @focus="dccChooseModal()" style="width: 130px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item > |
|
|
|
<span slot="label" style="" @click="getUserList(6)"><a herf="#">Select Technical</a></span> |
|
|
|
@ -339,7 +343,22 @@ |
|
|
|
layout="total, sizes, prev, pager, next, jumper"> |
|
|
|
</el-pagination> |
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
<el-dialog |
|
|
|
width="530px" |
|
|
|
title="DCC人员" |
|
|
|
:close-on-click-modal="false" |
|
|
|
:visible.sync="dccFlag"> |
|
|
|
<el-transfer v-model="dccList" class="rq" filterable :props="{ |
|
|
|
key: 'operatorId', |
|
|
|
label: 'operatorName' |
|
|
|
}" :data="operatorList" :titles="['未选择', '已选择']"></el-transfer> |
|
|
|
<span slot="footer" class="dialog-footer"> |
|
|
|
<div style="margin-top: 5px"> |
|
|
|
<el-button type="primary" @click="savetDccList()">确定</el-button> |
|
|
|
<el-button @click="dccFlag = false" type="primary">取消</el-button> |
|
|
|
</div> |
|
|
|
</span> |
|
|
|
</el-dialog> |
|
|
|
<Chooselist ref="baseList" @getBaseData="getBaseData"></Chooselist> |
|
|
|
<ChooseUser ref="userList" @getBaseData="getUserData"></ChooseUser> |
|
|
|
</div> |
|
|
|
@ -355,6 +374,7 @@ |
|
|
|
getTestPartChangeData, |
|
|
|
getProofingDataByUserRole, |
|
|
|
getFinalPartData, |
|
|
|
searchBMUser, |
|
|
|
} from "@/api/sampleManagement/technicalSpecificationList.js" |
|
|
|
import Chooselist from '@/views/modules/common/Chooselist' |
|
|
|
import ChooseUser from '@/views/modules/common/ChooseUser' |
|
|
|
@ -408,7 +428,11 @@ |
|
|
|
mpOperatorName:'', |
|
|
|
mpOperator:'', |
|
|
|
buNo:'', |
|
|
|
dcc:'', |
|
|
|
dccList:[], |
|
|
|
}, |
|
|
|
dccList:'', |
|
|
|
dccFlag:false, |
|
|
|
proofingSearch:{ |
|
|
|
projectId:'', |
|
|
|
proofingNo:'', |
|
|
|
@ -704,6 +728,14 @@ |
|
|
|
searchTechnicalSpecificationTeamStr(inData3).then(({data}) => { |
|
|
|
this.dataForm.engineerList=data.rows |
|
|
|
}) |
|
|
|
let inData5 = { |
|
|
|
site: this.dataForm.site, |
|
|
|
codeNo: this.dataForm.codeNo, |
|
|
|
type: 'dcc', |
|
|
|
} |
|
|
|
searchTechnicalSpecificationTeamStr(inData5).then(({data}) => { |
|
|
|
this.dataForm.dccList = data.rows |
|
|
|
}) |
|
|
|
this.visible = true |
|
|
|
}else { |
|
|
|
this.$alert('技术参数卡数据有误!', '错误', { |
|
|
|
@ -746,6 +778,9 @@ |
|
|
|
oriCodeNo:'', |
|
|
|
engineerNo:'', |
|
|
|
technicianNo:'', |
|
|
|
buNo:'', |
|
|
|
dcc:'', |
|
|
|
dccList:[], |
|
|
|
} |
|
|
|
this.visible = true |
|
|
|
} |
|
|
|
@ -925,7 +960,18 @@ |
|
|
|
this.dataForm.technicianList=JSON.parse(JSON.stringify(this.technicianList)); |
|
|
|
this.ownerFlag=false |
|
|
|
}, |
|
|
|
|
|
|
|
savetDccList(){ |
|
|
|
let dccName=''; |
|
|
|
for (let i = 0; i < this.dccList.length; i++) { |
|
|
|
let select= this.operatorList.filter(item => item.operatorId === this.dccList[i]) |
|
|
|
if(select.length>0){ |
|
|
|
dccName+=select[0].operatorName+';' |
|
|
|
} |
|
|
|
} |
|
|
|
this.dataForm.dcc=dccName |
|
|
|
this.dataForm.dccList=JSON.parse(JSON.stringify(this.dccList)); |
|
|
|
this.dccFlag=false |
|
|
|
}, |
|
|
|
// 表单提交 |
|
|
|
dataFormSubmit () { |
|
|
|
if(this.dataForm.testPartNo===''){ |
|
|
|
@ -1001,7 +1047,17 @@ |
|
|
|
this.pageIndex = val |
|
|
|
this.refreshPartList() |
|
|
|
}, |
|
|
|
|
|
|
|
dccChooseModal(){ |
|
|
|
let inData={ |
|
|
|
site:this.dataForm.site, |
|
|
|
buNo:this.dataForm.buNo, |
|
|
|
} |
|
|
|
searchBMUser(inData).then(({data}) => { |
|
|
|
this.operatorList=data.rows |
|
|
|
}) |
|
|
|
this.dccList = JSON.parse(JSON.stringify(this.dataForm.dccList)); |
|
|
|
this.dccFlag=true |
|
|
|
}, |
|
|
|
|
|
|
|
}, |
|
|
|
} |
|
|
|
|