2025-10-14 15:17:30 +08:00
|
|
|
|
<template>
|
|
|
|
|
|
<view class="todo-page">
|
|
|
|
|
|
<view class="card">
|
|
|
|
|
|
<view class="background"></view>
|
|
|
|
|
|
<view>
|
2026-01-08 11:51:19 +08:00
|
|
|
|
<u--form labelPosition="left" labelWidth="auto" labelAlign="center" :model="model" :rules="rules" ref="wForm" errorType="border-bottom" class="demo-ruleForm">
|
2025-10-14 15:17:30 +08:00
|
|
|
|
<u-form-item required label="培训名称" prop="NAME" borderBottom>
|
2026-01-08 11:51:19 +08:00
|
|
|
|
<u--input v-model="model.NAME" border="none" slot="right" inputAlign="right" fontSize="14px" placeholder="请输入培训名称"></u--input>
|
2025-10-14 15:17:30 +08:00
|
|
|
|
</u-form-item>
|
2026-01-08 11:51:19 +08:00
|
|
|
|
<u-form-item required label="培训类型" prop="Nav_TrainType.NAME" borderBottom @click="handleChange('Nav_TrainType','')">
|
|
|
|
|
|
<u--input v-if="model.Nav_TrainType" v-model="model.Nav_TrainType.NAME" placeholder="请选择培训类型" border="none" inputAlign="right" disabled disabledColor="#fff" fontSize="14px"></u--input>
|
2025-10-14 15:17:30 +08:00
|
|
|
|
<u-icon style="margin-left: 4px;" slot="right" name="arrow-down" size="12">
|
|
|
|
|
|
</u-icon>
|
|
|
|
|
|
</u-form-item>
|
2026-01-30 14:10:10 +08:00
|
|
|
|
<u-form-item label="培训性质" prop="IN_OUT_SHOW" borderBottom @click="handleShowSheet({title: '培训性质', name: 'TrainInOut'})">
|
|
|
|
|
|
<u--input :value="model.IN_OUT_SHOW" placeholder="请选择培训性质" border="none" inputAlign="right" disabled disabledColor="#fff" fontSize="14px"></u--input>
|
|
|
|
|
|
<u-icon style="margin-left: 4px;" slot="right" name="arrow-down" size="12"></u-icon>
|
|
|
|
|
|
</u-form-item>
|
2026-01-12 15:03:09 +08:00
|
|
|
|
<u-form-item required label="培训级别" prop="LEVEL_SHOW" borderBottom @click="handleShowSheet({title: '层级', name: 'FMDepartmentType'})">
|
2026-01-08 11:51:19 +08:00
|
|
|
|
<u--input :value="model.LEVEL_SHOW" placeholder="请选择层级" border="none" inputAlign="right" disabled disabledColor="#fff" fontSize="14px"></u--input>
|
2025-10-14 15:17:30 +08:00
|
|
|
|
<u-icon style="margin-left: 4px;" slot="right" name="arrow-down" size="12"></u-icon>
|
|
|
|
|
|
</u-form-item>
|
2026-01-08 11:51:19 +08:00
|
|
|
|
<u-form-item label="开始时间" required prop="TRAIN_START_TIME" borderBottom @click="showCheckDate({ name: 'TRAIN_START_TIME'})">
|
|
|
|
|
|
<u--input disabledColor="#fff" v-model="model.TRAIN_START_TIME" disabled placeholder="请选择开始时间" suffixIcon="arrow-down" suffixIconStyle="font-size:12px" fontSize="14px" border="none"
|
2025-10-14 15:17:30 +08:00
|
|
|
|
customStyle="margin:0px;display:flex;padding:3px 0px" inputAlign="right">
|
|
|
|
|
|
</u--input>
|
|
|
|
|
|
</u-form-item>
|
2026-01-08 11:51:19 +08:00
|
|
|
|
<u-form-item label="结束时间" required prop="TRAIN_END_TIME" borderBottom @click="showCheckDate({name: 'TRAIN_END_TIME'})">
|
|
|
|
|
|
<u--input disabledColor="#fff" v-model="model.TRAIN_END_TIME" disabled placeholder="请选择结束时间" suffixIcon="arrow-down" suffixIconStyle="font-size:12px" fontSize="14px" border="none"
|
2025-10-14 15:17:30 +08:00
|
|
|
|
inputAlign="right" customStyle="margin:0px;display:flex;padding:3px 0px">
|
|
|
|
|
|
</u--input>
|
|
|
|
|
|
</u-form-item>
|
|
|
|
|
|
<u-form-item required label="培训地点" prop="TRAIN_ADDR" borderBottom>
|
2026-01-08 11:51:19 +08:00
|
|
|
|
<u--input v-model="model.TRAIN_ADDR" border="none" slot="right" inputAlign="right" fontSize="14px" placeholder="请填写培训地点"></u--input>
|
2025-10-14 15:17:30 +08:00
|
|
|
|
</u-form-item>
|
|
|
|
|
|
<u-form-item required label="培训学时" prop="HOURS" borderBottom>
|
2026-01-08 11:51:19 +08:00
|
|
|
|
<u--input v-model="model.HOURS" type="number" border="none" slot="right" placeholder="请填写培训学时" inputAlign="right" fontSize="14px"></u--input>
|
2025-10-14 15:17:30 +08:00
|
|
|
|
</u-form-item>
|
2026-01-12 15:38:51 +08:00
|
|
|
|
<u-form-item required label="培训老师" prop="Nav_UserTeacher.NAME" borderBottom @click="handleChange('Nav_UserTeacher','')">
|
|
|
|
|
|
<u--input v-model="(model.Nav_UserTeacher||{}).NAME" border="none" placeholder="请选择培训老师" inputAlign="right" fontSize="14px"></u--input>
|
|
|
|
|
|
<u-icon style="margin-left: 4px;" slot="right" name="arrow-down" size="12">
|
|
|
|
|
|
</u-icon>
|
2025-10-14 15:17:30 +08:00
|
|
|
|
</u-form-item>
|
2026-01-12 15:03:09 +08:00
|
|
|
|
<u-form-item required label="培训形式" prop="TRAINTYPE_SHOW" borderBottom @click="handleShowSheet({title: '培训形式', name: 'TrainType'})">
|
2026-01-08 11:51:19 +08:00
|
|
|
|
<u--input v-model="model.TRAINTYPE_SHOW" placeholder="请选择培训形式" border="none" inputAlign="right" disabled disabledColor="#fff" fontSize="14px"></u--input>
|
2025-10-14 15:17:30 +08:00
|
|
|
|
<u-icon style="margin-left: 4px;" slot="right" name="arrow-down" size="12"></u-icon>
|
|
|
|
|
|
</u-form-item>
|
2026-01-12 15:03:09 +08:00
|
|
|
|
<u-form-item required label="考核方式" prop="CHECKTYPE_SHOW" borderBottom @click="handleShowSheet({title: '培训形式', name: 'PlanCheckType'})">
|
|
|
|
|
|
<u--input v-model="model.CHECKTYPE_SHOW" placeholder="请选择考核方式" border="none" inputAlign="right" disabled disabledColor="#fff" fontSize="14px"></u--input>
|
2025-10-14 15:17:30 +08:00
|
|
|
|
<u-icon style="margin-left: 4px;" slot="right" name="arrow-down" size="12">
|
|
|
|
|
|
</u-icon>
|
|
|
|
|
|
</u-form-item>
|
2026-01-08 11:51:19 +08:00
|
|
|
|
<u-form-item required class="custom-form-item" label="培训内容" prop="DetailPost" borderBottom @click="handleQuerySelect({ formIndex: 'Nav_TrainContentList', isMultiple: true})">
|
2025-10-14 15:17:30 +08:00
|
|
|
|
<view slot="right" class="custom-form-item-right">
|
|
|
|
|
|
<view class="multi">
|
2026-01-08 11:51:19 +08:00
|
|
|
|
<u--text v-for="(i, k) in model.Nav_TrainContentList" :key="k" class="item" :text="k + 1 + '. ' + i.Nav_Point.NAME" :size="14"></u--text>
|
2025-10-14 15:17:30 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
<u-icon class="icon" name="arrow-down" size="12">
|
|
|
|
|
|
</u-icon>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</u-form-item>
|
|
|
|
|
|
<u-form-item label="培训安排及要求" prop="TRAIN_PLAN" borderBottom>
|
|
|
|
|
|
</u-form-item>
|
|
|
|
|
|
<u--textarea required v-model="model.TRAIN_PLAN" border="surround"></u--textarea>
|
2026-01-30 14:10:10 +08:00
|
|
|
|
<u-form-item label="是否需要培训效果评估" prop="NEED_EVALUATION" borderBottom @click="handleShowSheet({title: '是否需要培训效果评估', name: 'SETrainNeedSuvey'})">
|
2026-01-08 11:51:19 +08:00
|
|
|
|
<u--input :value="model.NEED_EVALUATION_SHOW" placeholder="请选择" border="none" inputAlign="right" disabled disabledColor="#fff"></u--input>
|
2025-10-14 15:17:30 +08:00
|
|
|
|
<u-icon style="margin-left: 4px;" slot="right" name="arrow-down" size="12"></u-icon>
|
|
|
|
|
|
</u-form-item>
|
|
|
|
|
|
<u-form-item label="是否触发培训记录" prop="CREATE_NOTIFY_RECORD" borderBottom>
|
2026-01-08 11:51:19 +08:00
|
|
|
|
<u-switch inactiveColor="rgb(230, 230, 230)" size="24" space="4" v-model="model.CREATE_NOTIFY_RECORD" @change="changeSwitch" border="none" slot="right" inputAlign="right"></u-switch>
|
2025-10-14 15:17:30 +08:00
|
|
|
|
</u-form-item>
|
2026-01-08 11:51:19 +08:00
|
|
|
|
<u-form-item required label="记录人员" prop="Nav_RecordUser.NAME" borderBottom @click="handleChange('Nav_RecordUser','')">
|
|
|
|
|
|
<u--input v-if="model.Nav_RecordUser" v-model="model.Nav_RecordUser.NAME" placeholder="记录人员" border="none" inputAlign="right" disabled disabledColor="#fff"></u--input>
|
2025-10-14 15:17:30 +08:00
|
|
|
|
<u-icon style="margin-left: 4px;" slot="right" name="arrow-down" size="12">
|
|
|
|
|
|
</u-icon>
|
|
|
|
|
|
</u-form-item>
|
|
|
|
|
|
<view class="upload-title">附件</view>
|
2026-01-08 11:51:19 +08:00
|
|
|
|
<full-upload v-model="model.Nav_Files" :isShowBtn='true' :listProp='listPropUpload' :listPropVal='listPropValUpload'></full-upload>
|
2025-10-14 15:17:30 +08:00
|
|
|
|
<u-form-item required label="培训人员">
|
2026-01-08 11:51:19 +08:00
|
|
|
|
<u-icon name="man-add" @click="handleShowUserSelector()" size="24" color="#3d9cff" slot="right"></u-icon>
|
2025-10-14 15:17:30 +08:00
|
|
|
|
</u-form-item>
|
|
|
|
|
|
<view v-show="!!model.Nav_TrainUserList.length" class="tag-view">
|
2026-01-08 11:51:19 +08:00
|
|
|
|
<uni-tag class="tag" v-for="(i, k) in model.Nav_TrainUserList.filter(i => !i.IS_DELETED)" :key="k" :inverted="true" :text="i.NAME" type="primary" />
|
2025-10-14 15:17:30 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
</u--form>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
2026-01-08 11:51:19 +08:00
|
|
|
|
<query-selector :show="showPopup" :lists="Lists" @close="handleClosePopup" @search="handleSearch" @select="handleSelected" />
|
|
|
|
|
|
<u-picker :show="comPickerInfo.showSheet" :columns="comPickerInfo.columns" @confirm="onConfirmPicker" :defaultIndex="[0]" @close="closePicker" @cancel="closePicker" keyName="NAME"></u-picker>
|
2025-10-14 15:17:30 +08:00
|
|
|
|
<view class="bottom-button">
|
|
|
|
|
|
</view>
|
2026-01-08 11:51:19 +08:00
|
|
|
|
<u-datetime-picker :show="dateTimePickerInfo.showCheckDate" mode="datetime" v-model='dateTimePickerInfo.defaultDateTime' :formatter="formatter" @confirm="handleCheckDate"
|
|
|
|
|
|
@close="dateTimePickerInfo.showCheckDate = false;" @cancel="dateTimePickerInfo.showCheckDate = false;"></u-datetime-picker>
|
|
|
|
|
|
<query-selector :multiple="qsCom.isMultiple" :total="curTotal" :show="qsCom.show" :lists="qsCom.lists" @close="onCloseQS" @search="onSearchQS" @select="onSelectedQS" />
|
|
|
|
|
|
<people-selector :defaultChecked="peopleSelectOption.defaultChecked" :show="peopleSelectOption.showSelector" @select="handleSelectorPeople" @close="peopleSelectOption.showSelector = false">
|
2025-10-14 15:17:30 +08:00
|
|
|
|
</people-selector>
|
|
|
|
|
|
<view class="bottom-button">
|
|
|
|
|
|
<u-button type="primary" @click="submit" color="#3d4b70">提交</u-button>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
|
import {
|
|
|
|
|
|
extendFilterGroup,
|
|
|
|
|
|
extendGroupRule,
|
|
|
|
|
|
extendInclude,
|
|
|
|
|
|
extendOrder,
|
|
|
|
|
|
extendRule,
|
|
|
|
|
|
guid,
|
|
|
|
|
|
initFilter,
|
|
|
|
|
|
initFilterGroup
|
|
|
|
|
|
} from '../../../../utils/common'
|
|
|
|
|
|
import {
|
|
|
|
|
|
getRequest,
|
|
|
|
|
|
} from '../../../../services/apply/FOServices/FOServices';
|
2025-11-21 16:28:45 +08:00
|
|
|
|
import {
|
|
|
|
|
|
getEnum
|
2026-01-08 11:51:19 +08:00
|
|
|
|
} from '../../../../services/common';
|
2025-10-14 15:17:30 +08:00
|
|
|
|
export default {
|
|
|
|
|
|
data() {
|
|
|
|
|
|
return {
|
|
|
|
|
|
Lists: [],
|
|
|
|
|
|
listPropUpload: ['NOTIFY_ID'],
|
|
|
|
|
|
listPropValUpload: [],
|
|
|
|
|
|
model: {
|
|
|
|
|
|
Nav_TrainUserList: [],
|
|
|
|
|
|
ORG_ID: "",
|
|
|
|
|
|
Nav_Files: [],
|
2026-01-30 14:10:10 +08:00
|
|
|
|
NEED_EVALUATION_SHOW: "",
|
|
|
|
|
|
NEED_EVALUATION: "",
|
|
|
|
|
|
CREATE_NOTIFY_RECORD: true,
|
|
|
|
|
|
IN_OUT_SHOW:'',
|
|
|
|
|
|
IN_OUT:'',
|
2025-10-14 15:17:30 +08:00
|
|
|
|
},
|
|
|
|
|
|
options: [{
|
|
|
|
|
|
text: '删除',
|
|
|
|
|
|
style: {
|
|
|
|
|
|
backgroundColor: '#f56c6c'
|
|
|
|
|
|
}
|
|
|
|
|
|
}],
|
|
|
|
|
|
rules: {
|
|
|
|
|
|
'NAME': {
|
|
|
|
|
|
type: 'string',
|
|
|
|
|
|
required: true,
|
|
|
|
|
|
trigger: ['blur', 'change'],
|
|
|
|
|
|
message: '请填写培训名称'
|
|
|
|
|
|
},
|
|
|
|
|
|
'Nav_TrainType.NAME': {
|
|
|
|
|
|
type: 'string',
|
|
|
|
|
|
required: true,
|
|
|
|
|
|
trigger: ['blur', 'change'],
|
|
|
|
|
|
message: '请选择培训类型'
|
|
|
|
|
|
},
|
2026-01-12 15:03:09 +08:00
|
|
|
|
'LEVEL_SHOW': {
|
2026-01-12 15:38:51 +08:00
|
|
|
|
type: 'string',
|
2025-10-14 15:17:30 +08:00
|
|
|
|
required: true,
|
|
|
|
|
|
trigger: ['blur', 'change'],
|
|
|
|
|
|
message: '请选择培训级别'
|
|
|
|
|
|
},
|
|
|
|
|
|
'TRAIN_START_TIME': {
|
|
|
|
|
|
type: 'string',
|
|
|
|
|
|
required: true,
|
|
|
|
|
|
trigger: ['blur', 'change'],
|
|
|
|
|
|
message: '请选择开始时间'
|
|
|
|
|
|
},
|
|
|
|
|
|
'TRAIN_END_TIME': {
|
|
|
|
|
|
type: 'string',
|
|
|
|
|
|
required: true,
|
|
|
|
|
|
trigger: ['blur', 'change'],
|
|
|
|
|
|
message: '请选择结束时间'
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
'TRAIN_ADDR': {
|
|
|
|
|
|
type: 'string',
|
|
|
|
|
|
required: true,
|
|
|
|
|
|
trigger: ['blur', 'change'],
|
|
|
|
|
|
message: '请填写培训地点'
|
|
|
|
|
|
},
|
|
|
|
|
|
'HOURS': {
|
2026-01-12 15:03:09 +08:00
|
|
|
|
type: 'number',
|
2025-10-14 15:17:30 +08:00
|
|
|
|
required: true,
|
|
|
|
|
|
trigger: ['blur', 'change'],
|
|
|
|
|
|
message: '请填写培训学时'
|
|
|
|
|
|
},
|
2026-01-12 15:38:51 +08:00
|
|
|
|
'Nav_UserTeacher.NAME': {
|
2025-10-14 15:17:30 +08:00
|
|
|
|
type: 'string',
|
|
|
|
|
|
required: true,
|
|
|
|
|
|
trigger: ['blur', 'change'],
|
|
|
|
|
|
message: '请填写培训老师'
|
|
|
|
|
|
},
|
2026-01-12 15:03:09 +08:00
|
|
|
|
'TRAINTYPE_SHOW': {
|
2025-10-14 15:17:30 +08:00
|
|
|
|
type: 'string',
|
|
|
|
|
|
required: true,
|
|
|
|
|
|
trigger: ['blur', 'change'],
|
|
|
|
|
|
message: '请选择培训形式'
|
|
|
|
|
|
},
|
2026-01-12 15:03:09 +08:00
|
|
|
|
'CHECKTYPE_SHOW': {
|
2025-10-14 15:17:30 +08:00
|
|
|
|
type: 'string',
|
|
|
|
|
|
required: true,
|
|
|
|
|
|
trigger: ['blur', 'change'],
|
|
|
|
|
|
message: '请选择考核方式'
|
|
|
|
|
|
},
|
|
|
|
|
|
},
|
|
|
|
|
|
comPickerInfo: {
|
|
|
|
|
|
showSheet: false,
|
|
|
|
|
|
columns: [],
|
|
|
|
|
|
title: '',
|
|
|
|
|
|
dataIndex: undefined,
|
|
|
|
|
|
formIndex: undefined,
|
|
|
|
|
|
name: ''
|
|
|
|
|
|
},
|
|
|
|
|
|
showPopup: false,
|
|
|
|
|
|
tableKey: '0',
|
|
|
|
|
|
TaskID: '',
|
|
|
|
|
|
isLoadOK: false,
|
|
|
|
|
|
isAdd: 0,
|
|
|
|
|
|
CheckDate1: false,
|
|
|
|
|
|
CheckDate2: false,
|
|
|
|
|
|
ORG_ID: uni.getStorageSync('orgId'),
|
|
|
|
|
|
curTotal: 0,
|
|
|
|
|
|
qsCom: {
|
|
|
|
|
|
show: false,
|
|
|
|
|
|
lists: [],
|
|
|
|
|
|
formIndex: undefined,
|
|
|
|
|
|
isMultiple: false,
|
|
|
|
|
|
},
|
|
|
|
|
|
peopleSelectOption: {
|
|
|
|
|
|
showSelector: false,
|
|
|
|
|
|
value: null,
|
|
|
|
|
|
index: 0,
|
|
|
|
|
|
defaultChecked: []
|
|
|
|
|
|
},
|
|
|
|
|
|
dateTimePickerInfo: {
|
|
|
|
|
|
showCheckDate: false,
|
|
|
|
|
|
dataIndex: undefined,
|
|
|
|
|
|
defaultDateTime: uni.$u.timeFormat(new Date(), 'yyyy-mm-dd hh:MM'),
|
|
|
|
|
|
value: '',
|
|
|
|
|
|
name: ''
|
|
|
|
|
|
},
|
|
|
|
|
|
formatter: null,
|
2026-01-08 11:51:19 +08:00
|
|
|
|
enumsData: {}, // 存储所有枚举数据(键:枚举名称,值:处理后的枚举列表)
|
|
|
|
|
|
enumsText: {}, // 存储枚举文本列表(用于下拉选择等场景)
|
2025-10-14 15:17:30 +08:00
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
onLoad(option) {
|
|
|
|
|
|
this.TaskID = option.taskID ? option.taskID : '';
|
|
|
|
|
|
this.model.ID = option.ID ? option.ID : '';
|
|
|
|
|
|
this.tableKey = option.tableKey ? option.tableKey : '0';
|
2026-01-30 14:10:10 +08:00
|
|
|
|
this.fetchEnums(['TrainType', 'PlanCheckType', 'FMDepartmentType','TrainInOut','SETrainNeedSuvey']);
|
2026-01-08 11:51:19 +08:00
|
|
|
|
this.isAdd = option.isAdd
|
|
|
|
|
|
|
2025-10-14 15:17:30 +08:00
|
|
|
|
},
|
|
|
|
|
|
methods: {
|
2026-01-08 11:51:19 +08:00
|
|
|
|
async fetchEnums(enumNames) {
|
|
|
|
|
|
try {
|
|
|
|
|
|
// 存储所有枚举请求的Promise
|
|
|
|
|
|
const enumPromises = enumNames.map(name => {
|
|
|
|
|
|
return getEnum({
|
|
|
|
|
|
name
|
|
|
|
|
|
}).then(res => {
|
|
|
|
|
|
// 统一处理枚举格式:添加name/code字段,便于后续映射
|
|
|
|
|
|
return {
|
|
|
|
|
|
enumName: name,
|
|
|
|
|
|
data: res.map(item => ({
|
|
|
|
|
|
...item,
|
|
|
|
|
|
name: item.NAME, // 统一显示名称字段
|
|
|
|
|
|
code: item.ID // 统一值字段
|
|
|
|
|
|
}))
|
|
|
|
|
|
};
|
|
|
|
|
|
});
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
// 等待所有枚举请求完成
|
|
|
|
|
|
const results = await Promise.all(enumPromises);
|
|
|
|
|
|
// 存储枚举结果到data中(键为枚举名称,值为处理后的数据)
|
|
|
|
|
|
results.forEach(({
|
|
|
|
|
|
enumName,
|
|
|
|
|
|
data
|
|
|
|
|
|
}) => {
|
|
|
|
|
|
this.enumsData[enumName] = data;
|
|
|
|
|
|
// 生成文本列表(如需要)
|
|
|
|
|
|
this.enumsText[enumName] = data.map(item => item.name);
|
|
|
|
|
|
});
|
|
|
|
|
|
// 所有枚举获取完成后,执行loadData
|
|
|
|
|
|
if (this.isAdd != 1) {
|
|
|
|
|
|
this.loadData();
|
|
|
|
|
|
} else {
|
|
|
|
|
|
this.isAdd = 1;
|
|
|
|
|
|
this.model.ID = guid();
|
|
|
|
|
|
this.model.CREATE_NOTIFY_RECORD = true;
|
2026-01-30 14:10:10 +08:00
|
|
|
|
this.model.IN_OUT_SHOW = this.enumsData['TrainInOut'][0].name
|
|
|
|
|
|
this.model.IN_OUT = this.enumsData['TrainInOut'][0].code
|
2026-01-08 11:51:19 +08:00
|
|
|
|
}
|
|
|
|
|
|
} catch (error) {
|
|
|
|
|
|
console.error('枚举请求失败:', error);
|
|
|
|
|
|
uni.showToast({
|
|
|
|
|
|
title: '枚举数据加载失败',
|
|
|
|
|
|
icon: 'none'
|
|
|
|
|
|
});
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
2025-10-14 15:17:30 +08:00
|
|
|
|
changeSwitch(e) {
|
|
|
|
|
|
this.model.CREATE_NOTIFY_RECORD = e;
|
|
|
|
|
|
},
|
|
|
|
|
|
//时间start
|
|
|
|
|
|
//显示时间控件
|
|
|
|
|
|
showCheckDate(p) {
|
|
|
|
|
|
if (p.name === 'TRAIN_START_TIME') {
|
|
|
|
|
|
if (this.model.TRAIN_START_TIME == null) {
|
|
|
|
|
|
this.model.TRAIN_START_TIME = uni.$u.timeFormat(new Date(),
|
|
|
|
|
|
'yyyy-mm-dd hh:MM')
|
|
|
|
|
|
}
|
|
|
|
|
|
this.dateTimePickerInfo = {
|
|
|
|
|
|
showCheckDate: true,
|
|
|
|
|
|
dataIndex: p.dataIndex,
|
|
|
|
|
|
defaultDateTime: this.model.TRAIN_START_TIME,
|
|
|
|
|
|
name: p.name
|
|
|
|
|
|
}
|
|
|
|
|
|
} else if (p.name === 'TRAIN_END_TIME') {
|
|
|
|
|
|
if (this.model.TRAIN_END_TIME == null) {
|
|
|
|
|
|
this.model.TRAIN_END_TIME = uni.$u.timeFormat(new Date(),
|
|
|
|
|
|
'yyyy-mm-dd hh:MM')
|
|
|
|
|
|
}
|
|
|
|
|
|
this.dateTimePickerInfo = {
|
|
|
|
|
|
showCheckDate: true,
|
|
|
|
|
|
dataIndex: p.dataIndex,
|
|
|
|
|
|
defaultDateTime: this.model.TRAIN_END_TIME,
|
|
|
|
|
|
name: p.name
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
handleCheckDate(e) {
|
|
|
|
|
|
const {
|
|
|
|
|
|
name,
|
|
|
|
|
|
dataIndex
|
|
|
|
|
|
} = this.dateTimePickerInfo
|
|
|
|
|
|
if (name === 'TRAIN_START_TIME') {
|
|
|
|
|
|
this.model.TRAIN_START_TIME = uni.$u.timeFormat(e.value,
|
|
|
|
|
|
'yyyy-mm-dd hh:MM')
|
|
|
|
|
|
}
|
|
|
|
|
|
if (name === 'TRAIN_END_TIME') {
|
|
|
|
|
|
this.model.TRAIN_END_TIME = uni.$u.timeFormat(e.value,
|
|
|
|
|
|
'yyyy-mm-dd hh:MM')
|
|
|
|
|
|
}
|
|
|
|
|
|
this.dateTimePickerInfo.showCheckDate = false
|
|
|
|
|
|
},
|
|
|
|
|
|
//时间end
|
|
|
|
|
|
//单选start
|
|
|
|
|
|
handleChange(title, item) {
|
|
|
|
|
|
this.currentOperate = item;
|
|
|
|
|
|
this.currSearchType = title;
|
|
|
|
|
|
this.showPopup = true;
|
|
|
|
|
|
this.handleSearch('init');
|
|
|
|
|
|
},
|
|
|
|
|
|
handleSearch(val) {
|
|
|
|
|
|
const json = initFilter(this.ORG_ID, "", "NAME")
|
|
|
|
|
|
json.Limit = 20
|
|
|
|
|
|
if (val !== 'init') {
|
|
|
|
|
|
const tempGroup = initFilterGroup(false);
|
|
|
|
|
|
extendGroupRule(tempGroup, 'NAME', 9, val)
|
|
|
|
|
|
extendFilterGroup(json, tempGroup);
|
|
|
|
|
|
}
|
|
|
|
|
|
if (this.currSearchType == "Nav_TrainType") {
|
|
|
|
|
|
getRequest(json, "/SE/TrainTypeEnum/OrderPaged").then(res => {
|
|
|
|
|
|
this.Lists = res.map(i => {
|
|
|
|
|
|
return {
|
|
|
|
|
|
...i,
|
|
|
|
|
|
name: i.NAME,
|
|
|
|
|
|
}
|
|
|
|
|
|
})
|
|
|
|
|
|
})
|
|
|
|
|
|
} else if (this.currSearchType == "Nav_TrainCheckType") {
|
2026-01-08 11:51:19 +08:00
|
|
|
|
getRequest(json, "/SE/TrainCheckTypeEnum/OrderPaged").then(res => {
|
2025-10-14 15:17:30 +08:00
|
|
|
|
this.Lists = res.map(i => {
|
|
|
|
|
|
return {
|
|
|
|
|
|
...i,
|
|
|
|
|
|
name: i.NAME,
|
|
|
|
|
|
}
|
|
|
|
|
|
})
|
|
|
|
|
|
})
|
2026-01-12 15:38:51 +08:00
|
|
|
|
} else if (this.currSearchType == "Nav_RecordUser"||this.currSearchType == "Nav_UserTeacher") {
|
2025-10-14 15:17:30 +08:00
|
|
|
|
getRequest(json, "/FM/FMUser/OrderPagedUseful").then(res => {
|
|
|
|
|
|
this.Lists = res.map(i => {
|
|
|
|
|
|
return {
|
|
|
|
|
|
...i,
|
|
|
|
|
|
name: i.NAME,
|
|
|
|
|
|
}
|
|
|
|
|
|
})
|
|
|
|
|
|
})
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
handleSelected(val) {
|
|
|
|
|
|
this.showPopup = false;
|
|
|
|
|
|
this.Lists = [];
|
|
|
|
|
|
if (this.currSearchType == 'Nav_TrainType') {
|
|
|
|
|
|
this.model.Nav_TrainType = val;
|
|
|
|
|
|
this.model.TRAIN_TYPE = val.ID;
|
|
|
|
|
|
} else if (this.currSearchType == 'Nav_TrainCheckType') {
|
|
|
|
|
|
this.model.Nav_TrainCheckType = val;
|
2026-01-08 11:51:19 +08:00
|
|
|
|
this.model.CHECK_TYPE_ID = val.ID;
|
2025-10-14 15:17:30 +08:00
|
|
|
|
} else if (this.currSearchType == 'Nav_RecordUser') {
|
|
|
|
|
|
this.model.Nav_RecordUser = val;
|
|
|
|
|
|
this.model.RECORD_USER_ID = val.ID;
|
2026-01-12 15:38:51 +08:00
|
|
|
|
} else if (this.currSearchType == 'Nav_UserTeacher') {
|
|
|
|
|
|
this.model.Nav_UserTeacher = val;
|
|
|
|
|
|
this.model.USER_ID_TEACHER = val.ID;
|
|
|
|
|
|
this.model.TRAIN_TEACHER = val.NAME
|
2025-10-14 15:17:30 +08:00
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
handleClosePopup() {
|
|
|
|
|
|
this.showPopup = false
|
|
|
|
|
|
},
|
|
|
|
|
|
//单选end
|
|
|
|
|
|
//多选start
|
|
|
|
|
|
async handleQuerySelect(opt) {
|
|
|
|
|
|
let column = await this.handleGet(opt, 'init')
|
|
|
|
|
|
if (column && column.length) {
|
|
|
|
|
|
this.qsCom = {
|
|
|
|
|
|
show: true,
|
|
|
|
|
|
name: opt.NAME,
|
|
|
|
|
|
formIndex: opt.formIndex,
|
|
|
|
|
|
isMultiple: opt.isMultiple,
|
|
|
|
|
|
lists: column
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
async onSearchQS(val, pi) {
|
|
|
|
|
|
const result = await this.handleGet(this.qsCom, val, pi)
|
|
|
|
|
|
this.qsCom.lists = result.map(i => {
|
|
|
|
|
|
return {
|
|
|
|
|
|
...i,
|
|
|
|
|
|
name: i.NAME,
|
|
|
|
|
|
NAME: i.NAME,
|
|
|
|
|
|
id: i.ID
|
|
|
|
|
|
}
|
|
|
|
|
|
})
|
|
|
|
|
|
},
|
|
|
|
|
|
async handleGet(opt, value, pageIndex) {
|
|
|
|
|
|
const json = initFilter(this.ORG_ID, '', "", 0, pageIndex || 1)
|
|
|
|
|
|
if (value !== 'init') {
|
|
|
|
|
|
const tempGroup = initFilterGroup(false);
|
|
|
|
|
|
extendGroupRule(tempGroup, 'NAME', 9, value)
|
|
|
|
|
|
extendFilterGroup(json, tempGroup);
|
|
|
|
|
|
}
|
|
|
|
|
|
json.Limit = 20
|
|
|
|
|
|
if (pageIndex) {
|
|
|
|
|
|
json.Start = (pageIndex - 1) * 20;
|
|
|
|
|
|
}
|
|
|
|
|
|
let result = []
|
|
|
|
|
|
const raw = await getRequest(json, "/SE/TestEnumPoint/OrderPaged").then(res => {
|
|
|
|
|
|
this.curTotal = res.TotalCount
|
|
|
|
|
|
return res
|
|
|
|
|
|
})
|
|
|
|
|
|
result = raw.map(item => {
|
|
|
|
|
|
return {
|
|
|
|
|
|
...item,
|
|
|
|
|
|
name: item?.NAME,
|
|
|
|
|
|
POINT_ID: item?.ID
|
|
|
|
|
|
}
|
|
|
|
|
|
})
|
|
|
|
|
|
return result
|
|
|
|
|
|
},
|
|
|
|
|
|
onSelectedQS(val) {
|
|
|
|
|
|
const {
|
|
|
|
|
|
formIndex,
|
|
|
|
|
|
} = this.qsCom
|
|
|
|
|
|
this.model.Nav_TrainContentList = [];
|
|
|
|
|
|
val.forEach(item => {
|
|
|
|
|
|
let obj = {
|
|
|
|
|
|
POINT_ID: item.ID,
|
|
|
|
|
|
Nav_Point: {
|
|
|
|
|
|
NAME: item.NAME
|
|
|
|
|
|
},
|
|
|
|
|
|
ID: guid(),
|
|
|
|
|
|
NOTIFY_ID: this.model.ID,
|
|
|
|
|
|
ORG_ID: this.ORG_ID,
|
|
|
|
|
|
}
|
|
|
|
|
|
this.model.Nav_TrainContentList.push(obj);
|
|
|
|
|
|
})
|
|
|
|
|
|
this.qsCom.show = false
|
|
|
|
|
|
},
|
|
|
|
|
|
onCloseQS() {
|
|
|
|
|
|
this.qsCom = {
|
|
|
|
|
|
show: false,
|
|
|
|
|
|
lists: [],
|
|
|
|
|
|
formIndex: undefined,
|
|
|
|
|
|
isMultiple: false,
|
|
|
|
|
|
dataIndex: undefined
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
//多选end
|
|
|
|
|
|
//人员多选start
|
|
|
|
|
|
handleShowUserSelector() {
|
|
|
|
|
|
this.peopleSelectOption = {
|
|
|
|
|
|
showSelector: true,
|
|
|
|
|
|
value: this.model,
|
|
|
|
|
|
defaultChecked: this.model.Nav_TrainUserList.map(i => {
|
|
|
|
|
|
return {
|
|
|
|
|
|
...i,
|
|
|
|
|
|
NAME: i.Nav_User.NAME,
|
|
|
|
|
|
USER_ID: i.Nav_User.ID,
|
|
|
|
|
|
}
|
|
|
|
|
|
})
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
handleSelectorPeople(e) {
|
|
|
|
|
|
this.model.Nav_TrainUserList = e.map(i => {
|
|
|
|
|
|
return {
|
|
|
|
|
|
USER_ID: i.USER_ID,
|
|
|
|
|
|
ID: i.ID || guid(),
|
|
|
|
|
|
NOTIFY_ID: this.model.ID,
|
|
|
|
|
|
ORG_ID: this.ORG_ID,
|
|
|
|
|
|
IS_DELETED: i.IS_DELETED,
|
|
|
|
|
|
NAME: i.NAME,
|
|
|
|
|
|
Nav_User: {
|
|
|
|
|
|
NAME: i.NAME,
|
|
|
|
|
|
ID: i.USER_ID
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
})
|
|
|
|
|
|
},
|
|
|
|
|
|
//人员多选end
|
|
|
|
|
|
loadData() {
|
|
|
|
|
|
const json = initFilter(this.ORG_ID, "", "")
|
|
|
|
|
|
if (this.listPropValUpload.length == 0) {
|
|
|
|
|
|
this.listPropValUpload.push(this.model.ID)
|
|
|
|
|
|
}
|
|
|
|
|
|
extendInclude(json, "Nav_TrainContentList.Nav_Point")
|
|
|
|
|
|
extendInclude(json, "Nav_LaunchDepartment")
|
|
|
|
|
|
extendInclude(json, "Nav_TrainType")
|
2026-01-12 15:03:09 +08:00
|
|
|
|
extendInclude(json, "Nav_UserTeacher")
|
2025-10-14 15:17:30 +08:00
|
|
|
|
extendInclude(json, "Nav_RecordUser")
|
|
|
|
|
|
extendInclude(json, "Nav_TrainContentList")
|
2026-01-12 15:03:09 +08:00
|
|
|
|
extendInclude(json, "Nav_TrainUserList.Nav_User")
|
|
|
|
|
|
extendInclude(json, "Nav_TrainUserList")
|
2025-10-14 15:17:30 +08:00
|
|
|
|
extendInclude(json, "Nav_Files.Nav_ImgFile")
|
|
|
|
|
|
// TODO: id 未获取
|
|
|
|
|
|
extendRule(json, 'ID', 1, this.model.ID)
|
|
|
|
|
|
getRequest(json, "/SE/TrainNotify/Get").then(res => {
|
|
|
|
|
|
this.model = res
|
2026-01-26 17:24:55 +08:00
|
|
|
|
this.model.LEVEL_SHOW = res.LEVEL !== undefined ? this.enumsData['FMDepartmentType'].find(item => item.code === res.LEVEL)?.name : '';
|
|
|
|
|
|
this.model.TRAINTYPE_SHOW = res.TRAINTYPE !== undefined ? this.enumsData['TrainType'].find(item => item.code === res.TRAINTYPE)?.name : '';
|
|
|
|
|
|
this.model.CHECKTYPE_SHOW = res.CHECKTYPE !== undefined ? this.enumsData['PlanCheckType'].find(item => item.code === res.CHECKTYPE)?.name : '';
|
2026-01-30 14:10:10 +08:00
|
|
|
|
this.model.IN_OUT_SHOW = res.IN_OUT !== undefined ? this.enumsData['TrainInOut'].find(item => item.code === res.IN_OUT)?.name : '';
|
|
|
|
|
|
this.model.NEED_EVALUATION_SHOW = res.NEED_EVALUATION !== undefined ? this.enumsData['SETrainNeedSuvey'].find(item => item.code === res.NEED_EVALUATION)?.name : '';
|
2025-10-14 15:17:30 +08:00
|
|
|
|
})
|
|
|
|
|
|
},
|
|
|
|
|
|
closePicker() {
|
|
|
|
|
|
this.comPickerInfo = {
|
|
|
|
|
|
showSheet: false,
|
|
|
|
|
|
columns: [],
|
|
|
|
|
|
title: '',
|
|
|
|
|
|
name: '',
|
|
|
|
|
|
dataIndex: undefined,
|
|
|
|
|
|
formIndex: undefined
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
async handleShowSheet(p, index) {
|
|
|
|
|
|
let column = []
|
|
|
|
|
|
this.levelIndex = index;
|
2026-01-30 14:10:10 +08:00
|
|
|
|
column = this.enumsData[p.name]
|
2025-10-14 15:17:30 +08:00
|
|
|
|
if (column.length) {
|
|
|
|
|
|
this.comPickerInfo = {
|
|
|
|
|
|
showSheet: true,
|
|
|
|
|
|
title: p.title,
|
|
|
|
|
|
name: p.name,
|
|
|
|
|
|
formIndex: p.formIndex,
|
|
|
|
|
|
columns: [column]
|
|
|
|
|
|
}
|
|
|
|
|
|
} else {
|
|
|
|
|
|
// 暂无数据
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
onConfirmPicker(e) {
|
|
|
|
|
|
const {
|
|
|
|
|
|
name,
|
|
|
|
|
|
formIndex
|
|
|
|
|
|
} = this.comPickerInfo
|
2026-01-12 15:03:09 +08:00
|
|
|
|
if (name == 'TrainType') {
|
2026-01-08 11:51:19 +08:00
|
|
|
|
this.model.TRAINTYPE_SHOW = e.value[0].name
|
|
|
|
|
|
this.model.TRAINTYPE = this.enumsData['TrainType'][e.indexs[0]].code
|
2026-01-12 15:03:09 +08:00
|
|
|
|
} else if (name == 'PlanCheckType') {
|
2026-01-08 11:51:19 +08:00
|
|
|
|
this.model.CHECKTYPE_SHOW = e.value[0].name
|
|
|
|
|
|
this.model.CHECKTYPE = this.enumsData['PlanCheckType'][e.indexs[0]].code
|
2026-01-12 15:03:09 +08:00
|
|
|
|
} else if (name == 'FMDepartmentType') {
|
|
|
|
|
|
this.model.LEVEL_SHOW = e.value[0].name
|
|
|
|
|
|
this.model.LEVEL = this.enumsData['FMDepartmentType'][e.indexs[0]].code
|
2026-01-30 14:10:10 +08:00
|
|
|
|
} else if (name == 'SETrainNeedSuvey') {
|
|
|
|
|
|
this.model.NEED_EVALUATION_SHOW = e.value[0].name
|
|
|
|
|
|
this.model.NEED_EVALUATION = this.enumsData['SETrainNeedSuvey'][e.indexs[0]].code
|
|
|
|
|
|
} else if (name == 'TrainInOut') {
|
|
|
|
|
|
this.model.IN_OUT_SHOW = e.value[0].name
|
|
|
|
|
|
this.model.IN_OUT = this.enumsData['TrainInOut'][e.indexs[0]].code
|
|
|
|
|
|
}
|
2026-01-12 15:03:09 +08:00
|
|
|
|
|
2026-01-08 11:51:19 +08:00
|
|
|
|
|
|
|
|
|
|
|
2025-10-14 15:17:30 +08:00
|
|
|
|
this.comPickerInfo.showSheet = false
|
|
|
|
|
|
},
|
|
|
|
|
|
transLevel(level) {
|
|
|
|
|
|
if (level == 0) {
|
|
|
|
|
|
return '部门 ';
|
|
|
|
|
|
}
|
|
|
|
|
|
if (level == 1) {
|
|
|
|
|
|
return '车间 ';
|
|
|
|
|
|
}
|
|
|
|
|
|
if (level == 2) {
|
|
|
|
|
|
return '班组 ';
|
|
|
|
|
|
}
|
|
|
|
|
|
if (level == 3) {
|
|
|
|
|
|
return '公司 ';
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
submit() {
|
|
|
|
|
|
const ele = this.$refs
|
|
|
|
|
|
ele['wForm'].validate().then(res => {
|
|
|
|
|
|
|
|
|
|
|
|
this.modelEdit = JSON.parse(JSON.stringify(this.model))
|
|
|
|
|
|
|
|
|
|
|
|
this.modelEdit.PUBLISH = "SaveAndNotify";
|
|
|
|
|
|
if (this.TaskID != "") {
|
|
|
|
|
|
this.modelEdit.TaskID = this.TaskID;
|
|
|
|
|
|
}
|
|
|
|
|
|
if (this.modelEdit.ORG_ID == "") {
|
|
|
|
|
|
this.modelEdit.ORG_ID = this.ORG_ID;
|
|
|
|
|
|
}
|
|
|
|
|
|
this.modelEdit.Nav_TrainUserList.forEach(item => {
|
|
|
|
|
|
item.Nav_User = null;
|
|
|
|
|
|
});
|
|
|
|
|
|
this.modelEdit.TRAIN_START_TIME = uni.$u.timeFormat(this.modelEdit.TRAIN_START_TIME,
|
|
|
|
|
|
'yyyy-mm-dd hh:MM:ss');
|
|
|
|
|
|
this.modelEdit.TRAIN_END_TIME = uni.$u.timeFormat(this.modelEdit.TRAIN_END_TIME,
|
|
|
|
|
|
'yyyy-mm-dd hh:MM:ss');
|
2026-01-12 15:38:51 +08:00
|
|
|
|
this.modelEdit.Nav_UserTeacher = null;
|
2025-10-14 15:17:30 +08:00
|
|
|
|
this.modelEdit.Nav_TrainType = null;
|
|
|
|
|
|
this.modelEdit.Nav_TrainCheckType = null;
|
|
|
|
|
|
this.modelEdit.Nav_RecordUser = null;
|
|
|
|
|
|
this.modelEdit.Nav_Files.forEach(item => {
|
|
|
|
|
|
if (item.NOTIFY_ID == undefined) {
|
|
|
|
|
|
item.NOTIFY_ID = this.modelEdit.ID;
|
|
|
|
|
|
}
|
|
|
|
|
|
if (item.ORG_ID == undefined) {
|
|
|
|
|
|
item.ORG_ID = this.modelEdit.ORG_ID;
|
|
|
|
|
|
}
|
|
|
|
|
|
});
|
|
|
|
|
|
getRequest(this.modelEdit, "/SE/SETrainNotify/FullUpdate").then(res => {
|
|
|
|
|
|
if (res) {
|
|
|
|
|
|
uni.$showMsgFunc('操作成功!', () => {
|
|
|
|
|
|
uni.navigateBack()
|
|
|
|
|
|
}, 'success', 1000)
|
|
|
|
|
|
}
|
|
|
|
|
|
})
|
|
|
|
|
|
}).catch(err => {
|
|
|
|
|
|
uni.$showErrorInfo(err[0].message)
|
|
|
|
|
|
})
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
|
|
/* @import url("../../../../style/css/editTemplate.css"); */
|
|
|
|
|
|
|
|
|
|
|
|
.todo-page {
|
|
|
|
|
|
/* padding: 16px 16px 70px; */
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.background {
|
|
|
|
|
|
position: fixed;
|
|
|
|
|
|
top: 0;
|
|
|
|
|
|
left: 0;
|
|
|
|
|
|
right: 0;
|
|
|
|
|
|
bottom: 0;
|
|
|
|
|
|
background: #edf1fd;
|
|
|
|
|
|
z-index: -1;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.card {
|
|
|
|
|
|
margin: 20px 16px 140px 16px;
|
|
|
|
|
|
/* border: 1px solid #EBEEF5; */
|
|
|
|
|
|
padding: 20px 30px 80px 30px;
|
|
|
|
|
|
/* box-shadow: rgba(0, 0, 0, 0.08) 0px 0px 3px 1px; */
|
|
|
|
|
|
background-color: #ffffff;
|
|
|
|
|
|
border-radius: 10px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.upload-title {
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
color: #8e8b9c;
|
|
|
|
|
|
line-height: 22px;
|
|
|
|
|
|
padding: 8px 0px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.demo-ruleForm>>>.u-form-item__body__left__content__label {
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
color: #8e8b9c;
|
|
|
|
|
|
/* justify-content: flex-start; */
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.demo-ruleForm>>>.u-form-item__body__left__content__ {
|
|
|
|
|
|
left: -11px;
|
|
|
|
|
|
top: 0px
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.demo-ruleForm>>>.u-textarea__field {
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.demo-ruleForm>>>.u-cell__title-text {
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.bottom-button {
|
|
|
|
|
|
position: fixed;
|
|
|
|
|
|
bottom: 0;
|
|
|
|
|
|
left: 0;
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
padding: 10px 16px;
|
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
background: #edf1fd;
|
|
|
|
|
|
z-index: 999;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*定制表单右边*/
|
|
|
|
|
|
.custom-form-item>>>.item__body__right__content__icon {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.custom-form-item-right {
|
|
|
|
|
|
padding-left: 15px;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.custom-form-item-right .item {
|
|
|
|
|
|
/*white-space: nowrap;*/
|
|
|
|
|
|
/*overflow: hidden;*/
|
|
|
|
|
|
/* justify-content: flex-end !important; */
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.custom-form-item-right .multi {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
flex: 1;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.custom-form-item-right .icon {
|
|
|
|
|
|
width: 16px;
|
|
|
|
|
|
margin-left: 10px;
|
|
|
|
|
|
}
|
|
|
|
|
|
</style>
|