|
@@ -292,7 +292,7 @@
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
|
<el-form-item label="附件">
|
|
<el-form-item label="附件">
|
|
|
- <fileUpload v-model="form.files" :type="dialogType"></fileUpload>
|
|
|
|
|
|
|
+ <fileMain v-model="form.files" :type="dialogType"></fileMain>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-row>
|
|
</el-row>
|
|
@@ -342,58 +342,58 @@
|
|
|
|
|
|
|
|
import linkParentDialog from '@/components/linkParentDialog';
|
|
import linkParentDialog from '@/components/linkParentDialog';
|
|
|
|
|
|
|
|
- import PersonSelect from '@/components/CommomSelect/person-select.vue';
|
|
|
|
|
- import customDialog from '../../components/custom-dialog.vue';
|
|
|
|
|
- import fileUpload from '@/BIZComponents/addDoc/index.vue';
|
|
|
|
|
- import { getFile } from '@/api/system/file';
|
|
|
|
|
- import contractListDialog from '@/views/project-manage/components/contractListDialog.vue';
|
|
|
|
|
- import orderListDialog from '@/BIZComponents/orderListDialog/orderListDialog.vue';
|
|
|
|
|
- import { getProduceTreeByCode } from '@/api/custom';
|
|
|
|
|
- import moment from 'moment';
|
|
|
|
|
- import { cityData } from 'ele-admin/packages/utils/regions';
|
|
|
|
|
|
|
+import PersonSelect from '@/components/CommomSelect/person-select.vue';
|
|
|
|
|
+import customDialog from '../../components/custom-dialog.vue';
|
|
|
|
|
+// import fileUpload from '@/BIZComponents/addDoc/index.vue';
|
|
|
|
|
+import { getFile } from '@/api/system/file';
|
|
|
|
|
+import contractListDialog from '@/views/project-manage/components/contractListDialog.vue';
|
|
|
|
|
+import orderListDialog from '@/BIZComponents/orderListDialog/orderListDialog.vue';
|
|
|
|
|
+import { getProduceTreeByCode } from '@/api/custom';
|
|
|
|
|
+import moment from 'moment';
|
|
|
|
|
+import { cityData } from 'ele-admin/packages/utils/regions';
|
|
|
|
|
|
|
|
import { contactDetail } from '@/api/eos';
|
|
import { contactDetail } from '@/api/eos';
|
|
|
|
|
|
|
|
- import { reviewStatusEnum } from '@/enum/dict';
|
|
|
|
|
- export default {
|
|
|
|
|
- name: 'project-form',
|
|
|
|
|
- components: {
|
|
|
|
|
- fileUpload,
|
|
|
|
|
- PersonSelect,
|
|
|
|
|
- customDialog,
|
|
|
|
|
- contractListDialog,
|
|
|
|
|
- orderListDialog,
|
|
|
|
|
- linkParentDialog
|
|
|
|
|
|
|
+import { reviewStatusEnum } from '@/enum/dict';
|
|
|
|
|
+export default {
|
|
|
|
|
+ name: 'project-form',
|
|
|
|
|
+ components: {
|
|
|
|
|
+ // fileUpload,
|
|
|
|
|
+ PersonSelect,
|
|
|
|
|
+ customDialog,
|
|
|
|
|
+ contractListDialog,
|
|
|
|
|
+ orderListDialog,
|
|
|
|
|
+ linkParentDialog
|
|
|
|
|
+ },
|
|
|
|
|
+ props: {
|
|
|
|
|
+ code: {
|
|
|
|
|
+ type: String,
|
|
|
|
|
+ default: ''
|
|
|
|
|
+ },
|
|
|
|
|
+ dialogType: {
|
|
|
|
|
+ type: String,
|
|
|
|
|
+ default: ''
|
|
|
|
|
+ },
|
|
|
|
|
+ dialogForm: {
|
|
|
|
|
+ type: Object,
|
|
|
|
|
+ default: () => {
|
|
|
|
|
+ return {
|
|
|
|
|
+ ...this.form
|
|
|
|
|
+ };
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ teamList: {
|
|
|
|
|
+ type: Array,
|
|
|
|
|
+ default: () => {
|
|
|
|
|
+ return [];
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ deptList: {
|
|
|
|
|
+ type: Array,
|
|
|
|
|
+ default: () => {
|
|
|
|
|
+ return [];
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
- props: {
|
|
|
|
|
- code: {
|
|
|
|
|
- type: String,
|
|
|
|
|
- default: ''
|
|
|
|
|
- },
|
|
|
|
|
- dialogType: {
|
|
|
|
|
- type: String,
|
|
|
|
|
- default: ''
|
|
|
|
|
- },
|
|
|
|
|
- dialogForm: {
|
|
|
|
|
- type: Object,
|
|
|
|
|
- default: () => {
|
|
|
|
|
- return {
|
|
|
|
|
- ...this.form
|
|
|
|
|
- };
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
- teamList: {
|
|
|
|
|
- type: Array,
|
|
|
|
|
- default: () => {
|
|
|
|
|
- return [];
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
- deptList: {
|
|
|
|
|
- type: Array,
|
|
|
|
|
- default: () => {
|
|
|
|
|
- return [];
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
|
|
|
|
|
deptTreeList: {
|
|
deptTreeList: {
|
|
|
type: Array,
|
|
type: Array,
|