BUG优化

dev
xiepeng 2024-06-03 18:01:11 +08:00
parent 85ae613eb8
commit d0a75a5ea1
14 changed files with 47 additions and 43 deletions

View File

@ -177,8 +177,7 @@
<layout-import-file
v-model:visible="data.importDialogVisible"
template-url="/template/truckExcelTemplate.xls"
@submit="fnSubmitImport"
/>
@submit="fnSubmitImport"></layout-import-file>
</div>
</template>

View File

@ -264,24 +264,24 @@
<el-col :span="8">
<el-form-item label="是否安全管理人员" prop="IS_SAFETY">
<el-radio-group v-model="data.form.IS_SAFETY">
<el-radio :label="1"></el-radio>
<el-radio :label="0"></el-radio>
<el-radio :value="1"></el-radio>
<el-radio :value="0"></el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="是否主要负责人" prop="ISHEAD">
<el-radio-group v-model="data.form.ISHEAD">
<el-radio label="1"></el-radio>
<el-radio label="0"></el-radio>
<el-radio value="1"></el-radio>
<el-radio value="0"></el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="是否部门领导" prop="ISLEADER">
<el-radio-group v-model="data.form.ISLEADER">
<el-radio label="1"></el-radio>
<el-radio label="0"></el-radio>
<el-radio value="1"></el-radio>
<el-radio value="0"></el-radio>
</el-radio-group>
<!-- <el-tooltip
content="温馨提示:部门领导可以审核离岗申请,查看同部门清单数据"
@ -1016,8 +1016,8 @@ const data = reactive({
userCerFile: [],
//
ID_CARD_FRONT: "",
ID_CARD_BACK: "",
ID_CARD_FRONT: [],
ID_CARD_BACK: [],
//
ID_CARD_VALIDITY: [],
ID_CARD_VALIDITY_START: "",
@ -1028,7 +1028,7 @@ const data = reactive({
ID_CARD_ORGAN: "",
//
DRIVER_LICENSE: "",
DRIVER_LICENSE: [],
//
DRIVER_LICENSE_NO: "",
//
@ -1048,7 +1048,7 @@ const data = reactive({
DRIVER_LICENSE_ORGAN: "",
//
QUALIFICATION_CERTIFICATE: "",
QUALIFICATION_CERTIFICATE: [],
//
QUALIFICATION_CERTIFICATE_NO: "",
//

View File

@ -172,6 +172,7 @@ import {
layoutFnGetProfessionalTitle,
} from "@/assets/js/data_dictionary.js";
import { setPractitionerReview } from "@/request/user_practitioner.js";
import Scheduling from "@/views/enterprise_management/user/components/scheduling.vue";
const props = defineProps({
visible: {

View File

@ -183,7 +183,7 @@ import { nextTick, reactive, ref } from "vue";
import { serialNumber } from "@/assets/js/utils.js";
import useListData from "@/assets/js/useListData.js";
import { ElMessageBox, ElMessage } from "element-plus";
import Review from "./review.vue";
import Review from "./components/review.vue";
import { debounce } from "throttle-debounce";
import useButtonJurisdiction from "@/assets/js/useButtonJurisdiction.js";
import { useRouter } from "vue-router";
@ -202,7 +202,6 @@ const { list, pagination, searchForm, fnGetData, fnResetPagination } =
// APPLY_TYPE: "1-3",
},
});
console.log(await getPractitionerList());
const data = reactive({
personnelTypeList: [],
reviewDialog: {

View File

@ -15,14 +15,14 @@
/>
</el-form-item>
</el-col>
<el-col :span="6">
<!-- <el-col :span="6">
<el-form-item label="完成状态" prop="COMPLETIONSTATUS">
<el-select v-model="searchForm.COMPLETIONSTATUS">
<el-option label="已上传" :value="1" />
<el-option label="未上传" :value="0" />
</el-select>
</el-form-item>
</el-col>
</el-col>-->
<el-col :span="6">
<el-form-item label="有效状态" prop="VALIDSTATUS">
<el-select v-model="searchForm.VALIDSTATUS">
@ -56,12 +56,12 @@
</template>
</el-table-column>
<el-table-column prop="MANAGEMENTAGREEMENTNAME" label="名称" />
<el-table-column prop="COMPLETIONSTATUS" label="完成状态" width="80">
<!-- <el-table-column prop="COMPLETIONSTATUS" label="完成状态" width="80">
<template #default="{ row }">
<el-tag v-if="row.COMPLETIONSTATUS === '1'"></el-tag>
<el-tag v-else-if="row.COMPLETIONSTATUS === '0'">未上传</el-tag>
</template>
</el-table-column>
</el-table-column>-->
<el-table-column label="有效状态" prop="VALIDSTATUS" width="80">
<template #default="{ row }">
<el-tag v-if="row.VALIDSTATUS === '1'" type="success"></el-tag>

View File

@ -19,7 +19,7 @@
>
<span>{{ operatingCompany }}</span>
</el-form-item>-->
<el-form-item label="会议附件" prop="file">
<el-form-item label="件" prop="file">
<layout-upload
v-model:file-list="form.file"
accept=".pdf"
@ -100,6 +100,8 @@ const { visible, form } = useVModels(props, emits);
const rules = {
file: [{ required: true, message: "请上传附件", trigger: "change" }],
ACTIVITIESNAME: [{ required: true, message: "请输入名称", trigger: "blur" }],
EXPIRYDATE: [{ required: true, message: "请选择到期日期", trigger: "change" }],
CYCLE: [{ required: true, message: "请选择周期", trigger: "change"}],
};
const operatingCompany = ref("");

View File

@ -26,8 +26,8 @@
<el-col :span="6">
<el-form-item label="有效状态" prop="VALIDSTATUS">
<el-select v-model="searchForm.VALIDSTATUS">
<el-option label="正常" :value="1" />
<el-option label="未生效" :value="0" />
<el-option label="正常" :value="0" />
<el-option label="未生效" :value="1" />
</el-select>
</el-form-item>
</el-col>
@ -68,8 +68,8 @@
</el-table-column>
<el-table-column label="有效状态" prop="VALIDSTATUS">
<template #default="{ row }">
<el-tag v-if="row.VALIDSTATUS === '1'" type="success"></el-tag>
<el-tag v-else-if="row.VALIDSTATUS === '0'" type="warning"
<el-tag v-if="row.VALIDSTATUS === '0'" type="success"></el-tag>
<el-tag v-else-if="row.VALIDSTATUS === '1'" type="warning"
>未生效</el-tag
>
</template>

View File

@ -19,7 +19,7 @@
>
<span>{{ operatingCompany }}</span>
</el-form-item>-->
<el-form-item label="会议附件" prop="file">
<el-form-item label="件" prop="file">
<layout-upload
v-model:file-list="form.file"
accept=".pdf"
@ -27,7 +27,7 @@
:size="100"
/>
</el-form-item>
<el-col :span="12">
<!-- <el-col :span="12">
<el-form-item label="到期时间" prop="EXPIRYDATE">
<el-date-picker
v-model="form.EXPIRYDATE"
@ -37,7 +37,7 @@
placeholder="选择时间"
/>
</el-form-item>
</el-col>
</el-col>-->
</el-form>
<template #footer>
<el-button @click="fnClose"></el-button>

View File

@ -55,8 +55,8 @@
{{ serialNumber(pagination, $index) }}
</template>
</el-table-column>
<el-table-column prop="MANUALNAME" label="名称" width="250" />
<el-table-column prop="COMPLETIONSTATUS" label="完成状态" width="250">
<el-table-column prop="MANUALNAME" label="名称" />
<el-table-column prop="COMPLETIONSTATUS" label="完成状态" width="80">
<template #default="{ row }">
<el-tag v-if="row.COMPLETIONSTATUS === '1'" type="success"
>已上传</el-tag
@ -66,16 +66,15 @@
>
</template>
</el-table-column>
<el-table-column label="有效状态" prop="VALIDSTATUS">
<!-- <el-table-column label="有效状态" prop="VALIDSTATUS" width="80">
<template #default="{ row }">
<el-tag v-if="row.VALIDSTATUS === '1'" type="success"></el-tag>
<el-tag v-else-if="row.VALIDSTATUS === '0'" type="warning"
>未生效</el-tag
>
</template>
</el-table-column>
</el-table-column>-->
<!-- <el-table-column prop="CORP_NAME" label="经营企业" width="150" />-->
<el-table-column prop="EXPIRYDATE" label="到期时间" width="150" />
<el-table-column prop="CREATETIME" label="创建时间" width="150" />
<el-table-column prop="OPERATTIME" label="修改时间" width="150" />
<el-table-column label="操作" width="180">

View File

@ -174,6 +174,9 @@ const rules = {
trigger: "blur",
},
],
PERSON: [
{ required: true, message: "请选择人员", trigger: "change" },
],
};
const router = useRouter();

View File

@ -35,11 +35,11 @@
<!-- {{ detailItems.NOTES }}-->
<!-- </el-descriptions-item>-->
<el-descriptions-item label="远程参会人员">
应参会{{ detailItems.totalPersonNum }}/实参人数{{
应参会{{ detailItems.totalPersonNum }}实参人数{{
detailItems.realPersonNum
}}/
}}
</el-descriptions-item>
<el-descriptions-item label="会议附件">
<el-descriptions-item label="会议附件" v-if="detailItems.CONFIRM_MESSAGE_SIGN_ROUTE">
<a
:href="VITE_FILE_URL + detailItems.CONFIRM_MESSAGE_SIGN_ROUTE"
target="_blank"
@ -47,7 +47,7 @@
>查看会议附件</a
>
</el-descriptions-item>
<el-descriptions-item label="会议视频">
<el-descriptions-item label="会议视频" v-if="detailItems.VIDEO_SIGN_ROUTE">
<video
:src="VITE_FILE_URL + detailItems.VIDEO_SIGN_ROUTE"
controls
@ -61,7 +61,7 @@
>
<el-table-column label="头像" align="center">
<template #default="{ row }">
<img :src="VITE_FILE_URL + row.USERAVATARURL" alt="Avatar" />
<img :src="row.USERAVATARPREFIX + row.USERAVATARURL_CONVERT" alt="Avatar" width="100" height="100" />
</template>
</el-table-column>
<el-table-column label="姓名" align="center">

View File

@ -103,6 +103,7 @@ const { list, searchForm, pagination, fnGetData, fnResetPagination, tableRef } =
key: "userList",
});
const fnInit = async () => {
await fnResetPagination();
await nextTick();

View File

@ -19,14 +19,13 @@
<el-form-item label="文件" prop="file">
<layout-upload v-model:file-list="form.file" accept=".pdf" />
</el-form-item>
<el-form-item label="文件内容" prop="TEXT_INFO">
<div
v-if="form.TEXT_INFO && type === 'edit'"
class="tr mb-10"
style="flex: 1"
>
<el-button type="primary" @click="fnExport">WORD</el-button>
</div>
<el-form-item label="文件内容" prop="TEXT_INFO">
<layout-editor v-model="form.TEXT_INFO" />
</el-form-item>
<el-form-item label="标签" prop="labels">

View File

@ -134,6 +134,7 @@
<el-table-column prop="UPLOAD_TIME" label="上传时间" width="150" />
<el-table-column label="操作" width="200">
<template #default="{ row }">
<el-button
v-if="tabName === 'platform_resource_library'"
type="primary"