|
|
|
@ -71,7 +71,14 @@ |
|
|
|
|
<img class="sth cipher-machine cp" v-lazy="lazyImg[20]" @click="showData('密码器',8)" alt="" /> |
|
|
|
|
</el-tooltip> |
|
|
|
|
|
|
|
|
|
<img class="sth employee" v-lazy="lazyImg[21]" alt="" /> |
|
|
|
|
<el-tooltip placement="top" popper-class="sth-popper" offset="50"> |
|
|
|
|
<div slot="content"> |
|
|
|
|
<div class="businessClass">展示业务列表</div> |
|
|
|
|
</div> |
|
|
|
|
<img class="sth employee" v-lazy="lazyImg[21]" @click="selectBusiness(true)" alt="" /> |
|
|
|
|
</el-tooltip> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-tooltip placement="top" popper-class="sth-popper" offset="-50"> |
|
|
|
|
<div slot="content"> |
|
|
|
@ -96,7 +103,8 @@ |
|
|
|
|
|
|
|
|
|
<!-- 物品栏 --> |
|
|
|
|
<div ref="goods" class="goods-dia" :class="{ active: showGoods }"> |
|
|
|
|
<div :id="item.name" v-for="(item, index) in goods" :key="index" class=" justify-center" :class="{ checked: checkList.includes(item.id),file:true }" @click="dblClickFn(item,'goods')"> |
|
|
|
|
<!-- goodsShelfTotalData --> |
|
|
|
|
<div :id="item.name" v-for="(item, index) in goodsShelfTotalData" :key="index" class=" justify-center" :class="{ checked: checkList.includes(item.id),file:true }" @click="dblClickFn(item,'goods')"> |
|
|
|
|
<img :style="item.name==='开户申请书'?'margin-top:10px;':''" :src="item.src" alt="" /> |
|
|
|
|
<p>{{item.name}}</p> |
|
|
|
|
</div> |
|
|
|
@ -111,7 +119,7 @@ |
|
|
|
|
<div class="dia-header"> |
|
|
|
|
<div class="data-title">{{ popText }}</div> |
|
|
|
|
<img class="close" v-lazy="lazyImg[28]" alt="" @click="closePop" /> |
|
|
|
|
</div>ko |
|
|
|
|
</div> |
|
|
|
|
<p v-if="popText=='密码器'" class="tips"></p> |
|
|
|
|
<p v-else-if="popText=='重要空白凭证箱'||popText=='普通凭证箱'" class="tips">- 请从以下物品中选取所需材料 -</p> |
|
|
|
|
<p v-else class="tips">- 请从物品栏选中或拖拽所需材料 -</p> |
|
|
|
@ -186,6 +194,31 @@ |
|
|
|
|
<img :src="imgSrc" class="imgPop" alt=""> |
|
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
|
<!-- 业务选择 --弹框 --> |
|
|
|
|
<el-dialog :visible.sync="showBusiness" style="width: 100%" @close="closeData" :close-on-click-modal="false" :show-close="false" custom-class="data-dia"> |
|
|
|
|
<div slot="title" class="dia-header2"> |
|
|
|
|
<div class="data-title2">什么</div> |
|
|
|
|
<div class="close"><img v-lazy="lazyImg[28]" alt="" @click="selectBusiness(false)" /></div> |
|
|
|
|
</div> |
|
|
|
|
<p class="tips">- 请单击选中复印材料、双击可放大预览 -</p> |
|
|
|
|
<ul class="list" style="justify-content: center"> |
|
|
|
|
<li :class="{checked: true}"> |
|
|
|
|
<img src="@/assets/img/idCard-sm.png" alt=""> |
|
|
|
|
<p>身份证</p> |
|
|
|
|
</li> |
|
|
|
|
|
|
|
|
|
<li :class="{checked: true}"> |
|
|
|
|
<el-image |
|
|
|
|
style="margin-top: -10" |
|
|
|
|
src="@/assets/img/idCard-sm.png" |
|
|
|
|
></el-image> |
|
|
|
|
<p>开户申请书</p> |
|
|
|
|
</li> |
|
|
|
|
</ul> |
|
|
|
|
<div class="dia-footer"> |
|
|
|
|
<button type="button" @click="selectBusiness(false)">确定</button> |
|
|
|
|
</div> |
|
|
|
|
</el-dialog> |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
@ -228,6 +261,7 @@ export default { |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
return { |
|
|
|
|
showBusiness: false, |
|
|
|
|
manageVisible: false, // 显示系统录入 |
|
|
|
|
checkList: [],// 物品栏选中 |
|
|
|
|
elseBoxCheck:[],/* 所有其他可从物品栏拖拽物品进入的弹框 */ |
|
|
|
@ -743,7 +777,10 @@ export default { |
|
|
|
|
}, |
|
|
|
|
showGoods:function() { |
|
|
|
|
return this.$store.state.system.showGoods |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
goodsOpen:function () {/* 物品栏的物品 */ |
|
|
|
|
return this.$store.state.system.goodsOpen |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
watch: { |
|
|
|
|
'$route.path': function (val) { |
|
|
|
@ -762,6 +799,7 @@ export default { |
|
|
|
|
}, |
|
|
|
|
showPop(newVal) { |
|
|
|
|
if(newVal) { |
|
|
|
|
if(this.popText === '重要空白凭证箱') { |
|
|
|
|
this.$nextTick(() => { |
|
|
|
|
const importanceArrClassArr = document.getElementsByClassName('importanceArrClass') |
|
|
|
|
for(let i=0;i<this.importanceArr.length;i++) { |
|
|
|
@ -794,7 +832,7 @@ export default { |
|
|
|
|
}) |
|
|
|
|
}; |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
@ -896,8 +934,14 @@ export default { |
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
...mapMutations({ |
|
|
|
|
changeShowGoods: 'system/changeShowGoods' |
|
|
|
|
changeShowGoods: 'system/changeShowGoods', |
|
|
|
|
setGoodsOpen: 'system/setGoodsOpen', |
|
|
|
|
removeGoodsOpen: 'system/removeGoodsOpen', |
|
|
|
|
addGoodsOpen: 'system/addGoodsOpen', |
|
|
|
|
}), |
|
|
|
|
selectBusiness(turn) { |
|
|
|
|
this.showBusiness = turn; |
|
|
|
|
}, |
|
|
|
|
dislodgeItem(index){ |
|
|
|
|
this.receptionList.splice(index,1); |
|
|
|
|
}, |
|
|
|
@ -915,7 +959,7 @@ export default { |
|
|
|
|
if(type == '系统'){ |
|
|
|
|
parentId = '285,287,5' |
|
|
|
|
} |
|
|
|
|
}else if(type == '身份证扫描仪' || type == '验钞机' || type == '资料' || type == '重要空白凭证箱'){ |
|
|
|
|
}else if(type == '身份证扫描仪' || type == '验钞机' || type == '资料' || type == '重要空白凭证箱' || type == '身份证扫描器'){ |
|
|
|
|
this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
let parentId = '' |
|
|
|
|
if(type == '重要空白凭证箱'){ |
|
|
|
@ -1065,347 +1109,18 @@ export default { |
|
|
|
|
}) |
|
|
|
|
}) |
|
|
|
|
this.$store.commit('system/changeGoods',{push:arr}) |
|
|
|
|
// 加东西 |
|
|
|
|
this.auditGoodsShelf.push({name:'银行卡', src:require('@/assets/img/goods/bankCard.png'), id:16}) // |
|
|
|
|
this.closePop() |
|
|
|
|
// this.changeShowGoods(false) |
|
|
|
|
clickList = [] |
|
|
|
|
this.importantChecked = [] |
|
|
|
|
this.$message.success('操作成功!') |
|
|
|
|
}else{ |
|
|
|
|
if (this.$store.state.system.id == '33'){ |
|
|
|
|
this.nbm = 33 |
|
|
|
|
this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('nomClientIdentity', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if (this.$store.state.system.id == '34'){ |
|
|
|
|
this.nbm = 34 |
|
|
|
|
this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('firmClientIdentity', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if (this.$store.state.system.id == '63'){ |
|
|
|
|
this.nbm = 63 |
|
|
|
|
this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('nomBusinessDepositCard', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if (this.$store.state.system.id == '64'){ |
|
|
|
|
this.nbm = 64 |
|
|
|
|
this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('nomCurrentWithdrawalCard', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
|
let accountPassword = ''; |
|
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
|
sessionStorage.setItem('nomCurrentWithdrawalPassword', accountPassword) |
|
|
|
|
} |
|
|
|
|
}else if (this.$store.state.system.id == '65'){ |
|
|
|
|
this.nbm = 65 |
|
|
|
|
this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('nomCurrentTransferCard', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
|
let accountPassword = ''; |
|
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
|
sessionStorage.setItem('nomCurrentTransferPassword', accountPassword) |
|
|
|
|
} |
|
|
|
|
}else if (this.$store.state.system.id == '66'){ |
|
|
|
|
this.nbm = 66 |
|
|
|
|
this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('nomCurrentSettleCard', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
|
let accountPassword = ''; |
|
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
|
sessionStorage.setItem('nomCurrentSettlePassword', accountPassword) |
|
|
|
|
} |
|
|
|
|
}else if (this.$store.state.system.id == '67,1'){ |
|
|
|
|
this.nbm = 67 |
|
|
|
|
this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('nomCurrentCancellCard1', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
}else if (this.$store.state.system.id == '67,2'){ |
|
|
|
|
this.nbm = 67 |
|
|
|
|
this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('nomCurrentCancellCard2', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
}else if (myConfig[this.$store.state.system.id]){ // myConfig[this.$store.state.system.id] |
|
|
|
|
|
|
|
|
|
const { nbm, name, isPassword } = myConfig[this.$store.state.system.id] |
|
|
|
|
this.nbm = nbm |
|
|
|
|
if(!isPassword) { |
|
|
|
|
this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem(name, JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
}else { |
|
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
|
let accountPassword = ''; |
|
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
|
sessionStorage.setItem(name, accountPassword) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}else if (this.$store.state.system.id == '67,3'){ |
|
|
|
|
this.nbm = 67 |
|
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
|
let accountPassword = ''; |
|
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
|
sessionStorage.setItem('nomCurrentCancellPassword', accountPassword) |
|
|
|
|
} |
|
|
|
|
}else if (this.$store.state.system.id == '62,1'){ |
|
|
|
|
this.nbm = 62 |
|
|
|
|
this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('accountVoucher', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
|
let accountPassword = ''; |
|
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
|
sessionStorage.setItem('accountPassword', accountPassword) |
|
|
|
|
} |
|
|
|
|
}else if (this.$store.state.system.id == '62,2'){ |
|
|
|
|
this.nbm = 62 |
|
|
|
|
this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('accountVoucherTwo', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
|
let accountPasswordTwo = '' |
|
|
|
|
accountPasswordTwo = this.passwordForm.passwordAgain |
|
|
|
|
sessionStorage.setItem('accountPasswordTwo', accountPasswordTwo) |
|
|
|
|
} |
|
|
|
|
}else if (this.$store.state.system.id == '62,3'){ |
|
|
|
|
this.nbm = 62 |
|
|
|
|
this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('accountVoucherThree', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
|
let accountPasswordThree = '' |
|
|
|
|
accountPasswordThree = this.passwordForm.passwordAgain |
|
|
|
|
sessionStorage.setItem('accountPasswordThree', accountPasswordThree) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
// this.toggleGoods() |
|
|
|
|
// else if(this.popText == '密码器'){ |
|
|
|
|
// if (this.nbm == 8){ |
|
|
|
|
// let formList = [] |
|
|
|
|
// let ruleReqs = sessionStorage.getItem('ruleReqs') |
|
|
|
|
// if (ruleReqs){formList = JSON.parse(ruleReqs);}else{formList = []} |
|
|
|
|
// for (var i=0;i<this.receptionList.length;i++){formList.push({"emptyOne": "18", "emptyTwo": this.passwordForm.passwordAgain, "operationIds": "287,282,"+this.receptionList[i].id,"type": "3"})} |
|
|
|
|
// sessionStorage.setItem('ruleReqs', JSON.stringify(formList)) |
|
|
|
|
// } |
|
|
|
|
// if(this.passwordForm.password && this.passwordForm.passwordAgain){ |
|
|
|
|
// if(this.passwordForm.password.length >=6 && this.passwordForm.passwordAgain.length >=6){ |
|
|
|
|
// if(this.passwordForm.password == this.passwordForm.passwordAgain) { |
|
|
|
|
// this.$store.commit('system/changePop', {show: false, text: ''}) |
|
|
|
|
// this.$message.success(`${this.popText}操作成功!`) |
|
|
|
|
// } |
|
|
|
|
// } |
|
|
|
|
// }else{ |
|
|
|
|
// this.$message.error('请输入密码和确认密码'); |
|
|
|
|
// } |
|
|
|
|
// }else{ |
|
|
|
|
// if (this.receptionList.length >0){ |
|
|
|
|
// let formList = [] |
|
|
|
|
// this.toggleGoods() |
|
|
|
|
// this.$message.success(`${this.popText}操作成功!`) |
|
|
|
|
// if (this.nbm == 0){ //用户 |
|
|
|
|
// }else if (this.nbm == 1){ //传票箱 |
|
|
|
|
// let projectId = sessionStorage.getItem('projectId') |
|
|
|
|
// let startTime = sessionStorage.getItem('startTime') |
|
|
|
|
// for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id,"emptyOne": "", "emptyTwo": "", "operationIds": "287,4,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
// let params= { |
|
|
|
|
// parentId:'287,4', |
|
|
|
|
// lcJudgmentRuleReq:formList, |
|
|
|
|
// projectId:+projectId, |
|
|
|
|
// startTime:startTime, |
|
|
|
|
// } |
|
|
|
|
// addOperation(params).then((data)=>{ |
|
|
|
|
// this.$message({ |
|
|
|
|
// message: '提交成功', |
|
|
|
|
// type: 'success' |
|
|
|
|
// }); |
|
|
|
|
// }).catch((error)=>{ |
|
|
|
|
// }) |
|
|
|
|
// }else if (this.nbm == 2){ //普通凭证箱 |
|
|
|
|
// let projectId = sessionStorage.getItem('projectId') |
|
|
|
|
// let startTime = sessionStorage.getItem('startTime') |
|
|
|
|
// for (var i=0;i<this.receptionList.length;i++){formList.push({ "answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "287,3,"+this.receptionList[i].id, "type": "" })} |
|
|
|
|
// let params= { |
|
|
|
|
// parentId:'287,3', |
|
|
|
|
// lcJudgmentRuleReq:formList, |
|
|
|
|
// projectId:+projectId, |
|
|
|
|
// startTime:startTime, |
|
|
|
|
// } |
|
|
|
|
// addOperation(params).then((data)=>{ |
|
|
|
|
// this.$message({ |
|
|
|
|
// message: '提交成功', |
|
|
|
|
// type: 'success' |
|
|
|
|
// }); |
|
|
|
|
// }).catch((error)=>{ |
|
|
|
|
// }) |
|
|
|
|
// }else if (this.nbm == 3){ //重要空白凭证箱 |
|
|
|
|
// let projectId = sessionStorage.getItem('projectId') |
|
|
|
|
// let startTime = sessionStorage.getItem('startTime') |
|
|
|
|
// for (var i=0;i<this.receptionList.length;i++){formList.push({ "answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "287,2,"+this.receptionList[i].id, "type": "" })} |
|
|
|
|
// let params= { |
|
|
|
|
// parentId:'287,2', |
|
|
|
|
// lcJudgmentRuleReq:formList, |
|
|
|
|
// projectId:+projectId, |
|
|
|
|
// startTime:startTime, |
|
|
|
|
// } |
|
|
|
|
// addOperation(params).then((data)=>{ |
|
|
|
|
// this.$message({ |
|
|
|
|
// message: '提交成功', |
|
|
|
|
// type: 'success' |
|
|
|
|
// }); |
|
|
|
|
// }).catch((error)=>{ |
|
|
|
|
// }) |
|
|
|
|
// }else if (this.nbm == 4){ //钱箱 |
|
|
|
|
// let projectId = sessionStorage.getItem('projectId') |
|
|
|
|
// let startTime = sessionStorage.getItem('startTime') |
|
|
|
|
// let formList = []; |
|
|
|
|
// for (var i=0;i<this.receptionList.length;i++){formList.push({ |
|
|
|
|
// "answerId":this.receptionList[i].id, |
|
|
|
|
// "emptyOne": "", |
|
|
|
|
// "emptyTwo": "", |
|
|
|
|
// "operationIds": "287,1,"+this.receptionList[i].id, |
|
|
|
|
// "type": "" })} |
|
|
|
|
// let params= { |
|
|
|
|
// parentId:'287,1', |
|
|
|
|
// lcJudgmentRuleReq:formList, |
|
|
|
|
// projectId:+projectId, |
|
|
|
|
// startTime:startTime, |
|
|
|
|
// } |
|
|
|
|
// addOperation(params).then((data)=>{ |
|
|
|
|
// this.$message({ |
|
|
|
|
// message: '提交成功', |
|
|
|
|
// type: 'success' |
|
|
|
|
// }); |
|
|
|
|
// }).catch((error)=>{ |
|
|
|
|
// }) |
|
|
|
|
// }else if (this.nbm == 5){ //印章盒 |
|
|
|
|
// let projectId = sessionStorage.getItem('projectId') |
|
|
|
|
// let startTime = sessionStorage.getItem('startTime') |
|
|
|
|
// for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "287,8,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
// let params= { |
|
|
|
|
// parentId:'287,8', |
|
|
|
|
// lcJudgmentRuleReq:formList, |
|
|
|
|
// projectId:+projectId, |
|
|
|
|
// startTime:startTime, |
|
|
|
|
// } |
|
|
|
|
// addOperation(params).then((data)=>{ |
|
|
|
|
// this.$message({ |
|
|
|
|
// message: '提交成功', |
|
|
|
|
// type: 'success' |
|
|
|
|
// }); |
|
|
|
|
// }).catch((error)=>{ |
|
|
|
|
// }) |
|
|
|
|
// }else if (this.nbm == 6){ //验钞机 |
|
|
|
|
// let projectId = sessionStorage.getItem('projectId') |
|
|
|
|
// let startTime = sessionStorage.getItem('startTime') |
|
|
|
|
// for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "287,9,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
// let params= { |
|
|
|
|
// parentId:'287,9', |
|
|
|
|
// lcJudgmentRuleReq:formList, |
|
|
|
|
// projectId:+projectId, |
|
|
|
|
// startTime:startTime, |
|
|
|
|
// } |
|
|
|
|
// addOperation(params).then((data)=>{ |
|
|
|
|
// this.$message({ |
|
|
|
|
// message: '提交成功', |
|
|
|
|
// type: 'success' |
|
|
|
|
// }); |
|
|
|
|
// }).catch((error)=>{ |
|
|
|
|
// }) |
|
|
|
|
// }else if (this.nbm == 7){ //打印机 |
|
|
|
|
// let projectId = sessionStorage.getItem('projectId') |
|
|
|
|
// let startTime = sessionStorage.getItem('startTime') |
|
|
|
|
// for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "287,10,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
// let params= { |
|
|
|
|
// parentId:'0,10', |
|
|
|
|
// lcJudgmentRuleReq:formList, |
|
|
|
|
// projectId:+projectId, |
|
|
|
|
// startTime:startTime, |
|
|
|
|
// } |
|
|
|
|
// addOperation(params).then((data)=>{ |
|
|
|
|
// this.$message({ |
|
|
|
|
// message: '提交成功', |
|
|
|
|
// type: 'success' |
|
|
|
|
// }); |
|
|
|
|
// }).catch((error)=>{ |
|
|
|
|
// }) |
|
|
|
|
// }else if (this.nbm == 9){//资料 |
|
|
|
|
// let projectId = sessionStorage.getItem('projectId') |
|
|
|
|
// let startTime = sessionStorage.getItem('startTime') |
|
|
|
|
// for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "0,11,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
// let params= { |
|
|
|
|
// parentId:'0,11', |
|
|
|
|
// lcJudgmentRuleReq:formList, |
|
|
|
|
// projectId:+projectId, |
|
|
|
|
// startTime:startTime, |
|
|
|
|
// } |
|
|
|
|
// addOperation(params).then((data)=>{ |
|
|
|
|
// this.$message({ |
|
|
|
|
// message: '提交成功', |
|
|
|
|
// type: 'success' |
|
|
|
|
// }); |
|
|
|
|
// }).catch((error)=>{ |
|
|
|
|
// }) |
|
|
|
|
// }else if (this.nbm == 10){ //刷卡器 |
|
|
|
|
// let projectId = sessionStorage.getItem('projectId') |
|
|
|
|
// let startTime = sessionStorage.getItem('startTime') |
|
|
|
|
// for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "0,6,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
// let params= { |
|
|
|
|
// parentId:'0,6', |
|
|
|
|
// lcJudgmentRuleReq:formList, |
|
|
|
|
// projectId:+projectId, |
|
|
|
|
// startTime:startTime, |
|
|
|
|
// } |
|
|
|
|
// addOperation(params).then((data)=>{ |
|
|
|
|
// this.$message({ |
|
|
|
|
// message: '提交成功', |
|
|
|
|
// type: 'success' |
|
|
|
|
// }); |
|
|
|
|
// }).catch((error)=>{ |
|
|
|
|
// }) |
|
|
|
|
// }else if (this.nbm == 11){ //身份证扫描仪 |
|
|
|
|
// let projectId = sessionStorage.getItem('projectId') |
|
|
|
|
// let startTime = sessionStorage.getItem('startTime') |
|
|
|
|
// for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "0,7,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
// let params= { |
|
|
|
|
// parentId:'0,7', |
|
|
|
|
// lcJudgmentRuleReq:formList, |
|
|
|
|
// projectId:+projectId, |
|
|
|
|
// startTime:startTime, |
|
|
|
|
// } |
|
|
|
|
// addOperation(params).then((data)=>{ |
|
|
|
|
// this.$message({ |
|
|
|
|
// message: '提交成功', |
|
|
|
|
// type: 'success' |
|
|
|
|
// }); |
|
|
|
|
// }).catch((error)=>{ |
|
|
|
|
// }) |
|
|
|
|
// }else{ |
|
|
|
|
if(this.popText == '密码器'){ |
|
|
|
|
}else if(this.popText == '密码器'){ |
|
|
|
|
if (this.nbm == 8){ |
|
|
|
|
let formList = [] |
|
|
|
|
let ruleReqs = sessionStorage.getItem('ruleReqs') |
|
|
|
|
if (ruleReqs){formList = JSON.parse(ruleReqs);}else{formList = []} |
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"emptyOne": "18", "emptyTwo": this.passwordForm.passwordAgain, "operationIds": "285,287,282,"+this.receptionList[i].id,"type": "3"})} |
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"emptyOne": "18", "emptyTwo": this.passwordForm.passwordAgain, "operationIds": "287,282,"+this.receptionList[i].id,"type": "3"})} |
|
|
|
|
sessionStorage.setItem('ruleReqs', JSON.stringify(formList)) |
|
|
|
|
} |
|
|
|
|
if(this.passwordForm.password && this.passwordForm.passwordAgain){ |
|
|
|
@ -1423,13 +1138,15 @@ export default { |
|
|
|
|
let formList = [] |
|
|
|
|
this.toggleGoods() |
|
|
|
|
this.$message.success(`${this.popText}操作成功!`) |
|
|
|
|
this.$store.commit('system/changePop',{show:false,text:''}) // 关闭弹窗 |
|
|
|
|
console.log('---关闭弹窗') |
|
|
|
|
if (this.nbm == 0){ //用户 |
|
|
|
|
}else if (this.nbm == 1){ //传票箱 |
|
|
|
|
let projectId = sessionStorage.getItem('projectId') |
|
|
|
|
let startTime = sessionStorage.getItem('startTime') |
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id,"emptyOne": "", "emptyTwo": "", "operationIds": "285,287,4,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id,"emptyOne": "", "emptyTwo": "", "operationIds": "287,4,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
let params= { |
|
|
|
|
parentId:'285,287,4', |
|
|
|
|
parentId:'287,4', |
|
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
|
projectId:+projectId, |
|
|
|
|
startTime:startTime, |
|
|
|
@ -1444,9 +1161,9 @@ export default { |
|
|
|
|
}else if (this.nbm == 2){ //普通凭证箱 |
|
|
|
|
let projectId = sessionStorage.getItem('projectId') |
|
|
|
|
let startTime = sessionStorage.getItem('startTime') |
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({ "answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285,287,3,"+this.receptionList[i].id, "type": "" })} |
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({ "answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "287,3,"+this.receptionList[i].id, "type": "" })} |
|
|
|
|
let params= { |
|
|
|
|
parentId:'285,287,3', |
|
|
|
|
parentId:'287,3', |
|
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
|
projectId:+projectId, |
|
|
|
|
startTime:startTime, |
|
|
|
@ -1461,9 +1178,9 @@ export default { |
|
|
|
|
}else if (this.nbm == 3){ //重要空白凭证箱 |
|
|
|
|
let projectId = sessionStorage.getItem('projectId') |
|
|
|
|
let startTime = sessionStorage.getItem('startTime') |
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({ "answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285,287,2,"+this.receptionList[i].id, "type": "" })} |
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({ "answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "287,2,"+this.receptionList[i].id, "type": "" })} |
|
|
|
|
let params= { |
|
|
|
|
parentId:'285,287,2', |
|
|
|
|
parentId:'287,2', |
|
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
|
projectId:+projectId, |
|
|
|
|
startTime:startTime, |
|
|
|
@ -1483,10 +1200,10 @@ export default { |
|
|
|
|
"answerId":this.receptionList[i].id, |
|
|
|
|
"emptyOne": "", |
|
|
|
|
"emptyTwo": "", |
|
|
|
|
"operationIds": "285,287,1,"+this.receptionList[i].id, |
|
|
|
|
"operationIds": "287,1,"+this.receptionList[i].id, |
|
|
|
|
"type": "" })} |
|
|
|
|
let params= { |
|
|
|
|
parentId:'285,287,1', |
|
|
|
|
parentId:'287,1', |
|
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
|
projectId:+projectId, |
|
|
|
|
startTime:startTime, |
|
|
|
@ -1501,9 +1218,9 @@ export default { |
|
|
|
|
}else if (this.nbm == 5){ //印章盒 |
|
|
|
|
let projectId = sessionStorage.getItem('projectId') |
|
|
|
|
let startTime = sessionStorage.getItem('startTime') |
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285,287,8,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "287,8,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
let params= { |
|
|
|
|
parentId:'285,287,8', |
|
|
|
|
parentId:'287,8', |
|
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
|
projectId:+projectId, |
|
|
|
|
startTime:startTime, |
|
|
|
@ -1518,9 +1235,9 @@ export default { |
|
|
|
|
}else if (this.nbm == 6){ //验钞机 |
|
|
|
|
let projectId = sessionStorage.getItem('projectId') |
|
|
|
|
let startTime = sessionStorage.getItem('startTime') |
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285,287,9,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "287,9,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
let params= { |
|
|
|
|
parentId:'285,287,9', |
|
|
|
|
parentId:'287,9', |
|
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
|
projectId:+projectId, |
|
|
|
|
startTime:startTime, |
|
|
|
@ -1535,7 +1252,7 @@ export default { |
|
|
|
|
}else if (this.nbm == 7){ //打印机 |
|
|
|
|
let projectId = sessionStorage.getItem('projectId') |
|
|
|
|
let startTime = sessionStorage.getItem('startTime') |
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285,287,10,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "287,10,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
let params= { |
|
|
|
|
parentId:'0,10', |
|
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
@ -1600,16 +1317,140 @@ export default { |
|
|
|
|
}); |
|
|
|
|
}).catch((error)=>{ |
|
|
|
|
}) |
|
|
|
|
}else{} |
|
|
|
|
// } |
|
|
|
|
// this.$store.commit('system/changePop',{show:false,text:''}) |
|
|
|
|
// this.receptionList = []; |
|
|
|
|
// }else{ |
|
|
|
|
// this.$message.error('请从物品栏中拖拽所需资料'); |
|
|
|
|
// } |
|
|
|
|
// } |
|
|
|
|
}else{ |
|
|
|
|
this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.$store.state.system.id == '33'){ |
|
|
|
|
this.nbm = 33 |
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('nomClientIdentity', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if (this.$store.state.system.id == '34'){ |
|
|
|
|
this.nbm = 34 |
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('firmClientIdentity', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if (this.$store.state.system.id == '63'){ |
|
|
|
|
this.nbm = 63 |
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('nomBusinessDepositCard', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if (this.$store.state.system.id == '64'){ |
|
|
|
|
this.nbm = 64 |
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('nomCurrentWithdrawalCard', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
|
let accountPassword = ''; |
|
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
|
sessionStorage.setItem('nomCurrentWithdrawalPassword', accountPassword) |
|
|
|
|
} |
|
|
|
|
}else if (this.$store.state.system.id == '65'){ |
|
|
|
|
this.nbm = 65 |
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('nomCurrentTransferCard', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
|
let accountPassword = ''; |
|
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
|
sessionStorage.setItem('nomCurrentTransferPassword', accountPassword) |
|
|
|
|
} |
|
|
|
|
}else if (this.$store.state.system.id == '66'){ |
|
|
|
|
this.nbm = 66 |
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('nomCurrentSettleCard', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
|
let accountPassword = ''; |
|
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
|
sessionStorage.setItem('nomCurrentSettlePassword', accountPassword) |
|
|
|
|
} |
|
|
|
|
}else if (this.$store.state.system.id == '67,1'){ |
|
|
|
|
this.nbm = 67 |
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('nomCurrentCancellCard1', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
}else if (this.$store.state.system.id == '67,2'){ |
|
|
|
|
this.nbm = 67 |
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('nomCurrentCancellCard2', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
}else if (myConfig[this.$store.state.system.id]){ // myConfig[this.$store.state.system.id] |
|
|
|
|
|
|
|
|
|
const { nbm, name, isPassword } = myConfig[this.$store.state.system.id] |
|
|
|
|
this.nbm = nbm |
|
|
|
|
if(!isPassword) { |
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem(name, JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
}else { |
|
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
|
let accountPassword = ''; |
|
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
|
sessionStorage.setItem(name, accountPassword) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}else if (this.$store.state.system.id == '67,3'){ |
|
|
|
|
this.nbm = 67 |
|
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
|
let accountPassword = ''; |
|
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
|
sessionStorage.setItem('nomCurrentCancellPassword', accountPassword) |
|
|
|
|
} |
|
|
|
|
}else if (this.$store.state.system.id == '62,1'){ |
|
|
|
|
this.nbm = 62 |
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('accountVoucher', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
|
let accountPassword = ''; |
|
|
|
|
accountPassword = this.passwordForm.passwordAgain |
|
|
|
|
sessionStorage.setItem('accountPassword', accountPassword) |
|
|
|
|
} |
|
|
|
|
}else if (this.$store.state.system.id == '62,2'){ |
|
|
|
|
this.nbm = 62 |
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('accountVoucherTwo', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
|
let accountPasswordTwo = '' |
|
|
|
|
accountPasswordTwo = this.passwordForm.passwordAgain |
|
|
|
|
sessionStorage.setItem('accountPasswordTwo', accountPasswordTwo) |
|
|
|
|
} |
|
|
|
|
}else if (this.$store.state.system.id == '62,3'){ |
|
|
|
|
this.nbm = 62 |
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
sessionStorage.setItem('accountVoucherThree', JSON.stringify(this.receptionList)) |
|
|
|
|
} |
|
|
|
|
if (this.passwordForm.passwordAgain){ |
|
|
|
|
let accountPasswordThree = '' |
|
|
|
|
accountPasswordThree = this.passwordForm.passwordAgain |
|
|
|
|
sessionStorage.setItem('accountPasswordThree', accountPasswordThree) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
// this.toggleGoods() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
toPart(){ |
|
|
|
|
this.$router.push('/index') |
|
|
|
@ -1617,12 +1458,22 @@ export default { |
|
|
|
|
judgePosition(evt) { |
|
|
|
|
const targetDom = this.$refs.goods.getBoundingClientRect() |
|
|
|
|
return evt.originalEvent.pageX<targetDom.right&&evt.originalEvent.pageX>targetDom.left && evt.originalEvent.pageY<targetDom.bottom&&evt.originalEvent.pageY>targetDom.top |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
|
|
.businessClass { |
|
|
|
|
width: 300px; |
|
|
|
|
height: 100px; |
|
|
|
|
background-color: skyblue; |
|
|
|
|
text-align: center; |
|
|
|
|
line-height: 100px; |
|
|
|
|
font-size: 23px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.wrap { |
|
|
|
|
.bg { |
|
|
|
|
top: 0; |
|
|
|
@ -1660,6 +1511,7 @@ export default { |
|
|
|
|
// top: 57%; |
|
|
|
|
// left: 42%; |
|
|
|
|
// width: 23%; |
|
|
|
|
cursor: pointer; |
|
|
|
|
top: 50vh; |
|
|
|
|
left: 40vw; |
|
|
|
|
width: 23vw; |
|
|
|
@ -2690,6 +2542,30 @@ export default { |
|
|
|
|
cursor: pointer; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
.dia-header2 { |
|
|
|
|
position: relative;height: 50px; |
|
|
|
|
line-height: 50px; |
|
|
|
|
background-color: skyblue; |
|
|
|
|
|
|
|
|
|
.data-title2 { |
|
|
|
|
position: absolute; |
|
|
|
|
left: 15px; |
|
|
|
|
height: 50px; |
|
|
|
|
line-height: 50px; |
|
|
|
|
} |
|
|
|
|
.close { |
|
|
|
|
height: 50px; |
|
|
|
|
position: absolute; |
|
|
|
|
right: 15px; |
|
|
|
|
cursor: pointer; |
|
|
|
|
display: flex; |
|
|
|
|
flex-direction: column; |
|
|
|
|
justify-content: center; |
|
|
|
|
img { |
|
|
|
|
vertical-align: center; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
.tips { |
|
|
|
|
margin: 20px 0 50px; |
|
|
|
|
text-align: center; |
|
|
|
|