畫面調整,增加統計
This commit is contained in:
@@ -1597,12 +1597,12 @@
|
||||
<asp:TextBox ID="demo" runat="server" Rows="5" TextMode="MultiLine" CssClass="form-control" placeholder="請輸入備註"></asp:TextBox>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-1">
|
||||
<%-- <div class="row mb-1">
|
||||
<label class="col-form-label">自定義欄位預設值</label>
|
||||
<div class="">
|
||||
<asp:TextBox ID="customize_data" runat="server" Rows="3" TextMode="MultiLine" CssClass="form-control" placeholder="一行輸入一個定義欄位預設值,如: $姓名:王OO $聯絡電話:0987654321" ToolTip="一行輸入一個定義欄位預設值,格式: $變數名稱:值"></asp:TextBox>
|
||||
</div>
|
||||
</div>
|
||||
</div>--%>
|
||||
<div class="row mb-1">
|
||||
<asp:Panel ID="timePanel1" runat="server" CssClass="col-12 text-right text-primary" Visible="false">建檔時間:<asp:Literal ID="reg_time" runat="server"></asp:Literal></asp:Panel>
|
||||
<asp:Panel ID="timePanel2" runat="server" CssClass="col-12 text-right text-primary" Visible="false">最後修改時間:<asp:Literal ID="modify_time" runat="server"></asp:Literal></asp:Panel>
|
||||
|
||||
@@ -244,8 +244,21 @@ public partial class admin_follower_reg : MyWeb.config
|
||||
_db.followers.Add(followers);
|
||||
_db.SaveChanges();
|
||||
}
|
||||
|
||||
int _id = followers.num;
|
||||
|
||||
//應該要自動將此人設為第一個親友資料,不然牌位燈打時又要再做一次
|
||||
family_members fm=new family_members();
|
||||
fm.follower_num = _id;
|
||||
fm.fam_name = followers.u_name;
|
||||
fm.fam_gender=followers.sex;
|
||||
fm.deceased = false;
|
||||
fm.birthdate = followers.birthday;
|
||||
|
||||
_db.family_members.Add(fm);
|
||||
_db.SaveChanges();
|
||||
|
||||
|
||||
if (_id > 0)
|
||||
{
|
||||
// 如果啟用 search_keywords 功能,生成並更新 search_keywords
|
||||
|
||||
Reference in New Issue
Block a user