项目书-附件&正文 功能添加 10.22

master
zhc077 1 month ago
parent 29d8bd899f
commit b8fae45ebe
  1. 2
      jeecgboot-vue3/src/views/projectApplication/kejigongguan/xiangmushu/index.vue
  2. 4
      jeecgboot-vue3/src/views/projectFile/ProjectFile.data.ts
  3. 5
      jeecgboot-vue3/src/views/projectFile/components/ProjectFileModal.vue
  4. 5
      jeecgboot-vue3/src/views/projectFile/zhengwen/components/ProjectFileModal.vue
  5. 3
      jeecgboot-vue3/src/views/projectOpinion/components/ProjectOpinionModal.vue

@ -58,7 +58,7 @@
//使componenttab
function tabChange(key) {
activeKey.value = key;
alert("activeKey.value-"+activeKey.value)
// alert("activeKey.value-"+activeKey.value)
}
/*function goBack() {

@ -22,11 +22,11 @@ export const searchFormSchema: FormSchema[] = [
];
//
export const formSchema: FormSchema[] = [
{
/*{
label: '项目表id',
field: 'projectId',
component: 'Input',
},
},*/
{
label: '上传附件',
field: 'fileUrl',

@ -10,6 +10,8 @@
import {BasicForm, useForm} from '/@/components/Form/index';
import {formSchema} from '../ProjectFile.data';
import {saveOrUpdate} from '../ProjectFile.api';
import {useRoute} from "vue-router";
const route = useRoute();
// Emits
const emit = defineEmits(['register','success']);
const isUpdate = ref(true);
@ -43,6 +45,9 @@
async function handleSubmit(v) {
try {
let values = await validate();
//id
values.porjectId = route.query.id
values.fileFlag = 'fujian'
setModalProps({confirmLoading: true});
//
await saveOrUpdate(values, isUpdate.value);

@ -10,6 +10,8 @@
import {BasicForm, useForm} from '/@/components/Form/index';
import {formSchema} from '../ProjectFile4ZhengWen.data';
import {saveOrUpdate} from '../ProjectFile4ZhengWen.api';
import {useRoute} from "vue-router";
const route = useRoute();
// Emits
const emit = defineEmits(['register','success']);
const isUpdate = ref(true);
@ -43,6 +45,9 @@
async function handleSubmit(v) {
try {
let values = await validate();
//id
values.porjectId = route.query.id
values.fileFlag = 'zhengwen'
setModalProps({confirmLoading: true});
//
await saveOrUpdate(values, isUpdate.value);

@ -10,6 +10,8 @@
import {BasicForm, useForm} from '/@/components/Form/index';
import {formSchema} from '../ProjectOpinion.data';
import {saveOrUpdate} from '../ProjectOpinion.api';
import {useRoute} from "vue-router";
const route = useRoute();
// Emits
const emit = defineEmits(['register','success']);
const isUpdate = ref(true);
@ -43,6 +45,7 @@
async function handleSubmit(v) {
try {
let values = await validate();
values.projectId= route.query.id;
setModalProps({confirmLoading: true});
//
await saveOrUpdate(values, isUpdate.value);

Loading…
Cancel
Save