|
|
|
@ -75,7 +75,7 @@ |
|
|
|
|
<div slot="content"> |
|
|
|
|
<div class="businessClass">展示业务列表</div> |
|
|
|
|
</div> |
|
|
|
|
<img class="sth employee" v-lazy="lazyImg[21]" @click="selectBusiness(true)" alt="" /> |
|
|
|
|
<img class="sth employee" v-lazy="lazyImg[21]" @click="showBusinessSelect(true)" alt="" /> |
|
|
|
|
</el-tooltip> |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -103,7 +103,7 @@ |
|
|
|
|
|
|
|
|
|
<!-- 物品栏 --> |
|
|
|
|
<div ref="goods" class="goods-dia" :class="{ active: showGoods }"> |
|
|
|
|
<!-- goodsShelfTotalData --> |
|
|
|
|
<!-- goodsShelfTotalData goods2 --> |
|
|
|
|
<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> |
|
|
|
@ -198,19 +198,19 @@ |
|
|
|
|
<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 class="close"><img v-lazy="lazyImg[28]" alt="" @click="showBusinessSelect(false)" /></div> |
|
|
|
|
</div> |
|
|
|
|
<p class="tips2">python程序设计 | 请选择您要做的项目实验</p> |
|
|
|
|
<ul class="take-list2"> |
|
|
|
|
<li v-for="(item, index) in businessArr" :class="{checked: takeCheck == index}" :key="index" @click="checkTake(index)"> |
|
|
|
|
<li v-for="(item) in businessArr" :class="{checked: takeCheck == item.myKey}" :key="item.myKey" @click="checkTake(item.myKey)"> |
|
|
|
|
<img v-lazy="item.img" alt=""> |
|
|
|
|
<p>{{ item.text}}</p> |
|
|
|
|
<p>{{ item.myKey + item.text}}</p> |
|
|
|
|
</li> |
|
|
|
|
</ul> |
|
|
|
|
<div class="dia-footer2"> |
|
|
|
|
<div class='busyButtonBox'> |
|
|
|
|
<el-button @click="selectBusiness(false)">取消</el-button> |
|
|
|
|
<el-button type="primary" @click="selectBusiness(false)">确定</el-button> |
|
|
|
|
<el-button @click="showBusinessSelect(false)">取消</el-button> |
|
|
|
|
<el-button type="primary" @click="selectBusiness(takeCheck)">确定</el-button> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</el-dialog> |
|
|
|
@ -218,7 +218,7 @@ |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
|
import { mapState, mapMutations } from 'vuex'; |
|
|
|
|
import { mapState, mapMutations, mapGetters } from 'vuex'; |
|
|
|
|
import Sortable from 'sortablejs' |
|
|
|
|
import manage from '../../manage/index'; |
|
|
|
|
import { addOperation, getOperation } from '@/api/http'; |
|
|
|
@ -256,12 +256,143 @@ export default { |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
return { |
|
|
|
|
takeCheck: -1, // 选择业务逻辑 |
|
|
|
|
takeCheck: '', // 选择业务逻辑 myKey用来确定选择哪个项目 |
|
|
|
|
businessArr: [ |
|
|
|
|
{ |
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
text: '第一个' |
|
|
|
|
myKey: '项目一', |
|
|
|
|
text: ': 个人活期开户、存款' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
myKey: '项目二', |
|
|
|
|
text: ': 个人活期转账、取款、销户' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
myKey: '项目三', |
|
|
|
|
text: ': 整存整取开户存款' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
myKey: '项目四', |
|
|
|
|
text: ': 整存整取部分提前支取' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
myKey: '项目五', |
|
|
|
|
text: ': 整存整取全部提前支取' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
myKey: '项目六', |
|
|
|
|
text: ': 零存整取开户' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
myKey: '项目七', |
|
|
|
|
text: ': 零存整取续存' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
myKey: '项目八', |
|
|
|
|
text: ': 零存整取销户' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
myKey: '项目九', |
|
|
|
|
text: ': 通知存款开户' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
myKey: '项目十', |
|
|
|
|
text: ': 通知存款销户' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
myKey: '项目十一', |
|
|
|
|
text: ': 公司基本户和开立' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
myKey: '项目十二', |
|
|
|
|
text: ': 公司存款' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
myKey: '项目十三', |
|
|
|
|
text: ': 公司现金支票取款' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
myKey: '项目十四', |
|
|
|
|
text: ': 公司现金支票转账' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
myKey: '项目十五', |
|
|
|
|
text: ': 密码修改' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
myKey: '项目十六', |
|
|
|
|
text: ': 密码挂失' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
myKey: '项目十七', |
|
|
|
|
text: ': 挂失解挂' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
myKey: '项目十八', |
|
|
|
|
text: ': 支票出售' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
myKey: '项目十九', |
|
|
|
|
text: ': 现金领用' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
myKey: '项目二十', |
|
|
|
|
text: ': 现金上缴' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
myKey: '项目二十一', |
|
|
|
|
text: ': 现金领用' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
myKey: '项目二十二', |
|
|
|
|
text: ': 现金调出' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
myKey: '项目二十三', |
|
|
|
|
text: ': 凭证调入' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
myKey: '项目二十四', |
|
|
|
|
text: ': 凭证调出' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
myKey: '项目二十五', |
|
|
|
|
text: ': 凭证上缴' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
myKey: '项目二十六', |
|
|
|
|
text: ': 柜员日中轧账' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
img: require('@/assets/svg/cash.svg'), |
|
|
|
|
myKey: '项目二十七', |
|
|
|
|
text: ': 网点日中轧账' |
|
|
|
|
} |
|
|
|
|
], // 选择业务逻辑 |
|
|
|
|
showBusiness: false, |
|
|
|
|
manageVisible: false, // 显示系统录入 |
|
|
|
@ -783,6 +914,9 @@ export default { |
|
|
|
|
goodsOpen:function () {/* 物品栏的物品 */ |
|
|
|
|
return this.$store.state.system.goodsOpen |
|
|
|
|
}, |
|
|
|
|
...mapGetters({ |
|
|
|
|
goods2: 'system/goods2', |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
watch: { |
|
|
|
|
'$route.path': function (val) { |
|
|
|
@ -940,12 +1074,24 @@ export default { |
|
|
|
|
setGoodsOpen: 'system/setGoodsOpen', |
|
|
|
|
removeGoodsOpen: 'system/removeGoodsOpen', |
|
|
|
|
addGoodsOpen: 'system/addGoodsOpen', |
|
|
|
|
setBusinessKey: 'system/setBusinessKey', |
|
|
|
|
addGoods: 'system/addGoods', |
|
|
|
|
deleteGoods: 'system/deleteGoods' |
|
|
|
|
}), |
|
|
|
|
checkTake(index){ |
|
|
|
|
this.takeCheck = index |
|
|
|
|
checkTake(myKey){ |
|
|
|
|
if(this.takeCheck === myKey) { |
|
|
|
|
this.takeCheck = '' |
|
|
|
|
}else { |
|
|
|
|
this.takeCheck = myKey |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
selectBusiness(myKey) { |
|
|
|
|
this.setBusinessKey(myKey) |
|
|
|
|
console.log(this.goods2) |
|
|
|
|
this.showBusiness = false; |
|
|
|
|
}, |
|
|
|
|
selectBusiness(turn) { |
|
|
|
|
this.showBusiness = turn; |
|
|
|
|
showBusinessSelect (judge) { |
|
|
|
|
this.showBusiness = judge; |
|
|
|
|
}, |
|
|
|
|
dislodgeItem(index){ |
|
|
|
|
this.receptionList.splice(index,1); |
|
|
|
@ -1106,16 +1252,19 @@ export default { |
|
|
|
|
this.popText==='重要空白凭证箱'?(goods=this.importanceArr,clickList=this.importantChecked):(goods=this.commonArr ,clickList = this.commonChecked) |
|
|
|
|
if(clickList.length===0) return this.$message.warning(`请选择物品后再确定!`) |
|
|
|
|
// 把确定的数据传输进物品栏 |
|
|
|
|
goods.map(e=>{ |
|
|
|
|
clickList.map(el=>{ |
|
|
|
|
if(el===e.id){ |
|
|
|
|
arr.push(e) |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
}) |
|
|
|
|
this.$store.commit('system/changeGoods',{push:arr}) |
|
|
|
|
// 加东西 |
|
|
|
|
this.auditGoodsShelf.push({name:'银行卡', src:require('@/assets/img/goods/bankCard.png'), id:16}) // |
|
|
|
|
// goods.map(e=>{ |
|
|
|
|
// clickList.map(el=>{ |
|
|
|
|
// if(el===e.id){ |
|
|
|
|
// arr.push(e) |
|
|
|
|
// } |
|
|
|
|
// }) |
|
|
|
|
// }) |
|
|
|
|
|
|
|
|
|
console.log(clickList) |
|
|
|
|
|
|
|
|
|
// 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 = [] |
|
|
|
@ -1139,318 +1288,320 @@ export default { |
|
|
|
|
this.$message.error('请输入密码和确认密码'); |
|
|
|
|
} |
|
|
|
|
}else{ |
|
|
|
|
console.log('...') |
|
|
|
|
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){ |
|
|
|
|
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": "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{ |
|
|
|
|
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){ |
|
|
|
|
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('accountPassword', accountPassword) |
|
|
|
|
sessionStorage.setItem(name, 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) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}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) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
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": "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)=>{ |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
// this.toggleGoods() |
|
|
|
@ -2562,6 +2713,7 @@ export default { |
|
|
|
|
align-items: center; |
|
|
|
|
width: 30%; |
|
|
|
|
height: 10vh; |
|
|
|
|
margin: 1vh 0; |
|
|
|
|
border: 4px solid #DBDBDB; |
|
|
|
|
border-radius: 20px; |
|
|
|
|
cursor: pointer; |
|
|
|
|