This commit is contained in:
xd 2024-04-21 14:25:40 +08:00
parent 356798b340
commit d0e6f9050e
2 changed files with 18 additions and 16 deletions

View File

@ -133,7 +133,7 @@ public class QuotController extends BaseController
* @return
* @throws Exception
*/
@PreAuthorize("@ss.hasAnyPermi('quot:quot:list,jsqr:jsqr:list,priceVerification:priceVerification:list')")
@PreAuthorize("@ss.hasAnyPermi('quot:quot:quotXjFile,quot:quot:quotFkFile,quot:quot:quotJsgfFile,jsqr:jsqr:operateTlUploadFile,jsqr:jsqr:operateDyUploadFile,jsqr:jsqr:operateZyUploadFile,jsqr:jsqr:operateQtUploadFile,priceVerification:priceVerification:uploadFile')")
@Log(title = "上传报价附件", businessType = BusinessType.INSERT)
@PostMapping("/quotFile")
public AjaxResult quotFile(@RequestParam("quotFile") MultipartFile file,@RequestParam("relation_id") String relation_id,@RequestParam("file_type") String file_type) throws Exception
@ -181,7 +181,7 @@ public class QuotController extends BaseController
/**
* 删除附件列表
*/
@PreAuthorize("@ss.hasAnyPermi('quot:quot:list,jsqr:jsqr:list,priceVerification:priceVerification:list')")
@PreAuthorize("@ss.hasAnyPermi('quot:quot:quotXjFile,quot:quot:quotFkFile,quot:quot:quotJsgfFile,jsqr:jsqr:operateTlUploadFile,jsqr:jsqr:operateDyUploadFile,jsqr:jsqr:operateZyUploadFile,jsqr:jsqr:operateQtUploadFile,priceVerification:priceVerification:uploadFile')")
@PostMapping("/quotFileDelete")
public AjaxResult quotFileDelete(QuotFile quotFile) {
String fileId = quotFile.getFileId();

View File

@ -270,7 +270,7 @@
</el-table>
</el-tab-pane>
<el-tab-pane label="询价附件" name="quotXjFile">
<div v-hasPermi="['quot:quot:add']">
<div v-hasPermi="['quot:quot:quotXjFile']">
<el-upload class="upload-demo"
ref="upload"
name="quotFile"
@ -373,6 +373,7 @@
<el-row :gutter="8">
<el-col :span="24">
<el-form-item label="技术规范要求">
<div v-hasPermi="['quot:quot:quotJsgfFile']">
<el-upload class="upload-demo"
ref="upload"
name="quotFile"
@ -385,6 +386,7 @@
v-if="this.form.quotJsxzApprovalStatus == '0'">
<el-button size="small" type="primary">上传文件</el-button>
</el-upload>
</div>
</el-form-item>
</el-col>
</el-row>
@ -596,7 +598,7 @@
</el-row>
</el-tab-pane>
<el-tab-pane label="反馈附件" name="quotFkFile" v-if="checkPermi(['quot:quot:assist','quot:quot:assistHj','quot:quot:add'])">
<div v-hasPermi="['quot:quot:assist']">
<div v-hasPermi="['quot:quot:quotFkFile']">
<el-upload class="upload-demo"
ref="upload"
name="quotFile"