Commit 922d49cb by 李少勇

去掉额外的事件

parent 51961de6
...@@ -52,7 +52,7 @@ export default { ...@@ -52,7 +52,7 @@ export default {
}, },
mounted() { mounted() {
if (!this.isInDisplay && !['gitopn'].includes(this.trnName)) { if (!this.isInDisplay && !['gitopn'].includes(this.trnName)) {
this.generateFormRules() // this.generateFormRules()
} }
}, },
methods: { methods: {
......
...@@ -96,7 +96,6 @@ ...@@ -96,7 +96,6 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
</c-row> </c-row>
</div> </div>
...@@ -110,7 +109,7 @@ export default { ...@@ -110,7 +109,7 @@ export default {
data() { data() {
return {}; return {};
}, },
methods: { ...Event }, methods: { },
created: function () {}, created: function () {},
}; };
</script> </script>
......
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
disabled disabled
size="small" size="small"
type="primary" type="primary"
@click="onCnrpDet" @click="queryFormData"
> >
详情 详情
</c-button> </c-button>
...@@ -142,7 +142,7 @@ ...@@ -142,7 +142,7 @@
disabled disabled
size="small" size="small"
type="primary" type="primary"
@click="onConpDet" @click="queryFormData"
> >
详情 详情
</c-button> </c-button>
......
...@@ -224,7 +224,7 @@ ...@@ -224,7 +224,7 @@
<c-button <c-button
size="small" size="small"
type="primary" type="primary"
@click="onCouselOperselbut" @click="queryFormData"
> >
? ?
</c-button> </c-button>
...@@ -315,7 +315,7 @@ ...@@ -315,7 +315,7 @@
<c-button <c-button
size="small" size="small"
type="primary" type="primary"
@click="onCouselOperselbut" @click="queryFormData"
> >
? ?
</c-button> </c-button>
......
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
size="small" size="small"
type="primary" type="primary"
style="margin: 5px 0 0 10px" style="margin: 5px 0 0 10px"
@click="onGitpButdifcovgodsrvc" @click="queryFormData"
> >
查看系统文本 查看系统文本
</c-button> </c-button>
...@@ -98,7 +98,7 @@ ...@@ -98,7 +98,7 @@
size="small" size="small"
type="primary" type="primary"
style="margin: 5px 0 0 10px" style="margin: 5px 0 0 10px"
@click="onGitpButdifhiscovgodsrvc" @click="queryFormData"
> >
查看历史文本 查看历史文本
</c-button> </c-button>
......
...@@ -51,7 +51,6 @@ ...@@ -51,7 +51,6 @@
size="small" size="small"
type="primary" type="primary"
style="margin: 5px 0 0 10px; width: 50%" style="margin: 5px 0 0 10px; width: 50%"
@click="onGitpButdif"
> >
查看系统文本 查看系统文本
</c-button> </c-button>
...@@ -62,7 +61,6 @@ ...@@ -62,7 +61,6 @@
size="small" size="small"
type="primary" type="primary"
style="margin: 5px 0 0 10px; width: 50%" style="margin: 5px 0 0 10px; width: 50%"
@click="onGitpButdifhis"
> >
查看历史文本 查看历史文本
</c-button> </c-button>
...@@ -74,7 +72,6 @@ ...@@ -74,7 +72,6 @@
size="small" size="small"
type="primary" type="primary"
style="margin: 5px 0 0 10px; width: 50%" style="margin: 5px 0 0 10px; width: 50%"
@click="onGitpShwgidtxt"
> >
显示文本 显示文本
</c-button> </c-button>
...@@ -95,7 +92,6 @@ ...@@ -95,7 +92,6 @@
style="margin: 5px 0 0 10px" style="margin: 5px 0 0 10px"
size="small" size="small"
type="primary" type="primary"
@click="onGitpButgetref"
> >
获取 获取
</c-button> </c-button>
...@@ -106,7 +102,6 @@ ...@@ -106,7 +102,6 @@
size="small" size="small"
type="primary" type="primary"
style="margin: 5px 0 0 10px; width: 50%" style="margin: 5px 0 0 10px; width: 50%"
@click="onGitpGidtxtmod"
> >
修改中文保函文本 修改中文保函文本
</c-button> </c-button>
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
style="margin: 5px 0 5px 10px" style="margin: 5px 0 5px 10px"
size="small" size="small"
type="primary" type="primary"
@click="onGitpButgetref" @click="queryFormData"
> >
获取 获取
</c-button> </c-button>
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
size="small" size="small"
type="primary" type="primary"
style="margin: 5px 0 0 10px; width: 50%" style="margin: 5px 0 0 10px; width: 50%"
@click="onGitpButdifc" @click="queryFormData"
> >
查看系统文本 查看系统文本
</c-button> </c-button>
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
size="small" size="small"
type="primary" type="primary"
style="margin: 5px 0 0 10px; width: 50%" style="margin: 5px 0 0 10px; width: 50%"
@click="onGitpButdifhisc" @click="queryFormData"
> >
查看历史文本 查看历史文本
</c-button> </c-button>
...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
size="small" size="small"
type="primary" type="primary"
style="margin: 5px 0 0 10px; width: 50%" style="margin: 5px 0 0 10px; width: 50%"
@click="onGitpShwgidtxtc" @click="queryFormData"
> >
显示文本 显示文本
</c-button> </c-button>
...@@ -115,7 +115,7 @@ ...@@ -115,7 +115,7 @@
size="small" size="small"
type="primary" type="primary"
style="margin: 5px 0 0 10px; width: 50%" style="margin: 5px 0 0 10px; width: 50%"
@click="onGitpGidtxtmodc" @click="queryFormData"
> >
修改中文保函文本 修改中文保函文本
</c-button> </c-button>
...@@ -136,7 +136,7 @@ export default { ...@@ -136,7 +136,7 @@ export default {
data() { data() {
return {}; return {};
}, },
methods: { ...Event }, methods: {},
created: function () {}, created: function () {},
}; };
</script> </script>
......
...@@ -138,7 +138,6 @@ export default { ...@@ -138,7 +138,6 @@ export default {
computed: { computed: {
}, },
methods: { methods: {
...Event,
handleChange(names){ handleChange(names){
// console.log(names);//激活的(展开的)面板的name数组集合 // console.log(names);//激活的(展开的)面板的name数组集合
if (this.isInDisplay) { if (this.isInDisplay) {
......
...@@ -1346,13 +1346,14 @@ ...@@ -1346,13 +1346,14 @@
</template> </template>
<script> <script>
import event from '../event' import event from '../event'
import commonApi from "~/mixin/commonApi"
import Ptap from "~/views/Public/Ptap"; import Ptap from "~/views/Public/Ptap";
export default { export default {
components: { "c-ptap": Ptap }, components: { "c-ptap": Ptap },
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [event], mixins: [commonApi, event],
data() { data() {
return {}; return {};
}, },
...@@ -1400,7 +1401,6 @@ export default { ...@@ -1400,7 +1401,6 @@ export default {
}, },
}, },
methods: { methods: {
// ...Event,
onSeainf(data) { onSeainf(data) {
this.$emit("onSeainf", data); this.$emit("onSeainf", data);
}, },
......
...@@ -272,7 +272,7 @@ export default { ...@@ -272,7 +272,7 @@ export default {
data() { data() {
return {}; return {};
}, },
methods: { ...Event }, methods: { },
created: function () {}, created: function () {},
}; };
</script> </script>
......
...@@ -135,12 +135,10 @@ ...@@ -135,12 +135,10 @@
placeholder="请输入收费代码的附加详情" placeholder="请输入收费代码的附加详情"
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<!-- @click="onAcctagButtxmsel" -->
<c-button <c-button
size="small" size="small"
type="primary" type="primary"
icon="el-icon-more" icon="el-icon-more"
@click="onChargiButtxmsel"
> >
</c-button> </c-button>
</template> </template>
...@@ -199,7 +197,6 @@ ...@@ -199,7 +197,6 @@
size="small" size="small"
type="primary" type="primary"
style="margin: 5px 0 0 10px; width: 100px;float:left;" style="margin: 5px 0 0 10px; width: 100px;float:left;"
@click="onGitpButdifpreper"
> >
查看系统文本 查看系统文本
</c-button> </c-button>
...@@ -208,7 +205,6 @@ ...@@ -208,7 +205,6 @@
size="small" size="small"
style="margin: 5px 0 0 10px; width: 100px;float:left;" style="margin: 5px 0 0 10px; width: 100px;float:left;"
type="primary" type="primary"
@click="onGitpButdifhispreper"
> >
查看历史文本 查看历史文本
</c-button> </c-button>
...@@ -231,9 +227,7 @@ export default { ...@@ -231,9 +227,7 @@ export default {
data() { data() {
return {}; return {};
}, },
methods: { methods: {},
...Event,
},
created: function () {}, created: function () {},
}; };
</script> </script>
......
...@@ -109,7 +109,6 @@ ...@@ -109,7 +109,6 @@
size="small" size="small"
type="primary" type="primary"
icon="el-icon-more" icon="el-icon-more"
@click="onChargicButtxmsel"
> >
</c-button> </c-button>
...@@ -154,7 +153,6 @@ ...@@ -154,7 +153,6 @@
size="small" size="small"
type="primary" type="primary"
style="margin: 5px 0 0 10px; width: 98px" style="margin: 5px 0 0 10px; width: 98px"
@click="onGitpButdifpreperc"
> >
查看系统文本 查看系统文本
</c-button> </c-button>
...@@ -163,7 +161,6 @@ ...@@ -163,7 +161,6 @@
size="small" size="small"
style="margin: 5px 0 0 10px; width: 98px" style="margin: 5px 0 0 10px; width: 98px"
type="primary" type="primary"
@click="onGitpButdifhispreperc"
> >
查看历史文本 查看历史文本
</c-button> </c-button>
......
...@@ -206,7 +206,7 @@ ...@@ -206,7 +206,7 @@
> >
<i class="el-icon-info"></i> <i class="el-icon-info"></i>
</c-button> </c-button>
<c-button size="small" type="primary" @click="onCtrpDet"> <c-button size="small" type="primary" @click="queryFormData">
详情 详情
</c-button> </c-button>
</template> </template>
...@@ -317,7 +317,7 @@ ...@@ -317,7 +317,7 @@
> >
<i class="el-icon-info"></i> <i class="el-icon-info"></i>
</c-button> </c-button>
<c-button size="small" type="primary" @click="onCtrpDet"> <c-button size="small" type="primary" @click="queryFormData">
详情 详情
</c-button> </c-button>
</template> </template>
...@@ -451,7 +451,6 @@ ...@@ -451,7 +451,6 @@
disabled disabled
size="small" size="small"
type="primary" type="primary"
@click="onIsspDet"
> >
详情 详情
</c-button> </c-button>
...@@ -510,7 +509,7 @@ ...@@ -510,7 +509,7 @@
> >
<i class="el-icon-info"></i> <i class="el-icon-info"></i>
</c-button> </c-button>
<c-button size="small" type="primary" @click="queryFormData"> <c-button size="small" type="primary">
详情 详情
</c-button> </c-button>
</template> </template>
...@@ -560,7 +559,7 @@ ...@@ -560,7 +559,7 @@
> >
<i class="el-icon-info"></i> <i class="el-icon-info"></i>
</c-button> </c-button>
<c-button size="small" type="primary" @click="onAtbpDet"> <c-button size="small" type="primary">
详情 详情
</c-button> </c-button>
</template> </template>
...@@ -594,7 +593,6 @@ ...@@ -594,7 +593,6 @@
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
size="mini" size="mini"
@click="handleEdit(scope.$index, scope.row)"
type="primary" type="primary"
>详情</el-button >详情</el-button
> >
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
> >
<i class="el-icon-info"></i> <i class="el-icon-info"></i>
</c-button> </c-button>
<c-button size="small" type="primary" @click="onApcpDet"> <c-button size="small" type="primary" @click="queryFormData">
详情 详情
</c-button> </c-button>
</template> </template>
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
> >
<i class="el-icon-info"></i> <i class="el-icon-info"></i>
</c-button> </c-button>
<c-button size="small" type="primary" @click="onCtcpDet"> <c-button size="small" type="primary" @click="queryFormData">
详情 详情
</c-button> </c-button>
</template> </template>
...@@ -132,7 +132,7 @@ ...@@ -132,7 +132,7 @@
> >
<i class="el-icon-info"></i> <i class="el-icon-info"></i>
</c-button> </c-button>
<c-button size="small" type="primary" @click="onBecpDet"> <c-button size="small" type="primary" @click="queryFormData">
详情 详情
</c-button> </c-button>
</template> </template>
...@@ -187,7 +187,7 @@ ...@@ -187,7 +187,7 @@
:disabled="model.gidgrp.iss.pts.adrblk == ''" :disabled="model.gidgrp.iss.pts.adrblk == ''"
size="small" size="small"
type="primary" type="primary"
@click="onIsspDet" @click="queryFormData"
> >
详情 详情
</c-button> </c-button>
...@@ -246,7 +246,7 @@ ...@@ -246,7 +246,7 @@
:disabled="model.gidgrp.ben.pts.adrblk == ''" :disabled="model.gidgrp.ben.pts.adrblk == ''"
size="small" size="small"
type="primary" type="primary"
@click="onBenpDet" @click="queryFormData"
> >
详情 详情
</c-button> </c-button>
...@@ -299,10 +299,9 @@ ...@@ -299,10 +299,9 @@
size="small" size="small"
type="primary" type="primary"
icon="el-icon-search" icon="el-icon-search"
@click="onSeainf(`gidgrp.avc.pts.extkey`)"
> >
</c-button> </c-button>
<c-button size="small" type="primary" @click="onAvcpDet"> <c-button size="small" type="primary" @click="queryFormData">
详情 详情
</c-button> </c-button>
</template> </template>
......
...@@ -242,7 +242,7 @@ ...@@ -242,7 +242,7 @@
<c-button <c-button
size="small" size="small"
type="primary" type="primary"
@click="onVoucty1Selbut1" @click="queryFormData"
> >
? ?
</c-button> </c-button>
...@@ -276,7 +276,7 @@ ...@@ -276,7 +276,7 @@
<c-button <c-button
size="small" size="small"
type="primary" type="primary"
@click="onVoucty2Selbut1" @click="queryFormData"
> >
? ?
</c-button> </c-button>
...@@ -300,7 +300,7 @@ ...@@ -300,7 +300,7 @@
<c-button <c-button
size="small" size="small"
type="primary" type="primary"
@click="onVoucty3Selbut1" @click="queryFormData"
> >
? ?
</c-button> </c-button>
...@@ -334,7 +334,7 @@ ...@@ -334,7 +334,7 @@
<c-button <c-button
size="small" size="small"
type="primary" type="primary"
@click="onVoucty4Selbut1" @click="queryFormData"
> >
? ?
</c-button> </c-button>
......
...@@ -106,6 +106,8 @@ import event from '../event' ...@@ -106,6 +106,8 @@ import event from '../event'
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs"; import commonFuncs from "~/mixin/commonFuncs";
import formRules from '../model' import formRules from '../model'
import CodeTable from "~/config/CodeTable";
import Gitopn from "~/model/Gitopn";
import Opnp from "./Opnp"; import Opnp from "./Opnp";
import Ovwp from "./Ovwp"; import Ovwp from "./Ovwp";
import Ptyp from "./Ptyp"; import Ptyp from "./Ptyp";
......
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