1.替换修改救助人员接口
2.用户管理添加专业人员和操作人员模块
This commit is contained in:
2025-11-27 16:24:38 +08:00
parent 98a2680b63
commit 3d4177b647
10 changed files with 1319 additions and 5 deletions
@@ -15,7 +15,7 @@
<a-descriptions-item label="手机号">
{{ resultInfo?.initiatorUserMobile }}
</a-descriptions-item>
<a-descriptions-item label="年龄">
<a-descriptions-item label="发起人年龄">
{{ resultInfo?.initiatorUserAge }}
<span class="sepical-des" @click="personLocal(resultInfo?.initiatorLatitude, resultInfo?.initiatorLongitude)">员工位置</span>
</a-descriptions-item>
@@ -31,7 +31,7 @@
<a-descriptions-item label="手机号">
{{ Object.keys(newEmploy).length > 0 ? newEmploy.phone : resultInfo?.salvageUserMobile }}
</a-descriptions-item>
<a-descriptions-item label="年龄">
<a-descriptions-item label="救助人年龄">
{{ Object.keys(newEmploy).length > 0 ? newEmploy.age : resultInfo?.salvageUserAge }}
</a-descriptions-item>
</a-descriptions>
@@ -82,7 +82,7 @@
<a-row class="bottom-button">
<a-button type="primary" :disabled="resultInfo.orderStatus === '5'" @click="saveB" :loading="saveLoading">保存</a-button>
<a-button type="primary" :disabled="resultInfo.orderStatus === '5'" @click="supplementB(resultInfo)">补充小节</a-button>
<!-- <a-button type="primary" :disabled="resultInfo.orderStatus === '5'" @click="onSiteB(resultInfo)">驻场派单</a-button>-->
<!-- <a-button type="primary" :disabled="resultInfo.orderStatus === '5'" @click="onSiteB(resultInfo)">驻场派单</a-button>-->
<!-- <a-button type="primary" :disabled="resultInfo.orderStatus === '5'" @click="endB(resultInfo)" :loading="endLoading">结束应急</a-button>-->
</a-row>
<replaceOther ref="replaceOtherRef" @choose-employ="chooseEmploy" />
@@ -57,7 +57,7 @@
</template>
<script setup lang="ts">
import { ref } from 'vue';
import { secondDepartApi, employListApi } from './commApi';
import { secondDepartApi, employListApi, listByMcApi } from './commApi';
import { message } from 'ant-design-vue';
const visible = ref<Boolean>();
const secondData = ref<Array>();
@@ -93,7 +93,7 @@
pSet.value.tableLoading = true;
if (realname.value) params['realname'] = realname.value;
if (second.value) params['orgCode'] = JSON.parse(second.value).orgCode;
employListApi(params)
listByMcApi(params)
.then((res) => {
personData.value = res.records;
pSet.value.total = res.total;