|
@@ -72,6 +72,10 @@
|
|
<el-upload ref="upload" v-show="activeTab != 5" action="customize" :http-request="uploadFile" :show-file-list="false" multiple :limit="5" style="float:right;">
|
|
<el-upload ref="upload" v-show="activeTab != 5" action="customize" :http-request="uploadFile" :show-file-list="false" multiple :limit="5" style="float:right;">
|
|
<el-button size="small" type="primary">上传</el-button>
|
|
<el-button size="small" type="primary">上传</el-button>
|
|
</el-upload>
|
|
</el-upload>
|
|
|
|
+ <el-select size="small" v-model="fileType" placeholder="请选择" style="float:right;">
|
|
|
|
+ <el-option key="1" label="2D" value="1"></el-option>
|
|
|
|
+ <el-option key="2" label="3D" value="2"></el-option>
|
|
|
|
+ </el-select>
|
|
<el-button v-show="activeTab == 5" size="small" type="primary" style="float:right;" @click="centerDialog2Visible = true">上传</el-button>
|
|
<el-button v-show="activeTab == 5" size="small" type="primary" style="float:right;" @click="centerDialog2Visible = true">上传</el-button>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="24">
|
|
<el-col :span="24">
|
|
@@ -361,6 +365,7 @@ export default {
|
|
detailId: this.$route.params.id,
|
|
detailId: this.$route.params.id,
|
|
user: JSON.parse(sessionStorage.getItem("user")),
|
|
user: JSON.parse(sessionStorage.getItem("user")),
|
|
moldDetail: {},
|
|
moldDetail: {},
|
|
|
|
+ //6种文档
|
|
documents: {
|
|
documents: {
|
|
mould: [],
|
|
mould: [],
|
|
part: [],
|
|
part: [],
|
|
@@ -369,7 +374,9 @@ export default {
|
|
update: [],
|
|
update: [],
|
|
abandon: []
|
|
abandon: []
|
|
},
|
|
},
|
|
-
|
|
|
|
|
|
+ //2D还是3D
|
|
|
|
+ fileType: 1,
|
|
|
|
+ //操作记录
|
|
operations: [],
|
|
operations: [],
|
|
allDetail: {
|
|
allDetail: {
|
|
overflow: "auto",
|
|
overflow: "auto",
|
|
@@ -382,7 +389,6 @@ export default {
|
|
|
|
|
|
listLoading: false,
|
|
listLoading: false,
|
|
activeTab: 0,
|
|
activeTab: 0,
|
|
- activeTab2: 0,
|
|
|
|
activePage: 0,
|
|
activePage: 0,
|
|
activeArticleId: null,
|
|
activeArticleId: null,
|
|
activeFileName: null,
|
|
activeFileName: null,
|