|
|
@@ -50,16 +50,16 @@
|
|
|
</el-form-item>
|
|
|
<el-form-item label="状态:" prop="status">
|
|
|
<el-radio-group v-model="ruleFormData.status" :disabled="isViewMode">
|
|
|
- <el-radio :label="1">启用</el-radio>
|
|
|
- <el-radio :label="0">禁用</el-radio>
|
|
|
+ <el-radio label="启用" :value="1">启用</el-radio>
|
|
|
+ <el-radio label="禁用" :value="0">禁用</el-radio>
|
|
|
</el-radio-group>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
|
|
|
<div class="check-items-section">
|
|
|
- <el-button plain @click="TemplateDownload">
|
|
|
+ <!-- <el-button plain @click="TemplateDownload">
|
|
|
模板下载
|
|
|
- </el-button>
|
|
|
+ </el-button> -->
|
|
|
<el-button plain @click="handleeDownload" v-if="isCreateMode || isEditMode">
|
|
|
导入
|
|
|
</el-button>
|
|
|
@@ -67,7 +67,6 @@
|
|
|
导出
|
|
|
</el-button>
|
|
|
</div>
|
|
|
-
|
|
|
<div>
|
|
|
<!-- <div class="section-header">
|
|
|
<el-upload
|
|
|
@@ -139,8 +138,7 @@
|
|
|
:visible="batchImportVisible"
|
|
|
:import-api-url="importApiUrl"
|
|
|
:template-url="templateUrl"
|
|
|
- template-name="下载模板"
|
|
|
- :show-template="false"
|
|
|
+ template-name="检查单模版导入模版"
|
|
|
@close="batchImportVisible = false"
|
|
|
@update="handleUpdate"
|
|
|
/>
|
|
|
@@ -401,7 +399,7 @@
|
|
|
const batchImportVisible = ref(false);
|
|
|
const { urlPrefix } = useGlobSetting();
|
|
|
const importApiUrl = ref(urlJoin(urlPrefix, '/areaCheckPlanManageAdmin/importCheckList'));
|
|
|
- const templateUrl = ref('./skyeye-file-upload/sfysecurity/TEMPLATE/import-hidden-danger-template.xlsx');
|
|
|
+ const templateUrl = ref('./skyeye-file-upload/sfysecurity/TEMPLATE/检查单导入模版 2.xlsx');
|
|
|
|
|
|
const handleeDownload = () => {
|
|
|
batchImportVisible.value = true;
|