Commit 25a050a9 by Eivi

detopn添加方法

parent 1b1e6418
......@@ -2,127 +2,104 @@ import Api from "~/service/Api"
import Utils from "~/utils/index"
export default {
async onDetpButgetref(){
let rtnmsg = await this.executeRule("detp.butgetref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
this.model.dedgrp.rec.ownref = rtnmsg.data.dedgrp_rec_ownref;
this.$message({
type: 'success',
message: '获取成功!'
});
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBenpDet(){
let rtnmsg = await this.executeRule("benp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
async onDetpButgetref() {
let rtnmsg = await this.executeRule("detp.butgetref")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.model.dedgrp.rec.ownref = rtnmsg.data.dedgrp_rec_ownref;
this.$message({
type: 'success',
message: '获取成功!'
});
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
onSeainf() {},
onExtkey() {},
mytypeChange() {},
avbbykeyEvent() {},
recTratypChange() {},
async onBenpDet() {
let rtnmsg = await this.executeRule("benp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAplpDet(){
let rtnmsg = await this.executeRule("aplp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onAplpDet() {
let rtnmsg = await this.executeRule("aplp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLcrdftatButtxmsel(){
let rtnmsg = await this.executeRule("lcrdftat.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLcrdftatButtxmsel() {
let rtnmsg = await this.executeRule("lcrdftat.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onPreperButtxmsel(){
let rtnmsg = await this.executeRule("preper.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onPreperButtxmsel() {
let rtnmsg = await this.executeRule("preper.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLcrgodButtxmsel(){
let rtnmsg = await this.executeRule("lcrgod.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLcrgodButtxmsel() {
let rtnmsg = await this.executeRule("lcrgod.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLcrdocButtxmsel(){
let rtnmsg = await this.executeRule("lcrdoc.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLcrdocButtxmsel() {
let rtnmsg = await this.executeRule("lcrdoc.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAdlcndButtxmsel(){
let rtnmsg = await this.executeRule("adlcnd.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onAdlcndButtxmsel() {
let rtnmsg = await this.executeRule("adlcnd.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInsbnkButtxmsel(){
let rtnmsg = await this.executeRule("insbnk.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInsbnkButtxmsel() {
let rtnmsg = await this.executeRule("insbnk.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetmodDet() {
let rtnmsg = await this.executeRule("setmod.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onSetmodDet() {
let rtnmsg = await this.executeRule("setmod.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
}
\ No newline at end of file
......@@ -10,7 +10,7 @@
</c-select>
</el-form-item>
<el-form-item label="分期装运/提供服务" prop="dedgrp.rec. 看看评【评【评【">
<el-form-item label="分期装运/提供服务" prop="dedgrp.rec.fqzytgfw">
<c-select v-model="model.dedgrp.rec.fqzytgfw" placeholder="请选择" :disabled="model.dedgrp.rec.shppar != 'Y'" style="width:100%">
<el-option v-for="item in codes.shppar" :key="item.value" :label="item.label" :value="item.value">
</el-option>
......@@ -73,7 +73,8 @@
<!--
<c-col :span="12">
<span v-text="model.detp.fenzhu" data-path=".detp.fenzhu" > </span>
<span v-text="model.detp.fenzhu"
a-path=".detp.fenzhu" > </span>
</c-col>
......@@ -101,7 +102,7 @@ export default {
mixins: [commonProcess],
data(){
return {
mytypeFlag:true,
}
},
methods:{...Event},
......
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