桩点支架分批次上传
This commit is contained in:
@ -66,16 +66,20 @@
|
||||
<el-table-column label="总量" align="center" prop="total" width="100" />
|
||||
<el-table-column label="总进度" align="center" prop="projectId">
|
||||
<template #default="{ row }">
|
||||
<el-progress :text-inside="true" :stroke-width="20" :percentage="row.total" status="success" />
|
||||
<el-progress :text-inside="true" :stroke-width="20" :percentage="row.completedPercentage" status="success" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="计划总量" align="center" prop="planTotal" width="100" />
|
||||
<el-table-column label="计划中" align="center" prop="projectId">
|
||||
<template #default="{ row }">
|
||||
<el-progress :text-inside="true" :stroke-width="20" :percentage="row.planTotal" />
|
||||
<el-progress :text-inside="true" :stroke-width="20" :percentage="row.planTotalPercentage" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="对比" align="center" prop="unitType" width="100">
|
||||
<template #default="{ row }">
|
||||
{{ row.completed + '/' + row.total }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="对比" align="center" prop="unitType" width="100" />
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="200">
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
@ -103,7 +107,7 @@
|
||||
icon="Plus"
|
||||
link
|
||||
size="small"
|
||||
@click="openDialog(scope.row, 'planStatus', scope.row.name + '计划创建')"
|
||||
@click="planRef.openDialog(scope.row)"
|
||||
v-hasPermi="['progress:progressCategory:add']"
|
||||
>
|
||||
计划
|
||||
@ -113,7 +117,7 @@
|
||||
icon="Plus"
|
||||
link
|
||||
size="small"
|
||||
@click="openDialog(scope.row, 'dailyStatus', scope.row.name + '日报填写')"
|
||||
@click="dailyRef.openDialog(scope.row)"
|
||||
v-hasPermi="['progress:progressCategory:add']"
|
||||
>
|
||||
日报
|
||||
@ -132,7 +136,7 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="总进度" align="center" prop="projectId">
|
||||
<template #default="{ row }">
|
||||
<el-progress :text-inside="true" :stroke-width="20" :percentage="row.total" status="success" />
|
||||
<el-progress :text-inside="true" :stroke-width="20" :percentage="row.completedPercentage" status="success" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
@ -143,17 +147,17 @@
|
||||
<template #footer>
|
||||
<div class="dialog-footer">
|
||||
<el-button :loading="buttonLoading" type="primary" @click="submitForm">确 定</el-button>
|
||||
<el-button @click="cancel">取 消</el-button>
|
||||
<el-button @click="cancel('importDataStatus')">取 消</el-button>
|
||||
</div>
|
||||
</template>
|
||||
</el-dialog>
|
||||
<!-- 导入表格对话框 -->
|
||||
<el-dialog :title="dialog.title" v-model="dialog.importTableStatus" width="800px" append-to-body>
|
||||
<el-dialog :title="dialog.title" v-model="dialog.importTableStatus" width="500px" append-to-body>
|
||||
<file-upload class="pl-20 pt" v-model="dialog.file" :limit="20" :file-size="50" :file-type="['xls', 'xlsx']" />
|
||||
<template #footer>
|
||||
<div class="dialog-footer">
|
||||
<el-button :loading="buttonLoading" type="primary" @click="submitForm">确 定</el-button>
|
||||
<el-button @click="cancel">取 消</el-button>
|
||||
<el-button @click="cancel('importTableStatus')">取 消</el-button>
|
||||
</div>
|
||||
</template>
|
||||
</el-dialog>
|
||||
@ -274,9 +278,9 @@ const getTreeselect = async () => {
|
||||
};
|
||||
|
||||
// 取消按钮
|
||||
const cancel = () => {
|
||||
const cancel = (visible) => {
|
||||
reset();
|
||||
dialog.visible = false;
|
||||
dialog[visible] = false;
|
||||
};
|
||||
|
||||
// 表单重置
|
||||
|
Reference in New Issue
Block a user