update quill editor
This commit is contained in:
@@ -9,7 +9,7 @@ export default function () {
|
||||
{ prop: "name", label: "窑车号" },
|
||||
{ prop: "code", label: "编码" },
|
||||
// { prop: "typeDictValue", label: "过渡车", filter: val => ['否', '是'][val] },
|
||||
{ prop: "status", label: "状态", subcomponent: switchBtn }, // subcomponent
|
||||
{ prop: "enabled", label: "状态", subcomponent: switchBtn }, // subcomponent
|
||||
// { prop: "currentQty", label: "载量" },
|
||||
// { prop: "currentPos", label: "当前位置" },
|
||||
// { prop: "description", label: "描述" },
|
||||
@@ -78,7 +78,10 @@ export default function () {
|
||||
elparams: { placeholder: "请输入料仓编码" },
|
||||
},
|
||||
],
|
||||
[{ component: QuillRichInput, label: "描述信息", prop: "description" }],
|
||||
// [{ component: QuillRichInput, label: "描述信息", prop: "description" }],
|
||||
[{
|
||||
richInput: true, label: "描述信息", prop: "description"
|
||||
}],
|
||||
[{ input: true, label: "备注", prop: "remark", elparams: { placeholder: "备注" } }],
|
||||
],
|
||||
operations: [
|
||||
|
||||
@@ -2,7 +2,7 @@ import TableOperaionComponent from '@/components/noTemplateComponents/operationC
|
||||
import TableTextComponent from '@/components/noTemplateComponents/detailComponent'
|
||||
import switchBtn from '@/components/noTemplateComponents/switchBtn'
|
||||
import { timeFilter } from '@/utils/filters'
|
||||
|
||||
import QuillRichInput from "@/components/noTemplateComponents/richInput";
|
||||
|
||||
export default function () {
|
||||
|
||||
@@ -72,6 +72,10 @@ export default function () {
|
||||
elparams: { placeholder: '选择一个设备类型' }
|
||||
},
|
||||
],
|
||||
[{
|
||||
richInput: true, label: "描述信息", prop: "description"
|
||||
}],
|
||||
// [{ component: QuillRichInput, label: "描述信息", prop: "description" }],
|
||||
[{ textarea: true, label: '备注', prop: 'remark', elparams: { placeholder: '备注' } }],
|
||||
],
|
||||
operations: [
|
||||
|
||||
@@ -95,7 +95,16 @@ export default function () {
|
||||
],
|
||||
// [{ textarea: true, label: "描述信息", prop: "description", elparams: { placeholder: "描述信息" } }],
|
||||
[{ input: true, label: "备注", prop: "remark", elparams: { placeholder: "备注" } }],
|
||||
[{ upload: true, actionUrl: window.SITE_CONFIG['apiURL'] + '/pms/attachment/uploadFileFormData?typeCode=equipmentType', label: "上传资料", fileList: [], prop: "upload", elparams: null }],
|
||||
[{
|
||||
upload: true,
|
||||
actionUrl: window.SITE_CONFIG['apiURL'] + '/pms/attachment/uploadFileFormData?typeCode=equipmentType',
|
||||
fetchUrl: '/pms/equipmentTypeFile/page',
|
||||
label: "上传资料",
|
||||
fileList: [],
|
||||
prop: "upload",
|
||||
paramName: 'equipmentTypeId',
|
||||
elparams: null
|
||||
}],
|
||||
],
|
||||
operations: [
|
||||
{ name: "add", label: "保存", type: "primary", permission: "pms:equipmentType:save", showOnEdit: false },
|
||||
|
||||
Reference in New Issue
Block a user