20240205
yujialong 1 year ago
parent a437e809d0
commit 42eba9d7f8
  1. 7
      src/App.vue
  2. 5
      src/components/case/index.vue
  3. 1
      src/components/selectBusiness/index.vue
  4. 2
      src/pages/index/list/index.vue
  5. 401
      src/pages/manage/list/personal/currentAccount/openAccount.vue
  6. 138
      src/pages/manage/list/personal/timeDeposit/withdrawal.vue
  7. 44
      src/pages/manage/navbar/index.vue
  8. 19
      src/pages/report/index.vue
  9. 1
      src/store/modules/system.js

@ -2,7 +2,7 @@
<div id="app"> <div id="app">
<select-business class="selectBusiness" <select-business class="selectBusiness"
:showIt.sync="showIt" :showIt.sync="showIt"
v-show="!showIt && showBusiness" /> v-show="!showIt && showBusiness && !submited" />
<router-view></router-view> <router-view></router-view>
<vCase :showIt.sync="showIt"></vCase> <vCase :showIt.sync="showIt"></vCase>
<tip-dialog class="Z-9999" /> <tip-dialog class="Z-9999" />
@ -44,7 +44,8 @@ export default {
data () { data () {
return { return {
showIt: true, showIt: true,
showSelect: false showSelect: false,
submited: false
} }
}, },
methods: { methods: {
@ -56,7 +57,7 @@ export default {
watch: { watch: {
showIt: { showIt: {
handler (newVal) { handler (newVal) {
console.log("🚀 ~ file: App.vue:58 ~ handler ~ newVal:", newVal, this.businessKey, sessionStorage.getItem('submited')) this.submited = sessionStorage.getItem('submited')
if (!newVal && !this.businessKey && !sessionStorage.getItem('submited')) { if (!newVal && !this.businessKey && !sessionStorage.getItem('submited')) {
this.setShowBusiness(true) this.setShowBusiness(true)
} else { } else {

@ -368,7 +368,6 @@ export default {
if (sessionStorage.getItem('projectId')) { if (sessionStorage.getItem('projectId')) {
projectId = sessionStorage.getItem('projectId') projectId = sessionStorage.getItem('projectId')
} }
console.log('mounted', projectId)
let assessmentId = sessionStorage.getItem('assessmentId') || this.getQueryVariable('assessmentId') let assessmentId = sessionStorage.getItem('assessmentId') || this.getQueryVariable('assessmentId')
let competitionId = sessionStorage.getItem('competitionId') || this.getQueryVariable('competitionId') let competitionId = sessionStorage.getItem('competitionId') || this.getQueryVariable('competitionId')
let stageId = sessionStorage.getItem('stageId') || this.getQueryVariable('stageId') let stageId = sessionStorage.getItem('stageId') || this.getQueryVariable('stageId')
@ -415,7 +414,6 @@ export default {
this.getData() this.getData()
} }
} }
console.log(2222, this.showIt)
}, },
methods: { methods: {
...mapMutations({ ...mapMutations({
@ -516,8 +514,6 @@ export default {
} }
} }
console.log('---this.topicList')
console.log(this.topicList)
if (this.topicList.length > 0) { if (this.topicList.length > 0) {
const storeProjectId = sessionStorage.getItem('storeProjectId') || this.$route.query.projectId const storeProjectId = sessionStorage.getItem('storeProjectId') || this.$route.query.projectId
if (storeProjectId) { if (storeProjectId) {
@ -758,7 +754,6 @@ export default {
} }
this.loading = true; this.loading = true;
submit(params).then((data) => { submit(params).then((data) => {
console.log(4, data)
if (data.status == 200) { if (data.status == 200) {
sessionStorage.setItem('firstLoad2', true) sessionStorage.setItem('firstLoad2', true)
// this.clearStore() // this.clearStore()

@ -146,6 +146,7 @@ export default {
sessionStorage.setItem('cid', cid) sessionStorage.setItem('cid', cid)
sessionStorage.setItem('systemId', systemId) sessionStorage.setItem('systemId', systemId)
sessionStorage.setItem('projectId', projectId) sessionStorage.setItem('projectId', projectId)
sessionStorage.setItem('firstLoad2', true)
sessionStorage.removeItem('submited') sessionStorage.removeItem('submited')
if (assessmentId) { if (assessmentId) {
sessionStorage.setItem('assessmentId', assessmentId) sessionStorage.setItem('assessmentId', assessmentId)

@ -101,7 +101,7 @@ export default {
}, 1000); }, 1000);
} }
if (!this.businessKey) { if (!this.businessKey && this.$route.path !== '/index/report' && !sessionStorage.getItem('submited')) {
this.setShowBusiness(true) this.setShowBusiness(true)
} }
// //

@ -3,25 +3,50 @@
<div> <div>
<div class="body"> <div class="body">
<div> <div>
<el-row :gutter="20" style="margin: 0"> <el-row :gutter="20"
<el-form ref="form" :model="form" label-width="120px" :rules="rules"> style="margin: 0">
<el-col :span="10" :offset="2"> <el-form ref="form"
:model="form"
label-width="120px"
:rules="rules">
<el-col :span="10"
:offset="2">
<el-form-item label="客户号"> <el-form-item label="客户号">
<el-input :value="form.userNumber" disabled @input="(val) => checkHanzi(val, form, 'userNumber')" ref="userNumber"></el-input> <el-input :value="form.userNumber"
disabled
@input="(val) => checkHanzi(val, form, 'userNumber')"
ref="userNumber"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="币种" prop="currency"> <el-form-item label="币种"
<el-select v-model.trim="form.currency" placeholder="请选择" ref="currency"> prop="currency">
<el-option label='CNY人民币' :value="12" :key="12">CNY人民币</el-option> <el-select v-model.trim="form.currency"
placeholder="请选择"
ref="currency">
<el-option label='CNY人民币'
:value="12"
:key="12">CNY人民币</el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="10" :offset="1"> <el-col :span="10"
<el-form-item label="客户姓名" prop="userName"> :offset="1">
<el-input :value="form.userName" disabled @input="(val) => checkName(val, form, 'userName')" ref="userName"></el-input> <el-form-item label="客户姓名"
prop="userName">
<el-input :value="form.userName"
disabled
@input="(val) => checkName(val, form, 'userName')"
ref="userName"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="钞汇标识" prop="goldLogo"> <el-form-item label="钞汇标识"
<el-select v-model.trim="form.goldLogo" disabled placeholder="请选择" ref="goldLogo"> prop="goldLogo">
<el-option v-for="item in goldLogoSelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option> <el-select v-model.trim="form.goldLogo"
disabled
placeholder="请选择"
ref="goldLogo">
<el-option v-for="item in goldLogoSelectList"
:label="item.options"
:value="item.itemId"
:key="item.itemId"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
@ -35,18 +60,29 @@
</el-form> </el-form>
</el-row> </el-row>
<div class="add"> <div class="add">
<el-row :gutter="20" style="margin: 0;z-index:9"> <el-row :gutter="20"
<el-form ref="form1" :model="form" label-width="120px"> style="margin: 0;z-index:9">
<el-col :span="10" :offset="2"> <el-form ref="form1"
:model="form"
label-width="120px">
<el-col :span="10"
:offset="2">
<el-form-item label="账户性质"> <el-form-item label="账户性质">
<el-select v-model.trim="form.accountQuality" placeholder="请选择" ref="accountQuality"> <el-select v-model.trim="form.accountQuality"
placeholder="请选择"
ref="accountQuality">
<!-- <el-option v-for="item in accountQualitySelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option> <!-- <el-option v-for="item in accountQualitySelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
--> -->
<el-option label="个人结算户" :value="14"> </el-option> <el-option label="个人结算户"
<el-option label="基本户" :value="101"> </el-option> :value="14"> </el-option>
<el-option label="一般户" :value="102"> </el-option> <el-option label="基本户"
<el-option label="专用户" :value="103"> </el-option> :value="101"> </el-option>
<el-option label="临时户" :value="104"> </el-option> <el-option label="一般户"
:value="102"> </el-option>
<el-option label="专用户"
:value="103"> </el-option>
<el-option label="临时户"
:value="104"> </el-option>
<!-- 14: '个人结算户', <!-- 14: '个人结算户',
101: '基本户', 101: '基本户',
102: '一般户', 102: '一般户',
@ -54,183 +90,308 @@
104: '临时户' --> 104: '临时户' -->
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="账户类型" prop="accountType"> <el-form-item label="账户类型"
<el-select v-model.trim="form.accountType" placeholder="请选择" ref="accountType"> prop="accountType">
<el-select v-model.trim="form.accountType"
placeholder="请选择"
ref="accountType">
<!-- 16: '一类户', <!-- 16: '一类户',
17: '二类户', 17: '二类户',
97: '结算户', 97: '结算户',
98: '结算户', 98: '结算户',
99: '委托保障金户', 99: '委托保障金户',
100: '资本临时户' --> 100: '资本临时户' -->
<el-option label="一类户" :value="16"> </el-option> <el-option label="一类户"
<el-option label="二类户" :value="17"> </el-option> :value="16"> </el-option>
<el-option label="二类户"
:value="17"> </el-option>
<!-- <el-option label="结算户" :value="97"> </el-option> <!-- <el-option label="结算户" :value="97"> </el-option>
<el-option label="委托保障金户" :value="100"> </el-option> --> <el-option label="委托保障金户" :value="100"> </el-option> -->
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="支取方式" prop="drawWay"> <el-form-item label="支取方式"
<el-select v-model.trim="form.drawWay" placeholder="请选择" ref="drawWay"> prop="drawWay">
<el-option label="密码" :value="18"> </el-option> <el-select v-model.trim="form.drawWay"
placeholder="请选择"
ref="drawWay">
<el-option label="密码"
:value="18"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="10" :offset="1"> <el-col :span="10"
<el-form-item label="凭证类型" prop="voucherType"> :offset="1">
<el-select v-model.trim="form.voucherType" placeholder="请选择" ref="voucherType"> <el-form-item label="凭证类型"
<el-option label="IC卡" :value="15"> </el-option> prop="voucherType">
<el-option label="转账支票" :value="115"> </el-option> <el-select v-model.trim="form.voucherType"
<el-option label="现金支票" :value="116"> </el-option> placeholder="请选择"
<el-option label="存单" :value="123"> </el-option> ref="voucherType">
<el-option label="银行" :value="127"> </el-option> <el-option label="IC卡"
:value="15"> </el-option>
<el-option label="转账支票"
:value="115"> </el-option>
<el-option label="现金支票"
:value="116"> </el-option>
<el-option label="存单"
:value="123"> </el-option>
<el-option label="银行"
:value="127"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="凭证号码" required> <el-form-item label="凭证号码"
<div v-if='!cardNumberJudge' class="idCard" @click="popUp('刷卡器')"> required>
<div v-if='!cardNumberJudge'
class="idCard"
@click="popUp('刷卡器')">
<p>请刷卡</p> <p>请刷卡</p>
</div> </div>
<div v-else> <div v-else>
<el-input ref="cardNumber" :value="form.cardNumber" disabled @input="(val) => inputListen(val, form, 'cardNumber')"></el-input> <el-input ref="cardNumber"
:value="form.cardNumber"
disabled
@input="(val) => inputListen(val, form, 'cardNumber')"></el-input>
</div> </div>
</el-form-item> </el-form-item>
<el-form-item label="支取密码" required> <el-form-item label="支取密码"
<div v-if='!form.drawPassword' class="idCard" @click="popUps('密码器')"> required>
<div v-if='!form.drawPassword'
class="idCard"
@click="popUps('密码器')">
<p>请输入密码</p> <p>请输入密码</p>
</div> </div>
<div v-else @click="popUps('密码器')"> <div v-else
<el-input :value="form.drawPassword" ref="drawPassword" type="password"></el-input> @click="popUps('密码器')">
<el-input :value="form.drawPassword"
ref="drawPassword"
type="password"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-form> </el-form>
<el-button @click="openAccount" type="primary" class="addBtn" circle icon="el-icon-plus"></el-button> <el-button @click="openAccount"
type="primary"
class="addBtn"
circle
icon="el-icon-plus"></el-button>
</el-row> </el-row>
</div> </div>
<!-- 二级证件,最多三张逻辑上一张二级为填完信息不可添加第三张 v-for="(item,index) in second" :key="index" --> <!-- 二级证件,最多三张逻辑上一张二级为填完信息不可添加第三张 v-for="(item,index) in second" :key="index" -->
<div class="add" v-if="formTwo"> <div class="add"
<el-row :gutter="20" style="margin: 0;z-index:9"> v-if="formTwo">
<el-form ref="form2" :model="form" label-width="120px"> <el-row :gutter="20"
<el-col :span="10" :offset="2"> style="margin: 0;z-index:9">
<el-form ref="form2"
:model="form"
label-width="120px">
<el-col :span="10"
:offset="2">
<el-form-item label="账户性质"> <el-form-item label="账户性质">
<el-select v-model.trim="form.accountQualitysTwo" placeholder="请选择"> <el-select v-model.trim="form.accountQualitysTwo"
<el-option label="个人结算户" :value="14"> </el-option> placeholder="请选择">
<el-option label="基本户" :value="101"> </el-option> <el-option label="个人结算户"
<el-option label="一般户" :value="102"> </el-option> :value="14"> </el-option>
<el-option label="专用户" :value="103"> </el-option> <el-option label="基本户"
<el-option label="临时户" :value="104"> </el-option> :value="101"> </el-option>
<el-option label="一般户"
:value="102"> </el-option>
<el-option label="专用户"
:value="103"> </el-option>
<el-option label="临时户"
:value="104"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="账户类型" required> <el-form-item label="账户类型"
<el-select v-model.trim="form.accountTypesTwo" placeholder="请选择"> required>
<el-option label="一类户" :value="16"> </el-option> <el-select v-model.trim="form.accountTypesTwo"
<el-option label="二类户" :value="17"> </el-option> placeholder="请选择">
<el-option label="一类户"
:value="16"> </el-option>
<el-option label="二类户"
:value="17"> </el-option>
<!-- <el-option label="结算户" :value="97"> </el-option> <!-- <el-option label="结算户" :value="97"> </el-option>
<el-option label="委托保障金户" :value="100"> </el-option> --> <el-option label="委托保障金户" :value="100"> </el-option> -->
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="支取方式" required> <el-form-item label="支取方式"
<el-select v-model.trim="form.drawWaysTwo" placeholder="请选择"> required>
<el-select v-model.trim="form.drawWaysTwo"
placeholder="请选择">
<!-- <el-option v-for="item in drawWaySelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option> --> <!-- <el-option v-for="item in drawWaySelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option> -->
<el-option label="密码" :value="18"> </el-option> <el-option label="密码"
:value="18"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="10" :offset="1"> <el-col :span="10"
<el-form-item label="凭证类型" required> :offset="1">
<el-select v-model.trim="form.voucherTypesTwo" placeholder="请选择"> <el-form-item label="凭证类型"
<el-option label="IC卡" :value="15"> </el-option> required>
<el-option label="转账支票" :value="115"> </el-option> <el-select v-model.trim="form.voucherTypesTwo"
<el-option label="现金支票" :value="116"> </el-option> placeholder="请选择">
<el-option label="存单" :value="123"> </el-option> <el-option label="IC卡"
<el-option label="银行" :value="127"> </el-option> :value="15"> </el-option>
<el-option label="转账支票"
:value="115"> </el-option>
<el-option label="现金支票"
:value="116"> </el-option>
<el-option label="存单"
:value="123"> </el-option>
<el-option label="银行"
:value="127"> </el-option>
<!-- <el-option v-for="item in voucherTypeSelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option> --> <!-- <el-option v-for="item in voucherTypeSelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option> -->
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="凭证号码" required> <el-form-item label="凭证号码"
<div v-if='!cardNumberJudge2' class="idCard" @click="popUpTwo('刷卡器')"> required>
<div v-if='!cardNumberJudge2'
class="idCard"
@click="popUpTwo('刷卡器')">
<p>请刷卡</p> <p>请刷卡</p>
</div> </div>
<div v-else> <div v-else>
<el-input ref="cardNumber2" :value="form.cardNumber2" disabled @input="(val) => inputListen(val, form, 'cardNumber2')"></el-input> <el-input ref="cardNumber2"
:value="form.cardNumber2"
disabled
@input="(val) => inputListen(val, form, 'cardNumber2')"></el-input>
</div> </div>
</el-form-item> </el-form-item>
<el-form-item label="支取密码" required> <el-form-item label="支取密码"
<div v-if='!form.drawPassword2' class="idCard" @click="popUpsTwo('密码器')"> required>
<div v-if='!form.drawPassword2'
class="idCard"
@click="popUpsTwo('密码器')">
<p>请输入密码</p> <p>请输入密码</p>
</div> </div>
<div v-else @click="popUpsTwo('密码器')"> <div v-else
<el-input :value="form.drawPassword2" ref="drawPassword2" type="password"></el-input> @click="popUpsTwo('密码器')">
<el-input :value="form.drawPassword2"
ref="drawPassword2"
type="password"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-form> </el-form>
<el-button @click="deleteSecond()" class="addBtn" circle icon="el-icon-close"></el-button> <el-button @click="deleteSecond()"
class="addBtn"
circle
icon="el-icon-close"></el-button>
</el-row> </el-row>
</div> </div>
<div class="add" v-if="formThree"> <div class="add"
<el-row :gutter="20" style="margin: 0;z-index:9"> v-if="formThree">
<el-form ref="form3" :model="form" label-width="120px"> <el-row :gutter="20"
<el-col :span="10" :offset="2"> style="margin: 0;z-index:9">
<el-form ref="form3"
:model="form"
label-width="120px">
<el-col :span="10"
:offset="2">
<el-form-item label="账户性质"> <el-form-item label="账户性质">
<el-select v-model.trim="form.accountQualitysThree" placeholder="请选择"> <el-select v-model.trim="form.accountQualitysThree"
<el-option label="个人结算户" :value="14"> </el-option> placeholder="请选择">
<el-option label="基本户" :value="101"> </el-option> <el-option label="个人结算户"
<el-option label="一般户" :value="102"> </el-option> :value="14"> </el-option>
<el-option label="专用户" :value="103"> </el-option> <el-option label="基本户"
<el-option label="临时户" :value="104"> </el-option> :value="101"> </el-option>
<el-option label="一般户"
:value="102"> </el-option>
<el-option label="专用户"
:value="103"> </el-option>
<el-option label="临时户"
:value="104"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="账户类型" required> <el-form-item label="账户类型"
<el-select v-model.trim="form.accountTypesThree" placeholder="请选择"> required>
<el-option label="一类户" :value="16"> </el-option> <el-select v-model.trim="form.accountTypesThree"
<el-option label="二类户" :value="17"> </el-option> placeholder="请选择">
<el-option label="一类户"
:value="16"> </el-option>
<el-option label="二类户"
:value="17"> </el-option>
<!-- <el-option label="结算户" :value="97"> </el-option> <!-- <el-option label="结算户" :value="97"> </el-option>
<el-option label="委托保障金户" :value="100"> </el-option> --> <el-option label="委托保障金户" :value="100"> </el-option> -->
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="支取方式" required> <el-form-item label="支取方式"
<el-select v-model.trim="form.drawWaysThree" placeholder="请选择"> required>
<el-option label="密码" :value="18"> </el-option> <el-select v-model.trim="form.drawWaysThree"
placeholder="请选择">
<el-option label="密码"
:value="18"> </el-option>
<!-- <el-option v-for="item in drawWaySelectList" :label="item.options" :value="item.options" :key="item.itemId"> </el-option> --> <!-- <el-option v-for="item in drawWaySelectList" :label="item.options" :value="item.options" :key="item.itemId"> </el-option> -->
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="10" :offset="1"> <el-col :span="10"
<el-form-item label="凭证类型" required> :offset="1">
<el-select v-model.trim="form.voucherTypesThree" placeholder="请选择"> <el-form-item label="凭证类型"
<el-option label="IC卡" :value="15"> </el-option> required>
<el-option label="转账支票" :value="115"> </el-option> <el-select v-model.trim="form.voucherTypesThree"
<el-option label="现金支票" :value="116"> </el-option> placeholder="请选择">
<el-option label="存单" :value="123"> </el-option> <el-option label="IC卡"
<el-option label="银行" :value="127"> </el-option> :value="15"> </el-option>
<el-option label="转账支票"
:value="115"> </el-option>
<el-option label="现金支票"
:value="116"> </el-option>
<el-option label="存单"
:value="123"> </el-option>
<el-option label="银行"
:value="127"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="凭证号码" required> <el-form-item label="凭证号码"
<div v-if='!cardNumberJudge3' class="idCard" @click="popUpThree('刷卡器')"> required>
<div v-if='!cardNumberJudge3'
class="idCard"
@click="popUpThree('刷卡器')">
<p>请刷卡</p> <p>请刷卡</p>
</div> </div>
<div v-else> <div v-else>
<el-input ref="cardNumber3" :value="form.cardNumber3" disabled @input="(val) => inputListen(val, form, 'cardNumber3')"></el-input> <el-input ref="cardNumber3"
:value="form.cardNumber3"
disabled
@input="(val) => inputListen(val, form, 'cardNumber3')"></el-input>
</div> </div>
</el-form-item> </el-form-item>
<el-form-item label="支取密码" required> <el-form-item label="支取密码"
<div v-if='!form.drawPassword3' class="idCard" @click="popUpsThree('密码器')"> required>
<div v-if='!form.drawPassword3'
class="idCard"
@click="popUpsThree('密码器')">
<p>请输入密码</p> <p>请输入密码</p>
</div> </div>
<div v-else @click="popUpsThree('密码器')"> <div v-else
<el-input :value="form.drawPassword3" ref="drawPassword3" type="password"></el-input> @click="popUpsThree('密码器')">
<el-input :value="form.drawPassword3"
ref="drawPassword3"
type="password"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-form> </el-form>
<el-button @click="deleteSecond()" class="addBtn" circle icon="el-icon-close"></el-button> <el-button @click="deleteSecond()"
class="addBtn"
circle
icon="el-icon-close"></el-button>
</el-row> </el-row>
</div> </div>
</div> </div>
<el-button @click="formSubmit" type="primary" class="submitBtn" v-throttle>提交</el-button> <el-button @click="formSubmit"
type="primary"
class="submitBtn"
v-throttle>提交</el-button>
</div> </div>
<my-dialog :moduleName="moduleName" v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="popSure" :needAuth="false" /> <my-dialog :moduleName="moduleName"
v-if="visible"
:visible.sync="visible"
:showForm="form"
:formName="formName"
@submitIt="popSure"
:needAuth="false" />
</div> </div>
<!-- <need-before v-else :moduleName='needBefore' :unNeed="unNeed" /> --> <!-- <need-before v-else :moduleName='needBefore' :unNeed="unNeed" /> -->
@ -760,7 +921,7 @@ export default {
// for (var i=0;i<voucherNumberTwo.length;i++){ // for (var i=0;i<voucherNumberTwo.length;i++){
// formList.push({"answerId":voucherNumberTwo[i].id,"emptyOne": "", "emptyTwo": "", "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,26,57,62,273,"+voucherNumberTwo[i].id,"type": ""}) // formList.push({"answerId":voucherNumberTwo[i].id,"emptyOne": "", "emptyTwo": "", "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,26,57,62,273,"+voucherNumberTwo[i].id,"type": ""})
// } // }
formList.push({"answerId":273,"emptyOne": "44", "emptyTwo": this.form.cardNumber2, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,26,57,62,273","type": ""}) formList.push({ "answerId": 273, "emptyOne": "44", "emptyTwo": this.form.cardNumber2, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,26,57,62,273", "type": "3" })
} else if (this.formTwo == true) { } else if (this.formTwo == true) {
this.setTipsOperate('有必填项未填哦~'); this.setTipsOperate('有必填项未填哦~');
} }
@ -935,12 +1096,12 @@ export default {
overflow: auto; overflow: auto;
.idCard { .idCard {
border-radius: 5px; border-radius: 5px;
background: #CFDDFF; background: #cfddff;
text-align: center; text-align: center;
height: 40px; height: 40px;
line-height: 40px; line-height: 40px;
font-size: 18px; font-size: 18px;
color: #6191FF; color: #6191ff;
cursor: pointer; cursor: pointer;
} }
.add { .add {
@ -954,7 +1115,7 @@ export default {
position: absolute; position: absolute;
right: 3%; right: 3%;
top: -4%; top: -4%;
border: 1px dashed #CFDDFF; border: 1px dashed #cfddff;
width: 88%; width: 88%;
height: 200px; height: 200px;
} }
@ -995,11 +1156,11 @@ export default {
font-size: 18px; font-size: 18px;
} }
.close { .close {
background: #CFDEFF; background: #cfdeff;
color: #6191FF; color: #6191ff;
} }
.sure { .sure {
background: #6191FF; background: #6191ff;
color: #fff; color: #fff;
} }
} }

@ -1,74 +1,140 @@
// > // >
<template> <template>
<div class="body"> <div class="body">
<el-row :gutter="20" style="margin: 0"> <el-row :gutter="20"
<el-form ref="form" :model="form" label-width="120px" :rules="rules"> style="margin: 0">
<el-col :span="10" :offset="1"> <el-form ref="form"
<el-form-item label="凭证号码" prop="voucherNumber"> :model="form"
label-width="120px"
:rules="rules">
<el-col :span="10"
:offset="1">
<el-form-item label="凭证号码"
prop="voucherNumber">
<!-- <div v-if='!cardNumberJudge' class="idCard" @click="popUp('刷卡器')"> <!-- <div v-if='!cardNumberJudge' class="idCard" @click="popUp('刷卡器')">
<p>请刷卡</p> <p>请刷卡</p>
</div> </div>
<div v-else> <div v-else>
<el-input @blur="getDataBlur" ref="voucherNumber" disabled :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input> <el-input @blur="getDataBlur" ref="voucherNumber" disabled :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input>
</div> --> </div> -->
<el-input @blur="getDataBlur" ref="voucherNumber" :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input> <el-input @blur="getDataBlur"
ref="voucherNumber"
:value="form.voucherNumber"
@input="(val) => inputListen(val, form, 'voucherNumber')"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="币种" prop="currency"> <el-form-item label="币种"
<el-select v-model.trim="form.currency" placeholder="请选择" ref="currency"> prop="currency">
<el-option v-for="item in getSelectList.currencySelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option> <el-select v-model.trim="form.currency"
placeholder="请选择"
ref="currency">
<el-option v-for="item in getSelectList.currencySelectList"
:label="item.options"
:value="item.itemId"
:key="item.itemId"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="定存编号" prop="depositNumber"> <el-form-item label="定存编号"
<el-input ref="depositNumber" disabled :value="form.depositNumber" @input="(val) => checkHanzi(val, form, 'depositNumber')"></el-input> prop="depositNumber">
<el-input ref="depositNumber"
disabled
:value="form.depositNumber"
@input="(val) => checkHanzi(val, form, 'depositNumber')"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="支取方式" prop="withdrawWay"> <el-form-item label="支取方式"
<el-radio-group v-model.trim="form.withdrawWay" ref="withdrawWay"> prop="withdrawWay">
<el-radio-group v-model.trim="form.withdrawWay"
ref="withdrawWay">
<el-radio :label="125">部分支取</el-radio> <el-radio :label="125">部分支取</el-radio>
<el-radio :label="126">全部支取并销户</el-radio> <el-radio :label="126">全部支取并销户</el-radio>
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
<el-form-item label="支取类别" prop="withdrawType"> <el-form-item label="支取类别"
<el-select v-model.trim="form.withdrawType" placeholder="请选择" ref="withdrawType"> prop="withdrawType">
<el-option label="现金" :value="124"> </el-option> <el-select v-model.trim="form.withdrawType"
placeholder="请选择"
ref="withdrawType">
<el-option label="现金"
:value="124"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="支取密码" required> <el-form-item label="支取密码"
<div v-if='!form.drawPassword' class="idCard" @click="popUp2('密码器')"> required>
<div v-if='!form.drawPassword'
class="idCard"
@click="popUp2('密码器')">
<p>请输入密码</p> <p>请输入密码</p>
</div> </div>
<div v-else @click="popUp2('密码器')"> <div v-else
<el-input :value="form.drawPassword" ref="drawPassword" type="password"></el-input> @click="popUp2('密码器')">
<el-input :value="form.drawPassword"
ref="drawPassword"
type="password"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="10" :offset="1"> <el-col :span="10"
<el-form-item label="客户姓名" prop="customerName"> :offset="1">
<el-input :value="form.customerName" disabled @input="(val) => checkName(val, form, 'customerName')" ref="customerName"></el-input> <el-form-item label="客户姓名"
prop="customerName">
<el-input :value="form.customerName"
disabled
@input="(val) => checkName(val, form, 'customerName')"
ref="customerName"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="钞汇标识" prop="goldLogo"> <el-form-item label="钞汇标识"
<el-select v-model.trim="form.goldLogo" placeholder="请选择" ref="goldLogo"> prop="goldLogo">
<el-option v-for="item in getSelectList.goldLogoSelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option> <el-select v-model.trim="form.goldLogo"
placeholder="请选择"
ref="goldLogo">
<el-option v-for="item in getSelectList.goldLogoSelectList"
:label="item.options"
:value="item.itemId"
:key="item.itemId"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="本金" prop="capital"> <el-form-item label="本金"
<el-input :value="form.capital" disabled @input="val => ismoney(val, form, 'capital')" ref="capital" ></el-input> prop="capital">
<el-input :value="form.capital"
disabled
@input="val => ismoney(val, form, 'capital')"
ref="capital"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="支取金额" prop="withdrawAmount"> <el-form-item label="支取金额"
<el-input ref="withdrawAmount" :value="form.withdrawAmount" :disabled="capitalDisabled" @input="val => getMoneyJudge(val)"></el-input> prop="withdrawAmount">
<el-input ref="withdrawAmount"
:value="form.withdrawAmount"
:disabled="capitalDisabled"
@input="val => getMoneyJudge(val)"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="利息" prop="interest"> <el-form-item label="利息"
<el-input :value="form.interest" disabled @input="(val) => rateListen(val, form, 'interest')" ref="interest"></el-input> prop="interest">
<el-input :value="form.interest"
disabled
@input="(val) => rateListen(val, form, 'interest')"
ref="interest"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="新凭证号码" prop="newVoucherNumber" v-show="form.withdrawWay===125"> <el-form-item label="新凭证号码"
<el-input :value="form.newVoucherNumber" @input="(val) => inputListen(val, form, 'newVoucherNumber')" ref="newVoucherNumber"></el-input> prop="newVoucherNumber"
v-show="form.withdrawWay===125">
<el-input :value="form.newVoucherNumber"
@input="(val) => inputListen(val, form, 'newVoucherNumber')"
ref="newVoucherNumber"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-form> </el-form>
</el-row> </el-row>
<el-button @click="submitIt" type="primary" class="submitBtn" v-throttle>提交</el-button> <el-button @click="submitIt"
<my-dialog :moduleName="moduleName" v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" /> type="primary"
class="submitBtn"
v-throttle>提交</el-button>
<my-dialog :moduleName="moduleName"
v-if="visible"
:visible.sync="visible"
:showForm="form"
:formName="formName"
@submitIt="submitForm2" />
</div> </div>
<!-- <need-before v-else :moduleName='needBefore' :unNeed="unNeed" /> --> <!-- <need-before v-else :moduleName='needBefore' :unNeed="unNeed" /> -->
</template> </template>
@ -350,7 +416,7 @@ export default{
this.form.goldLogo = goldLogo this.form.goldLogo = goldLogo
// this.form.interest = interest // this.form.interest = interest
this.form.depositNumber = depositNumber this.form.depositNumber = depositNumber
this.form.capital = money || 0 this.form.capital = money || 1000000
this.form.withdrawType = withdrawType this.form.withdrawType = withdrawType
// this.form.withdrawAmount = Number(this.form.interest) + Number(this.form.capital) // this.form.withdrawAmount = Number(this.form.interest) + Number(this.form.capital)
}, },

@ -1,41 +1,41 @@
<template> <template>
<!-- 商业银行系统菜单文件 --> <!-- 商业银行系统菜单文件 -->
<el-menu class="sidebar-el-menu" :default-active="onRoutes" @select="select" router background-color="#313540" text-color="#fff" active-text-color="#ffd04b" unique-opened> <el-menu class="sidebar-el-menu"
:default-active="onRoutes"
@select="select"
router
background-color="#313540"
text-color="#fff"
active-text-color="#ffd04b"
unique-opened>
<template v-for="(item,index) in menus"> <template v-for="(item,index) in menus">
<template v-if="item.children"> <template v-if="item.children">
<el-submenu :index="item.index" :key="item.index"> <el-submenu :index="item.index"
:key="item.index">
<template slot="title"> <template slot="title">
<el-image <el-image style="width: 22px; height: 22px; margin-right: 10px;"
style="width: 22px; height: 22px; margin-right: 10px;"
class="align-middle" class="align-middle"
:src="item.logo" :src="item.logo"></el-image>
></el-image>
<span slot="title">{{ item.title }}</span> <span slot="title">{{ item.title }}</span>
</template> </template>
<template v-for="(subItem,index) in item.children"> <template v-for="(subItem,index) in item.children">
<el-submenu <el-submenu v-if="subItem.children"
v-if="subItem.children"
:index="subItem.index" :index="subItem.index"
:key="subItem.index" :key="subItem.index">
>
<template slot="title">{{ subItem.title }}</template> <template slot="title">{{ subItem.title }}</template>
<el-menu-item <el-menu-item v-for="(threeItem,i) in subItem.children"
v-for="(threeItem,i) in subItem.children"
:key="i" :key="i"
:index="threeItem.index" :index="threeItem.index">{{ threeItem.title }}</el-menu-item>
>{{ threeItem.title }}</el-menu-item>
</el-submenu> </el-submenu>
<el-menu-item <el-menu-item v-else
v-else
:index="subItem.index" :index="subItem.index"
:key="subItem.index" :key="subItem.index">{{ subItem.title }}</el-menu-item>
>{{ subItem.title }}</el-menu-item>
</template> </template>
</el-submenu> </el-submenu>
</template> </template>
<template v-else> <template v-else>
<el-menu-item :index="item.index" :key="item.index"> <el-menu-item :index="item.index"
:key="item.index">
<i :class="item.icon"></i> <i :class="item.icon"></i>
<span slot="title">{{ item.title }}</span> <span slot="title">{{ item.title }}</span>
</el-menu-item> </el-menu-item>
@ -248,7 +248,7 @@ export default {
}, },
beforeDestroy () { beforeDestroy () {
sessionStorage.setItem('computerPath', this.onRoutes) sessionStorage.setItem('computerPath', this.onRoutes)
this.$router.push('/counter/list/') sessionStorage.getItem('submited') || this.$router.push('/counter/list/')
}, },
}; };
@ -333,12 +333,10 @@ export default {
// menu // menu
/deep/ .el-submenu__title span { /deep/ .el-submenu__title span {
font-size: 18px; font-size: 18px;
} }
/deep/.el-menu-item { /deep/.el-menu-item {
font-size: 18px !important; font-size: 18px !important;
} }
// .myOver { // .myOver {
// overflow: hidden; // overflow: hidden;

@ -125,8 +125,7 @@
label="判分点" label="判分点"
width="200" width="200"
align="center"></el-table-column> align="center"></el-table-column>
<el-table-column v-if='project' <el-table-column prop="judgmentName"
prop="judgmentName"
label="考核点" label="考核点"
align="center" align="center"
width="150"> width="150">
@ -156,6 +155,22 @@
v-html="scope.row.referenceAnswer"></div> v-html="scope.row.referenceAnswer"></div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="userAnswer"
label="学生答案">
<template slot-scope="scope">
<div v-if='scope.row.lcRuleRecords'>
<div v-for="(item, index) in scope.row.lcRuleRecords"
:key="index">
<span v-if='item.userAnswer'>
<span>{{index+1}}. </span>{{item.userAnswer}}
</span>
<span v-else>
<span>{{index+1}}. </span>未填写
</span>
</div>
</div>
</template>
</el-table-column>
<el-table-column prop="quesScore" <el-table-column prop="quesScore"
label="分值" label="分值"
width="80" width="80"

@ -454,6 +454,7 @@ const myInitState = {
// 身份证号码、客户号、客户姓名、币种(人民币)、钞汇标识(钞户) // 身份证号码、客户号、客户姓名、币种(人民币)、钞汇标识(钞户)
currency:12, currency:12,
goldLogo:13, goldLogo:13,
capital: 1000000,
userName, userName,
peopleNumber, peopleNumber,
idNumber, idNumber,

Loading…
Cancel
Save