Commit 2b666fca by nanrui

Botacc的Coninfp和Ptyp面板排版以及公共面板引入

parent 73a16a58
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Botacc{
constructor () {
......@@ -166,6 +167,10 @@ export default class Botacc{
filrecv:"", // File Receiver .trnmod.trndoc.filrecv
},
},
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
pageId: "" // ctx的key
}
}
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitinf.labinftxt" data-path=".mtabut.coninf.oitinf.labinftxt" > </span>
<c-col :span="24">
<c-col :span="14">
<c-col :span="24">
<span v-text="model.mtabut.coninf.oitinf.labinftxt"
data-path=".mtabut.coninf.oitinf.labinftxt"></span>
</c-col>
<c-col :span="12">
<c-col :span="24">
<el-form-item label="Infotext" prop="mtabut.coninf.oitinf.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitinf.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
<c-input type="textarea" v-model="model.mtabut.coninf.oitinf.oit.inftxt" maxlength="60"
show-word-limit placeholder="请输入Infotext"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitinf.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitinf.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-col>
<c-col :span="8" :offset="1">
<el-form-item label="Display Type" prop="mtabut.coninf.oitinf.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitinf.oit.inflev" style="width:100%"
placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitset.labinftxt" data-path=".mtabut.coninf.oitset.labinftxt" > </span>
</c-col>
<c-col :span="12">
<c-col :span="24">
<c-col :span="14">
<c-col :span="24">
<span v-text="model.mtabut.coninf.oitset.labinftxt" data-path=".mtabut.coninf.oitset.labinftxt">
</span>
</c-col>
<c-col :span="24">
<el-form-item label="Infotext" prop="mtabut.coninf.oitset.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitset.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
<c-input type="textarea" v-model="model.mtabut.coninf.oitset.oit.inftxt" maxlength="60"
show-word-limit placeholder="请输入Infotext"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitset.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitset.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-col>
<c-col :span="8" :offset="1">
<el-form-item label="Display Type" prop="mtabut.coninf.oitset.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitset.oit.inflev" style="width:100%"
placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<c-col :span="24">
<c-col :span="11">
<el-form-item label="执行日期" prop="mtabut.coninf.conexedat">
<c-date-picker type="date" v-model="model.mtabut.coninf.conexedat" style="width:100%" placeholder="请选择执行日期"></c-date-picker>
<c-date-picker type="date" v-model="model.mtabut.coninf.conexedat" style="width:100%"
placeholder="请选择执行日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="11" :offset="1">
<el-form-item label="User ID" prop="mtabut.coninf.usr.extkey">
<c-input v-model="model.mtabut.coninf.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input>
<c-fullbox>
<c-input v-model="model.mtabut.coninf.usr.extkey" maxlength="8" placeholder="请输入User ID">
</c-input>
</c-fullbox>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
......@@ -56,19 +74,18 @@ import Event from "~/model/Botacc/Event"
export default {
inject: ['root'],
props:["model","codes"],
props: ["model", "codes"],
mixins: [commonProcess],
data(){
data() {
return {
}
},
methods:{...Event},
created:function(){
methods: { ...Event },
created: function () {
}
}
</script>
<style>
</style>
......@@ -28,8 +28,13 @@
</el-tab-pane>
<!--PD000000 -->
<!-- <el-tab-pane label="setpan" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-tab-pane> -->
<el-tab-pane label="setpan" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000000 -->
......@@ -39,7 +44,9 @@
<!--PD000529 -->
<el-tab-pane label="docpan" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000546 -->
......@@ -65,10 +72,12 @@ import Setp from "./Setp"
import Inst from "./Inst"
import Ptyp from "./Ptyp"
import Engp from "./Engp"
import Setpan from "./Setpan"
// import Setpan from "./Setpan"
import Coninfp from "./Coninfp"
import Docpan from "./Docpan"
// import Docpan from "./Docpan"
import Doctre from "./Doctre"
import Setpan from "~/views/Public/Setpan"
import Docpan from "~/views/Public/Docpan"
export default {
......@@ -91,7 +100,7 @@ export default {
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "setp",
tabVal: "ptyp",
trnName: "botacc",
model: new Botacc().data,
checkRules: Check,
......
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