13937891274
2022-08-01 70475c05f5b952d53d6f5e9a64361615b031bb39
数据对接
已修改6个文件
已删除1个文件
220 ■■■■ 文件已修改
src/api/emergencySuppliesInspect/index.ts 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/emergencySupplies/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/material/index.vue 168 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/contingencyManagement/emergencyResources/emergencyMaterialsInspection/component/openAdd.vue 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/contingencyManagement/emergencyResources/emergencySupplies/component/inspect.vue 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/contingencyManagement/emergencyResources/emergencySupplies/component/maintain.vue 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/contingencyManagement/emergencyResources/maintenanceOfEmergencyMaterials/component/openAdd.vue 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/emergencySuppliesInspect/index.ts
@@ -2,6 +2,7 @@
export function emergencySuppliesInspectApi(){
    return{
        // 应急物资检查一览
        getEmergencySuppliesInspectList: (params: object) => {
            return request({
                url: '/emergencyTeam/page/list',
src/components/emergencySupplies/index.vue
@@ -12,7 +12,7 @@
        <el-row>
          <el-form ref="ruleFormRef" :model="ruleForm" :inline="true" status-icon>
            <el-form-item>
              <el-input size="default" v-model="listQuery.searchParams.name" placeholder="物资名称"  style="max-width: 215px;"/>
              <el-input size="default" v-model="listQuery.searchParams.name" placeholder="物资名称"  style="max-width: 215px;margin-right: 12px;"/>
            </el-form-item>
            <el-form-item>
              <el-button size="default" type="primary" @click="onSubmit">查询</el-button>
src/components/material/index.vue
文件已删除
src/views/contingencyManagement/emergencyResources/emergencyMaterialsInspection/component/openAdd.vue
@@ -70,7 +70,7 @@
                </span>
      </template>
    </el-dialog>
    <Material ref="showRef"/>
    <EmergencySupplies ref="showRef" @SearchUser="onUser"/>
    <userSelections ref="userRef"/>
  </div>
</template>
@@ -90,7 +90,7 @@
  Search,
  FullScreen,
} from '@element-plus/icons-vue'
import Material from '/@/components/material/index.vue'
import EmergencySupplies from '/@/components/emergencySupplies/index.vue'
import UserSelections from "/@/components/userSelections/index.vue"
import {emergencyMaterialsInspectionApi} from "/@/api/emergencyMaterialsInspection";
import {maintenanceEmergencyMaterialsApi} from "/@/api/maintenanceEmergencyMaterials";
@@ -99,7 +99,7 @@
  name: 'openAdd',
  components: {
    UserSelections,
    Material,
    EmergencySupplies,
  },
  setup(props, { emit }) {
    const isShowDialog = ref(false)
@@ -145,8 +145,8 @@
        await formEl.validate((valid, fields) => {
          if (valid) {
            isShowDialog.value = false;
            maintenanceEmergencyMaterialsApi()
                .addMaintenanceEmergencyMaterials(ruleForm.value)
            emergencyMaterialsInspectionApi()
                .addEmergencyMaterialsInspection(ruleForm.value)
                .then((res) => {
                  if (res.data.code == 200) {
                    ElMessage({
@@ -175,8 +175,8 @@
        await formEl.validate((valid, fields) => {
          if (valid) {
            isShowDialog.value = false;
            maintenanceEmergencyMaterialsApi()
                .editMaintenanceEmergencyMaterials(ruleForm.value)
            emergencyMaterialsInspectionApi()
                .editEmergencyMaterialsInspection(ruleForm.value)
                .then((res) => {
                  if (res.data.code == 200) {
                    ElMessage({
@@ -225,6 +225,9 @@
    const daiInpt=()=>{
      showRef.value.openDailog()
    }
    const onUser = (e:any) => {
      ruleForm.value.suppliesId=e.id
    };
    // 编写人弹窗
    const userRef = ref();
    const openUser = () => {
@@ -258,6 +261,7 @@
      titles,
      disabled,
      emit,
      onUser,
    };
  },
});
src/views/contingencyManagement/emergencyResources/emergencySupplies/component/inspect.vue
@@ -69,7 +69,7 @@
                </span>
      </template>
    </el-dialog>
    <Material ref="showRef"/>
    <EmergencySupplies ref="showRef" @SearchUser="onUser"/>
    <userSelections ref="userRef"/>
  </div>
</template>
@@ -88,7 +88,7 @@
  Search,
  FullScreen
} from '@element-plus/icons-vue'
import Material from '/@/components/material/index.vue'
import EmergencySupplies from '/@/components/emergencySupplies/index.vue'
import UserSelections from "/@/components/userSelections/index.vue"
import {emergencyMaterialsInspectionApi} from "/@/api/emergencyMaterialsInspection";
@@ -96,7 +96,7 @@
  name: 'inspect',
  components: {
    UserSelections,
    Material,
    EmergencySupplies,
  },
  setup(props, { emit }) {
    const isShowDialog = ref(false)
@@ -170,6 +170,9 @@
    const daiInpt=()=>{
      showRef.value.openDailog()
    }
    const onUser = (e:any) => {
      ruleForm.value.suppliesId=e.id
    };
    // 编写人弹窗
    const userRef = ref();
    const openUser = () => {
@@ -193,6 +196,7 @@
      value1,
      daiInpt,
      showRef,
      onUser,
      ruleFormRef,
      submitForm,
      openUser,
src/views/contingencyManagement/emergencyResources/emergencySupplies/component/maintain.vue
@@ -69,7 +69,7 @@
                </span>
      </template>
    </el-dialog>
    <Material ref="showRef"/>
    <EmergencySupplies ref="showRef" @SearchUser="onUser"/>
    <userSelections ref="userRef"/>
  </div>
</template>
@@ -88,7 +88,7 @@
  Search,
  FullScreen
} from '@element-plus/icons-vue'
import Material from '/@/components/material/index.vue'
import EmergencySupplies from '/@/components/emergencySupplies/index.vue'
import UserSelections from "/@/components/userSelections/index.vue"
import {maintenanceEmergencyMaterialsApi} from "/@/api/maintenanceEmergencyMaterials";
@@ -96,7 +96,7 @@
  name: 'maintain',
  components: {
    UserSelections,
    Material,
    EmergencySupplies,
  },
  setup(props, { emit }) {
    const isShowDialog = ref(false)
@@ -170,6 +170,10 @@
    const daiInpt=()=>{
      showRef.value.openDailog()
    }
    const onUser = (e:any) => {
      ruleForm.value.suppliesId=e.id
    };
    // 编写人弹窗
    const userRef = ref();
    const openUser = () => {
@@ -194,6 +198,7 @@
      daiInpt,
      showRef,
      ruleFormRef,
      onUser,
      submitForm,
      openUser,
      userRef,
src/views/contingencyManagement/emergencyResources/maintenanceOfEmergencyMaterials/component/openAdd.vue
@@ -70,7 +70,7 @@
                </span>
      </template>
    </el-dialog>
    <Material ref="showRef"/>
    <EmergencySupplies ref="showRef" @SearchUser="onUser"/>
    <userSelections ref="userRef"/>
  </div>
</template>
@@ -90,7 +90,7 @@
  Search,
  FullScreen
} from '@element-plus/icons-vue'
import Material from '/@/components/material/index.vue'
import EmergencySupplies from '/@/components/emergencySupplies/index.vue'
import UserSelections from "/@/components/userSelections/index.vue"
import {maintenanceEmergencyMaterialsApi} from "/@/api/maintenanceEmergencyMaterials";
@@ -98,7 +98,7 @@
  name: 'openAdd',
  components: {
    UserSelections,
    Material,
    EmergencySupplies,
  },
  setup(props, { emit }) {
    const isShowDialog = ref(false)
@@ -224,6 +224,9 @@
    const daiInpt=()=>{
      showRef.value.openDailog()
    }
    const onUser = (e:any) => {
      ruleForm.value.suppliesId=e.id
    };
    // 编写人弹窗
    const userRef = ref();
    const openUser = () => {
@@ -245,6 +248,7 @@
      ruleForm,
      maintainTime,
      daiInpt,
      onUser,
      showRef,
      ruleFormRef,
      submitForm,