|
|
@ -1092,6 +1092,7 @@ export default { |
|
|
|
if (that.myMap) { |
|
|
|
if (that.myMap) { |
|
|
|
const id = that.goodsShelfTotalData[evt.oldIndex].id |
|
|
|
const id = that.goodsShelfTotalData[evt.oldIndex].id |
|
|
|
// 将物品从物品栏中取出 |
|
|
|
// 将物品从物品栏中取出 |
|
|
|
|
|
|
|
console.log('拖拽-物品栏移除了下列物品:', that.goodsShelfTotalData[evt.oldIndex]) |
|
|
|
that.outThingsGoods([id]) |
|
|
|
that.outThingsGoods([id]) |
|
|
|
// 将物品放入物品栏 |
|
|
|
// 将物品放入物品栏 |
|
|
|
that.pushThings({ idArr: [id], name: that.myMap }) |
|
|
|
that.pushThings({ idArr: [id], name: that.myMap }) |
|
|
@ -1120,6 +1121,7 @@ export default { |
|
|
|
else if (that.$refs.popUpSeal) { |
|
|
|
else if (that.$refs.popUpSeal) { |
|
|
|
|
|
|
|
|
|
|
|
const id = that.goodsShelfTotalData[evt.oldIndex].id |
|
|
|
const id = that.goodsShelfTotalData[evt.oldIndex].id |
|
|
|
|
|
|
|
console.log('印章的拖拽移除了下列物品:', that.goodsShelfTotalData[evt.oldIndex]) |
|
|
|
that.outThingsGoods([id]) |
|
|
|
that.outThingsGoods([id]) |
|
|
|
that.pushThings({ idArr: [id], name: that.myMap }) |
|
|
|
that.pushThings({ idArr: [id], name: that.myMap }) |
|
|
|
|
|
|
|
|
|
|
@ -1212,6 +1214,7 @@ export default { |
|
|
|
if (data.status == 200 && data.data.judgmentRuleReqs) { |
|
|
|
if (data.status == 200 && data.data.judgmentRuleReqs) { |
|
|
|
const list = data.data.judgmentRuleReqs.map(item => item.answerId) |
|
|
|
const list = data.data.judgmentRuleReqs.map(item => item.answerId) |
|
|
|
if (list.length) { |
|
|
|
if (list.length) { |
|
|
|
|
|
|
|
console.log('获取桌面上物品的缓存的时候移除了下列物品:', list) |
|
|
|
this.outThingsGoods([...list]) |
|
|
|
this.outThingsGoods([...list]) |
|
|
|
this.pushThings({ idArr: [...list], name: 'cultureIn' }) |
|
|
|
this.pushThings({ idArr: [...list], name: 'cultureIn' }) |
|
|
|
} |
|
|
|
} |
|
|
@ -1293,6 +1296,7 @@ export default { |
|
|
|
if (list.length) { |
|
|
|
if (list.length) { |
|
|
|
for (let i = 0; i < list.length; i++) { |
|
|
|
for (let i = 0; i < list.length; i++) { |
|
|
|
if (allKeys.includes(list[i])) { |
|
|
|
if (allKeys.includes(list[i])) { |
|
|
|
|
|
|
|
console.log('印章盒操作移除了下列物品:', stampJudge[list[i]]) |
|
|
|
this.outThingsGoods([...stampJudge[list[i]].delete]) |
|
|
|
this.outThingsGoods([...stampJudge[list[i]].delete]) |
|
|
|
this.pushThingsGoods([...stampJudge[list[i]].add]) |
|
|
|
this.pushThingsGoods([...stampJudge[list[i]].add]) |
|
|
|
} else { |
|
|
|
} else { |
|
|
@ -1318,6 +1322,7 @@ export default { |
|
|
|
this.pushThingsGoods([...list]) |
|
|
|
this.pushThingsGoods([...list]) |
|
|
|
this.outThings2({ name: 'moneyBox', index: 0 }) |
|
|
|
this.outThings2({ name: 'moneyBox', index: 0 }) |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
|
|
|
|
console.log('钱箱操作移除了下列物品:', list) |
|
|
|
this.outThingsGoods([...list]) |
|
|
|
this.outThingsGoods([...list]) |
|
|
|
this.pushThings({ idArr: [...list], name: 'moneyBox' }) |
|
|
|
this.pushThings({ idArr: [...list], name: 'moneyBox' }) |
|
|
|
} |
|
|
|
} |
|
|
@ -1335,6 +1340,7 @@ export default { |
|
|
|
if (data.status == 200 && data.data.judgmentRuleReqs) { |
|
|
|
if (data.status == 200 && data.data.judgmentRuleReqs) { |
|
|
|
const list = data.data.judgmentRuleReqs.map(item => item.answerId) |
|
|
|
const list = data.data.judgmentRuleReqs.map(item => item.answerId) |
|
|
|
if (list.length) { |
|
|
|
if (list.length) { |
|
|
|
|
|
|
|
console.log('返还资料操作移除了下列物品:', list) |
|
|
|
this.outThingsGoods([...list]) |
|
|
|
this.outThingsGoods([...list]) |
|
|
|
this.pushThings({ idArr: [...list], name: 'backPeople' }) |
|
|
|
this.pushThings({ idArr: [...list], name: 'backPeople' }) |
|
|
|
} |
|
|
|
} |
|
|
@ -1512,6 +1518,7 @@ export default { |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
this.controlGoodsDblClickFn = setTimeout(() => { |
|
|
|
this.controlGoodsDblClickFn = setTimeout(() => { |
|
|
|
if (this.myMap) { |
|
|
|
if (this.myMap) { |
|
|
|
|
|
|
|
console.log('物品栏双击操作移除了下列物品:', item) |
|
|
|
this.outThingsGoods([item.id]) |
|
|
|
this.outThingsGoods([item.id]) |
|
|
|
this.pushThings({ idArr: [item.id], name: this.myMap }) |
|
|
|
this.pushThings({ idArr: [item.id], name: this.myMap }) |
|
|
|
} else { |
|
|
|
} else { |
|
|
@ -1812,7 +1819,7 @@ export default { |
|
|
|
if (this.nbm == 0) { |
|
|
|
if (this.nbm == 0) { |
|
|
|
let projectId = sessionStorage.getItem('projectId') |
|
|
|
let projectId = sessionStorage.getItem('projectId') |
|
|
|
let startTime = sessionStorage.getItem('startTime') |
|
|
|
let startTime = sessionStorage.getItem('startTime') |
|
|
|
|
|
|
|
// debugger |
|
|
|
// 如果是在签字,返还资料。 |
|
|
|
// 如果是在签字,返还资料。 |
|
|
|
if (this.peopleDo === 1) { |
|
|
|
if (this.peopleDo === 1) { |
|
|
|
if (this.goodState.length === 0) { |
|
|
|
if (this.goodState.length === 0) { |
|
|
|