stat_personal.eft 3.77 KB
>div.ui
  >div.ui.modal#infomation
    >div.header
      .{{infomation}}
    >div.content
      >p
        .{{message}}
  >div.ui.modal#modifyedit
    >i.close.icon
    >div.header
      #data-id = {{edit_id}}
      .修改信息
    >div.content
      >div.ui.form
        @submit.prevent.capture
        >div.field
          >div.label
            .日期
          >input
            #disabled
            %value = {{edit_date}}
        >div.two.fields
          >div.field
            >div.label
              .开始时间
            >input
              #type = time
              %value = {{edit_start_time}}
          >div.field
            >div.label
              .结束时间
            >input
              #type = time
              %value = {{edit_end_time}}
        >div.two.fields
          >div.field
            >div.label
              .所属项目
            >select.ui.dropdown
              @change = fetchTask
              %value = {{edit_project_id}}
              >option
                #disabled
                #selected
                #hidden
                #value =
                .选择项目
              +edit_project
          >div.field
            >div.label
              .所属任务
            >select.ui.dropdown
              @change = fetchDetail
              %value = {{edit_task_id}}
              >option
                #disabled
                #selected
                #hidden
                #value = 
                .选择任务
              +edit_task
        >div.four.fields
          >div.field
            >div.label
              .预期开始时间
            >input
              #disabled
              %value = {{edit_expect_start}}
          >div.field
            >div.label
              .预期完成时间
            >input
              #disabled
              %value = {{edit_expect_end}}
          >div.field
            >div.label
              .进度
            >input
              #type = number
              #min = 0
              #max = 100
              %value = {{edit_progress}}
          >div.field
            >div.label
              .任务模式
            >button.ui.toggle.button#longtime_btn
              .长期
        >div.field
          >div.label
            .工作内容
          >textarea
            %value = {{edit_content}}
    >div.actions
      >button.ui.button
        @click = deletework
        .删除
      >button.ui.button.negative
        .取消
      >button.ui.button.green
        @click = btnsubmit
        .确定
  >div.ui.form
    >div.four.fields
      >div.field
        >div.ui.search#namesearch
          >div.ui.icon.input
            >input.prompt
              @change = changeQuery
              #type = text
              #placeholder = 姓名
              %value = {{username}}
            >i.search.icon
      >div.field
        >div.ui.input
          >input
            @change = changeQuery
            #type = date
            %value = {{date}}
      >div.field
        >select.ui.select
          @change = changeQuery
          %value = {{type = daily}}
          >option
            #value = daily
            .查看日期
          >option
            #value = monthly
            .查看月份
      >div.field
        >button.ui.button.basic.primary
          @click = changeQuery
          .刷新
  >div.ui.message
    >div.header
      .统计图表 {{state}}
    >div.ui.divider
    >p
      >div.ct-container
  >div.ui.attached.message
    >div.header
      .任务信息 {{state}}
  >table.ui.celled.table.selectable.tablet.stackable.attached
    >thead
      >tr
        >th
          .任务名称
        >th
          .日期
        >th
          .开始时间
        >th
          .结束时间
        >th
          .说明
        >th
          .操作
    >tbody
      +taskpie