Commit 51a3473f by LiRui

gitadd界面修改

parent 2ae7cd83
...@@ -49,7 +49,7 @@ export default { ...@@ -49,7 +49,7 @@ export default {
} }
</script> </script>
<style> <style scoped>
.m-table-search { .m-table-search {
position: relative; position: relative;
margin: -20px 0 0 0; margin: -20px 0 0 0;
......
...@@ -52,7 +52,6 @@ ...@@ -52,7 +52,6 @@
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
> >
...@@ -133,7 +132,6 @@ ...@@ -133,7 +132,6 @@
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
> >
......
...@@ -192,8 +192,8 @@ ...@@ -192,8 +192,8 @@
created: function () {}, created: function () {},
}; };
</script> </script>
<style> <style scoped>
.ql-editor { .quill-editor >>> .ql-editor {
min-height: 250px; min-height: 250px;
max-height: 500px; max-height: 500px;
} }
......
...@@ -154,6 +154,10 @@ ...@@ -154,6 +154,10 @@
created: function () {}, created: function () {},
}; };
</script> </script>
<style> <style scoped>
.quill-editor >>> .ql-editor {
min-height: 250px;
max-height: 500px;
}
</style> </style>
\ No newline at end of file
...@@ -722,7 +722,6 @@ ...@@ -722,7 +722,6 @@
</c-input> </c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
> >
...@@ -870,7 +869,6 @@ ...@@ -870,7 +869,6 @@
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
> >
...@@ -944,7 +942,6 @@ ...@@ -944,7 +942,6 @@
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
> >
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
> >
...@@ -85,7 +84,6 @@ ...@@ -85,7 +84,6 @@
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
> >
...@@ -149,7 +147,6 @@ ...@@ -149,7 +147,6 @@
<!-- @blur="benBlur" --> <!-- @blur="benBlur" -->
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
> >
...@@ -205,7 +202,6 @@ ...@@ -205,7 +202,6 @@
<!-- @blur="benBlur" --> <!-- @blur="benBlur" -->
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
> >
...@@ -263,7 +259,6 @@ ...@@ -263,7 +259,6 @@
<!-- @blur="benBlur" --> <!-- @blur="benBlur" -->
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
> >
...@@ -291,7 +286,6 @@ ...@@ -291,7 +286,6 @@
maxlength="140" maxlength="140"
show-word-limit show-word-limit
placeholder="请输入地址名称" placeholder="请输入地址名称"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -320,7 +314,6 @@ ...@@ -320,7 +314,6 @@
<!-- @blur="benBlur" --> <!-- @blur="benBlur" -->
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
> >
...@@ -343,7 +336,6 @@ ...@@ -343,7 +336,6 @@
maxlength="140" maxlength="140"
show-word-limit show-word-limit
placeholder="请输入地址名称" placeholder="请输入地址名称"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -364,10 +356,7 @@ ...@@ -364,10 +356,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item label="受益人" prop="gidgrp.ben.pts.extkey">
label="受益人"
prop="gidgrp.ben.pts.extkey"
>
<c-fullbox> <c-fullbox>
<c-input <c-input
v-model="model.gidgrp.ben.pts.extkey" v-model="model.gidgrp.ben.pts.extkey"
...@@ -380,7 +369,6 @@ ...@@ -380,7 +369,6 @@
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
> >
...@@ -449,7 +437,6 @@ ...@@ -449,7 +437,6 @@
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
> >
...@@ -514,7 +501,6 @@ ...@@ -514,7 +501,6 @@
<!-- @blur="benBlur" --> <!-- @blur="benBlur" -->
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
> >
...@@ -537,7 +523,6 @@ ...@@ -537,7 +523,6 @@
maxlength="140" maxlength="140"
show-word-limit show-word-limit
placeholder="请输入地址名称" placeholder="请输入地址名称"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -566,7 +551,6 @@ ...@@ -566,7 +551,6 @@
<!-- @blur="benBlur" --> <!-- @blur="benBlur" -->
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
> >
...@@ -589,7 +573,6 @@ ...@@ -589,7 +573,6 @@
maxlength="140" maxlength="140"
show-word-limit show-word-limit
placeholder="请输入地址名称" placeholder="请输入地址名称"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -598,10 +581,7 @@ ...@@ -598,10 +581,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="可录入保函项下其他关联方"> <el-form-item label="可录入保函项下其他关联方">
<c-edit-table <c-edit-table :model="model" v-bind="ptsaddg">
:model="model"
v-bind="ptsaddg"
>
<el-table-column label="操作"> <el-table-column label="操作">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
...@@ -617,52 +597,51 @@ ...@@ -617,52 +597,51 @@
</c-col> </c-col>
</c-col> </c-col>
</c-row> </c-row>
</div> </div>
</template> </template>
<script> <script>
import Api from '~/service/Api' import Api from "~/service/Api";
import commonProcess from '~/mixin/commonProcess' import commonProcess from "~/mixin/commonProcess";
import CodeTable from '~/config/CodeTable' import CodeTable from "~/config/CodeTable";
import Event from '~/model/Gitadd/Event' import Event from "~/model/Gitadd/Event";
import Ptap from '~/views/Public/Ptap' import Ptap from "~/views/Public/Ptap";
import Utils from '~/utils' import Utils from "~/utils";
export default { export default {
components: { 'c-ptap': Ptap }, components: { "c-ptap": Ptap },
inject: ['root'], inject: ["root"],
props: ['model', 'codes'], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return { return {
ptsaddg: { ptsaddg: {
columns: [ columns: [
{ {
title: '角色', title: "角色",
width: '120px', width: "120px",
dataIndex: 'rol', dataIndex: "rol",
show: 'select', show: "select",
}, },
{ {
title: '当事人', title: "当事人",
width: '180px', width: "180px",
dataIndex: 'ptyextkey', dataIndex: "ptyextkey",
show: 'input', show: "input",
}, },
{ {
title: '当事人名称', title: "当事人名称",
width: '250px', width: "250px",
dataIndex: 'nam', dataIndex: "nam",
}, },
{ {
title: '地址编号', title: "地址编号",
width: '250px', width: "250px",
dataIndex: 'ref', dataIndex: "ref",
}, },
], ],
urls: 'gitp.ptsaddp.ptsaddg', urls: "gitp.ptsaddp.ptsaddg",
}, },
} };
}, },
methods: { methods: {
...Event, ...Event,
...@@ -673,7 +652,7 @@ ...@@ -673,7 +652,7 @@
// } // }
// }, // },
// 角色改变手动触发default 500 GIDGRP\REC\DELTO // 角色改变手动触发default 500 GIDGRP\REC\DELTO
async roleChange(){ async roleChange() {
let rtnmsg = await this.executeDefault("gidgrp.rec.delto"); let rtnmsg = await this.executeDefault("gidgrp.rec.delto");
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data); Utils.copyValueFromVO(this.model, rtnmsg.data);
...@@ -681,29 +660,29 @@ ...@@ -681,29 +660,29 @@
}, },
// 切换到演示/交付tab页触发event // 切换到演示/交付tab页触发event
async preperpTab() { async preperpTab() {
let rtnmsg = await this.executeRule('gitp.preperp') let rtnmsg = await this.executeRule("gitp.preperp");
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data) Utils.copyValueFromVO(this.model, rtnmsg.data);
} }
}, },
}, },
watch: { watch: {
"model.gidgrp.apl.pts.adrblk": function() { "model.gidgrp.apl.pts.adrblk": function () {
this.roleChange() this.roleChange();
}, },
"model.gidgrp.ctr.pts.adrblk": function() { "model.gidgrp.ctr.pts.adrblk": function () {
this.roleChange() this.roleChange();
}, },
"model.gidgrp.ben.pts.adrblk": function() { "model.gidgrp.ben.pts.adrblk": function () {
this.roleChange() this.roleChange();
}, },
"model.gidgrp.atb.pts.adrblk": function() { "model.gidgrp.atb.pts.adrblk": function () {
this.roleChange() this.roleChange();
}, },
}, },
created: function () {}, created: function () {},
} };
</script> </script>
<style></style> <style></style>
\ No newline at end of file
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
> >
...@@ -78,7 +77,6 @@ ...@@ -78,7 +77,6 @@
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
> >
...@@ -132,7 +130,6 @@ ...@@ -132,7 +130,6 @@
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
> >
...@@ -184,7 +181,6 @@ ...@@ -184,7 +181,6 @@
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
> >
...@@ -244,7 +240,6 @@ ...@@ -244,7 +240,6 @@
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
> >
...@@ -303,7 +298,6 @@ ...@@ -303,7 +298,6 @@
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
icon="el-icon-search" icon="el-icon-search"
......
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