@@ -450,6 +450,7 @@ export default {
// 弹出层标题
title: '',
isView: false, //是否为查看
+ isPlural:false,
dialogIsView: false, //弹窗是否为查看
openIn: false,
// 日期范围
@@ -543,7 +544,18 @@ export default {
getList() {
this.loading = true
receiveView(this.queryParams).then(response => {
- this.deviceList = response.data.rows
+ this.deviceList = response.data.rows;
+ this.deviceList.forEach(item=>{
+ if(item.manageType=='0'||item.manageType=='1'){
+ item.partNum = item.num
+ }else{
+ item.partNum = item.partNum
+ }
+ if(item.maTypeDetails.length>0){
+ this.isPlural=true;
+ }
+ })
+
this.total = response.data.total
this.loading = false
}).catch(() => {
@@ -863,7 +875,7 @@ export default {
arr = this.codeSelectList.map(item => {
return {
parentId: this.codeQuery.parentId,
- typeId: item.modelId,
+ typeId: item.typeId,
backNum: 1,
backStatus: type,
manageType: 0,
@@ -875,7 +887,7 @@ export default {
taskId: this.codeQuery.taskId,
arr: arr,
}
- // console.log(param)
+ console.log(param)
setCodeBack(param).then(response => {
if (response.code == 200) {
this.$modal.msgSuccess('操作成功')