Commit fdb1699a by 傅凯

提交调整

parent 747b6bdf
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
<el-table <el-table
:data="todolist" :data="todolist"
style="width: 100%" style="width: 100%"
max-height="500"
size="mini"
> >
<el-table-column <el-table-column
prop="typ" prop="typ"
...@@ -73,6 +75,7 @@ export default { ...@@ -73,6 +75,7 @@ export default {
}, },
methods:{ methods:{
async onOffpTodo(){ async onOffpTodo(){
let rtnmsg = await Api.post("office/offp_todo",{data:{'offp_todotyp':this.todoType}}) let rtnmsg = await Api.post("office/offp_todo",{data:{'offp_todotyp':this.todoType}})
if(rtnmsg.code == SUCCESS) if(rtnmsg.code == SUCCESS)
{ {
......
<template> <template>
<c-page title="经办夹"> <c-page title="经办夹">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="100px" size="small"> <el-form :model="model" :rules="rules" ref="modelForm" label-width="100px" size="mini">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="交易名"> <el-form-item label="交易名" prop="sptp.frm">
<el-input v-model="model.sptp.frm" maxlength="6" placeholder="请输入交易"></el-input> <el-input v-model="model.sptp.frm" maxlength="6" placeholder="请输入交易"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
...@@ -16,19 +16,19 @@ ...@@ -16,19 +16,19 @@
--> -->
<el-col :span="12"> <el-col :span="12">
<el-form-item label="业务编号"> <el-form-item label="业务编号" prop="sptp.objref">
<el-input v-model="model.sptp.objref" maxlength="20" placeholder="请输入业务编号"></el-input> <el-input v-model="model.sptp.objref" maxlength="20" placeholder="请输入业务编号"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="经办柜员"> <el-form-item label="经办柜员" prop="sptp.usr">
<el-input v-model="model.sptp.usr" maxlength="20" placeholder="请输入操作员"></el-input> <el-input v-model="model.sptp.usr" maxlength="20" placeholder="请输入操作员"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="状态"> <el-form-item label="状态" prop="sptp.sta">
<el-select v-model="model.sptp.sta" style="width:100%" placeholder="请选择类型"> <el-select v-model="model.sptp.sta" style="width:100%" placeholder="请选择类型">
<el-option <el-option
v-for="item in codes.sptsta" v-for="item in codes.sptsta"
...@@ -43,13 +43,13 @@ ...@@ -43,13 +43,13 @@
<el-col :span="12"> <el-col :span="12">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="起始日期"> <el-form-item label="起始日期" prop="sptp.datsta">
<el-date-picker type="date" v-model="model.sptp.datsta" style="width:100%" placeholder="请选择起始日期"></el-date-picker> <el-date-picker type="date" v-model="model.sptp.datsta" style="width:100%" placeholder="请选择起始日期"></el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="至"> <el-form-item label="至" prop="sptp.datend">
<el-date-picker type="date" v-model="model.sptp.datend" style="width:100%" placeholder="请选择至"></el-date-picker> <el-date-picker type="date" v-model="model.sptp.datend" style="width:100%" placeholder="请选择至"></el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
...@@ -69,12 +69,15 @@ ...@@ -69,12 +69,15 @@
</el-col> </el-col>
<el-col :span=24> <el-col :span=24>
<el-pagination
layout="prev, pager, next"
:total="pager.sptp_lst.total">
</el-pagination>
<el-table <el-table
:data="model.sptp.lst" :data="model.sptp.lst"
style="width: 100%;height:400px;" style="width: 100%;height:400px;"
max-height="500" size="mini"
max-height="400"
> >
<el-table-column <el-table-column
prop="frm" prop="frm"
...@@ -144,35 +147,33 @@ ...@@ -144,35 +147,33 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="op" prop="op"
fixed="right"
label="操作" label="操作"
width="150"> width="150">
<template slot-scope="scope"> <template slot-scope="scope">
<div> <div>
<div v-if="scope.row.frm"> <div v-if="scope.row.frm">
<a href="javascript:void(0)" @click="onDeal(scope.row)">处理</a> <el-link icon="el-icon-edit" type="primary" @click="onDeal(scope.row)">处理</el-link>
<el-divider direction="vertical"></el-divider> <el-divider direction="vertical"></el-divider>
<a href="javascript:void(0)" @click="onSptpDel(scope.row)">删除</a> <el-link icon="el-icon-delete" type="primary" @click="onSptpDel(scope.row)">删除</el-link>
<span v-if="scope.row.smhinr"> <span v-if="scope.row.smhinr">
<el-divider direction="vertical"></el-divider> <el-divider direction="vertical"></el-divider>
<a href="javascript:void(0)" @click="onInc(scope.row)" >显示报文</a> <el-link icon="el-icon-view" type="primary" @click="onInc(scope.row)">显示报文</el-link>
</span> </span>
</div> </div>
<div v-if="!scope.row.frm"> <div v-if="!scope.row.frm">
<a href="javascript:void(0)" @click="onSptpDel(scope.row)">删除</a> <el-link icon="el-icon-delete" type="primary" @click="onSptpDel(scope.row)">删除</el-link>
<span v-if="scope.row.smhinr"> <span v-if="scope.row.smhinr">
<el-divider direction="vertical"></el-divider> <el-divider direction="vertical"></el-divider>
<a href="javascript:void(0)" @click="onInc(scope.row)">显示报文</a> <el-link icon="el-icon-view" type="primary" @click="onInc(scope.row)">显示报文</el-link>
</span> </span>
</div> </div>
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.sptp_lst.total">
</el-pagination>
</el-col> </el-col>
</el-form> </el-form>
...@@ -244,15 +245,15 @@ export default { ...@@ -244,15 +245,15 @@ export default {
"sptp_lst":{total:0,curIdx:0}, "sptp_lst":{total:0,curIdx:0},
}, },
rules:{ rules:{
"sptp.frm":[{type: "string", required: false, len: 6, message: "输入不合法"}], "sptp.frm":[{type: "string", required: false, max:6,min: 1, message: "输入不合法"}],
"sptp.objtyp":[{type: "string", required: false, len: 6, message: "输入不合法"}], "sptp.objtyp":[{type: "string", required: false, max:6,min: 1, message: "输入不合法"}],
"sptp.usr":[{type: "string", required: false, len: 20, message: "输入不合法"}], "sptp.usr":[{type: "string", required: false, max:20,min: 0, message: "输入不合法"}],
"sptp.datsta":[{type: "date", required: false, message: "输入正确的日期"}], //"sptp.datsta":[{type: "date", required: false, message: "输入正确的日期"}],
"sptp.datend":[{type: "date", required: false, message: "输入正确的日期"}], //"sptp.datend":[{type: "date", required: false, message: "输入正确的日期"}],
"sptp.objref":[{type: "string", required: false, len: 20, message: "输入不合法"}], "sptp.objref":[{type: "string", required: false, max:20,min: 1, message: "输入不合法"}],
"mtabut.cortyp":[{type: "string", required: false, len: 3, message: "输入不合法"}], "mtabut.cortyp":[{type: "string", required: false, len: 3, message: "输入不合法"}],
"mtabut.msgtyp":[{type: "string", required: false, len: 100, message: "输入不合法"}], "mtabut.msgtyp":[{type: "string", required: false, max:100,min: 1, message: "输入不合法"}],
"mtabut.docinf":[{type: "string", required: true, len: 200, message: "输入超长"}], "mtabut.docinf":[{type: "string", required: true, max:200,min: 1, message: "输入超长"}],
} }
} }
}, },
......
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
<el-table <el-table
:data="model.recpan.trnlst" :data="model.recpan.trnlst"
style="width: 100%;" style="width: 100%;"
max-height="300" max-height="400"
size="mini" size="mini"
> >
<el-table-column <el-table-column
......
...@@ -11,37 +11,53 @@ ...@@ -11,37 +11,53 @@
<el-menu-item index="/business/office"> <el-menu-item index="/business/office">
<i class="el-icon-menu"></i> <i class="el-icon-menu"></i>
<span slot="title">Home</span> <span slot="title">主页</span>
</el-menu-item> </el-menu-item>
<el-menu-item index="/business/tstopn"> <el-submenu index="0">
<template slot="title">
<span>公共夹</span>
</template>
<el-menu-item index="/business/sptsel">
<i class="el-icon-document"></i>
<span slot="title">待办任务</span>
</el-menu-item>
<el-menu-item index="/business/trnrel">
<i class="el-icon-document"></i>
<span slot="title">复核任务</span>
</el-menu-item>
</el-submenu>
<!-- <el-menu-item index="/business/tstopn">
<i class="el-icon-document"></i> <i class="el-icon-document"></i>
<span slot="title">测试页</span> <span slot="title">测试页</span>
</el-menu-item> </el-menu-item> -->
<el-menu-item index="/business/cptopn">
<i class="el-icon-document"></i>
<span slot="title">汇出汇款</span>
</el-menu-item>
<el-menu-item index="/business/sptsel">
<i class="el-icon-document"></i>
<span slot="title">待办任务</span>
</el-menu-item>
<el-menu-item index="/business/trnrel">
<i class="el-icon-document"></i>
<span slot="title">复核任务</span>
</el-menu-item>
<el-submenu index="1"> <el-submenu index="1">
<template slot="title"> <template slot="title">
<span>汇款</span>
</template>
<el-menu-item index="/business/cptopn">
<i class="el-icon-document"></i>
<span slot="title">汇出汇款</span>
</el-menu-item>
</el-submenu>
<el-submenu index="2">
<template slot="title">
<span>国内证</span> <span>国内证</span>
</template> </template>
<el-menu-item index="/business/ditopn">买方信用证开立</el-menu-item> <el-menu-item index="/business/ditopn">
<el-menu-item index="/business/ditame">信用证修改</el-menu-item> <i class="el-icon-document"></i>
<span slot="title">买方信用证开立</span>
</el-menu-item>
<el-menu-item index="/business/ditame">
<i class="el-icon-document"></i>
<span slot="title">信用证修改</span>
</el-menu-item>
</el-submenu> </el-submenu>
<el-menu-item index="4"> <!-- <el-menu-item index="4">
<i class="el-icon-setting"></i> <i class="el-icon-setting"></i>
<span slot="title">导航四</span> <span slot="title">导航四</span>
</el-menu-item> </el-menu-item> -->
</el-menu> </el-menu>
</el-col> </el-col>
</el-row> </el-row>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment