diff --git a/src/views/supervision_material_equipment_info/index.vue b/src/views/supervision_material_equipment_info/index.vue index e803d6d..bcaea8e 100644 --- a/src/views/supervision_material_equipment_info/index.vue +++ b/src/views/supervision_material_equipment_info/index.vue @@ -5,8 +5,7 @@ <el-row> <el-col :span="6"> <el-form-item label="所属项目" prop="project_id"> - <selectRemote :formData="queryParams" model="project_id" - :api="apiSupervisionProjectSearch" /> + <selectRemote :formData="queryParams" model="project_id" :api="apiSupervisionProjectSearch" /> </el-form-item> </el-col> <el-col :span="6"> @@ -16,8 +15,7 @@ </el-col> <el-col :span="6"> <el-form-item label="材料/设备品牌" prop="brand"> - <el-input class="w-[280px]" v-model="queryParams.brand" clearable - placeholder="请输入材料/设备品牌" /> + <el-input class="w-[280px]" v-model="queryParams.brand" clearable placeholder="请输入材料/设备品牌" /> </el-form-item> </el-col> <el-col :span="6"> @@ -63,7 +61,7 @@ 删除 </el-button> <div class="mt-4"> - <el-table :data="pager.lists" @selection-change="handleSelectionChange"> + <el-table border :data="pager.lists" @selection-change="handleSelectionChange"> <el-table-column type="selection" width="55" /> <el-table-column label="项目名称" prop="project_name" show-overflow-tooltip /> <el-table-column label="材料/设备名称" prop="name" show-overflow-tooltip /> @@ -97,8 +95,8 @@ </div> </el-card> <edit-popup v-if="showEdit" ref="editRef" :dict-data="dictData" @success="getLists" @close="showEdit = false" /> - <detailPage v-if="showDetail" ref="detailRef" @close="showDetail = false" :detailConfig="detailConfig" - width="30vw" :column="1" /> + <detailPage v-if="showDetail" ref="detailRef" @close="showDetail = false" :detailConfig="detailConfig" width="30vw" + :column="1" /> </div> </template> diff --git a/src/views/supervision_material_parallel_testing/index.vue b/src/views/supervision_material_parallel_testing/index.vue index 5f19e58..d61926c 100644 --- a/src/views/supervision_material_parallel_testing/index.vue +++ b/src/views/supervision_material_parallel_testing/index.vue @@ -34,7 +34,7 @@ 删除 </el-button> <div class="mt-4"> - <el-table :data="pager.lists" @selection-change="handleSelectionChange"> + <el-table border :data="pager.lists" @selection-change="handleSelectionChange"> <el-table-column type="selection" width="55" /> <el-table-column label="项目名称" prop="project_name" show-overflow-tooltip /> <el-table-column label="来源单据" prop="material_entry_code" show-overflow-tooltip /> @@ -59,9 +59,9 @@ </el-button> <router-link :to="{ - path: '/supervision/supervision_work/supervision_material_parallel_testing_detail', - query: { id: row.id } - }"> + path: '/supervision/supervision_work/supervision_material_parallel_testing_detail', + query: { id: row.id } + }"> <el-button type="primary" link> 明细 </el-button> diff --git a/src/views/supervision_material_parallel_testing_detail/index.vue b/src/views/supervision_material_parallel_testing_detail/index.vue index 985dcf2..aef565d 100644 --- a/src/views/supervision_material_parallel_testing_detail/index.vue +++ b/src/views/supervision_material_parallel_testing_detail/index.vue @@ -3,8 +3,7 @@ <el-card class="!border-none mb-4" shadow="never"> <el-form class="mb-[-16px]" :model="queryParams" inline> <el-form-item label="来源单据" prop="material_entry_id"> - <el-input class="w-[280px]" v-model="queryParams.material_entry_id" clearable - placeholder="请输入来源单据" /> + <el-input class="w-[280px]" v-model="queryParams.material_entry_id" clearable placeholder="请输入来源单据" /> </el-form-item> <el-form-item label="编号" prop="code"> <el-input class="w-[280px]" v-model="queryParams.code" clearable placeholder="请输入编号" /> @@ -22,8 +21,7 @@ </el-form> </el-card> <el-card class="!border-none" v-loading="pager.loading" shadow="never"> - <el-button v-perms="['supervision_work.supervision_witness_sampling/add']" type="primary" - @click="handleAdd"> + <el-button v-perms="['supervision_work.supervision_witness_sampling/add']" type="primary" @click="handleAdd"> <template #icon> <icon name="el-icon-Plus" /> </template> @@ -34,7 +32,7 @@ 删除 </el-button> <div class="mt-4"> - <el-table :data="pager.lists" @selection-change="handleSelectionChange"> + <el-table border :data="pager.lists" @selection-change="handleSelectionChange"> <el-table-column type="selection" width="55" /> <el-table-column label="材料名称" prop="name" show-overflow-tooltip /> <el-table-column label="型号" prop="model" show-overflow-tooltip /> @@ -47,8 +45,8 @@ <el-table-column label="操作" width="120" fixed="right"> <template #default="{ row }"> - <el-button v-perms="['supervision_work.supervision_witness_sampling/edit']" type="primary" - link @click="handleEdit(row)"> + <el-button v-perms="['supervision_work.supervision_witness_sampling/edit']" type="primary" link + @click="handleEdit(row)"> 检验结果 </el-button> </template> diff --git a/src/views/supervision_meeting_minutes/index.vue b/src/views/supervision_meeting_minutes/index.vue index f7550e1..2584188 100644 --- a/src/views/supervision_meeting_minutes/index.vue +++ b/src/views/supervision_meeting_minutes/index.vue @@ -35,7 +35,7 @@ 删除 </el-button> <div class="mt-4"> - <el-table :data="pager.lists" @selection-change="handleSelectionChange"> + <el-table border :data="pager.lists" @selection-change="handleSelectionChange"> <el-table-column type="selection" width="55" /> <el-table-column label="项目名称" prop="project_name" show-overflow-tooltip /> <el-table-column label="会议主题" prop="theme" show-overflow-tooltip /> @@ -48,12 +48,12 @@ <el-table-column label="会议内容" prop="content" show-overflow-tooltip /> <el-table-column label="操作" align="center" width="150" fixed="right"> <template #default="{ row }"> - <el-button v-perms="['supervision_work.supervision_meeting_minutes/edit']" type="primary" - link @click="handleEdit(row)"> + <el-button v-perms="['supervision_work.supervision_meeting_minutes/edit']" type="primary" link + @click="handleEdit(row)"> 编辑 </el-button> - <el-button v-perms="['supervision_work.supervision_meeting_minutes/delete']" type="danger" - link @click="handleDelete(row.id)"> + <el-button v-perms="['supervision_work.supervision_meeting_minutes/delete']" type="danger" link + @click="handleDelete(row.id)"> 删除 </el-button> <el-button v-perms="['supervision_work.supervision_meeting_minutes/detail']" link @@ -69,8 +69,8 @@ </div> </el-card> <edit-popup v-if="showEdit" ref="editRef" :dict-data="dictData" @success="getLists" @close="showEdit = false" /> - <detailPage v-if="showDetail" ref="detailRef" @close="showDetail = false" :detailConfig="detailConfig" - :column="2" width="50vw" /> + <detailPage v-if="showDetail" ref="detailRef" @close="showDetail = false" :detailConfig="detailConfig" :column="2" + width="50vw" /> </div> </template> diff --git a/src/views/supervision_monitoring_equipment/index.vue b/src/views/supervision_monitoring_equipment/index.vue index 345ee18..5bdf5c2 100644 --- a/src/views/supervision_monitoring_equipment/index.vue +++ b/src/views/supervision_monitoring_equipment/index.vue @@ -15,8 +15,7 @@ <el-col :span="6"> <el-form-item label="设备类型" prop="device_type"> - <el-select class="w-[280px]" v-model="queryParams.device_type" clearable - placeholder="请选择设备类型"> + <el-select class="w-[280px]" v-model="queryParams.device_type" clearable placeholder="请选择设备类型"> <el-option v-for="(item, index) in dictData.device_type" :key="index" :label="item.name" :value="parseInt(item.value)" /> </el-select> @@ -24,8 +23,7 @@ </el-col> <el-col :span="6"> <el-form-item label="设备序列号" prop="device_sn"> - <el-input class="w-[280px]" v-model="queryParams.device_sn" clearable - placeholder="请输入设备序列号" /> + <el-input class="w-[280px]" v-model="queryParams.device_sn" clearable placeholder="请输入设备序列号" /> </el-form-item> </el-col> <el-col :span="6"> @@ -58,7 +56,7 @@ 删除 </el-button> <div class="mt-4"> - <el-table :data="pager.lists" @selection-change="handleSelectionChange"> + <el-table border :data="pager.lists" @selection-change="handleSelectionChange"> <el-table-column type="selection" width="55" /> <el-table-column label="所属项目" prop="project_name" show-overflow-tooltip /> <el-table-column label="监控设备名称" prop="device_name" show-overflow-tooltip /> diff --git a/src/views/supervision_monitoring_equipment_detail/index.vue b/src/views/supervision_monitoring_equipment_detail/index.vue index d8f6841..76c10ca 100644 --- a/src/views/supervision_monitoring_equipment_detail/index.vue +++ b/src/views/supervision_monitoring_equipment_detail/index.vue @@ -1,11 +1,7 @@ <template> <div> <el-card class="!border-none mb-4" shadow="never"> - <el-form - class="mb-[-16px]" - :model="queryParams" - inline - > + <el-form class="mb-[-16px]" :model="queryParams" inline> <el-form-item label="设备信息id" prop="device_id"> <el-input class="w-[280px]" v-model="queryParams.device_id" clearable placeholder="请输入设备信息id" /> </el-form-item> @@ -19,41 +15,31 @@ </el-form> </el-card> <el-card class="!border-none" v-loading="pager.loading" shadow="never"> - <el-button v-perms="['supervision_project.supervision_monitoring_equipment_detail/add']" type="primary" @click="handleAdd"> + <el-button v-perms="['supervision_project.supervision_monitoring_equipment_detail/add']" type="primary" + @click="handleAdd"> <template #icon> <icon name="el-icon-Plus" /> </template> 新增 </el-button> - <el-button - v-perms="['supervision_project.supervision_monitoring_equipment_detail/delete']" - :disabled="!selectData.length" - @click="handleDelete(selectData)" - > + <el-button v-perms="['supervision_project.supervision_monitoring_equipment_detail/delete']" + :disabled="!selectData.length" @click="handleDelete(selectData)"> 删除 </el-button> <div class="mt-4"> - <el-table :data="pager.lists" @selection-change="handleSelectionChange"> + <el-table border :data="pager.lists" @selection-change="handleSelectionChange"> <el-table-column type="selection" width="55" /> <el-table-column label="设备信息id" prop="device_id" show-overflow-tooltip /> <el-table-column label="设备名称" prop="name" show-overflow-tooltip /> <el-table-column label="是否显示 0-是 1-否" prop="is_show" show-overflow-tooltip /> <el-table-column label="操作" width="120" fixed="right"> <template #default="{ row }"> - <el-button - v-perms="['supervision_project.supervision_monitoring_equipment_detail/edit']" - type="primary" - link - @click="handleEdit(row)" - > + <el-button v-perms="['supervision_project.supervision_monitoring_equipment_detail/edit']" + type="primary" link @click="handleEdit(row)"> 编辑 </el-button> - <el-button - v-perms="['supervision_project.supervision_monitoring_equipment_detail/delete']" - type="danger" - link - @click="handleDelete(row.id)" - > + <el-button v-perms="['supervision_project.supervision_monitoring_equipment_detail/delete']" + type="danger" link @click="handleDelete(row.id)"> 删除 </el-button> </template> diff --git a/src/views/supervision_notice/index.vue b/src/views/supervision_notice/index.vue index 29e15ea..ea63b1b 100644 --- a/src/views/supervision_notice/index.vue +++ b/src/views/supervision_notice/index.vue @@ -29,7 +29,7 @@ 删除 </el-button> <div class="mt-4"> - <el-table :data="pager.lists" @selection-change="handleSelectionChange"> + <el-table border :data="pager.lists" @selection-change="handleSelectionChange"> <el-table-column type="selection" width="55" /> <el-table-column label="项目名称" prop="project_name" show-overflow-tooltip /> <el-table-column label="项目通知编号" prop="code" show-overflow-tooltip /> diff --git a/src/views/supervision_participating_units/index.vue b/src/views/supervision_participating_units/index.vue index da57cec..69748fc 100644 --- a/src/views/supervision_participating_units/index.vue +++ b/src/views/supervision_participating_units/index.vue @@ -15,8 +15,7 @@ <el-input class="w-[280px]" v-model="queryParams.unit_name" clearable placeholder="请输入单位名称" /> </el-form-item> <el-form-item label="资质等级" prop="qualification_grade"> - <el-input class="w-[280px]" v-model="queryParams.qualification_grade" clearable - placeholder="请输入资质等级" /> + <el-input class="w-[280px]" v-model="queryParams.qualification_grade" clearable placeholder="请输入资质等级" /> </el-form-item> <el-form-item> <el-button type="primary" @click="resetPage">查询</el-button> @@ -37,7 +36,7 @@ 删除 </el-button> <div class="mt-4"> - <el-table :data="pager.lists" @selection-change="handleSelectionChange"> + <el-table border :data="pager.lists" @selection-change="handleSelectionChange"> <el-table-column type="selection" width="55" /> <el-table-column label="所属项目" prop="project_name" show-overflow-tooltip /> <el-table-column label="单位名称" prop="unit_name" show-overflow-tooltip /> @@ -47,8 +46,8 @@ <el-table-column label="责任范围" prop="duty" show-overflow-tooltip /> <el-table-column label="操作" width="120" fixed="right"> <template #default="{ row }"> - <el-button v-perms="['supervision_project.supervision_participating_units/edit']" - type="primary" link @click="handleEdit(row)"> + <el-button v-perms="['supervision_project.supervision_participating_units/edit']" type="primary" + link @click="handleEdit(row)"> 编辑 </el-button> <el-button v-perms="['supervision_project.supervision_participating_units/delete']" @@ -68,8 +67,7 @@ </div> </el-card> <edit-popup v-if="showEdit" ref="editRef" :dict-data="dictData" @success="getLists" @close="showEdit = false" /> - <detailPage v-if="showDetail" ref="detailRef" @close="showEdit = false" :detailConfig="detailConfig" - :column="2" /> + <detailPage v-if="showDetail" ref="detailRef" @close="showEdit = false" :detailConfig="detailConfig" :column="2" /> </div> </template> diff --git a/src/views/supervision_participating_units_contacts/index.vue b/src/views/supervision_participating_units_contacts/index.vue index 37e0ce4..9ea8779 100644 --- a/src/views/supervision_participating_units_contacts/index.vue +++ b/src/views/supervision_participating_units_contacts/index.vue @@ -3,8 +3,7 @@ <el-card class="!border-none mb-4" shadow="never"> <el-form class="mb-[-16px]" :model="queryParams" inline> <el-form-item label="所属单位" prop="unit_id"> - <selectRemote :formData="queryParams" model="unit_id" - :api="apiSupervisionParticipatingUnitsSearch" /> + <selectRemote :formData="queryParams" model="unit_id" :api="apiSupervisionParticipatingUnitsSearch" /> </el-form-item> <el-form-item label="姓名" prop="name"> <el-input class="w-[280px]" v-model="queryParams.name" clearable placeholder="请输入姓名" /> @@ -34,7 +33,7 @@ 删除 </el-button> <div class="mt-4"> - <el-table :data="pager.lists" @selection-change="handleSelectionChange"> + <el-table border :data="pager.lists" @selection-change="handleSelectionChange"> <el-table-column type="selection" width="55" /> <el-table-column label="单位名称" prop="unit_name" show-overflow-tooltip /> <el-table-column label="姓名" prop="name" show-overflow-tooltip /> diff --git a/src/views/supervision_participating_units_qualifications/index.vue b/src/views/supervision_participating_units_qualifications/index.vue index a8f04a5..2459160 100644 --- a/src/views/supervision_participating_units_qualifications/index.vue +++ b/src/views/supervision_participating_units_qualifications/index.vue @@ -10,8 +10,7 @@ :api="apiSupervisionParticipatingUnitsSearch" /> </el-form-item> <el-form-item label="资质名称" prop="qualification_name"> - <el-input class="w-[280px]" v-model="queryParams.qualification_name" clearable - placeholder="请输入资质名称" /> + <el-input class="w-[280px]" v-model="queryParams.qualification_name" clearable placeholder="请输入资质名称" /> </el-form-item> <el-form-item label="资质编号" prop="qualification_number"> <el-input class="w-[280px]" v-model="queryParams.qualification_number" clearable @@ -31,13 +30,12 @@ </template> 新增 </el-button> - <el-button - v-perms="['supervision_qualification_review.supervision_participating_units_qualifications/delete']" + <el-button v-perms="['supervision_qualification_review.supervision_participating_units_qualifications/delete']" :disabled="!selectData.length" @click="handleDelete(selectData)"> 删除 </el-button> <div class="mt-4"> - <el-table :data="pager.lists" @selection-change="handleSelectionChange"> + <el-table border :data="pager.lists" @selection-change="handleSelectionChange"> <el-table-column type="selection" width="55" /> <el-table-column label="项目名称" prop="project_name" show-overflow-tooltip /> <el-table-column label="所属单位" prop="company_name" show-overflow-tooltip /> @@ -73,8 +71,8 @@ </div> </el-card> <edit-popup v-if="showEdit" ref="editRef" :dict-data="dictData" @success="getLists" @close="showEdit = false" /> - <detailPage v-if="showDetail" ref="detailRef" @close="showEdit = false" :detailConfig="detailConfig" - width="30vw" :column="1" /> + <detailPage v-if="showDetail" ref="detailRef" @close="showEdit = false" :detailConfig="detailConfig" width="30vw" + :column="1" /> </div> </template> diff --git a/src/views/supervision_planning/index.vue b/src/views/supervision_planning/index.vue index 3e1e54b..38dec44 100644 --- a/src/views/supervision_planning/index.vue +++ b/src/views/supervision_planning/index.vue @@ -5,14 +5,13 @@ <el-row> <el-col :span="6"> <el-form-item label="所属项目" prop="project_id"> - <selectRemote :formData="queryParams" model="project_id" - :api="apiSupervisionProjectSearch" /> + <selectRemote :formData="queryParams" model="project_id" :api="apiSupervisionProjectSearch" /> </el-form-item> <el-form-item label="专项审批类型" prop="approval_type"> <el-select class="w-[280px]" v-model="queryParams.approval_type" clearable placeholder="请选择专项审批类型"> - <el-option v-for="(item, index) in dictData.supervision_planning_approval_type" - :key="index" :label="item.name" :value="parseInt(item.value)" /> + <el-option v-for="(item, index) in dictData.supervision_planning_approval_type" :key="index" + :label="item.name" :value="parseInt(item.value)" /> </el-select> </el-form-item> </el-col> @@ -24,14 +23,12 @@ </el-col> <el-col :span="6"> <el-form-item label="方案名称" prop="scheme_name"> - <el-input class="w-[280px]" v-model="queryParams.scheme_name" clearable - placeholder="请输入方案名称" /> + <el-input class="w-[280px]" v-model="queryParams.scheme_name" clearable placeholder="请输入方案名称" /> </el-form-item> </el-col> <el-col :span="6"> <el-form-item label="创建人" prop="create_user"> - <el-input class="w-[280px]" v-model="queryParams.create_user" clearable - placeholder="请输入创建人" /> + <el-input class="w-[280px]" v-model="queryParams.create_user" clearable placeholder="请输入创建人" /> </el-form-item> </el-col> <el-col :span="6"> @@ -55,7 +52,7 @@ 删除 </el-button> <div class="mt-4"> - <el-table :data="pager.lists" @selection-change="handleSelectionChange"> + <el-table border :data="pager.lists" @selection-change="handleSelectionChange"> <el-table-column type="selection" width="55" /> <el-table-column label="项目名称" prop="project_name" show-overflow-tooltip /> <el-table-column label="专项审批类型" prop="approval_type_text" show-overflow-tooltip /> @@ -87,8 +84,8 @@ </div> </el-card> <edit-popup v-if="showEdit" ref="editRef" :dict-data="dictData" @success="getLists" @close="showEdit = false" /> - <detailPage v-if="showDetail" ref="detailRef" @close="showDetail = false" :detailConfig="detailConfig" - :column="2" width="60vw" /> + <detailPage v-if="showDetail" ref="detailRef" @close="showDetail = false" :detailConfig="detailConfig" :column="2" + width="60vw" /> </div> </template> diff --git a/src/views/supervision_problem/index.vue b/src/views/supervision_problem/index.vue index cb7da78..5e62193 100644 --- a/src/views/supervision_problem/index.vue +++ b/src/views/supervision_problem/index.vue @@ -10,8 +10,7 @@ </el-select> </el-form-item> <el-form-item label="问题说明" prop="problem_description"> - <el-input class="w-[280px]" v-model="queryParams.problem_description" clearable - placeholder="请输入问题说明" /> + <el-input class="w-[280px]" v-model="queryParams.problem_description" clearable placeholder="请输入问题说明" /> </el-form-item> <el-form-item label="问题名称" prop="problem_name"> <el-input class="w-[280px]" v-model="queryParams.problem_name" clearable placeholder="请输入问题名称" /> @@ -35,7 +34,7 @@ <!-- 1-巡视 2-旁站 3-验收 4-设备进场 5-见证取样 6-材料平行检验 7-实体平行检验 --> </el-button> <div class="mt-4"> - <el-table :data="pager.lists" @selection-change="handleSelectionChange"> + <el-table border :data="pager.lists" @selection-change="handleSelectionChange"> <el-table-column type="selection" width="55" /> <el-table-column label="问题分类" prop="problem_cate_text" show-overflow-tooltip /> <el-table-column label="问题说明" prop="problem_description" show-overflow-tooltip /> @@ -68,8 +67,8 @@ </div> </el-card> <edit-popup v-if="showEdit" ref="editRef" :dict-data="dictData" @success="getLists" @close="showEdit = false" /> - <detailPage v-if="showDetail" ref="detailRef" @close="showDetail = false" :detailConfig="detailConfig" - :column="1" width="550px" /> + <detailPage v-if="showDetail" ref="detailRef" @close="showDetail = false" :detailConfig="detailConfig" :column="1" + width="550px" /> </div> </template> diff --git a/src/views/supervision_project/index.vue b/src/views/supervision_project/index.vue index c330d73..d251d31 100644 --- a/src/views/supervision_project/index.vue +++ b/src/views/supervision_project/index.vue @@ -37,8 +37,7 @@ </el-col> <el-col :span="6"> <el-form-item label="项目等级" prop="project_level"> - <el-select class=" flex-1" v-model="queryParams.project_level" clearable - placeholder="请选择行业"> + <el-select class=" flex-1" v-model="queryParams.project_level" clearable placeholder="请选择行业"> <el-option v-for="(item, index) in dictData.supervision_project_level" :key="index" :label="item.name" :value="parseInt(item.value)" /> </el-select> @@ -74,7 +73,7 @@ 删除 </el-button> <div class="mt-4"> - <el-table :data="pager.lists" @selection-change="handleSelectionChange"> + <el-table border :data="pager.lists" @selection-change="handleSelectionChange"> <el-table-column type="selection" width="55" /> <el-table-column label="项目名称" prop="project_name" show-overflow-tooltip> <template #default="{ row }"> diff --git a/src/views/supervision_project_acceptance_report/index.vue b/src/views/supervision_project_acceptance_report/index.vue index 4884e52..67ea60d 100644 --- a/src/views/supervision_project_acceptance_report/index.vue +++ b/src/views/supervision_project_acceptance_report/index.vue @@ -27,7 +27,7 @@ 删除 </el-button> <div class="mt-4"> - <el-table :data="pager.lists" @selection-change="handleSelectionChange"> + <el-table border :data="pager.lists" @selection-change="handleSelectionChange"> <el-table-column type="selection" width="55" /> <el-table-column label="项目名称" prop="project_name" show-overflow-tooltip /> <el-table-column label="文档名称" prop="title" show-overflow-tooltip /> @@ -43,8 +43,8 @@ type="danger" link @click="handleDelete(row.id)"> 删除 </el-button> - <el-button v-perms="['supervision_ending.supervision_project_acceptance_report/detail']" - link @click="handleDetail(row.id)"> + <el-button v-perms="['supervision_ending.supervision_project_acceptance_report/detail']" link + @click="handleDetail(row.id)"> 详情 </el-button> </template> @@ -56,8 +56,8 @@ </div> </el-card> <edit-popup v-if="showEdit" ref="editRef" :dict-data="dictData" @success="getLists" @close="showEdit = false" /> - <detailPage v-if="showDetail" ref="detailRef" @close="showDetail = false" :detailConfig="detailConfig" - :column="1" width="550px" /> + <detailPage v-if="showDetail" ref="detailRef" @close="showDetail = false" :detailConfig="detailConfig" :column="1" + width="550px" /> </div> </template> diff --git a/src/views/supervision_project_case_review/index.vue b/src/views/supervision_project_case_review/index.vue index 5db3555..1deca3d 100644 --- a/src/views/supervision_project_case_review/index.vue +++ b/src/views/supervision_project_case_review/index.vue @@ -33,7 +33,7 @@ 删除 </el-button> <div class="mt-4"> - <el-table :data="pager.lists" @selection-change="handleSelectionChange"> + <el-table border :data="pager.lists" @selection-change="handleSelectionChange"> <el-table-column type="selection" width="55" /> <el-table-column label="项目名称" prop="project_name" show-overflow-tooltip /> <el-table-column label="专项审批类型" prop="review_type_text" show-overflow-tooltip /> @@ -43,8 +43,8 @@ <el-table-column label="操作" align="center" fixed="right"> <template #default="{ row }"> - <el-button v-perms="['supervision_connect.supervision_project_case_review/edit']" - type="primary" link @click="handleEdit(row)"> + <el-button v-perms="['supervision_connect.supervision_project_case_review/edit']" type="primary" + link @click="handleEdit(row)"> 编辑 </el-button> <el-button v-perms="['supervision_connect.supervision_project_case_review/delete']" @@ -64,8 +64,8 @@ </div> </el-card> <edit-popup v-if="showEdit" ref="editRef" :dict-data="dictData" @success="getLists" @close="showEdit = false" /> - <detailPage v-if="showDetail" ref="detailRef" @close="showDetail = false" :detailConfig="detailConfig" - :column="1" width="550px" /> + <detailPage v-if="showDetail" ref="detailRef" @close="showDetail = false" :detailConfig="detailConfig" :column="1" + width="550px" /> </div> </template> diff --git a/src/views/supervision_project_data_archiving/index.vue b/src/views/supervision_project_data_archiving/index.vue index ccd1479..d62c75b 100644 --- a/src/views/supervision_project_data_archiving/index.vue +++ b/src/views/supervision_project_data_archiving/index.vue @@ -27,7 +27,7 @@ 删除 </el-button> <div class="mt-4"> - <el-table :data="pager.lists" @selection-change="handleSelectionChange"> + <el-table border :data="pager.lists" @selection-change="handleSelectionChange"> <el-table-column type="selection" width="55" /> <el-table-column label="项目名称" prop="project_name" show-overflow-tooltip /> <el-table-column label="项目总监意见" prop="opinion" show-overflow-tooltip /> @@ -57,8 +57,8 @@ </div> </el-card> <edit-popup v-if="showEdit" ref="editRef" :dict-data="dictData" @success="getLists" @close="showEdit = false" /> - <detailPage v-if="showDetail" ref="detailRef" @close="showDetail = false" :detailConfig="detailConfig" - :column="1" width="550px" /> + <detailPage v-if="showDetail" ref="detailRef" @close="showDetail = false" :detailConfig="detailConfig" :column="1" + width="550px" /> </div> </template> diff --git a/src/views/supervision_project_info_report/index.vue b/src/views/supervision_project_info_report/index.vue index ec4ad29..1eb986b 100644 --- a/src/views/supervision_project_info_report/index.vue +++ b/src/views/supervision_project_info_report/index.vue @@ -36,7 +36,7 @@ 删除 </el-button> <div class="mt-4"> - <el-table :data="pager.lists" @selection-change="handleSelectionChange"> + <el-table border :data="pager.lists" @selection-change="handleSelectionChange"> <el-table-column type="selection" width="55" /> <el-table-column label="项目名称" prop="project_name" show-overflow-tooltip /> <el-table-column label="信息摘要" prop="abstract" show-overflow-tooltip /> @@ -49,8 +49,8 @@ <el-table-column label="操作" width="150" align="center" fixed="right"> <template #default="{ row }"> - <el-button v-perms="['supervision_connect.supervision_project_info_report/edit']" - type="primary" link @click="handleEdit(row)"> + <el-button v-perms="['supervision_connect.supervision_project_info_report/edit']" type="primary" + link @click="handleEdit(row)"> 编辑 </el-button> <el-button v-perms="['supervision_connect.supervision_project_info_report/delete']" @@ -70,8 +70,8 @@ </div> </el-card> <edit-popup v-if="showEdit" ref="editRef" :dict-data="dictData" @success="getLists" @close="showEdit = false" /> - <detailPage v-if="showDetail" ref="detailRef" @close="showDetail = false" :detailConfig="detailConfig" - :column="1" width="550px" /> + <detailPage v-if="showDetail" ref="detailRef" @close="showDetail = false" :detailConfig="detailConfig" :column="1" + width="550px" /> </div> </template> diff --git a/src/views/supervision_project_milestones/index.vue b/src/views/supervision_project_milestones/index.vue index 694e194..acd9e77 100644 --- a/src/views/supervision_project_milestones/index.vue +++ b/src/views/supervision_project_milestones/index.vue @@ -27,7 +27,7 @@ 删除 </el-button> <div class="mt-4"> - <el-table :data="pager.lists" @selection-change="handleSelectionChange"> + <el-table border :data="pager.lists" @selection-change="handleSelectionChange"> <el-table-column type="selection" width="55" /> <el-table-column label="项目名称" prop="project_name" show-overflow-tooltip /> <el-table-column label="标题" prop="title" show-overflow-tooltip /> @@ -36,12 +36,12 @@ <el-table-column label="操作" align="center" fixed="right"> <template #default="{ row }"> - <el-button v-perms="['supervision_connect.supervision_project_milestones/edit']" - type="primary" link @click="handleEdit(row)"> + <el-button v-perms="['supervision_connect.supervision_project_milestones/edit']" type="primary" + link @click="handleEdit(row)"> 编辑 </el-button> - <el-button v-perms="['supervision_connect.supervision_project_milestones/delete']" - type="danger" link @click="handleDelete(row.id)"> + <el-button v-perms="['supervision_connect.supervision_project_milestones/delete']" type="danger" + link @click="handleDelete(row.id)"> 删除 </el-button> <el-button v-perms="['supervision_connect.supervision_project_milestones/detail']" link @@ -57,8 +57,8 @@ </div> </el-card> <edit-popup v-if="showEdit" ref="editRef" :dict-data="dictData" @success="getLists" @close="showEdit = false" /> - <detailPage v-if="showDetail" ref="detailRef" @close="showEdit = false" :detailConfig="detailConfig" - width="550px" :column="1" /> + <detailPage v-if="showDetail" ref="detailRef" @close="showEdit = false" :detailConfig="detailConfig" width="550px" + :column="1" /> </div> </template> diff --git a/src/views/supervision_project_monthly_report/index.vue b/src/views/supervision_project_monthly_report/index.vue index 2100613..5bffc8f 100644 --- a/src/views/supervision_project_monthly_report/index.vue +++ b/src/views/supervision_project_monthly_report/index.vue @@ -35,7 +35,7 @@ 删除 </el-button> <div class="mt-4"> - <el-table :data="pager.lists" @selection-change="handleSelectionChange"> + <el-table border :data="pager.lists" @selection-change="handleSelectionChange"> <el-table-column type="selection" width="55" /> <el-table-column label="项目名称" prop="project_name" show-overflow-tooltip :render-header="pager.calcWidth" /> diff --git a/src/views/supervision_project_owner_evaluation/index.vue b/src/views/supervision_project_owner_evaluation/index.vue index c5b68f5..6a5041c 100644 --- a/src/views/supervision_project_owner_evaluation/index.vue +++ b/src/views/supervision_project_owner_evaluation/index.vue @@ -27,7 +27,7 @@ 删除 </el-button> <div class="mt-4"> - <el-table :data="pager.lists" @selection-change="handleSelectionChange"> + <el-table border :data="pager.lists" @selection-change="handleSelectionChange"> <el-table-column type="selection" width="55" /> <el-table-column label="项目名称" prop="project_name" show-overflow-tooltip /> <el-table-column label="文档名称" prop="title" show-overflow-tooltip /> @@ -56,8 +56,8 @@ </div> </el-card> <edit-popup v-if="showEdit" ref="editRef" :dict-data="dictData" @success="getLists" @close="showEdit = false" /> - <detailPage v-if="showDetail" ref="detailRef" @close="showDetail = false" :detailConfig="detailConfig" - :column="1" width="550px" /> + <detailPage v-if="showDetail" ref="detailRef" @close="showDetail = false" :detailConfig="detailConfig" :column="1" + width="550px" /> </div> </template> diff --git a/src/views/supervision_project_personnel/index.vue b/src/views/supervision_project_personnel/index.vue index 5ccde16..6fff889 100644 --- a/src/views/supervision_project_personnel/index.vue +++ b/src/views/supervision_project_personnel/index.vue @@ -21,19 +21,18 @@ </el-form> </el-card> <el-card class="!border-none" v-loading="pager.loading" shadow="never"> - <el-button v-perms="['supervision_team.supervision_project_personnel/add']" type="primary" - @click="handleAdd"> + <el-button v-perms="['supervision_team.supervision_project_personnel/add']" type="primary" @click="handleAdd"> <template #icon> <icon name="el-icon-Plus" /> </template> 新增 </el-button> - <el-button v-perms="['supervision_team.supervision_project_personnel/delete']" - :disabled="!selectData.length" @click="handleDelete(selectData)"> + <el-button v-perms="['supervision_team.supervision_project_personnel/delete']" :disabled="!selectData.length" + @click="handleDelete(selectData)"> 删除 </el-button> <div class="mt-4"> - <el-table :data="pager.lists" @selection-change="handleSelectionChange"> + <el-table border :data="pager.lists" @selection-change="handleSelectionChange"> <el-table-column type="selection" width="55" /> <el-table-column label="项目名称" prop="project_name" show-overflow-tooltip /> <el-table-column label="姓名" prop="name" show-overflow-tooltip /> @@ -45,8 +44,8 @@ <el-table-column label="操作" align="center" fixed="right"> <template #default="{ row }"> - <el-button v-perms="['supervision_team.supervision_project_personnel/edit']" type="primary" - link @click="handleEdit(row)"> + <el-button v-perms="['supervision_team.supervision_project_personnel/edit']" type="primary" link + @click="handleEdit(row)"> 编辑 </el-button> <el-button v-perms="['supervision_team.supervision_project_personnel/delete']" type="danger" @@ -66,8 +65,8 @@ </div> </el-card> <edit-popup v-if="showEdit" ref="editRef" :dict-data="dictData" @success="getLists" @close="showEdit = false" /> - <detailPage v-if="showDetail" ref="detailRef" @close="showDetail = false" :detailConfig="detailConfig" - :column="1" width="550px" /> + <detailPage v-if="showDetail" ref="detailRef" @close="showDetail = false" :detailConfig="detailConfig" :column="1" + width="550px" /> </div> </template> diff --git a/src/views/supervision_rules/index.vue b/src/views/supervision_rules/index.vue index 19be7eb..d5cd23b 100644 --- a/src/views/supervision_rules/index.vue +++ b/src/views/supervision_rules/index.vue @@ -26,7 +26,7 @@ 删除 </el-button> <div class="mt-4"> - <el-table :data="pager.lists" @selection-change="handleSelectionChange"> + <el-table border :data="pager.lists" @selection-change="handleSelectionChange"> <el-table-column type="selection" width="55" /> <el-table-column label="项目名称" prop="project_name" show-overflow-tooltip /> <el-table-column label="文档名称" prop="doc_name" show-overflow-tooltip /> diff --git a/src/views/supervision_rules_disclosure/index.vue b/src/views/supervision_rules_disclosure/index.vue index b044303..7df62d0 100644 --- a/src/views/supervision_rules_disclosure/index.vue +++ b/src/views/supervision_rules_disclosure/index.vue @@ -27,7 +27,7 @@ 删除 </el-button> <div class="mt-4"> - <el-table :data="pager.lists" @selection-change="handleSelectionChange"> + <el-table border :data="pager.lists" @selection-change="handleSelectionChange"> <el-table-column type="selection" width="55" /> <el-table-column label="项目名称" prop="project_name" show-overflow-tooltip /> <el-table-column label="文档名称" prop="doc_name" show-overflow-tooltip /> diff --git a/src/views/supervision_safety_management_personnel/index.vue b/src/views/supervision_safety_management_personnel/index.vue index 0fad167..f50013f 100644 --- a/src/views/supervision_safety_management_personnel/index.vue +++ b/src/views/supervision_safety_management_personnel/index.vue @@ -36,7 +36,7 @@ 删除 </el-button> <div class="mt-4"> - <el-table :data="pager.lists" @selection-change="handleSelectionChange"> + <el-table border :data="pager.lists" @selection-change="handleSelectionChange"> <el-table-column type="selection" width="55" /> <el-table-column label="姓名" prop="name" show-overflow-tooltip /> <el-table-column label="所属单位" prop="company_name" show-overflow-tooltip /> diff --git a/src/views/supervision_safety_warning_sign/index.vue b/src/views/supervision_safety_warning_sign/index.vue index a30b7dc..a272351 100644 --- a/src/views/supervision_safety_warning_sign/index.vue +++ b/src/views/supervision_safety_warning_sign/index.vue @@ -30,7 +30,7 @@ 删除 </el-button> <div class="mt-4"> - <el-table :data="pager.lists" @selection-change="handleSelectionChange"> + <el-table border :data="pager.lists" @selection-change="handleSelectionChange"> <el-table-column type="selection" width="55" /> <el-table-column label="项目名称" prop="project_name" show-overflow-tooltip /> <el-table-column label="检查人" prop="check_user" show-overflow-tooltip /> diff --git a/src/views/supervision_side_station/index.vue b/src/views/supervision_side_station/index.vue index 79d7eba..af32353 100644 --- a/src/views/supervision_side_station/index.vue +++ b/src/views/supervision_side_station/index.vue @@ -6,8 +6,7 @@ <selectRemote :formData="queryParams" model="project_id" :api="apiSupervisionProjectSearch" /> </el-form-item> <el-form-item label="旁站编号" prop="side_station_code"> - <el-input class="w-[280px]" v-model="queryParams.side_station_code" clearable - placeholder="请输入旁站编号" /> + <el-input class="w-[280px]" v-model="queryParams.side_station_code" clearable placeholder="请输入旁站编号" /> </el-form-item> <el-form-item label="旁站类型" prop="side_station_type"> <el-select class="flex-1" v-model="queryParams.side_station_type" clearable placeholder="请选择巡视类型"> @@ -33,7 +32,7 @@ 删除 </el-button> <div class="mt-4"> - <el-table :data="pager.lists" @selection-change="handleSelectionChange"> + <el-table border :data="pager.lists" @selection-change="handleSelectionChange"> <el-table-column type="selection" width="55" /> <el-table-column label="项目名称" prop="project_name" show-overflow-tooltip /> <el-table-column label="旁站编号" prop="side_station_code" show-overflow-tooltip /> diff --git a/src/views/supervision_special_operation_personnel/index.vue b/src/views/supervision_special_operation_personnel/index.vue index b33a9bd..6b3fea1 100644 --- a/src/views/supervision_special_operation_personnel/index.vue +++ b/src/views/supervision_special_operation_personnel/index.vue @@ -34,7 +34,7 @@ 删除 </el-button> <div class="mt-4"> - <el-table :data="pager.lists" @selection-change="handleSelectionChange"> + <el-table border :data="pager.lists" @selection-change="handleSelectionChange"> <el-table-column type="selection" width="55" /> <el-table-column label="姓名" prop="name" show-overflow-tooltip /> <el-table-column label="所属单位" prop="company_name" show-overflow-tooltip /> @@ -72,8 +72,8 @@ </div> </el-card> <edit-popup v-if="showEdit" ref="editRef" :dict-data="dictData" @success="getLists" @close="showEdit = false" /> - <detailPage v-if="showDetail" ref="detailRef" @close="showEdit = false" :detailConfig="detailConfig" - width="30vw" :column="1" /> + <detailPage v-if="showDetail" ref="detailRef" @close="showEdit = false" :detailConfig="detailConfig" width="30vw" + :column="1" /> </div> </template> diff --git a/src/views/supervision_test_blocks_specimens/index.vue b/src/views/supervision_test_blocks_specimens/index.vue index 56cd4f9..961c67a 100644 --- a/src/views/supervision_test_blocks_specimens/index.vue +++ b/src/views/supervision_test_blocks_specimens/index.vue @@ -5,8 +5,7 @@ <el-row> <el-col :span="6"> <el-form-item label="所属项目" prop="project_id"> - <selectRemote :formData="queryParams" model="project_id" - :api="apiSupervisionProjectSearch" /> + <selectRemote :formData="queryParams" model="project_id" :api="apiSupervisionProjectSearch" /> </el-form-item> </el-col> <el-col :span="6"> @@ -59,7 +58,7 @@ 删除 </el-button> <div class="mt-4"> - <el-table :data="pager.lists" @selection-change="handleSelectionChange"> + <el-table border :data="pager.lists" @selection-change="handleSelectionChange"> <el-table-column type="selection" width="55" /> <el-table-column label="项目名称" prop="project_name" show-overflow-tooltip /> <el-table-column label="试验类型" prop="test_type" show-overflow-tooltip /> @@ -74,12 +73,12 @@ <el-table-column label="操作" fixed="right" align="center"> <template #default="{ row }"> - <el-button v-perms="['supervision_work.supervision_test_blocks_specimens/edit']" - type="primary" link @click="handleEdit(row)"> + <el-button v-perms="['supervision_work.supervision_test_blocks_specimens/edit']" type="primary" + link @click="handleEdit(row)"> 编辑 </el-button> - <el-button v-perms="['supervision_work.supervision_test_blocks_specimens/delete']" - type="danger" link @click="handleDelete(row.id)"> + <el-button v-perms="['supervision_work.supervision_test_blocks_specimens/delete']" type="danger" + link @click="handleDelete(row.id)"> 删除 </el-button> <el-button v-perms="['supervision_work.supervision_test_blocks_specimens/detail']" link diff --git a/src/views/supervision_witness_sampling/index.vue b/src/views/supervision_witness_sampling/index.vue index 3ea2903..0a60430 100644 --- a/src/views/supervision_witness_sampling/index.vue +++ b/src/views/supervision_witness_sampling/index.vue @@ -5,8 +5,7 @@ <el-row> <el-col :span="6"> <el-form-item label="所属项目" prop="project_id"> - <selectRemote :formData="queryParams" model="project_id" - :api="apiSupervisionProjectSearch" /> + <selectRemote :formData="queryParams" model="project_id" :api="apiSupervisionProjectSearch" /> </el-form-item> </el-col> <el-col :span="6"> @@ -40,8 +39,7 @@ </el-form> </el-card> <el-card class="!border-none" v-loading="pager.loading" shadow="never"> - <el-button v-perms="['supervision_work.supervision_witness_sampling/add']" type="primary" - @click="handleAdd"> + <el-button v-perms="['supervision_work.supervision_witness_sampling/add']" type="primary" @click="handleAdd"> <template #icon> <icon name="el-icon-Plus" /> </template> @@ -52,7 +50,7 @@ 删除 </el-button> <div class="mt-4"> - <el-table :data="pager.lists" @selection-change="handleSelectionChange"> + <el-table border :data="pager.lists" @selection-change="handleSelectionChange"> <el-table-column type="selection" width="55" /> <el-table-column label="项目名称" prop="project_name" show-overflow-tooltip /> <el-table-column label="来源编码" prop="material_entry_code" show-overflow-tooltip /> @@ -63,19 +61,19 @@ <el-table-column label="取样人" prop="sampler" show-overflow-tooltip /> <el-table-column label="操作" width="120" fixed="right"> <template #default="{ row }"> - <el-button v-perms="['supervision_work.supervision_witness_sampling/edit']" type="primary" - link @click="handleEdit(row)"> + <el-button v-perms="['supervision_work.supervision_witness_sampling/edit']" type="primary" link + @click="handleEdit(row)"> 编辑 </el-button> - <el-button v-perms="['supervision_work.supervision_witness_sampling/delete']" type="danger" - link @click="handleDelete(row.id)"> + <el-button v-perms="['supervision_work.supervision_witness_sampling/delete']" type="danger" link + @click="handleDelete(row.id)"> 删除 </el-button> <router-link :to="{ - path: '/supervision/supervision_work/supervision_witness_sampling_detail', - query: { id: row.id } - }"> + path: '/supervision/supervision_work/supervision_witness_sampling_detail', + query: { id: row.id } + }"> <el-button type="primary" link> 明细 </el-button> diff --git a/src/views/supervision_witness_sampling_detail/index.vue b/src/views/supervision_witness_sampling_detail/index.vue index ca203e9..4cdb613 100644 --- a/src/views/supervision_witness_sampling_detail/index.vue +++ b/src/views/supervision_witness_sampling_detail/index.vue @@ -3,8 +3,7 @@ <el-card class="!border-none mb-4" shadow="never"> <el-form class="mb-[-16px]" :model="queryParams" inline> <el-form-item label="来源单据" prop="material_entry_id"> - <el-input class="w-[280px]" v-model="queryParams.material_entry_id" clearable - placeholder="请输入来源单据" /> + <el-input class="w-[280px]" v-model="queryParams.material_entry_id" clearable placeholder="请输入来源单据" /> </el-form-item> <el-form-item label="编号" prop="code"> <el-input class="w-[280px]" v-model="queryParams.code" clearable placeholder="请输入编号" /> @@ -22,8 +21,7 @@ </el-form> </el-card> <el-card class="!border-none" v-loading="pager.loading" shadow="never"> - <el-button v-perms="['supervision_work.supervision_witness_sampling/add']" type="primary" - @click="handleAdd"> + <el-button v-perms="['supervision_work.supervision_witness_sampling/add']" type="primary" @click="handleAdd"> <template #icon> <icon name="el-icon-Plus" /> </template> @@ -34,7 +32,7 @@ 删除 </el-button> <div class="mt-4"> - <el-table :data="pager.lists" @selection-change="handleSelectionChange"> + <el-table border :data="pager.lists" @selection-change="handleSelectionChange"> <el-table-column type="selection" width="55" /> <el-table-column label="材料名称" prop="name" show-overflow-tooltip /> <el-table-column label="型号" prop="model" show-overflow-tooltip /> @@ -47,8 +45,8 @@ <el-table-column label="操作" width="120" fixed="right"> <template #default="{ row }"> - <el-button v-perms="['supervision_work.supervision_witness_sampling/edit']" type="primary" - link @click="handleEdit(row)"> + <el-button v-perms="['supervision_work.supervision_witness_sampling/edit']" type="primary" link + @click="handleEdit(row)"> 检验结果 </el-button> </template> diff --git a/src/views/supervision_work_contact/index.vue b/src/views/supervision_work_contact/index.vue index 2561297..44b2ed1 100644 --- a/src/views/supervision_work_contact/index.vue +++ b/src/views/supervision_work_contact/index.vue @@ -35,7 +35,7 @@ 删除 </el-button> <div class="mt-4"> - <el-table :data="pager.lists" @selection-change="handleSelectionChange"> + <el-table border :data="pager.lists" @selection-change="handleSelectionChange"> <el-table-column type="selection" width="55" /> <el-table-column label="项目名称" prop="project_name" show-overflow-tooltip /> <el-table-column label="联系编号" prop="code" show-overflow-tooltip /> diff --git a/src/views/supplier/index.vue b/src/views/supplier/index.vue index 031e68b..9148f39 100644 --- a/src/views/supplier/index.vue +++ b/src/views/supplier/index.vue @@ -50,7 +50,7 @@ 删除 </el-button> <div class="mt-4"> - <el-table :data="pager.lists" @selection-change="handleSelectionChange"> + <el-table border :data="pager.lists" @selection-change="handleSelectionChange"> <el-table-column type="selection" width="55" /> <el-table-column label="序号" type="index" width="55" /> diff --git a/src/views/supplier_contacts/index.vue b/src/views/supplier_contacts/index.vue index 21f9bf3..fe0407d 100644 --- a/src/views/supplier_contacts/index.vue +++ b/src/views/supplier_contacts/index.vue @@ -7,12 +7,14 @@ </el-form-item> <el-form-item label="联系人分类" prop="contacts_type"> <el-select class="w-[280px]" v-model="queryParams.contacts_type" clearable placeholder="请选择联系人分类"> - <el-option v-for="(item, index) in dictData.contacts_type" :key="index" :label="item.name" :value="parseInt(item.value)" /> + <el-option v-for="(item, index) in dictData.contacts_type" :key="index" :label="item.name" + :value="parseInt(item.value)" /> </el-select> </el-form-item> <el-form-item label="供应商" prop="supplier_id"> <el-select class="w-[280px]" v-model="queryParams.supplier_id" clearable placeholder="请选择供应商"> - <el-option v-for="(item, index) in supplierList" :key="index" :label="item.supplier_name" :value="item.id" /> + <el-option v-for="(item, index) in supplierList" :key="index" :label="item.supplier_name" + :value="item.id" /> </el-select> </el-form-item> <el-form-item> @@ -28,11 +30,12 @@ </template> 新增 </el-button> - <el-button v-perms="['bid.bid_bidding_decision/delete']" :disabled="!selectData.length" @click="handleDelete(selectData)"> + <el-button v-perms="['bid.bid_bidding_decision/delete']" :disabled="!selectData.length" + @click="handleDelete(selectData)"> 删除 </el-button> <div class="mt-4"> - <el-table :data="pager.lists" @selection-change="handleSelectionChange"> + <el-table border :data="pager.lists" @selection-change="handleSelectionChange"> <el-table-column type="selection" width="55" /> <el-table-column label="序号" type="index" width="55" /> <el-table-column label="供应商编码" prop="supplier_code" show-overflow-tooltip /> @@ -64,10 +67,12 @@ <el-table-column label="备注" prop="remark" show-overflow-tooltip /> <el-table-column label="操作" width="160" fixed="right"> <template #default="{ row }"> - <el-button v-perms="['bid.bid_bidding_decision/edit']" type="primary" link @click="handleEdit(row)"> + <el-button v-perms="['bid.bid_bidding_decision/edit']" type="primary" link + @click="handleEdit(row)"> 编辑 </el-button> - <el-button v-perms="['bid.bid_bidding_decision/delete']" type="danger" link @click="handleDelete(row.id)"> + <el-button v-perms="['bid.bid_bidding_decision/delete']" type="danger" link + @click="handleDelete(row.id)"> 删除 </el-button> <el-button v-perms="['bid.bid_bidding_decision/detail']" link @click="handledetail(row)"> diff --git a/src/views/task_allocation/index.vue b/src/views/task_allocation/index.vue index aaf0cbc..d7eb864 100644 --- a/src/views/task_allocation/index.vue +++ b/src/views/task_allocation/index.vue @@ -5,8 +5,8 @@ <el-form-item label="所属项目" prop="cost_project_id"> <el-select v-model="queryParams.cost_project_id" remote filterable :remote-method="queryCostProject" :loading="loading" class="flex-1"> - <el-option v-for="(item, index) in optionsData.projectList" :key="index" - :label="item.projectinfo" :value="item.id" /> + <el-option v-for="(item, index) in optionsData.projectList" :key="index" :label="item.projectinfo" + :value="item.id" /> </el-select> </el-form-item> <el-form-item> @@ -30,7 +30,7 @@ 删除 </el-button> <div class="mt-4"> - <el-table :data="pager.lists" @selection-change="handleSelectionChange"> + <el-table border :data="pager.lists" @selection-change="handleSelectionChange"> <el-table-column label="单据编号" prop="num" show-overflow-tooltip /> <el-table-column label="项目名称" prop="projectInfo.project_name" show-overflow-tooltip /> <el-table-column label="项目编号" prop="projectInfo.project_num" show-overflow-tooltip /> @@ -38,8 +38,7 @@ <el-table-column label="登记日期" prop="apptime" show-overflow-tooltip /> <el-table-column label="操作" fixed="right" align="center"> <template #default="{ row }"> - <el-button v-perms="['task.task_allocation/edit']" type="primary" link - @click="handleEdit(row)"> + <el-button v-perms="['task.task_allocation/edit']" type="primary" link @click="handleEdit(row)"> 编辑 </el-button> <el-button v-perms="['task.task_allocation/delete']" type="danger" link @@ -58,8 +57,7 @@ </div> </el-card> <edit-popup v-if="showEdit" ref="editRef" :dict-data="dictData" @success="getLists" @close="showEdit = false" /> - <detailPage v-if="showDetail" ref="detailRef" @close="showEdit = false" :detailConfig="detailConfig" - :column="2" /> + <detailPage v-if="showDetail" ref="detailRef" @close="showEdit = false" :detailConfig="detailConfig" :column="2" /> </div> </template> diff --git a/src/views/task_detail/index.vue b/src/views/task_detail/index.vue index fbe8387..bbef523 100644 --- a/src/views/task_detail/index.vue +++ b/src/views/task_detail/index.vue @@ -16,7 +16,7 @@ </el-card> <el-card class="!border-none" v-loading="pager.loading" shadow="never"> <div class="mt-4"> - <el-table :data="pager.lists" @selection-change="handleSelectionChange"> + <el-table border :data="pager.lists" @selection-change="handleSelectionChange"> <el-table-column type="selection" width="55" /> <el-table-column label="任务分配单号" prop="task_allocation_num" show-overflow-tooltip /> <el-table-column label="任务名称" prop="taskTypeInfo.name" show-overflow-tooltip /> @@ -53,8 +53,7 @@ <el-button v-perms="['task_detail/edit']" type="primary" link @click="handleEdit(row)"> 编辑 </el-button> - <el-button v-perms="['task_detail/delete']" type="danger" link - @click="handleDelete(row.id)"> + <el-button v-perms="['task_detail/delete']" type="danger" link @click="handleDelete(row.id)"> 删除 </el-button> </template> diff --git a/src/views/task_handling_three_level_review/index.vue b/src/views/task_handling_three_level_review/index.vue index b1a6528..282fc0e 100644 --- a/src/views/task_handling_three_level_review/index.vue +++ b/src/views/task_handling_three_level_review/index.vue @@ -4,13 +4,11 @@ <el-form class="mb-[-16px]" :model="queryParams" inline> <el-form-item label="开工日期"> <el-date-picker v-model="queryTime" type="daterange" unlink-panels range-separator="-" - start-placeholder="开始时间" end-placeholder="结束时间" @change="changeTime" - value-format="YYYY-MM-DD" /> + start-placeholder="开始时间" end-placeholder="结束时间" @change="changeTime" value-format="YYYY-MM-DD" /> </el-form-item> <el-form-item label="竣工日期"> <el-date-picker v-model="queryTime2" type="daterange" unlink-panels range-separator="-" - start-placeholder="开始时间" end-placeholder="结束时间" @change="changeTime2" - value-format="YYYY-MM-DD" /> + start-placeholder="开始时间" end-placeholder="结束时间" @change="changeTime2" value-format="YYYY-MM-DD" /> </el-form-item> <el-form-item> <el-button type="primary" @click="resetPage">查询</el-button> @@ -32,7 +30,7 @@ 删除 </el-button> <div class="mt-4"> - <el-table :data="pager.lists" @selection-change="handleSelectionChange"> + <el-table border :data="pager.lists" @selection-change="handleSelectionChange"> <el-table-column type="selection" width="55" /> <el-table-column label="单据编号" prop="num" show-overflow-tooltip /> <el-table-column label="项目名称" prop="projectInfo.project_name" show-overflow-tooltip /> diff --git a/src/views/task_type/index.vue b/src/views/task_type/index.vue index 78a9e11..4e8d706 100644 --- a/src/views/task_type/index.vue +++ b/src/views/task_type/index.vue @@ -5,8 +5,8 @@ <el-form-item label="所属项目" prop="cost_project_id"> <el-select v-model="queryParams.cost_project_id" remote filterable :remote-method="queryCostProject" :loading="loading" class="flex-1"> - <el-option v-for="(item, index) in optionsData.projectList" :key="index" - :label="item.projectinfo" :value="item.id" /> + <el-option v-for="(item, index) in optionsData.projectList" :key="index" :label="item.projectinfo" + :value="item.id" /> </el-select> </el-form-item> <el-form-item label="任务名称" prop="unit_name"> @@ -20,8 +20,7 @@ </el-form-item> <el-form-item label="时间段"> <el-date-picker v-model="queryTime" type="daterange" unlink-panels range-separator="-" - start-placeholder="开始时间" end-placeholder="结束时间" @change="changeTime" - value-format="YYYY-MM-DD" /> + start-placeholder="开始时间" end-placeholder="结束时间" @change="changeTime" value-format="YYYY-MM-DD" /> </el-form-item> <el-form-item> <el-button type="primary" @click="resetPage">查询</el-button> @@ -38,12 +37,11 @@ </template> 新增 </el-button> - <el-button v-perms="['task.task_type/delete']" :disabled="!selectData.length" - @click="handleDelete(selectData)"> + <el-button v-perms="['task.task_type/delete']" :disabled="!selectData.length" @click="handleDelete(selectData)"> 删除 </el-button> <div class="mt-4"> - <el-table :data="pager.lists" @selection-change="handleSelectionChange"> + <el-table border :data="pager.lists" @selection-change="handleSelectionChange"> <el-table-column type="selection" width="55" /> <el-table-column label="所属项目" prop="project_name" show-overflow-tooltip /> <el-table-column label="标识" prop="dataid" show-overflow-tooltip /> @@ -61,8 +59,7 @@ <el-button v-perms="['task.task_type/edit']" type="primary" link @click="handleEdit(row)"> 编辑 </el-button> - <el-button v-perms="['task.task_type/delete']" type="danger" link - @click="handleDelete(row.id)"> + <el-button v-perms="['task.task_type/delete']" type="danger" link @click="handleDelete(row.id)"> 删除 </el-button> <el-button v-perms="['task.task_type/detail']" link @click="handleDetail(row.id)"> @@ -78,8 +75,8 @@ </div> </el-card> <edit-popup v-if="showEdit" ref="editRef" :dict-data="dictData" @success="getLists" @close="showEdit = false" /> - <detailPage v-if="showDetail" ref="detailRef" @close="showEdit = false" :detailConfig="detailConfig" - width="30vw" :column="1" /> + <detailPage v-if="showDetail" ref="detailRef" @close="showEdit = false" :detailConfig="detailConfig" width="30vw" + :column="1" /> </div> </template> diff --git a/src/views/transfer_bill/index.vue b/src/views/transfer_bill/index.vue index 7452609..0e8c659 100644 --- a/src/views/transfer_bill/index.vue +++ b/src/views/transfer_bill/index.vue @@ -7,8 +7,7 @@ </el-form-item> <el-form-item label="客户" prop="customer_id"> <el-select class="w-[280px]" v-model="queryParams.customer_id" clearable placeholder="请选择客户"> - <el-option v-for="(item, index) in customerlist" :key="index" :label="item.name" - :value="item.id" /> + <el-option v-for="(item, index) in customerlist" :key="index" :label="item.name" :value="item.id" /> </el-select> </el-form-item> <el-form-item label="合同" prop="contract"> @@ -36,13 +35,12 @@ </template> 新增 </el-button> - <el-button v-perms="['refund.refund/delete']" :disabled="!selectData.length" - @click="handleDelete(selectData)"> + <el-button v-perms="['refund.refund/delete']" :disabled="!selectData.length" @click="handleDelete(selectData)"> 删除 </el-button> <div class="mt-4"> - <el-table :data="pager.lists" @selection-change="handleSelectionChange"> + <el-table border :data="pager.lists" @selection-change="handleSelectionChange"> <el-table-column type="selection" width="55" /> <el-table-column label="序号" type="index" width="55" /> <el-table-column label="流程步骤" prop="project_code" show-overflow-tooltip /> @@ -73,8 +71,7 @@ <el-button v-perms="['refund.refund/edit']" type="primary" link @click="handleEdit(row)"> 编辑 </el-button> - <el-button v-perms="['refund.refund/delete']" type="danger" link - @click="handleDelete(row.id)"> + <el-button v-perms="['refund.refund/delete']" type="danger" link @click="handleDelete(row.id)"> 删除 </el-button> <el-button v-perms="['refund.refund/detail']" link @click="handledetail(row)"> diff --git a/src/views/zjzx_invoice/index.vue b/src/views/zjzx_invoice/index.vue index 66adfdd..cce68c7 100644 --- a/src/views/zjzx_invoice/index.vue +++ b/src/views/zjzx_invoice/index.vue @@ -3,8 +3,7 @@ <el-card class="!border-none mb-4" shadow="never"> <el-form class="mb-[-16px]" :model="queryParams" inline> <el-form-item label="项目名称" prop="project_id"> - <select-remote :formData="queryParams" model="project_id" - :api="apiCostProjectDatas"></select-remote> + <select-remote :formData="queryParams" model="project_id" :api="apiCostProjectDatas"></select-remote> </el-form-item> <el-form-item label="开票编号" prop="invoice_code"> <el-input class="w-[280px]" v-model="queryParams.invoice_code" clearable placeholder="请输入开票编号" /> @@ -36,7 +35,7 @@ 删除 </el-button> <div class="mt-4"> - <el-table :data="pager.lists" @selection-change="handleSelectionChange"> + <el-table border :data="pager.lists" @selection-change="handleSelectionChange"> <el-table-column type="selection" width="55" /> <el-table-column label="项目名称" prop="project_name" show-overflow-tooltip /> <el-table-column label="项目编号" prop="project_num" show-overflow-tooltip /> diff --git a/src/views/zjzx_refund/index.vue b/src/views/zjzx_refund/index.vue index c01877b..e60e692 100644 --- a/src/views/zjzx_refund/index.vue +++ b/src/views/zjzx_refund/index.vue @@ -3,12 +3,10 @@ <el-card class="!border-none mb-4" shadow="never"> <el-form class="mb-[-16px]" :model="queryParams" inline> <el-form-item label="项目名称" prop="project_id"> - <select-remote :formData="queryParams" model="project_id" - :api="apiCostProjectDatas"></select-remote> + <select-remote :formData="queryParams" model="project_id" :api="apiCostProjectDatas"></select-remote> </el-form-item> <el-form-item label="开票编号" prop="invoice_id"> - <select-remote :formData="queryParams" model="invoice_id" - :api="apiZjzxInvoiceDatas"></select-remote> + <select-remote :formData="queryParams" model="invoice_id" :api="apiZjzxInvoiceDatas"></select-remote> </el-form-item> <el-form-item label="登记人" prop="create_user"> <el-input class="w-[280px]" v-model="queryParams.create_user" clearable placeholder="请输入登记人" /> @@ -31,7 +29,7 @@ 删除 </el-button> <div class="mt-4"> - <el-table :data="pager.lists" @selection-change="handleSelectionChange"> + <el-table border :data="pager.lists" @selection-change="handleSelectionChange"> <el-table-column type="selection" width="55" /> <el-table-column label="项目名称" prop="project_name" show-overflow-tooltip /> <el-table-column label="项目编号" prop="project_num" show-overflow-tooltip /> diff --git a/src/views/zjzx_settlement/index.vue b/src/views/zjzx_settlement/index.vue index 2c399b2..c60670b 100644 --- a/src/views/zjzx_settlement/index.vue +++ b/src/views/zjzx_settlement/index.vue @@ -26,7 +26,7 @@ 删除 </el-button> <div class="mt-4"> - <el-table :data="pager.lists" @selection-change="handleSelectionChange"> + <el-table border :data="pager.lists" @selection-change="handleSelectionChange"> <el-table-column type="selection" width="55" /> <el-table-column label="项目名称" prop="project_name" show-overflow-tooltip /> <el-table-column label="项目编号" prop="project_num" show-overflow-tooltip /> @@ -50,8 +50,7 @@ @click="handleDelete(row.id)"> 删除 </el-button> - <el-button v-perms="['zjzx_finance.zjzx_settlement/detail']" link - @click="handleDetail(row)"> + <el-button v-perms="['zjzx_finance.zjzx_settlement/detail']" link @click="handleDetail(row)"> 详情 </el-button> </template>