20240205
e 3 years ago
parent 7fc5f377e8
commit 3a844454c4
  1. BIN
      src/assets/img/cash-sm.png
  2. 9
      src/main.js.rej
  3. 57
      src/router/system.js

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

@ -0,0 +1,9 @@
diff a/src/main.js b/src/main.js (rejected hunks)
@@ -42,6 +42,7 @@
}
})
}
+});
Vue.use(plugins);

@ -0,0 +1,57 @@
/* 银行系统 */
export default {
namespaced: true,
state: {/* 管理柜台状态 */
showPop: false,// 弹框
popText:'钱箱',
fullScreen:false,// 银行系统是否全屏
goods:[// 物品栏的物品
{
name:'身份证',
src:require('@/assets/img/goods/idcard.png'),
id:'a'
},
{
name:'身份证复印件',
src:require('@/assets/img/idCard-copy-sm.png'),
id:'b'
},
{
name:'开户申请书',
src:require('@/assets/img/goods/khsqs.png'),
id:'c'
},
{
name:'现金',
src:require('@/assets/img/goods/cash-sm.png'),
id:'d'
},
{
name:'存款凭条',
src:require('@/assets/img/goods/ckpt.png'),
id:'e'
},
],
},
mutations: {
changeFullscreen:(state,val) => {
state.fullScreen = val
},
changePop:(state,val)=>{
state.showPop = val.show
state.popText = val.text
},
changeGoods:(state,obj)=>{/* 赋值/push/删除 */
if(obj.goods&&obj.goods.length>0){
state.goods = obj.goods
}else if(obj.push&&obj.push.length>0){
state.goods.push(...obj.push)
}else if(typeof(obj.splice)===Number ){
state.goods.splice(obj.splice,1)
}
}
},
actions: {
}
}
Loading…
Cancel
Save