Merge branch 'master' of http://47.115.223.229:8888/yangjun/nursing_unit_vue
This commit is contained in:
commit
5a66fdb8c9
|
|
@ -9,7 +9,7 @@ VITE_PUBLIC_PATH = /
|
|||
VITE_PROXY = [["/nursing-unit_101","http://localhost:8091/nursing-unit_101"],["/upload","http://localhost:3300/upload"],["/opeexup","http://localhost:8081/opeapi/"],["/opemedia","https://www.focusnu.com/media101/upFiles101"]]
|
||||
|
||||
#后台接口全路径地址(必填)
|
||||
VITE_GLOB_DOMAIN_URL=http://localhost:8091/nursing-unit_101
|
||||
VITE_GLOB_DOMAIN_URL=http://localhost:3103/nursing-unit_101
|
||||
|
||||
#后台接口父地址(必填)
|
||||
VITE_GLOB_API_URL=/nursing-unit_101
|
||||
|
|
|
|||
|
|
@ -38,9 +38,9 @@
|
|||
<img v-if="!!file?.response?.message" :src="opeMediaAddress + file?.response?.message" style="width: 200px; height: 200px;"></img>
|
||||
<img v-else :src="file.url ? opeMediaAddress + file.url : file.r" style="width: 200px; height: 200px;">
|
||||
</div>
|
||||
<div style="margin-top: 20px;">
|
||||
<!-- <div style="margin-top: 20px;">
|
||||
{{ file.name }}
|
||||
</div>
|
||||
</div> -->
|
||||
<div style="margin-top: 20px;" v-if="!disabled">
|
||||
<!-- <a-button type="link" @click="handlePreview(file)">预览</a-button> -->
|
||||
<a-button type="link" danger @click="removeFile(index)" v-if="!props.disabled">删除</a-button>
|
||||
|
|
|
|||
|
|
@ -270,7 +270,7 @@
|
|||
<!-- <a-input v-model:value="formData.applyStatus" placeholder="请输入审核状态" ></a-input> -->
|
||||
<a-select v-model:value="formData.status" placeholder="请选择审核状态" style="width: 200px"
|
||||
:disabled="false">
|
||||
<a-select-option value="2">待审核</a-select-option>
|
||||
<a-select-option value="1">待审核</a-select-option>
|
||||
<a-select-option value="2">审核通过</a-select-option>
|
||||
<a-select-option value="3">审核驳回</a-select-option>
|
||||
</a-select>
|
||||
|
|
|
|||
|
|
@ -51,6 +51,7 @@
|
|||
<a-col :span="12">
|
||||
<a-form-item label="审核状态" name="status" v-bind="validateInfos.status">
|
||||
<a-select v-model:value="formData.status" style="width: 200px" placeholder="请选择审核状态">
|
||||
<a-select-option value="pending">待审核</a-select-option>
|
||||
<a-select-option value="modifyPass">审核通过</a-select-option>
|
||||
<a-select-option value="modifyFail">审核驳回</a-select-option>
|
||||
</a-select>
|
||||
|
|
@ -203,6 +204,8 @@ async function show(record) {
|
|||
formData.status = 'modifyFail'
|
||||
}else if(record.status == '2'){
|
||||
formData.status = 'modifyPass'
|
||||
}else if(record.status == '1'){
|
||||
formData.status = 'pending'
|
||||
}
|
||||
formData.auditContent = record.auditContent
|
||||
// 存储id和pkId到formData
|
||||
|
|
|
|||
|
|
@ -51,6 +51,7 @@
|
|||
<a-col :span="12">
|
||||
<a-form-item label="审核状态" name="status" v-bind="validateInfos.status">
|
||||
<a-select v-model:value="formData.status" style="width: 200px" placeholder="请选择审核状态">
|
||||
<a-select-option value="modifyStatus">待审核</a-select-option>
|
||||
<a-select-option value="modifyPass">审核通过</a-select-option>
|
||||
<a-select-option value="modifyFail">审核驳回</a-select-option>
|
||||
</a-select>
|
||||
|
|
@ -172,8 +173,10 @@ async function show(record) {
|
|||
|
||||
if(record.applyStatus == '5' || record.applyStatus == '3'){
|
||||
formData.status = 'modifyFail'
|
||||
}else if(record.applyStatus == '4' || record.applyStatus == '2'){
|
||||
}else if(record.applyStatus == '2'){
|
||||
formData.status = 'modifyPass'
|
||||
}else if(record.applyStatus == '4'){
|
||||
formData.status = 'modifyStatus'
|
||||
}
|
||||
formData.applyContent = record.applyContent
|
||||
|
||||
|
|
|
|||
|
|
@ -256,6 +256,9 @@
|
|||
<BasicTable @register="registerTable">
|
||||
<!--插槽:table标题-->
|
||||
<template #tableTitle>
|
||||
<a-button type="primary" preIcon="ant-design:export-outlined" @click="onExportXls"> 导出</a-button>
|
||||
<j-upload-button type="primary" preIcon="ant-design:import-outlined" @click="onImportXls">导入</j-upload-button>
|
||||
|
||||
<a-button type="primary" @click="directiveSyncCodeMangeFunc" v-show="!!ownOrgCode"
|
||||
preIcon="ant-design:setting-outlined">镜像码管理</a-button>
|
||||
<a-button type="primary" @click="handleDirectiveMainOpen" preIcon="ant-design:profile-outlined">
|
||||
|
|
|
|||
Loading…
Reference in New Issue