'123'
This commit is contained in:
parent
356798b340
commit
d0e6f9050e
|
@ -133,7 +133,7 @@ public class QuotController extends BaseController
|
||||||
* @return
|
* @return
|
||||||
* @throws Exception
|
* @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)
|
@Log(title = "上传报价附件", businessType = BusinessType.INSERT)
|
||||||
@PostMapping("/quotFile")
|
@PostMapping("/quotFile")
|
||||||
public AjaxResult quotFile(@RequestParam("quotFile") MultipartFile file,@RequestParam("relation_id") String relation_id,@RequestParam("file_type") String file_type) throws Exception
|
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")
|
@PostMapping("/quotFileDelete")
|
||||||
public AjaxResult quotFileDelete(QuotFile quotFile) {
|
public AjaxResult quotFileDelete(QuotFile quotFile) {
|
||||||
String fileId = quotFile.getFileId();
|
String fileId = quotFile.getFileId();
|
||||||
|
|
|
@ -270,7 +270,7 @@
|
||||||
</el-table>
|
</el-table>
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
<el-tab-pane label="询价附件" name="quotXjFile">
|
<el-tab-pane label="询价附件" name="quotXjFile">
|
||||||
<div v-hasPermi="['quot:quot:add']">
|
<div v-hasPermi="['quot:quot:quotXjFile']">
|
||||||
<el-upload class="upload-demo"
|
<el-upload class="upload-demo"
|
||||||
ref="upload"
|
ref="upload"
|
||||||
name="quotFile"
|
name="quotFile"
|
||||||
|
@ -373,18 +373,20 @@
|
||||||
<el-row :gutter="8">
|
<el-row :gutter="8">
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
<el-form-item label="技术规范要求">
|
<el-form-item label="技术规范要求">
|
||||||
<el-upload class="upload-demo"
|
<div v-hasPermi="['quot:quot:quotJsgfFile']">
|
||||||
ref="upload"
|
<el-upload class="upload-demo"
|
||||||
name="quotFile"
|
ref="upload"
|
||||||
:action="uploadUrl"
|
name="quotFile"
|
||||||
:headers="headers"
|
:action="uploadUrl"
|
||||||
:data="{ relation_id: this.form.quotId,file_type: 'quotJsgfFile' }"
|
:headers="headers"
|
||||||
:on-success="handleAvatarSuccess"
|
:data="{ relation_id: this.form.quotId,file_type: 'quotJsgfFile' }"
|
||||||
:show-file-list="false"
|
:on-success="handleAvatarSuccess"
|
||||||
:limit="1"
|
:show-file-list="false"
|
||||||
v-if="this.form.quotJsxzApprovalStatus == '0'">
|
:limit="1"
|
||||||
<el-button size="small" type="primary">上传文件</el-button>
|
v-if="this.form.quotJsxzApprovalStatus == '0'">
|
||||||
</el-upload>
|
<el-button size="small" type="primary">上传文件</el-button>
|
||||||
|
</el-upload>
|
||||||
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
@ -596,7 +598,7 @@
|
||||||
</el-row>
|
</el-row>
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
<el-tab-pane label="反馈附件" name="quotFkFile" v-if="checkPermi(['quot:quot:assist','quot:quot:assistHj','quot:quot:add'])">
|
<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"
|
<el-upload class="upload-demo"
|
||||||
ref="upload"
|
ref="upload"
|
||||||
name="quotFile"
|
name="quotFile"
|
||||||
|
|
Loading…
Reference in New Issue