Commit be77f7dc authored by jingnan's avatar jingnan 👀

装配执行下附件增加备注字段

parent f677ba43
...@@ -39,6 +39,7 @@ import { post } from '@/utils/http' ...@@ -39,6 +39,7 @@ import { post } from '@/utils/http'
export default { export default {
name: 'StorageExperimentDialog', name: 'StorageExperimentDialog',
data() { data() {
const _that = this
return { return {
visible: false, visible: false,
loading: false, loading: false,
...@@ -71,7 +72,30 @@ export default { ...@@ -71,7 +72,30 @@ export default {
'show': true, 'show': true,
'headerAlign': 'center', 'headerAlign': 'center',
'align': 'left' 'align': 'left'
},
{
align: 'center',
headerAlign: 'center',
key: 'target.contentType',
parentKey: 'target',
level: 1,
show: true,
title: '备注',
component: {
componentType: 'render',
render: (h, data, column, index) => {
return <el-input v-model={data.target.contentType} class='modify-state-select' size='small'
v-on:change={(val) => {
data.operator = 'MODIFY'
data.contentType = data.target.contentType
_that.$set(_that.process.fileList, index, data)
}}
>
</el-input>
} }
}
}
], ],
tableConfig: { tableConfig: {
component: { component: {
...@@ -96,6 +120,7 @@ export default { ...@@ -96,6 +120,7 @@ export default {
taleType: 'single', taleType: 'single',
url: '/dfs/fileManager/feign/uploadFile' url: '/dfs/fileManager/feign/uploadFile'
}, },
isAttachmentUsedSecret: true,
descriptionShowMode: 'text', descriptionShowMode: 'text',
hidden: false, hidden: false,
key: 'objFileLinks', key: 'objFileLinks',
......
...@@ -214,6 +214,12 @@ ...@@ -214,6 +214,12 @@
label="扩展名" label="扩展名"
align="center" align="center"
/> />
<el-table-column
min-width="120"
prop="contentType"
label="备注"
align="center"
/>
</el-table> </el-table>
</div> </div>
<!-- <span <!-- <span
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment