|
@@ -1,7 +1,7 @@
|
|
|
<!--
|
|
|
* @Author: ql
|
|
|
* @Date: 2022-01-11 14:46:04
|
|
|
- * @LastEditTime: 2022-01-25 15:28:06
|
|
|
+ * @LastEditTime: 2022-01-25 16:08:57
|
|
|
* @LastEditors: Please set LastEditors
|
|
|
* @FilePath: \adm-frontend\src\components\cadDrawingManage\index.vue
|
|
|
-->
|
|
@@ -124,6 +124,10 @@ export default {
|
|
|
},
|
|
|
currentTab(nv, ov) {
|
|
|
this.getFileList()
|
|
|
+ },
|
|
|
+ async projectId(nv, ov) {
|
|
|
+ await this.getCascader()
|
|
|
+ this.getFileList()
|
|
|
}
|
|
|
},
|
|
|
data() {
|
|
@@ -158,7 +162,8 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
|
- ...mapState('uploadFile', ['successList', 'uploadVisible', 'errorList', 'fileList'])
|
|
|
+ ...mapState('uploadFile', ['successList', 'uploadVisible', 'errorList', 'fileList']),
|
|
|
+ ...mapState('layout', ['projectId'])
|
|
|
},
|
|
|
filters: {
|
|
|
timeFormat(timestr) {
|