| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <html>
- <head>
- <style>
- .el-input .el-input__count .el-input__count-inner {
- position: absolute;
- top: 50px;
- right: 0;
- }
- .el-input__icon {
- vertical-align: top;
- }
- </style>
- </head>
- <body>
- <div id="space-content">
- <div class="space-form-infor">
- <el-form action='@service{name: `personCustomPhrase_add_submit`, page: `toTips` }@' method="post" :model="obj" :rules="appRules" ref="obj" label-width="100px">
- <el-form-item label="内容" prop="context">
- <el-input clearable v-model="obj.context" placeholder="请输入常用语" maxlength="50" show-word-limit></el-input>
- </el-form-item>
- </el-form>
- </div>
- <div class="space-form-btn">
- <el-button type="primary" icon="el-icon-circle-check" :loading="loading" onclick="space.forms.submit();">保存</el-button>
- <el-button icon="el-icon-circle-close" onclick="space.allFunction.closeDialog();">关闭</el-button>
- </div>
- </div>
- </body>
- <script type="text/javascript">
- space.vue = new Vue({
- el: space.appContent,
- data() {
- return {
- obj: {
- context: ''
- },
- appRules: {
- context: space.rules.required({
- label: '内容'
- })
- },
- loading: false
- };
- }
- })
- </script>
- </html>
|