zhouwenxuan
2024-02-19 18aff5cd709785bb357ec8c22b4074680cadf0d0
src/views/safetyReview/projectManage/components/evaluatePlan.vue
@@ -166,7 +166,7 @@
    auserId: null,
    estimateSchedules: [
      {
        id: 1,
        id: null,
        sort: 1,
        name: '勘验准备',
        startDate: '',
@@ -175,7 +175,7 @@
        projectId: null
      },
      {
        id: 2,
        id: null,
        sort: 2,
        name: '现场勘验',
        startDate: '',
@@ -184,7 +184,7 @@
        projectId: null
      },
      {
        id: 3,
        id: null,
        sort: 3,
        name: '材料分析整理',
        startDate: '',
@@ -193,7 +193,7 @@
        projectId: null
      },
      {
        id: 4,
        id: null,
        sort: 4,
        name: '评价报告编写',
        startDate: '',
@@ -202,7 +202,7 @@
        projectId: null
      },
      {
        id: 5,
        id: null,
        sort: 5,
        name: '整改情况现场确认',
        startDate: '',
@@ -211,7 +211,7 @@
        projectId: null
      },
      {
        id: 6,
        id: null,
        sort: 6,
        name: '整理评价报告',
        startDate: '',
@@ -220,7 +220,7 @@
        projectId: null
      },
      {
        id: 7,
        id: null,
        sort: 7,
        name: '报告审核',
        startDate: '',
@@ -229,7 +229,7 @@
        projectId: null
      },
      {
        id: 8,
        id: null,
        sort: 8,
        name: '报告修改',
        startDate: '',
@@ -286,8 +286,8 @@
  for(let i of state.formData.estimateSchedules){
    i.projectId = val
  }
  await getWorksList(val)
  await getDeviceList(val)
  // await getWorksList(val)
  // await getDeviceList(val)
  if(type === 'detail' || type === 'edit' ){
    const res = await getDetail({projectId: val})
    if(res.code == 200){
@@ -310,7 +310,7 @@
        if (res.code == 200) {
          ElMessage.success('保存成功')
          formRef.value.clearValidate();
          emit('getNextStatus', res.data);
          emit('getNextStatus', state.formData.projectId);
        } else {
          ElMessage.warning(res.message)