Commit f4758801 by cyy

修改

parent 52a065ff
...@@ -79,6 +79,18 @@ export default { ...@@ -79,6 +79,18 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onDocdisButtxmsel(){
let rtnmsg = await this.executeRule("docdis.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfconButshw(){ async onInfconButshw(){
let rtnmsg = await this.executeRule("infcon.butshw") let rtnmsg = await this.executeRule("infcon.butshw")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
...@@ -103,5 +115,22 @@ export default { ...@@ -103,5 +115,22 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async handleReset() {
},
async handleSearch() {
let rtnmsg = await this.executeRule("infbut.searow")
if(rtnmsg.respCode == SUCCESS)
{
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
} }
\ No newline at end of file
...@@ -66,6 +66,12 @@ export default class Letcan{ ...@@ -66,6 +66,12 @@ export default class Letcan{
}, },
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
setfog:{
setfol:[]
},
setfeg:{
setfel:[]
}
}, },
mtabut:{ mtabut:{
coninf:{ coninf:{
......
...@@ -6,109 +6,95 @@ ...@@ -6,109 +6,95 @@
:rules="rules" :rules="rules"
ref="modelForm" ref="modelForm"
label-width="150px" label-width="150px"
label-position="left" label-position="right"
size="small" size="small"
:validate-on-rule-change="false" :validate-on-rule-change="false"
> >
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick" class="infbedTab">
<!--选择 --> <!-- <el-tab-pane label="选择" name="infsea"> -->
<el-tab-pane label="选择" name="infsea"> <!-- <c-content> -->
<c-content>
<m-infsea :model="model" :codes="codes"/> <m-infsea :model="model" :codes="codes"/>
</c-content> <!-- </c-content> -->
</el-tab-pane> <!-- </el-tab-pane> -->
<!--内容 --> <!-- <el-tab-pane label="内容" name="ovwp">
<el-tab-pane label="内容" name="ovwp">
<c-content> <c-content>
<m-ovwp :model="model" :codes="codes"/> <m-ovwp :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--附言 -->
<el-tab-pane label="附言" name="coninfp"> <el-tab-pane label="附言" name="coninfp">
<c-content> <c-content>
<m-coninfp :model="model" :codes="codes"/> <m-coninfp :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--Transactions -->
<el-tab-pane label="Transactions" name="trnpan"> <el-tab-pane label="Transactions" name="trnpan">
<c-content> <c-content>
<m-trnpan :model="model" :codes="codes"/> <m-trnpan :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--CBS Info -->
<el-tab-pane label="CBS Info" name="cbsinfp"> <el-tab-pane label="CBS Info" name="cbsinfp">
<c-content> <c-content>
<m-cbsinfp :model="model" :codes="codes"/> <m-cbsinfp :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--CBE Info -->
<el-tab-pane label="CBE Info" name="cbeinfp"> <el-tab-pane label="CBE Info" name="cbeinfp">
<c-content> <c-content>
<m-cbeinfp :model="model" :codes="codes"/> <m-cbeinfp :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--FEP /FCP Info -->
<el-tab-pane label="FEP /FCP Info" name="fepinfp"> <el-tab-pane label="FEP /FCP Info" name="fepinfp">
<c-content> <c-content>
<m-fepinfp :model="model" :codes="codes"/> <m-fepinfp :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--SEP Info -->
<el-tab-pane label="SEP Info" name="sepinfp"> <el-tab-pane label="SEP Info" name="sepinfp">
<c-content> <c-content>
<m-sepinfp :model="model" :codes="codes"/> <m-sepinfp :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--GLE Bookings -->
<el-tab-pane label="分录信息" name="gleinfp"> <el-tab-pane label="分录信息" name="gleinfp">
<c-content> <c-content>
<m-gleinfp :model="model" :codes="codes"/> <m-gleinfp :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--SMH Info -->
<el-tab-pane label="报文信息" name="smhinfp"> <el-tab-pane label="报文信息" name="smhinfp">
<c-content> <c-content>
<m-smhinfp :model="model" :codes="codes"/> <m-smhinfp :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--SPT /DIA Info -->
<el-tab-pane label="经办信息" name="peninfp"> <el-tab-pane label="经办信息" name="peninfp">
<c-content> <c-content>
<m-peninfp :model="model" :codes="codes"/> <m-peninfp :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--Engagement -->
<el-tab-pane label="Engagement" name="liainfp"> <el-tab-pane label="Engagement" name="liainfp">
<c-content> <c-content>
<m-liainfp :model="model" :codes="codes"/> <m-liainfp :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--Print -->
<el-tab-pane label="Print" name="prtpan"> <el-tab-pane label="Print" name="prtpan">
<c-content> <c-content>
<m-prtpan :model="model" :codes="codes"/> <m-prtpan :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--Order -->
<el-tab-pane label="Order" name="ordpan"> <el-tab-pane label="Order" name="ordpan">
<c-content> <c-content>
<m-ordpan :model="model" :codes="codes"/> <m-ordpan :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane> -->
</c-tabs> </c-tabs>
</el-form> </el-form>
</div> </div>
...@@ -139,6 +125,7 @@ import Coninfp from "./Coninfp" ...@@ -139,6 +125,7 @@ import Coninfp from "./Coninfp"
// import Coninfp from "~/views/Public/Coninfp"; // import Coninfp from "~/views/Public/Coninfp";
export default { export default {
name: 'Infbed',
components:{ components:{
"m-infsea" : Infsea, "m-infsea" : Infsea,
"m-ovwp" : Ovwp, "m-ovwp" : Ovwp,
...@@ -185,6 +172,7 @@ export default { ...@@ -185,6 +172,7 @@ export default {
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
} }
else else
...@@ -195,5 +183,24 @@ export default { ...@@ -195,5 +183,24 @@ export default {
} }
</script> </script>
<style> <style>
.infbedTab .el-tabs__content {
padding: 10px 0 10px 0;
}
.infbedTab .infrow {
padding: 0 10px 0 10px;
}
.infTopBtn {
position: absolute;
top: 0;
z-index: 5;
width: 100%;
height: 30px;
padding: 10px 0 10px 30px;
background-color: #f7faff;
}
.eContainer {
padding: 3px 15px;
}
</style> </style>
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<span v-text="model.trnmod.trndoc.amdnam" data-path=".trnmod.trndoc.amdnam" > </span> <span v-text="model.trnmod.trndoc.amdnam" data-path=".trnmod.trndoc.amdnam" > </span>
</c-col> </c-col>
<c-col :span="22" style="margin-bottom: 18px" :offset="1"> <!-- <c-col :span="22" style="margin-bottom: 18px" :offset="1">
<c-table <c-table
style="text-align: center" style="text-align: center"
:list="model.trnmod.trncod.doceot" :list="model.trnmod.trncod.doceot"
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
</c-table> </c-table>
</c-col> </c-col> -->
......
...@@ -6,12 +6,12 @@ ...@@ -6,12 +6,12 @@
:model="model" :model="model"
:rules="rules" :rules="rules"
ref="modelForm" ref="modelForm"
label-width="150px" label-width="120px"
label-position="left" label-position="left"
size="small" size="small"
:validate-on-rule-change="false" :validate-on-rule-change="false"
> >
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick" class="letcanTab">
<!--PD000016 --> <!--PD000016 -->
<el-tab-pane label="Cancelation" name="canp"> <el-tab-pane label="Cancelation" name="canp">
...@@ -61,19 +61,22 @@ ...@@ -61,19 +61,22 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import Utils from "~/utils/index";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Letcan from "~/model/Letcan" import Letcan from "~/model/Letcan"
import CommonProcess from "~/mixin/CommonProcess" import CommonProcess from "~/mixin/CommonProcess"
import CommonFuncs from "~/mixin/CommonFuncs";
import Check from "~/model/Letcan/Check" import Check from "~/model/Letcan/Check"
import Default from "~/model/Letcan/Default" import Default from "~/model/Letcan/Default"
import Pattern from "~/model/Letcan/Pattern" import Pattern from "~/model/Letcan/Pattern"
import Canp from "./Canp" import Canp from "./Canp"
import Setpan from "./Setpan" // import Setpan from "./Setpan"
import Coninfp from "./Coninfp" import Coninfp from "./Coninfp"
import Docpan from "./Docpan" import Docpan from "./Docpan"
import Doctre from "./Doctre" import Doctre from "./Doctre"
import Limitbody from "./Limitbody" import Limitbody from "./Limitbody"
// import Setpan from "~/views/Public/Setpan"; import Setpan from "~/views/Public/Setpan";
export default { export default {
...@@ -90,7 +93,7 @@ export default { ...@@ -90,7 +93,7 @@ export default {
root: this root: this
} }
}, },
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理 mixins: [CommonProcess, CommonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "canp", tabVal: "canp",
...@@ -127,5 +130,11 @@ export default { ...@@ -127,5 +130,11 @@ export default {
} }
</script> </script>
<style> <style>
.infcanTab .el-tabs__content {
padding: 10px 0 10px 0;
}
.infcanTab .infrow {
padding: 0 10px 0 10px;
}
</style> </style>
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