update preview pdf
This commit is contained in:
@@ -338,6 +338,10 @@ export default {
|
||||
this.openDialog(data, false, { key: "attachment" });
|
||||
break;
|
||||
}
|
||||
case "view-attachment-justform-version": {
|
||||
console.log(data)
|
||||
break;
|
||||
}
|
||||
case "view-recipe": {
|
||||
this.openDialog(data, true, { key: "attr" });
|
||||
break;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import TableOperaionComponent from "@/components/noTemplateComponents/operationComponent";
|
||||
// import switchBtn from "@/components/noTemplateComponents/switchBtn";
|
||||
import TableTextComponent from "@/components/noTemplateComponents/detailComponent";
|
||||
import request from "@/utils/request";
|
||||
import { timeFilter, dictFilter } from "@/utils/filters";
|
||||
|
||||
@@ -108,6 +108,13 @@ export default function () {
|
||||
{ input: true, label: "短描述", prop: "shortDesc", elparams: { placeholder: "短描述" } },
|
||||
],
|
||||
[{ textarea: true, label: "描述", prop: "description", elparams: { placeholder: "描述" } }],
|
||||
[{
|
||||
upload: true,
|
||||
actionUrl: window.SITE_CONFIG['apiURL'] + '/pms/attachment/uploadFileFormData?typeCode=shape',
|
||||
label: "上传资料",
|
||||
prop: "files",
|
||||
elparams: null
|
||||
}],
|
||||
[{ input: true, label: "备注", prop: "remark", elparams: { placeholder: "备注" } }],
|
||||
],
|
||||
operations: [
|
||||
|
||||
Reference in New Issue
Block a user