|
@@ -53,151 +53,153 @@
|
|
|
<div class="horizontal-drag-line" @mousedown="onmousedown" />
|
|
|
</div>
|
|
|
<div class="hc-layout-content-box">
|
|
|
- <!---展开收缩树 -->
|
|
|
- <div class="hc-expansion-contraction-tree" @click="setWbsTreeShow">
|
|
|
- <HcIcon v-show="isWbsTreeShow" name="arrow-left-s" />
|
|
|
- <HcIcon v-show="!isWbsTreeShow" name="arrow-right-s" />
|
|
|
- </div>
|
|
|
- <HcNewCard padding>
|
|
|
- <template #header>
|
|
|
- <HcTooltip keys="query_report">
|
|
|
- <el-button :disabled="tableCheckedKeys.length <= 0" :loading="reportLoading" hc-btn color="#FF976A" style="color: white;" @click="reportModalClick">
|
|
|
- <HcIcon name="send-plane-2" />
|
|
|
- <span>上报</span>
|
|
|
- </el-button>
|
|
|
- </HcTooltip>
|
|
|
- <HcTooltip keys="query_download">
|
|
|
- <el-button
|
|
|
- :disabled="tableCheckedKeys.length <= 0" :loading="downloadLoading" hc-btn
|
|
|
- color="#A16222" @click="batchDownload"
|
|
|
- >
|
|
|
- <HcIcon name="download" />
|
|
|
- <span>下载</span>
|
|
|
- </el-button>
|
|
|
- </HcTooltip>
|
|
|
- <HcTooltip keys="query_print">
|
|
|
- <el-button
|
|
|
- :disabled="tableCheckedKeys.length <= 0" :loading="printLoading" hc-btn
|
|
|
- color="#A16222" @click="batchPrint"
|
|
|
- >
|
|
|
- <HcIcon name="printer" />
|
|
|
- <span>打印</span>
|
|
|
- </el-button>
|
|
|
- </HcTooltip>
|
|
|
- <HcTooltip keys="query_abolish">
|
|
|
- <el-button :disabled="tableCheckedKeys.length <= 0" hc-btn color="#567722" @click="batchAbolishClick">
|
|
|
- <HcIcon name="delete-bin-3" />
|
|
|
- <span>废除</span>
|
|
|
- </el-button>
|
|
|
- </HcTooltip>
|
|
|
- <HcTooltip keys="query_local_attestation">
|
|
|
- <el-button
|
|
|
- :disabled="tableCheckedKeys.length <= 0" :loading="localLoading" hc-btn
|
|
|
- color="#e03997" @click="batchLocal"
|
|
|
- >
|
|
|
- <HcIcon name="folder-download" />
|
|
|
- <span>本地验签</span>
|
|
|
- </el-button>
|
|
|
- </HcTooltip>
|
|
|
- <HcTooltip keys="query_online_attestation">
|
|
|
- <el-button
|
|
|
- :disabled="tableCheckedKeys.length <= 0" :loading="onlineLoading" hc-btn
|
|
|
- color="#e03997" @click="batchOnline"
|
|
|
- >
|
|
|
- <HcIcon name="cloud" />
|
|
|
- <span>在线验签</span>
|
|
|
- </el-button>
|
|
|
- </HcTooltip>
|
|
|
- <el-button :disabled="tableCheckedKeys.length <= 0" :loading="signLoading" hc-btn type="primary" @click="resignClick">re-sign</el-button>
|
|
|
- </template>
|
|
|
- <template #search>
|
|
|
- <div class="flex items-center">
|
|
|
- <div class="w-40">
|
|
|
- <el-select v-model="searchForm.taskStatus" clearable placeholder="流程状态">
|
|
|
- <el-option
|
|
|
- v-for="item in processStatusData" :key="item.value"
|
|
|
- :label="item.dictValue" :value="item.dictKey"
|
|
|
- />
|
|
|
- </el-select>
|
|
|
- </div>
|
|
|
- <div class="w-40 ml-2">
|
|
|
- <el-select v-model="searchForm.fileUserIdAndName" clearable placeholder="填报人">
|
|
|
- <el-option
|
|
|
- v-for="item in reportingPersonData" :key="item.value" :label="item.label"
|
|
|
- :value="item.value"
|
|
|
- />
|
|
|
- </el-select>
|
|
|
- </div>
|
|
|
- <div class="w-40 ml-2">
|
|
|
- <el-select v-model="searchForm.sourceType" clearable placeholder="文件类型">
|
|
|
- <el-option
|
|
|
- v-for="item in fileTypeData" :key="item.value" :label="item.dictValue"
|
|
|
- :value="item.dictKey"
|
|
|
- />
|
|
|
- </el-select>
|
|
|
- </div>
|
|
|
- <div class="w-32 ml-2">
|
|
|
- <el-select v-model="searchForm.reportNumber" clearable placeholder="上报批次">
|
|
|
- <el-option v-for="item in reportBatchData" :key="item" :label="item" :value="item" />
|
|
|
- </el-select>
|
|
|
- </div>
|
|
|
- <div class="w-64 ml-2">
|
|
|
- <HcDatePicker :dates="betweenTime" clearable @change="betweenTimeUpdate" />
|
|
|
- </div>
|
|
|
- <div class="w-60 ml-2">
|
|
|
- <el-input
|
|
|
- v-model="searchForm.queryValue" clearable placeholder="请输入名称关键词检索"
|
|
|
- @keyup="keyUpEvent"
|
|
|
- />
|
|
|
- </div>
|
|
|
- <div class="ml-2">
|
|
|
- <el-button type="primary" @click="searchClick">
|
|
|
- <HcIcon name="search-2" />
|
|
|
- <span>搜索</span>
|
|
|
+ <hc-body padding="0px">
|
|
|
+ <!---展开收缩树 -->
|
|
|
+ <div class="hc-expansion-contraction-tree" @click="setWbsTreeShow">
|
|
|
+ <HcIcon v-show="isWbsTreeShow" name="arrow-left-s" />
|
|
|
+ <HcIcon v-show="!isWbsTreeShow" name="arrow-right-s" />
|
|
|
+ </div>
|
|
|
+ <HcNewCard padding>
|
|
|
+ <template #header>
|
|
|
+ <HcTooltip keys="query_report">
|
|
|
+ <el-button :disabled="tableCheckedKeys.length <= 0" :loading="reportLoading" hc-btn color="#FF976A" style="color: white;" @click="reportModalClick">
|
|
|
+ <HcIcon name="send-plane-2" />
|
|
|
+ <span>上报</span>
|
|
|
</el-button>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </template>
|
|
|
- <template #extra>
|
|
|
- <template v-if="contractInfo?.contractType === 2 || contractInfo?.contractType === 3">
|
|
|
- <HcNewSwitch :datas="contractTypeTab" :keys="contractTypeTabKey" size="default" @change="contractTypeTabChange" />
|
|
|
+ </HcTooltip>
|
|
|
+ <HcTooltip keys="query_download">
|
|
|
+ <el-button
|
|
|
+ :disabled="tableCheckedKeys.length <= 0" :loading="downloadLoading" hc-btn
|
|
|
+ color="#A16222" @click="batchDownload"
|
|
|
+ >
|
|
|
+ <HcIcon name="download" />
|
|
|
+ <span>下载</span>
|
|
|
+ </el-button>
|
|
|
+ </HcTooltip>
|
|
|
+ <HcTooltip keys="query_print">
|
|
|
+ <el-button
|
|
|
+ :disabled="tableCheckedKeys.length <= 0" :loading="printLoading" hc-btn
|
|
|
+ color="#A16222" @click="batchPrint"
|
|
|
+ >
|
|
|
+ <HcIcon name="printer" />
|
|
|
+ <span>打印</span>
|
|
|
+ </el-button>
|
|
|
+ </HcTooltip>
|
|
|
+ <HcTooltip keys="query_abolish">
|
|
|
+ <el-button :disabled="tableCheckedKeys.length <= 0" hc-btn color="#567722" @click="batchAbolishClick">
|
|
|
+ <HcIcon name="delete-bin-3" />
|
|
|
+ <span>废除</span>
|
|
|
+ </el-button>
|
|
|
+ </HcTooltip>
|
|
|
+ <HcTooltip keys="query_local_attestation">
|
|
|
+ <el-button
|
|
|
+ :disabled="tableCheckedKeys.length <= 0" :loading="localLoading" hc-btn
|
|
|
+ color="#e03997" @click="batchLocal"
|
|
|
+ >
|
|
|
+ <HcIcon name="folder-download" />
|
|
|
+ <span>本地验签</span>
|
|
|
+ </el-button>
|
|
|
+ </HcTooltip>
|
|
|
+ <HcTooltip keys="query_online_attestation">
|
|
|
+ <el-button
|
|
|
+ :disabled="tableCheckedKeys.length <= 0" :loading="onlineLoading" hc-btn
|
|
|
+ color="#e03997" @click="batchOnline"
|
|
|
+ >
|
|
|
+ <HcIcon name="cloud" />
|
|
|
+ <span>在线验签</span>
|
|
|
+ </el-button>
|
|
|
+ </HcTooltip>
|
|
|
+ <el-button :disabled="tableCheckedKeys.length <= 0" :loading="signLoading" hc-btn type="primary" @click="resignClick">re-sign</el-button>
|
|
|
</template>
|
|
|
- </template>
|
|
|
- <HcTable
|
|
|
- ref="tableListRef" :column="tableListColumn" :datas="tableListData" :loading="tableLoading"
|
|
|
- is-new :index-style="{ width: 60 }" is-check :check-style="{ width: 29 }"
|
|
|
- @selection-change="tableSelectionChange"
|
|
|
- >
|
|
|
- <template #name="{ row }">
|
|
|
- <span v-loading="bussPreviewLoading" class="text-link" @click="tableRowName(row)">{{ row?.name }}</span>
|
|
|
+ <template #search>
|
|
|
+ <div class="flex items-center">
|
|
|
+ <div class="w-40">
|
|
|
+ <el-select v-model="searchForm.taskStatus" clearable placeholder="流程状态">
|
|
|
+ <el-option
|
|
|
+ v-for="item in processStatusData" :key="item.value"
|
|
|
+ :label="item.dictValue" :value="item.dictKey"
|
|
|
+ />
|
|
|
+ </el-select>
|
|
|
+ </div>
|
|
|
+ <div class="w-40 ml-2">
|
|
|
+ <el-select v-model="searchForm.fileUserIdAndName" clearable placeholder="填报人">
|
|
|
+ <el-option
|
|
|
+ v-for="item in reportingPersonData" :key="item.value" :label="item.label"
|
|
|
+ :value="item.value"
|
|
|
+ />
|
|
|
+ </el-select>
|
|
|
+ </div>
|
|
|
+ <div class="w-40 ml-2">
|
|
|
+ <el-select v-model="searchForm.sourceType" clearable placeholder="文件类型">
|
|
|
+ <el-option
|
|
|
+ v-for="item in fileTypeData" :key="item.value" :label="item.dictValue"
|
|
|
+ :value="item.dictKey"
|
|
|
+ />
|
|
|
+ </el-select>
|
|
|
+ </div>
|
|
|
+ <div class="w-32 ml-2">
|
|
|
+ <el-select v-model="searchForm.reportNumber" clearable placeholder="上报批次">
|
|
|
+ <el-option v-for="item in reportBatchData" :key="item" :label="item" :value="item" />
|
|
|
+ </el-select>
|
|
|
+ </div>
|
|
|
+ <div class="w-64 ml-2">
|
|
|
+ <HcDatePicker :dates="betweenTime" clearable @change="betweenTimeUpdate" />
|
|
|
+ </div>
|
|
|
+ <div class="w-60 ml-2">
|
|
|
+ <el-input
|
|
|
+ v-model="searchForm.queryValue" clearable placeholder="请输入名称关键词检索"
|
|
|
+ @keyup="keyUpEvent"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ <div class="ml-2">
|
|
|
+ <el-button type="primary" @click="searchClick">
|
|
|
+ <HcIcon name="search-2" />
|
|
|
+ <span>搜索</span>
|
|
|
+ </el-button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</template>
|
|
|
- <template #waitingUserList="{ row }">
|
|
|
- <template v-for="item in row.waitingUserList">
|
|
|
- <el-tag
|
|
|
- v-if="item.waitingUserName"
|
|
|
- :type="`${item.status === 2 ? 'success' : item.status === 3 ? 'warning' : item.status === 999 ? 'danger' : 'info'}`"
|
|
|
- class="mx-1" effect="dark"
|
|
|
- >
|
|
|
- {{ item.waitingUserName }}
|
|
|
- </el-tag>
|
|
|
+ <template #extra>
|
|
|
+ <template v-if="contractInfo?.contractType === 2 || contractInfo?.contractType === 3">
|
|
|
+ <HcNewSwitch :datas="contractTypeTab" :keys="contractTypeTabKey" size="default" @change="contractTypeTabChange" />
|
|
|
</template>
|
|
|
</template>
|
|
|
- </HcTable>
|
|
|
- <template #action>
|
|
|
- <div class="lr-dialog-footer">
|
|
|
- <div class="left">
|
|
|
- <span class="text-success">任务人员中:</span>
|
|
|
- <el-tag class="mx-1" effect="dark" type="info">未签字</el-tag>
|
|
|
- <el-tag class="mx-1" effect="dark" type="success">已签字</el-tag>
|
|
|
- <el-tag class="mx-1" effect="dark" type="warning">已废除</el-tag>
|
|
|
- <el-tag class="mx-1" effect="dark" type="danger">签字异常</el-tag>
|
|
|
- </div>
|
|
|
- <div class="right">
|
|
|
- <HcPages :pages="searchForm" @change="pageChange" />
|
|
|
+ <HcTable
|
|
|
+ ref="tableListRef" :column="tableListColumn" :datas="tableListData" :loading="tableLoading"
|
|
|
+ is-new :index-style="{ width: 60 }" is-check :check-style="{ width: 29 }"
|
|
|
+ @selection-change="tableSelectionChange"
|
|
|
+ >
|
|
|
+ <template #name="{ row }">
|
|
|
+ <span v-loading="bussPreviewLoading" class="text-link" @click="tableRowName(row)">{{ row?.name }}</span>
|
|
|
+ </template>
|
|
|
+ <template #waitingUserList="{ row }">
|
|
|
+ <template v-for="item in row.waitingUserList">
|
|
|
+ <el-tag
|
|
|
+ v-if="item.waitingUserName"
|
|
|
+ :type="`${item.status === 2 ? 'success' : item.status === 3 ? 'warning' : item.status === 999 ? 'danger' : 'info'}`"
|
|
|
+ class="mx-1" effect="dark"
|
|
|
+ >
|
|
|
+ {{ item.waitingUserName }}
|
|
|
+ </el-tag>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ </HcTable>
|
|
|
+ <template #action>
|
|
|
+ <div class="lr-dialog-footer">
|
|
|
+ <div class="left">
|
|
|
+ <span class="text-success">任务人员中:</span>
|
|
|
+ <el-tag class="mx-1" effect="dark" type="info">未签字</el-tag>
|
|
|
+ <el-tag class="mx-1" effect="dark" type="success">已签字</el-tag>
|
|
|
+ <el-tag class="mx-1" effect="dark" type="warning">已废除</el-tag>
|
|
|
+ <el-tag class="mx-1" effect="dark" type="danger">签字异常</el-tag>
|
|
|
+ </div>
|
|
|
+ <div class="right">
|
|
|
+ <HcPages :pages="searchForm" @change="pageChange" />
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- </template>
|
|
|
- </HcNewCard>
|
|
|
+ </template>
|
|
|
+ </HcNewCard>
|
|
|
+ </hc-body>
|
|
|
</div>
|
|
|
|
|
|
<!-- 批量上报审批 -->
|
|
@@ -251,8 +253,8 @@
|
|
|
<div>
|
|
|
是否重新生成pdf:
|
|
|
<el-radio-group v-model="resignModalRadio">
|
|
|
- <el-radio :label="0">否</el-radio>
|
|
|
- <el-radio :label="1">是</el-radio>
|
|
|
+ <el-radio :value="0">否</el-radio>
|
|
|
+ <el-radio :value="1">是</el-radio>
|
|
|
</el-radio-group>
|
|
|
</div>
|
|
|
</hc-new-dialog>
|
|
@@ -863,11 +865,12 @@ const setWbsTreeShow = () => {
|
|
|
}
|
|
|
|
|
|
//左右拖动,改变树形结构宽度
|
|
|
-const leftWidth = ref(505)
|
|
|
+const leftWidth = ref(300)
|
|
|
const onmousedown = () => {
|
|
|
const leftNum = isCollapse.value ? 142 : 272
|
|
|
document.onmousemove = (ve) => {
|
|
|
let diffVal = ve.clientX - leftNum
|
|
|
+ console.log(diffVal, 'diffVal')
|
|
|
if (diffVal >= 310 && diffVal <= 900) {
|
|
|
leftWidth.value = diffVal
|
|
|
}
|