20240205
luoJunYong.123 3 years ago
parent c8d8f658c0
commit 5a76db9ce2
  1. 180
      src/components/case/index.vue
  2. 5
      src/pages/counter/list/index.vue
  3. 200
      src/pages/manage/list/dayEnd/branchDayEnd.vue
  4. 200
      src/pages/manage/list/dayEnd/tellerCash.vue
  5. 199
      src/pages/manage/list/dayEnd/tellerCertificate.vue

@ -187,99 +187,69 @@ export default {
}
},
created() {
const { query: { token, assessmentId } } = this.$route
sessionStorage.setItem('assessmentId', assessmentId)
sessionStorage.setItem('token', token)
if(process.env.NODE_ENV === "development") {
this.intervalJudge = setInterval(() => {
const data = {
id: parseInt(sessionStorage.getItem('assessmentId')),
token: parseInt(sessionStorage.getItem('token'))
}
//
let params = {
const test = this.getQueryVariable('test')
if(test) {
//
setInterval(() => {
let params = {
"systemId":sessionStorage.getItem('systemId'),
"cId":sessionStorage.getItem('cid'),
"permissions":0,
}
getProjectBySystemId(params).then((data)=>{
if(data.status == 200){
//
if(data.data.projects.length !== this.topicList.length) {
}
getProjectBySystemId(params).then((data)=>{
if(data.status == 200){
if(this.topicList.length !== data.data.projects.length) {
this.topicList = data.data.projects
this.selectProjects({
projectId: this.topicList[0].projectId
})
if(this.topicList.length > 0){
this.gotuQueryVariable()
if(!this.topicList.some(item => item.projectId===this.projectId)) {
this.selectProjects({projectId: this.topicList[0].projectId})
}
this.getQueryCaches()
}
}
}).catch((error)=>{
})
checkTest(data).then(data => {
const { data: { data: { status } } } = data
if(status !== 1) {
this.popContainer = true
clearInterval(this.intervalJudge)
this.$message({
showClose: true,
message: '考核已结束',
type: 'success'
});
}else {
}
}).catch((error)=>{
})
}, 4000)
}, 10000)
}else {
this.intervalJudge = setInterval(() => {
const data = {
id: parseInt(sessionStorage.getItem('assessmentId')),
token: parseInt(sessionStorage.getItem('token'))
}
//
let params = {
"systemId":sessionStorage.getItem('systemId'),
"cId":sessionStorage.getItem('cid'),
"permissions":0,
}
getProjectBySystemId(params).then((data)=>{
if(data.status == 200){
//
if(data.data.projects.length !== this.topicList.length) {
this.topicList = data.data.projects
this.selectProjects({
projectId: this.topicList[0].projectId
})
if(this.topicList.length > 0){
this.gotuQueryVariable()
}
this.getQueryCaches()
if(process.env.NODE_ENV === "development") {
this.intervalJudge = setInterval(() => {
const data = {
id: parseInt(sessionStorage.getItem('assessmentId')),
token: parseInt(sessionStorage.getItem('token'))
}
checkTest(data).then(data => {
const { data: { data: { status } } } = data
if(status !== 1) {
this.popContainer = true
clearInterval(this.intervalJudge)
this.$message({
showClose: true,
message: '考核已结束',
type: 'success'
});
}else {
}
})
}, 4000)
}else {
this.intervalJudge = setInterval(() => {
const data = {
id: parseInt(sessionStorage.getItem('assessmentId')),
token: parseInt(sessionStorage.getItem('token'))
}
}).catch((error)=>{
})
checkTest(data).then(data => {
const { data: { data: { status } } } = data
if(status !== 1) {
this.popContainer = true
clearInterval(this.intervalJudge)
this.$message({
showClose: true,
message: '考核已结束',
type: 'success'
});
}else {
}
})
}, 4000)
checkTest(data).then(data => {
const { data: { data: { status } } } = data
if(status !== 1) {
this.popContainer = true
clearInterval(this.intervalJudge)
this.$message({
showClose: true,
message: '考核已结束',
type: 'success'
});
}else {
}
})
}, 4000)
}
}
},
watch: {
@ -357,18 +327,34 @@ export default {
this.classId = classId
}
let tokens = sessionStorage.getItem('token')
if(tokens || token){
this.projectPermissions = this.projectId ? 1 : 0
this.assessmentId && this.projectId && this.checkVer()
this.codeId && this.codeIds.push(this.codeId)
if (projectId !=null && projectId != '' && projectId !='null'){
let params = {
"projectId":projectId,
}
this.selectProjects(params)
}else{
this.getData()
if(this.getQueryVariable('test')) {
let params = {
"systemId":sessionStorage.getItem('systemId'),
"cId":sessionStorage.getItem('cid'),
"permissions":0,
}
getProjectBySystemId(params).then((data)=>{
if(data.status == 200){
//
this.topicList = data.data.projects
this.selectProjects({projectId: this.topicList[0].projectId})
}
}).catch((error)=>{
})
}else {
if(tokens || token){
this.projectPermissions = this.projectId ? 1 : 0
this.assessmentId && this.projectId && this.checkVer()
this.codeId && this.codeIds.push(this.codeId)
if (projectId !=null && projectId != '' && projectId !='null'){
let params = {
"projectId":projectId,
}
this.selectProjects(params)
}else{
this.getData()
}
}
}
},
methods: {
@ -401,7 +387,6 @@ export default {
this.topicList.push(data.data.projects[i])
}
}
if(this.topicList.length > 0){
this.selectProjects({
projectId: this.topicList[0].projectId
@ -528,10 +513,15 @@ export default {
this.projectManage = data.data.projectManage;
this.requires = data.data.projectJudgmentVos;
//线
location.href = 'http://www.huorantech.cn/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId
//
// location.href = 'http://39.108.250.202/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId
//
// if(process.env.NODE_ENV === "development") {
// location.href = "http://192.168.31.254:8093/#/index/list?"+'token='+token+'&cid='+cid+'&systemId='+systemId
// }else {
// location.href = 'http://www.huorantech.cn/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId
// }
// location.href = "http://192.168.31.254:8093/#/index/list?"+'token='+token+'&cid='+cid+'&systemId='+systemId
}
}).catch((error)=>{

@ -574,7 +574,9 @@ export default {
})
}
this.showGoods = true
this.$store.commit('system/changePop',{show:true,text:type})
if(type !== '系统') {
this.$store.commit('system/changePop',{show:true,text:type})
}
},
checkData(item) {/* 选中物品 */
let _this = this
@ -647,7 +649,6 @@ export default {
this.checkList = [];
},
showManage() {//
this.showGoods = true
this.manageVisible = true;
this.$router.push('/counter/list/manage/consumerClient');
},

@ -0,0 +1,200 @@
//
<template>
<div class="wrap">
<div class="title">
<p>日终管理</p>
<i class="el-icon-arrow-right"></i>
<p>{{text}}</p>
</div>
<!-- 存款 -->
<div class="body">
<el-row :gutter="20" style="margin: 0">
<el-form ref="form" :model="form" label-width="120px">
<el-col :span="10" :offset="1">
<el-form-item label="账号" required>
<el-input v-model="form.num"></el-input>
</el-form-item>
<el-form-item label="币种" required>
<el-select disabled v-model="form.identification" placeholder="请选择">
<el-option label="CYN人民币" value="CYN人民币"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="存款金额" required>
<el-input v-model="form.num"></el-input>
</el-form-item>
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="客户姓名" required>
<el-input v-model="form.name"></el-input>
</el-form-item>
<el-form-item label="钞汇标识" required>
<el-select v-model="form.currency" placeholder="请选择">
<el-option label="钞户" value="钞户"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="利率(%)" required>
<el-input v-model="form.name"></el-input>
</el-form-item>
</el-col>
<el-col :span="21" :offset="1">
<el-form-item label="摘要">
<el-input type="textarea" :rows="3" placeholder="请输入内容" v-model="form.name"></el-input>
</el-form-item>
</el-col>
</el-form>
</el-row>
<el-button @click="visible = true" type="primary" class="submitBtn">提交</el-button>
</div>
<el-dialog
style="margin-top:10vh"
:visible.sync="visible"
:modal="false"
width="40%"
:close-on-click-modal="false"
:show-close="false"
custom-class="data-dia"
>
<div slot="title" class="dia-header">
<div class="data-title">提交</div>
</div>
<div class="popBody">
<h2>本业务需要授权</h2>
</div>
<div class="popBtns">
<el-button class="close btn" @click="visible = false"> </el-button>
<el-button class="sure btn" type="primary" @click="visible = false"> </el-button>
</div>
</el-dialog>
</div>
</template>
<script>
import { mapState } from 'vuex'
export default {
name: 'index',
components:{},
data() {
return {
text:'存款',/* 顶部文字 */
form:{
},
second:[//
],
options:[],
visible:false,
options:[],
activeIndex:'1',
second:[//
],
}
},
created() {
},
methods: {
}
};
</script>
<style lang="scss" scoped>
.wrap{
width: 100%;
display: flex;
flex-direction: column;
overflow: hidden;
padding: 24px 0 24px 24px;
.nav{
/deep/ .el-menu.el-menu--horizontal{
border: 0;
}
/deep/ .el-menu--horizontal > .el-menu-item.is-active{
border:2px solid #568DF2;
border-radius: 10px;
color: #000;
}
/deep/ .el-menu--horizontal > .el-menu-item{
border: 2px solid transparent;
border-radius: 10px;
margin-right: 10px;
height: 30px;
line-height: 28px;
}
}
.body{
margin-top: 50px;
overflow: auto;
.idCard{
border-radius: 5px;
background: #CFDDFF;
text-align: center;
height: 40px;
line-height: 40px;
font-size: 18px;
color: #6191FF;
}
.add{
position: relative;
&::after{
content: '';
display: block;
position: absolute;
right: 3%;
top: -4%;
border: 1px dashed #CFDDFF;
width: 88%;
height: 268px;
}
.addBtn{
position: absolute;
left: 0;
top: 50%;
transform: translate(50%,-50%);
font-size: 22px;
}
}
}
.submitBtn{
position: relative;
width: 300px;
font-size: 18px;
height: 68px;
margin-top: 50px;
border-radius: 10px;
bottom: 10px;
left: 50%;
transform: translate(-50%,-0%);
}
.popBody{
min-height: 200px;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}
.popBtns{
display: flex;
justify-content: space-between;
align-items: center;
.btn{
width: 180px;
border-radius: 10px;
font-size: 18px;
}
.close{
background: #CFDEFF;
color: #6191FF;
}
.sure{
background: #6191FF;
color: #fff;
}
}
}
</style>

@ -0,0 +1,200 @@
//
<template>
<div class="wrap">
<div class="title">
<p>日终管理</p>
<i class="el-icon-arrow-right"></i>
<p>{{text}}</p>
</div>
<!-- 存款 -->
<div class="body">
<el-row :gutter="20" style="margin: 0">
<el-form ref="form" :model="form" label-width="120px">
<el-col :span="10" :offset="1">
<el-form-item label="账号" required>
<el-input v-model="form.num"></el-input>
</el-form-item>
<el-form-item label="币种" required>
<el-select disabled v-model="form.identification" placeholder="请选择">
<el-option label="CYN人民币" value="CYN人民币"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="存款金额" required>
<el-input v-model="form.num"></el-input>
</el-form-item>
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="客户姓名" required>
<el-input v-model="form.name"></el-input>
</el-form-item>
<el-form-item label="钞汇标识" required>
<el-select v-model="form.currency" placeholder="请选择">
<el-option label="钞户" value="钞户"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="利率(%)" required>
<el-input v-model="form.name"></el-input>
</el-form-item>
</el-col>
<el-col :span="21" :offset="1">
<el-form-item label="摘要">
<el-input type="textarea" :rows="3" placeholder="请输入内容" v-model="form.name"></el-input>
</el-form-item>
</el-col>
</el-form>
</el-row>
<el-button @click="visible = true" type="primary" class="submitBtn">提交</el-button>
</div>
<el-dialog
style="margin-top:10vh"
:visible.sync="visible"
:modal="false"
width="40%"
:close-on-click-modal="false"
:show-close="false"
custom-class="data-dia"
>
<div slot="title" class="dia-header">
<div class="data-title">提交</div>
</div>
<div class="popBody">
<h2>本业务需要授权</h2>
</div>
<div class="popBtns">
<el-button class="close btn" @click="visible = false"> </el-button>
<el-button class="sure btn" type="primary" @click="visible = false"> </el-button>
</div>
</el-dialog>
</div>
</template>
<script>
import { mapState } from 'vuex'
export default {
name: 'index',
components:{},
data() {
return {
text:'存款',/* 顶部文字 */
form:{
},
second:[//
],
options:[],
visible:false,
options:[],
activeIndex:'1',
second:[//
],
}
},
created() {
},
methods: {
}
};
</script>
<style lang="scss" scoped>
.wrap{
width: 100%;
display: flex;
flex-direction: column;
overflow: hidden;
padding: 24px 0 24px 24px;
.nav{
/deep/ .el-menu.el-menu--horizontal{
border: 0;
}
/deep/ .el-menu--horizontal > .el-menu-item.is-active{
border:2px solid #568DF2;
border-radius: 10px;
color: #000;
}
/deep/ .el-menu--horizontal > .el-menu-item{
border: 2px solid transparent;
border-radius: 10px;
margin-right: 10px;
height: 30px;
line-height: 28px;
}
}
.body{
margin-top: 50px;
overflow: auto;
.idCard{
border-radius: 5px;
background: #CFDDFF;
text-align: center;
height: 40px;
line-height: 40px;
font-size: 18px;
color: #6191FF;
}
.add{
position: relative;
&::after{
content: '';
display: block;
position: absolute;
right: 3%;
top: -4%;
border: 1px dashed #CFDDFF;
width: 88%;
height: 268px;
}
.addBtn{
position: absolute;
left: 0;
top: 50%;
transform: translate(50%,-50%);
font-size: 22px;
}
}
}
.submitBtn{
position: relative;
width: 300px;
font-size: 18px;
height: 68px;
margin-top: 50px;
border-radius: 10px;
bottom: 10px;
left: 50%;
transform: translate(-50%,-0%);
}
.popBody{
min-height: 200px;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}
.popBtns{
display: flex;
justify-content: space-between;
align-items: center;
.btn{
width: 180px;
border-radius: 10px;
font-size: 18px;
}
.close{
background: #CFDEFF;
color: #6191FF;
}
.sure{
background: #6191FF;
color: #fff;
}
}
}
</style>

@ -0,0 +1,199 @@
//
<template>
<div class="wrap">
<div class="title">
<p>日终管理</p>
<i class="el-icon-arrow-right"></i>
<p>{{text}}</p>
</div>
<!-- 存款 -->
<div class="body">
<el-row :gutter="20" style="margin: 0">
<el-form ref="form" :model="form" label-width="120px">
<el-col :span="10" :offset="1">
<el-form-item label="账号" required>
<el-input v-model="form.num"></el-input>
</el-form-item>
<el-form-item label="币种" required>
<el-select disabled v-model="form.identification" placeholder="请选择">
<el-option label="CYN人民币" value="CYN人民币"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="存款金额" required>
<el-input v-model="form.num"></el-input>
</el-form-item>
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="客户姓名" required>
<el-input v-model="form.name"></el-input>
</el-form-item>
<el-form-item label="钞汇标识" required>
<el-select v-model="form.currency" placeholder="请选择">
<el-option label="钞户" value="钞户"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="利率(%)" required>
<el-input v-model="form.name"></el-input>
</el-form-item>
</el-col>
<el-col :span="21" :offset="1">
<el-form-item label="摘要">
<el-input type="textarea" :rows="3" placeholder="请输入内容" v-model="form.name"></el-input>
</el-form-item>
</el-col>
</el-form>
</el-row>
<el-button @click="visible = true" type="primary" class="submitBtn">提交</el-button>
</div>
<el-dialog
style="margin-top:10vh"
:visible.sync="visible"
:modal="false"
width="40%"
:close-on-click-modal="false"
:show-close="false"
custom-class="data-dia"
>
<div slot="title" class="dia-header">
<div class="data-title">提交</div>
</div>
<div class="popBody">
<h2>本业务需要授权</h2>
</div>
<div class="popBtns">
<el-button class="close btn" @click="visible = false"> </el-button>
<el-button class="sure btn" type="primary" @click="visible = false"> </el-button>
</div>
</el-dialog>
</div>
</template>
<script>
import { mapState } from 'vuex'
export default {
name: 'index',
components:{},
data() {
return {
text:'柜员现金轧账',/* 顶部文字 */
form:{
},
second:[//
],
options:[],
visible:false,
options:[],
activeIndex:'1',
second:[//
],
}
},
created() {
},
methods: {
}
};
</script>
<style lang="scss" scoped>
.wrap{
width: 100%;
display: flex;
flex-direction: column;
overflow: hidden;
padding: 24px 0 24px 24px;
.nav{
/deep/ .el-menu.el-menu--horizontal{
border: 0;
}
/deep/ .el-menu--horizontal > .el-menu-item.is-active{
border:2px solid #568DF2;
border-radius: 10px;
color: #000;
}
/deep/ .el-menu--horizontal > .el-menu-item{
border: 2px solid transparent;
border-radius: 10px;
margin-right: 10px;
height: 30px;
line-height: 28px;
}
}
.body{
margin-top: 50px;
overflow: auto;
.idCard{
border-radius: 5px;
background: #CFDDFF;
text-align: center;
height: 40px;
line-height: 40px;
font-size: 18px;
color: #6191FF;
}
.add{
position: relative;
&::after{
content: '';
display: block;
position: absolute;
right: 3%;
top: -4%;
border: 1px dashed #CFDDFF;
width: 88%;
height: 268px;
}
.addBtn{
position: absolute;
left: 0;
top: 50%;
transform: translate(50%,-50%);
font-size: 22px;
}
}
}
.submitBtn{
position: relative;
width: 300px;
font-size: 18px;
height: 68px;
margin-top: 50px;
border-radius: 10px;
bottom: 10px;
left: 50%;
transform: translate(-50%,-0%);
}
.popBody{
min-height: 200px;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}
.popBtns{
display: flex;
justify-content: space-between;
align-items: center;
.btn{
width: 180px;
border-radius: 10px;
font-size: 18px;
}
.close{
background: #CFDEFF;
color: #6191FF;
}
.sure{
background: #6191FF;
color: #fff;
}
}
}
</style>
Loading…
Cancel
Save