首页 > temp > 简明python教程 >
-
适合小白的Demo_easyui+core3第六章用到的
1、引用包
Microsoft.EntityFrameworkCore.Tools
Microsoft.EntityFrameworkCore.SqlServer
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation
Microsoft.AspNetCore.Http.Abstractions
Microsoft.AspNetCore.Mvc.RazorPages
Microsoft.EntityFrameworkCore
2、easyui组件 easyui-combobox
<div style="margin-bottom:10px">
<input id="documenttype" name="type" class="easyui-combobox" label="类型:" style="width:100%"
data-options="
idField: 'id',
textField: 'value',
url: '/filedocumentlist/getdxtype',
method: 'get',
columns: [[
{field:'id',title:'序号',width:60},
{field:'value',title:'值',width:100}
]],
onLoadSuccess:function(){
$('#documenttype').combobox('setValue','选择房屋类型');
}
">
</div>
3、easyui组件 easyui-combogrid
<input id="Userid" name="Userid" class="easyui-combogrid" required label="用户:" style="width:100%"
data-options="
idField: 'id',
textField: 'value',
url: '/userrolelist/getuserlist',
method: 'get',
columns: [[
{field:'id',title:'序号',width:60},
{field:'value',title:'值',width:100}
]],
onLoadSuccess:function(){
$('#Userid').combobox('setValue','选择用户');
}
">