text: let code = {};
  
  
  code.HTML = `
  <template>
  	<VPage type='Form'>
  		<VForm 
  			ref="maintainForm"  
  			:model="maintainForm" 
  			:title="标题" 
  			@submit="submit" 
  		>
  			<VFormItem  
  				v-model="maintainForm.typeId" 
  				name="typeId" 
  				type="comboBox" 
  				label="查询框" 
  				pattern="type/list.do"  
  				:nameKey="['name','code']" 
  				:columnTitle='["名称","代码"]' 
  				:paging="true" 
  			>
  			</VFormItem>
  
  		</VForm>
  	</VPage>
  </template>
  <script>
  	export default {
  
  		data () {
  			return {
  				maintainForm:{typeId:""}
  			}
  		},
  		methods: {
  			submit:function () {
  				this.$refs['maintainForm'].validate((valid) => {
  					if (valid) {
  						app.utils.showMessage("表单验证成功！",1);
  					} else {
  						app.utils.showMessage("表单验证失败！",2);
  					}
  				});
  			}
  		}
  	};
  </script>
  
  `;
  
  export default code;