492 lines
		
	
	
		
			18 KiB
		
	
	
	
		
			Plaintext
		
	
	
			
		
		
	
	
			492 lines
		
	
	
		
			18 KiB
		
	
	
	
		
			Plaintext
		
	
	
<template>
 | 
						|
  <BaseContainer>
 | 
						|
    <template slot="search-container">
 | 
						|
      <el-form :inline="true">
 | 
						|
        <!-- 受试者编号 -->
 | 
						|
        <el-form-item label="受试者编号">
 | 
						|
          <el-input
 | 
						|
            v-model="searchData.SubjectCode"
 | 
						|
            style="width:130px;"
 | 
						|
            clearable
 | 
						|
          />
 | 
						|
        </el-form-item>
 | 
						|
        <el-form-item style="margin-bottom:10px" label="任务状态">
 | 
						|
          <el-select v-model="searchData.TaskState" clearable style="width:120px;">
 | 
						|
            <el-option v-for="item of $d.TaskState" :key="'TaskState' + item.label" :value="item.value" :label="item.label" />
 | 
						|
          </el-select>
 | 
						|
        </el-form-item>
 | 
						|
        <el-form-item style="margin-bottom:10px" label="任务类型">
 | 
						|
          <el-select v-model="searchData.ReadingCategory" clearable style="width:120px;">
 | 
						|
            <el-option v-for="item of $d.ReadingCategory" :key="'ReadingCategory' + item.label" :value="item.value" :label="item.label" />
 | 
						|
          </el-select>
 | 
						|
        </el-form-item>
 | 
						|
 | 
						|
        <el-form-item>
 | 
						|
          <!-- 查询 -->
 | 
						|
          <el-button type="primary" icon="el-icon-search" @click="handleSearch">
 | 
						|
            {{ $t('common:button:search') }}
 | 
						|
          </el-button>
 | 
						|
          <!-- 重置 -->
 | 
						|
          <el-button type="primary" icon="el-icon-refresh-left" @click="handleReset">
 | 
						|
            {{ $t('common:button:reset') }}
 | 
						|
          </el-button>
 | 
						|
        </el-form-item>
 | 
						|
      </el-form>
 | 
						|
    </template>
 | 
						|
    <template slot="main-container">
 | 
						|
      <el-table
 | 
						|
        v-adaptive="{bottomOffset:60}"
 | 
						|
        v-loading="loading"
 | 
						|
        :data="list"
 | 
						|
        stripe
 | 
						|
        height="100"
 | 
						|
        @sort-change="handleSortChange"
 | 
						|
      >
 | 
						|
        <el-table-column type="index" width="40" align="left" />
 | 
						|
        <!-- 是否加急 -->
 | 
						|
        <el-table-column
 | 
						|
          prop="IsUrgent"
 | 
						|
          min-width="100"
 | 
						|
          label="是否加急"
 | 
						|
          show-overflow-tooltip
 | 
						|
        >
 | 
						|
          <template slot-scope="scope">
 | 
						|
            <el-tag v-if="scope.row.IsUrgent" type="danger">{{ $fd('YesOrNo', scope.row.IsUrgent) }}</el-tag>
 | 
						|
            <el-tag v-else type="primary">{{ $fd('YesOrNo', scope.row.IsUrgent) }}</el-tag>
 | 
						|
          </template>
 | 
						|
        </el-table-column>
 | 
						|
        <!-- 任务编号 -->
 | 
						|
        <el-table-column
 | 
						|
          prop="TaskCode"
 | 
						|
          min-width="100"
 | 
						|
          label="任务编号"
 | 
						|
          sortable="custom"
 | 
						|
          show-overflow-tooltip
 | 
						|
        />
 | 
						|
 | 
						|
        <!-- 受试者编号 -->
 | 
						|
        <el-table-column
 | 
						|
          prop="SubjectCode"
 | 
						|
          min-width="100"
 | 
						|
          label="受试者编号"
 | 
						|
          show-overflow-tooltip
 | 
						|
        />
 | 
						|
 | 
						|
        <!-- 盲态访视名称 -->
 | 
						|
        <el-table-column
 | 
						|
          prop="TaskBlindName"
 | 
						|
          min-width="100"
 | 
						|
          label="盲态访视名称"
 | 
						|
          show-overflow-tooltip
 | 
						|
        />
 | 
						|
        <el-table-column
 | 
						|
          prop="TaskState"
 | 
						|
          label="任务状态"
 | 
						|
          min-width="100"
 | 
						|
          show-overflow-tooltip
 | 
						|
        >
 | 
						|
          <template slot-scope="scope">
 | 
						|
            <el-tag v-if="scope.row.TaskState === 0" type="primary">{{ $fd('TaskState', scope.row.TaskState) }}</el-tag>
 | 
						|
            <el-tag v-if="scope.row.TaskState === 1" type="info">{{ $fd('TaskState', scope.row.TaskState) }}</el-tag>
 | 
						|
            <el-tag v-if="scope.row.TaskState === 3" type="danger">{{ $fd('TaskState', scope.row.TaskState) }}</el-tag>
 | 
						|
            <el-tag v-if="scope.row.TaskState === 4" type="warning">{{ $fd('TaskState', scope.row.TaskState) }}</el-tag>
 | 
						|
          </template>
 | 
						|
        </el-table-column>
 | 
						|
        <!-- 任务类型 -->
 | 
						|
        <el-table-column
 | 
						|
          prop="ReadingCategory"
 | 
						|
          min-width="100"
 | 
						|
          label="任务类型"
 | 
						|
          show-overflow-tooltip
 | 
						|
        >
 | 
						|
          <template slot-scope="scope">
 | 
						|
            <el-tag v-if="scope.row.ReadingCategory === 1" type="primary">{{ $fd('ReadingCategory', scope.row.ReadingCategory) }}</el-tag>
 | 
						|
            <el-tag v-if="scope.row.ReadingCategory === 2" type="info">{{ $fd('ReadingCategory', scope.row.ReadingCategory) }}</el-tag>
 | 
						|
            <el-tag v-if="scope.row.ReadingCategory === 4" type="danger">{{ $fd('ReadingCategory', scope.row.ReadingCategory) }}</el-tag>
 | 
						|
            <el-tag v-if="scope.row.ReadingCategory === 5" type="warning">{{ $fd('ReadingCategory', scope.row.ReadingCategory) }}</el-tag>
 | 
						|
          </template>
 | 
						|
        </el-table-column>
 | 
						|
        <!-- 阅片状态 -->
 | 
						|
        <!-- <el-table-column
 | 
						|
          prop="TaskAllocationState"
 | 
						|
          min-width="100"
 | 
						|
          label="阅片状态"
 | 
						|
          show-overflow-tooltip
 | 
						|
        >
 | 
						|
          <template slot-scope="scope">
 | 
						|
            <el-tag v-if="scope.row.ReadingTaskState === 2" type="primary">{{ $fd('ReadingTaskState', scope.row.ReadingTaskState) }}</el-tag>
 | 
						|
            <el-tag v-else type="danger">{{ $fd('ReadingTaskState', scope.row.ReadingTaskState) }}</el-tag>
 | 
						|
          </template>
 | 
						|
        </el-table-column> -->
 | 
						|
        <!-- 分配时间 -->
 | 
						|
        <el-table-column
 | 
						|
          prop="AllocateTime"
 | 
						|
          min-width="100"
 | 
						|
          label="分配时间"
 | 
						|
          show-overflow-tooltip
 | 
						|
        />
 | 
						|
        <!-- 签名时间 -->
 | 
						|
        <el-table-column
 | 
						|
          prop="SignTime"
 | 
						|
          min-width="100"
 | 
						|
          label="签名时间"
 | 
						|
          show-overflow-tooltip
 | 
						|
        />
 | 
						|
        <el-table-column
 | 
						|
          prop="ReReadingApplyState"
 | 
						|
          label="申请状态"
 | 
						|
          min-width="140"
 | 
						|
          show-overflow-tooltip
 | 
						|
        >
 | 
						|
          <template slot-scope="scope">
 | 
						|
            <el-tag v-if="scope.row.ReReadingApplyState === 1" type="danger">{{ $fd('ReReadingApplyState', scope.row.ReReadingApplyState) }}</el-tag>
 | 
						|
            <el-tag v-if="scope.row.ReReadingApplyState === 2" type="primary">{{ $fd('ReReadingApplyState', scope.row.ReReadingApplyState) }}</el-tag>
 | 
						|
            <el-tag v-if="scope.row.ReReadingApplyState === 3" type="warning">{{ $fd('ReReadingApplyState', scope.row.ReReadingApplyState) }}</el-tag>
 | 
						|
          </template>
 | 
						|
        </el-table-column>
 | 
						|
        <el-table-column
 | 
						|
          :label="$t('common:action:action')"
 | 
						|
          width="250"
 | 
						|
          fixed="right"
 | 
						|
        >
 | 
						|
          <template slot-scope="scope">
 | 
						|
            <!-- 查看 -->
 | 
						|
            <el-button
 | 
						|
              circle
 | 
						|
              title="查看"
 | 
						|
              icon="el-icon-view"
 | 
						|
              @click="handleReadImage(scope.row)"
 | 
						|
            />
 | 
						|
            <!-- 申请重阅 -->
 | 
						|
            <el-button
 | 
						|
              :disabled="scope.row.TaskState !== 0 || scope.row.ReadingTaskState !== 2 || scope.row.ReReadingApplyState === 2 || scope.row.ReReadingApplyState === 1"
 | 
						|
              icon="el-icon-collection"
 | 
						|
              circle
 | 
						|
              title="申请重阅"
 | 
						|
              @click="openApplyReReading(scope.row)"
 | 
						|
            />
 | 
						|
            <el-button
 | 
						|
              :disabled="!scope.row.ReReadingApplyState"
 | 
						|
              icon="el-icon-toilet-paper"
 | 
						|
              circle
 | 
						|
              title="退回重阅历史"
 | 
						|
              @click="reReadingHistory(scope.row, 1)"
 | 
						|
            />
 | 
						|
          </template>
 | 
						|
        </el-table-column>
 | 
						|
      </el-table>
 | 
						|
      <!-- 分页组件 -->
 | 
						|
      <pagination class="page" :total="total" :page.sync="searchData.PageIndex" :limit.sync="searchData.PageSize" @pagination="getList" />
 | 
						|
    </template>
 | 
						|
    <el-dialog
 | 
						|
      v-if="ApplyforReasonVisible"
 | 
						|
      title="申请重阅"
 | 
						|
      :visible.sync="ApplyforReasonVisible"
 | 
						|
      width="1460px"
 | 
						|
      append-to-body
 | 
						|
      :close-on-click-modal="false"
 | 
						|
      custom-class="base-dialog-wrapper"
 | 
						|
    >
 | 
						|
      <el-form
 | 
						|
        ref="reasonForm"
 | 
						|
        :rules="rules"
 | 
						|
        :model="ApplyforReasonForm"
 | 
						|
        class="demo-ruleForm"
 | 
						|
        size="small"
 | 
						|
        label-width="150px"
 | 
						|
      >
 | 
						|
        <el-divider content-position="left">申请原因</el-divider>
 | 
						|
        <el-form-item
 | 
						|
          label="申请原因"
 | 
						|
          prop="Type"
 | 
						|
          :rules="[
 | 
						|
              { required: true, message: $t('common:ruleMessage:select')},
 | 
						|
            ]"
 | 
						|
        >
 | 
						|
          <el-radio-group v-model="ApplyforReasonForm.Type">
 | 
						|
            <!-- 问题已解决 -->
 | 
						|
            <el-radio :label="1">阅片记录错误</el-radio>
 | 
						|
            <!-- 问题无法解决强制关闭质疑 -->
 | 
						|
            <el-radio :label="2">其他</el-radio>
 | 
						|
          </el-radio-group>
 | 
						|
        </el-form-item>
 | 
						|
        <!-- 原因 -->
 | 
						|
        <el-form-item v-if="ApplyforReasonForm.Type === 2" label="备注" prop="RequestReReadingReason">
 | 
						|
          <el-input
 | 
						|
            v-model="ApplyforReasonForm.RequestReReadingReason"
 | 
						|
            type="textarea"
 | 
						|
            style="width: 400px"
 | 
						|
            :autosize="{ minRows: 2, maxRows: 4}"
 | 
						|
            :placeholder="$t('common:ruleMessage:specify')"
 | 
						|
            maxlength="500"
 | 
						|
            show-word-limit
 | 
						|
          />
 | 
						|
        </el-form-item>
 | 
						|
        <el-form-item
 | 
						|
          label="是否复制阅片表单"
 | 
						|
          prop="IsCopyOrigenalForms"
 | 
						|
          :rules="[
 | 
						|
              { required: true, message: $t('common:ruleMessage:select')},
 | 
						|
            ]"
 | 
						|
        >
 | 
						|
          <el-radio-group v-model="ApplyforReasonForm.IsCopyOrigenalForms">
 | 
						|
            <!-- 问题已解决 -->
 | 
						|
            <el-radio :label="true">是</el-radio>
 | 
						|
            <!-- 问题无法解决强制关闭质疑 -->
 | 
						|
            <el-radio :label="false">否</el-radio>
 | 
						|
          </el-radio-group>
 | 
						|
        </el-form-item>
 | 
						|
        <el-form-item
 | 
						|
          v-if="ApplyforReasonForm.IsCopyOrigenalForms"
 | 
						|
          label="是否复制后续表单"
 | 
						|
          prop="IsCopyFollowForms"
 | 
						|
          :rules="[
 | 
						|
              { required: true, message: $t('common:ruleMessage:select')},
 | 
						|
            ]"
 | 
						|
        >
 | 
						|
          <el-radio-group v-model="ApplyforReasonForm.IsCopyFollowForms">
 | 
						|
            <!-- 问题已解决 -->
 | 
						|
            <el-radio :label="true">是</el-radio>
 | 
						|
            <!-- 问题无法解决强制关闭质疑 -->
 | 
						|
            <el-radio :label="false">否</el-radio>
 | 
						|
          </el-radio-group>
 | 
						|
        </el-form-item>
 | 
						|
      </el-form>
 | 
						|
      <el-divider content-position="left">影响的任务列表</el-divider>
 | 
						|
      <div style="padding:10px;border: 1px solid #e0e0e0;max-height:650px;overflow-y: auto;">
 | 
						|
        <el-table
 | 
						|
          v-loading="loading"
 | 
						|
          :data="InfluenceTaskList"
 | 
						|
          stripe
 | 
						|
          height="100"
 | 
						|
          style="min-height: 400px;"
 | 
						|
        >
 | 
						|
          <el-table-column
 | 
						|
            prop="TaskCode"
 | 
						|
            label="任务编号"
 | 
						|
            min-width="100"
 | 
						|
            show-overflow-tooltip
 | 
						|
          />
 | 
						|
          <el-table-column
 | 
						|
            prop="TrialSiteCode"
 | 
						|
            label="中心编号"
 | 
						|
            min-width="100"
 | 
						|
            show-overflow-tooltip
 | 
						|
          />
 | 
						|
          <el-table-column
 | 
						|
            prop="SubjectCode"
 | 
						|
            label="受试者编号"
 | 
						|
            min-width="120"
 | 
						|
            show-overflow-tooltip
 | 
						|
          />
 | 
						|
          <el-table-column
 | 
						|
            prop="TaskBlindName"
 | 
						|
            label="访视盲态名称"
 | 
						|
            min-width="140"
 | 
						|
            show-overflow-tooltip
 | 
						|
          />
 | 
						|
          <el-table-column
 | 
						|
            prop="TaskState"
 | 
						|
            label="任务状态"
 | 
						|
            min-width="100"
 | 
						|
            show-overflow-tooltip
 | 
						|
          >
 | 
						|
            <template slot-scope="scope">
 | 
						|
              <el-tag v-if="scope.row.TaskState === 0" type="primary">{{ $fd('TaskState', scope.row.TaskState) }}</el-tag>
 | 
						|
              <el-tag v-if="scope.row.TaskState === 1" type="info">{{ $fd('TaskState', scope.row.TaskState) }}</el-tag>
 | 
						|
              <el-tag v-if="scope.row.TaskState === 3" type="danger">{{ $fd('TaskState', scope.row.TaskState) }}</el-tag>
 | 
						|
              <el-tag v-if="scope.row.TaskState === 4" type="warning">{{ $fd('TaskState', scope.row.TaskState) }}</el-tag>
 | 
						|
            </template>
 | 
						|
          </el-table-column>
 | 
						|
          <el-table-column
 | 
						|
            prop="ReadingCategory"
 | 
						|
            min-width="100"
 | 
						|
            label="任务类型"
 | 
						|
            show-overflow-tooltip
 | 
						|
          >
 | 
						|
            <template slot-scope="scope">
 | 
						|
              <el-tag v-if="scope.row.ReadingCategory === 1" type="primary">{{ $fd('ReadingCategory', scope.row.ReadingCategory) }}</el-tag>
 | 
						|
              <el-tag v-if="scope.row.ReadingCategory === 2" type="info">{{ $fd('ReadingCategory', scope.row.ReadingCategory) }}</el-tag>
 | 
						|
              <el-tag v-if="scope.row.ReadingCategory === 4" type="danger">{{ $fd('ReadingCategory', scope.row.ReadingCategory) }}</el-tag>
 | 
						|
              <el-tag v-if="scope.row.ReadingCategory === 5" type="warning">{{ $fd('ReadingCategory', scope.row.ReadingCategory) }}</el-tag>
 | 
						|
            </template>
 | 
						|
          </el-table-column>
 | 
						|
          <el-table-column
 | 
						|
            prop="ReadingTaskState"
 | 
						|
            label="阅片状态"
 | 
						|
            min-width="100"
 | 
						|
            show-overflow-tooltip
 | 
						|
          >
 | 
						|
            <template slot-scope="scope">
 | 
						|
              <el-tag v-if="scope.row.ReadingTaskState === 2" type="primary">{{ $fd('ReadingTaskState', scope.row.ReadingTaskState) }}</el-tag>
 | 
						|
              <el-tag v-else type="danger">{{ $fd('ReadingTaskState', scope.row.ReadingTaskState) }}</el-tag>
 | 
						|
            </template>
 | 
						|
          </el-table-column>
 | 
						|
          <el-table-column
 | 
						|
            prop="OptType"
 | 
						|
            label="生效后影响"
 | 
						|
            min-width="160"
 | 
						|
            show-overflow-tooltip
 | 
						|
          >
 | 
						|
            <template slot-scope="scope">
 | 
						|
              <el-tag v-if="scope.row.OptType === 0" type="primary">{{ $fd('ReReadingOrBackOptType', scope.row.OptType) }}</el-tag>
 | 
						|
              <el-tag v-if="scope.row.OptType === 1" type="danger">{{ $fd('ReReadingOrBackOptType', scope.row.OptType) }}</el-tag>
 | 
						|
              <el-tag v-if="scope.row.OptType === 2" type="warning">{{ $fd('ReReadingOrBackOptType', scope.row.OptType) }}</el-tag>
 | 
						|
            </template>
 | 
						|
          </el-table-column>
 | 
						|
          <el-table-column
 | 
						|
            prop="UserName"
 | 
						|
            label="阅片人"
 | 
						|
            min-width="160"
 | 
						|
            show-overflow-tooltip
 | 
						|
          >
 | 
						|
            <template v-if="scope.row.DoctorUser" slot-scope="scope">
 | 
						|
              {{ scope.row.DoctorUser.UserName }}({{ scope.row.DoctorUser.FullName }})
 | 
						|
            </template>
 | 
						|
          </el-table-column>
 | 
						|
        </el-table>
 | 
						|
      </div>
 | 
						|
      <div slot="footer" class="dialog-footer">
 | 
						|
        <!-- 取消 -->
 | 
						|
        <el-button :disabled="btnLoading" size="small" type="primary" @click="ApplyforReasonVisible = false;ApplyforReasonForm = { Type: null, RequestReReadingReason: null }">
 | 
						|
          {{ $t('common:button:cancel') }}
 | 
						|
        </el-button>
 | 
						|
        <!-- 保存 -->
 | 
						|
        <el-button :loading="btnLoading" size="small" type="primary" @click="applyReReading">
 | 
						|
          {{ $t('common:button:save') }}
 | 
						|
        </el-button>
 | 
						|
      </div>
 | 
						|
    </el-dialog>
 | 
						|
  </BaseContainer>
 | 
						|
</template>
 | 
						|
<script>
 | 
						|
import { getIRHaveReadTaskList } from '@/api/trials'
 | 
						|
import { applyReReading, getReReadingOrBackInfluenceTaskList } from '@/api/trials/reading'
 | 
						|
import BaseContainer from '@/components/BaseContainer'
 | 
						|
import Pagination from '@/components/Pagination'
 | 
						|
import { getToken } from '@/utils/auth'
 | 
						|
const searchDataDefault = () => {
 | 
						|
  return {
 | 
						|
    SubjectCode: '',
 | 
						|
    SortField: '',
 | 
						|
    PageIndex: 1,
 | 
						|
    PageSize: 20,
 | 
						|
    TaskState: null,
 | 
						|
    ReadingCategory: null
 | 
						|
  }
 | 
						|
}
 | 
						|
export default {
 | 
						|
  name: 'ReadTask',
 | 
						|
  components: { BaseContainer, Pagination },
 | 
						|
  data() {
 | 
						|
    return {
 | 
						|
      searchData: searchDataDefault(),
 | 
						|
      list: [],
 | 
						|
      total: 0,
 | 
						|
      loading: false,
 | 
						|
      btnLoading: false,
 | 
						|
      trialId: '',
 | 
						|
      ApplyforReasonVisible: false,
 | 
						|
      ApplyforReasonForm: {
 | 
						|
        Type: null,
 | 
						|
        RequestReReadingReason: null,
 | 
						|
        IsCopyOrigenalForms: null,
 | 
						|
        IsCopyFollowForms: null
 | 
						|
      },
 | 
						|
      InfluenceTaskList: [],
 | 
						|
      rules: {
 | 
						|
        Type: [{ required: true, message: this.$t('common:ruleMessage:specify'), trigger: 'blur' }],
 | 
						|
        IsCopyOrigenalForms: [{ required: true, message: this.$t('common:ruleMessage:specify'), trigger: 'blur' }],
 | 
						|
        RequestReReadingReason: [{ required: true, message: this.$t('common:ruleMessage:specify'), trigger: 'blur' }]
 | 
						|
      }
 | 
						|
    }
 | 
						|
  },
 | 
						|
  mounted() {
 | 
						|
    this.trialId = this.$route.query.trialId
 | 
						|
    this.getList()
 | 
						|
  },
 | 
						|
  methods: {
 | 
						|
    // 重阅历史
 | 
						|
    reReadingHistory(row) {
 | 
						|
      this.$router.push({ path: `/trials/trials-panel/reading/rereadTask?trialId=${this.$route.query.trialId}&trialCode=${this.$route.query.trialCode}&researchProgramNo=${this.$route.query.researchProgramNo}&SiteId=${row.SiteId}&SubjectCode=${row.SubjectCode}&TaskName=${row.TaskName}` })
 | 
						|
    },
 | 
						|
    getList() {
 | 
						|
      this.loading = true
 | 
						|
      this.searchData.TrialId = this.trialId
 | 
						|
      getIRHaveReadTaskList(this.searchData).then(res => {
 | 
						|
        this.list = res.Result.CurrentPageData
 | 
						|
        this.total = res.Result.TotalCount
 | 
						|
        this.loading = false
 | 
						|
      }).catch(() => { this.loading = false })
 | 
						|
    },
 | 
						|
    handleSearch() {
 | 
						|
      this.searchData.PageIndex = 1
 | 
						|
      this.getList()
 | 
						|
    },
 | 
						|
    handleReset() {
 | 
						|
      this.searchData = searchDataDefault()
 | 
						|
      this.getList()
 | 
						|
    },
 | 
						|
    handleReadImage(row) {
 | 
						|
      var token = getToken()
 | 
						|
      const routeData = this.$router.resolve({
 | 
						|
        path: `/noneDicomReading?subjectId=${row.SubjectId}&trialId=${row.TrialId}&visitTaskId=${row.Id}&TokenKey=${token}`
 | 
						|
      })
 | 
						|
      window.open(routeData.href, '_blank')
 | 
						|
    },
 | 
						|
    openApplyReReading(row) {
 | 
						|
      this.rowData = { ...row }
 | 
						|
      this.loading = true
 | 
						|
      getReReadingOrBackInfluenceTaskList(row.Id, true).then(res => {
 | 
						|
        this.InfluenceTaskList = res.Result
 | 
						|
        this.ApplyforReasonVisible = true
 | 
						|
        this.ApplyforReasonForm = {
 | 
						|
          Type: null,
 | 
						|
          Remake: null
 | 
						|
        }
 | 
						|
        this.loading = false
 | 
						|
      }).catch(() => {this.loading = false})
 | 
						|
    },
 | 
						|
    // 申请重阅
 | 
						|
    applyReReading() {
 | 
						|
      this.$refs.reasonForm.validate((valid) => {
 | 
						|
        if (!valid) return
 | 
						|
        this.loading = true
 | 
						|
        this.btnLoading = true
 | 
						|
        var params = {
 | 
						|
          TaskIdList: [
 | 
						|
            this.rowData.Id
 | 
						|
          ],
 | 
						|
          TrialId: this.$route.query.trialId,
 | 
						|
          IsCopyOrigenalForms: this.ApplyforReasonForm.IsCopyOrigenalForms,
 | 
						|
          IsCopyFollowForms: this.ApplyforReasonForm.IsCopyFollowForms,
 | 
						|
          RequestReReadingType: 1,
 | 
						|
          RequestReReadingReason: this.ApplyforReasonForm.Type === 2 ? this.ApplyforReasonForm.RequestReReadingReason : '阅片记录错误'
 | 
						|
        }
 | 
						|
        applyReReading(params).then(res => {
 | 
						|
          this.loading = false
 | 
						|
          this.btnLoading = false
 | 
						|
          this.$message.success('申请重阅成功')
 | 
						|
          this.getList()
 | 
						|
          this.ApplyforReasonVisible = false
 | 
						|
        }).catch(() => {
 | 
						|
          this.loading = false
 | 
						|
          this.btnLoading = false
 | 
						|
        })
 | 
						|
      })
 | 
						|
    },
 | 
						|
    // 排序
 | 
						|
    handleSortChange(column) {
 | 
						|
      if (column.order === 'ascending') {
 | 
						|
        this.searchData.Asc = true
 | 
						|
      } else {
 | 
						|
        this.searchData.Asc = false
 | 
						|
      }
 | 
						|
      this.searchData.SortField = column.prop
 | 
						|
      this.searchData.PageIndex = 1
 | 
						|
      this.getList()
 | 
						|
    }
 | 
						|
  }
 | 
						|
}
 | 
						|
</script>
 |