|
|
@@ -205,16 +205,16 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
- <!-- 检修人员选择(当信息录入为2时可编辑) -->
|
|
|
+ <!-- 工作班成员选择(当信息录入为2时可编辑) -->
|
|
|
<view class="info-item">
|
|
|
<view class="info-label">
|
|
|
- <text class="form-label required">检修人员</text>
|
|
|
+ <text class="form-label required">工作班成员</text>
|
|
|
</view>
|
|
|
<view class="info-value">
|
|
|
<view class="input-with-clear">
|
|
|
<input
|
|
|
class="input-field"
|
|
|
- placeholder="请选择检修人员"
|
|
|
+ placeholder="请选择工作班成员"
|
|
|
v-model="workGroupMemberName"
|
|
|
@click="showUserSelect = true"
|
|
|
:disabled="infoEntry == '1'"
|
|
|
@@ -293,7 +293,7 @@
|
|
|
<view class="modal-mask" @click="showUserSelect = false"></view>
|
|
|
<view class="modal-content">
|
|
|
<view class="modal-header">
|
|
|
- <text class="modal-title">选择检修人员</text>
|
|
|
+ <text class="modal-title">选择工作班成员</text>
|
|
|
<text class="modal-close" @click="confirmSelectedUsers">确定</text>
|
|
|
</view>
|
|
|
<view class="search-bar">
|
|
|
@@ -444,10 +444,10 @@
|
|
|
const realEndTime = ref<string>('') // 结束时间
|
|
|
const wwryNum = ref<string>('') // 外委人员数
|
|
|
const wlryNum = ref<string>('') // 外来人员数
|
|
|
- const workGroupMemberName = ref<string>('') // 检修人员
|
|
|
+ const workGroupMemberName = ref<string>('') // 工作班成员
|
|
|
const attachmentUrls = ref<string>('') // 附件URLs(逗号分隔的字符串格式)
|
|
|
const uploadedFiles = ref<UploadResponse[]>([]) // 上传的文件对象数组
|
|
|
- const workOrderPersonList = ref<UTSJSONObject[]>([]) // 检修人员数组
|
|
|
+ const workOrderPersonList = ref<UTSJSONObject[]>([]) // 工作班成员数组
|
|
|
const selectedUserIds = ref<string[]>([]) // 选中的用户ID数组
|
|
|
const selectedUsers = ref<UTSJSONObject[]>([]) // 选中的用户对象数组
|
|
|
const realFailureReason = ref<string>('') //真实故障原因
|
|
|
@@ -775,7 +775,7 @@
|
|
|
misNo.value = ''
|
|
|
return
|
|
|
}
|
|
|
- // 查询相关检修人员
|
|
|
+ // 查询相关工作班成员
|
|
|
await listWorkPerson(misNo.value).then(response => {
|
|
|
const responseObj = response as UTSJSONObject
|
|
|
const rows = responseObj['rows'] as UTSJSONObject[] | null
|
|
|
@@ -947,7 +947,7 @@
|
|
|
// 清空显示的用户名
|
|
|
workGroupMemberName.value = '';
|
|
|
|
|
|
- // 清空检修人员列表
|
|
|
+ // 清空工作班成员列表
|
|
|
workOrderPersonList.value = [];
|
|
|
};
|
|
|
|
|
|
@@ -1043,7 +1043,7 @@
|
|
|
|
|
|
// if (infoEntry.value == '2' && (workGroupMemberName.value == '' || selectedUsers.value.length == 0)) {
|
|
|
// uni.showToast({
|
|
|
- // title: '请选择检修人员',
|
|
|
+ // title: '请选择工作班成员',
|
|
|
// icon: 'none'
|
|
|
// });
|
|
|
// return false;
|
|
|
@@ -1230,7 +1230,7 @@
|
|
|
realStartTime.value = (misInfo[0]['realStartTime'] as string | null) ?? ''
|
|
|
realEndTime.value = (misInfo[0]['realEndTime'] as string | null) ?? ''
|
|
|
workPermitNum.value = (misInfo[0]['workPermitNum'] as string | null) ?? ''
|
|
|
- // 查询相关检修人员
|
|
|
+ // 查询相关工作班成员
|
|
|
await listWorkPerson(misNo.value).then(response => {
|
|
|
const responseObj = response as UTSJSONObject
|
|
|
const rows = responseObj['rows'] as UTSJSONObject[] | null
|