1. 业务开发
[!tip]
调查问卷插件带有专属标签供用户在模板中快速使用
1.1. 使用问卷
代码片段
...
<div id="form" v-cloak style="margin-top: 10%;margin-bottom: 10%; margin: 0 auto;width: 50%; margin: 5% auto">
// 动态获取
{@ms:qa "调查问卷"/}
// 提交按钮
<el-form ref="form" :model="form" :rules="rules" label-position="right" size="large" label-width="120px">
<el-form-item label=" " class="input">
<el-button @click="save" type="primary" :loading="isLoading" style="width: 200px">
{{isLoading?'保存中':'保存'}}
</el-button>
</el-form-item>
</el-form>
</div>
...
1.2. 导入问卷
[!tip]
自定义模型JSON通过平台的代码生成器获取