所有页面新增手机号规则校验
parent
1aabe41ecb
commit
4aa9cae0de
|
@ -20,7 +20,7 @@
|
|||
placeholder="选择月"/>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button class="filter-item" type="primary" icon="el-icon-tickets" @click="tempdown">模版下载~~~~</el-button>
|
||||
<el-button class="filter-item" type="primary" icon="el-icon-tickets" @click="tempdown">模版下载</el-button>
|
||||
<el-button class="filter-item" type="primary" icon="el-icon-top" @click="tolead">导入</el-button>
|
||||
<el-button v-if="false" class="filter-item" type="primary" icon="el-icon-refresh" @click="clearmonth">清空本月</el-button>
|
||||
</el-form-item>
|
||||
|
@ -559,8 +559,14 @@ export default {
|
|||
'/workingSchedule/upload',
|
||||
formData
|
||||
).then((data) => {
|
||||
fun()
|
||||
console.log(data)
|
||||
if (data.code === 200) {
|
||||
this.$message.success('导入成功')
|
||||
} else {
|
||||
this.$message.error(data.msg)
|
||||
}
|
||||
}).catch((e) => {
|
||||
this.$message.error(e)
|
||||
})
|
||||
},
|
||||
//* ****************Excel功能********************
|
||||
|
|
|
@ -2,12 +2,10 @@
|
|||
<div class="app-container">
|
||||
|
||||
<div class="filter-container" style=" display: flex;justify-content: space-between;">
|
||||
<div>
|
||||
<el-tag>通讯录成员</el-tag>
|
||||
|
||||
<div class="level-title">
|
||||
<h1>救援队伍详情</h1>
|
||||
</div>
|
||||
|
||||
<div >
|
||||
<div>
|
||||
<el-button type="primary" @click="goBack">返回通讯组</el-button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -18,7 +16,6 @@
|
|||
<el-input v-model="addressName" placeholder="搜索姓名"/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
||||
<el-col :span="6">
|
||||
<el-form-item label="性别">
|
||||
<el-radio v-model="addressSex" label="0">男</el-radio>
|
||||
|
@ -124,7 +121,12 @@ export default {
|
|||
},
|
||||
rules: {
|
||||
OFFICE_PHONE: [
|
||||
{ required: true, message: '办公电话不能为空', trigger: 'blur' }
|
||||
{ required: true, message: '办公电话不能为空', trigger: 'blur' },
|
||||
{ min: 11, max: 11, message: '请输入11位手机号码', trigger: 'blur' },
|
||||
{
|
||||
pattern: /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/,
|
||||
message: '请输入正确的手机号码'
|
||||
}
|
||||
],
|
||||
MOVE_PHONE: [
|
||||
{ required: true, message: '移动电话不能为空', trigger: 'blur' },
|
||||
|
|
|
@ -277,7 +277,12 @@ export default {
|
|||
{ required: true, message: '纬度不能为空', trigger: 'blur' }
|
||||
],
|
||||
DUTY_PHONE: [
|
||||
{ required: true, message: '值班电话不能为空', trigger: 'blur' }
|
||||
{ required: true, message: '值班电话不能为空', trigger: 'blur' },
|
||||
{ min: 11, max: 11, message: '请输入11位手机号码', trigger: 'blur' },
|
||||
{
|
||||
pattern: /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/,
|
||||
message: '请输入正确的手机号码'
|
||||
}
|
||||
]
|
||||
},
|
||||
form: {
|
||||
|
|
|
@ -208,7 +208,14 @@ export default {
|
|||
ADMINISTRATIVE_POSITION: [{ required: true, message: '请输入行政职务', trigger: 'blur' }],
|
||||
ADMINISTRATIVE_LEVEL: [{ required: true, message: '请输入行政级别', trigger: 'blur' }],
|
||||
IDENTITY_NUMBER: [{ required: true, message: '请输入身份证号', trigger: 'blur' }],
|
||||
CONTACT_PHONE: [{ required: true, message: '请输入联系电话', trigger: 'blur' }],
|
||||
CONTACT_PHONE: [
|
||||
{ required: true, message: '请输入联系电话', trigger: 'blur' },
|
||||
{ min: 11, max: 11, message: '请输入11位手机号码', trigger: 'blur' },
|
||||
{
|
||||
pattern: /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/,
|
||||
message: '请输入正确的手机号码'
|
||||
}
|
||||
],
|
||||
SORT_ORDER: [{ required: true, message: '请输入排序', trigger: 'blur' }],
|
||||
ISDELETE: [{ required: true, message: '请输入是否删除', trigger: 'blur' }]
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<div class="filter-container">
|
||||
<el-form inline>
|
||||
<el-form-item label="医疗机构名称:">
|
||||
<el-input v-model="KEYWORDS" placeholder="搜索" class="filter-item" style="width: 200px;margin-right: 10px;" />
|
||||
<el-input v-model="KEYWORDS" placeholder="搜索" class="filter-item" style="width: 200px;margin-right: 10px;"/>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button class="filter-item" type="primary" icon="el-icon-search" @click="getQuery">搜索</el-button>
|
||||
|
@ -12,22 +12,37 @@
|
|||
</el-form>
|
||||
|
||||
</div>
|
||||
<el-table ref="multipleTable" :data="varList" :header-cell-style="{'font-weight': 'bold','color': '#000'}" tooltip-effect="dark" border fit highlight-current-row>
|
||||
<el-table-column type="selection" width="55" align="center" />
|
||||
<el-table-column type="index" label="序号" width="50" align="center" />
|
||||
<el-table-column prop="INSTITUTION_NAME" label="医疗机构名称" width="180" />
|
||||
<el-table-column prop="INSTITUTION_TYPE" label="医疗机构类型" show-overflow-tooltip="true" />
|
||||
<el-table-column prop="INSTITUTION_LEVEL" label="医疗机构级别" show-overflow-tooltip="true" />
|
||||
<el-table-column prop="ADDRESS" label="地址" show-overflow-tooltip="true" />
|
||||
<el-table-column prop="CONTACT_PERSON" label="联系人" show-overflow-tooltip="true" />
|
||||
<el-table-column prop="CONTACT_OFFICE_PHONE" label="联系人固定电话" show-overflow-tooltip="true" />
|
||||
<el-table-column prop="CONTACT_MOBILE_PHONE" label="联系人移动电话" show-overflow-tooltip="true" />
|
||||
<el-table-column prop="UPDATE_TIME_STRING" label="修改时间" show-overflow-tooltip="true" />
|
||||
<el-table
|
||||
ref="multipleTable"
|
||||
:data="varList"
|
||||
:header-cell-style="{'font-weight': 'bold','color': '#000'}"
|
||||
tooltip-effect="dark"
|
||||
border
|
||||
fit
|
||||
highlight-current-row>
|
||||
<el-table-column type="selection" width="55" align="center"/>
|
||||
<el-table-column type="index" label="序号" width="50" align="center"/>
|
||||
<el-table-column prop="INSTITUTION_NAME" label="医疗机构名称" width="180"/>
|
||||
<el-table-column prop="INSTITUTION_TYPE" label="医疗机构类型" show-overflow-tooltip="true"/>
|
||||
<el-table-column prop="INSTITUTION_LEVEL" label="医疗机构级别" show-overflow-tooltip="true"/>
|
||||
<el-table-column prop="ADDRESS" label="地址" show-overflow-tooltip="true"/>
|
||||
<el-table-column prop="CONTACT_PERSON" label="联系人" show-overflow-tooltip="true"/>
|
||||
<el-table-column prop="CONTACT_OFFICE_PHONE" label="联系人固定电话" show-overflow-tooltip="true"/>
|
||||
<el-table-column prop="CONTACT_MOBILE_PHONE" label="联系人移动电话" show-overflow-tooltip="true"/>
|
||||
<el-table-column prop="UPDATE_TIME_STRING" label="修改时间" show-overflow-tooltip="true"/>
|
||||
<el-table-column label="操作" align="center" width="200">
|
||||
<template slot-scope="{row}">
|
||||
<el-button type="text" icon="el-icon-document" size="mini" @click="goList('detail', row.MEDICAL_ID, '1')">查看</el-button>
|
||||
<el-button type="text" icon="el-icon-document" size="mini" @click="goList('detail', row.MEDICAL_ID, '1')">
|
||||
查看
|
||||
</el-button>
|
||||
<el-button type="text" icon="el-icon-edit" size="mini" @click="handleEdit(row.MEDICAL_ID)">编辑</el-button>
|
||||
<el-button type="text" style="color: red" icon="el-icon-delete" size="mini" @click="handleDelete(row.MEDICAL_ID,row.INSTITUTION_NAME)">删除</el-button>
|
||||
<el-button
|
||||
type="text"
|
||||
style="color: red"
|
||||
icon="el-icon-delete"
|
||||
size="mini"
|
||||
@click="handleDelete(row.MEDICAL_ID,row.INSTITUTION_NAME)">删除
|
||||
</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
@ -38,12 +53,12 @@
|
|||
<el-button type="danger" icon="el-icon-delete" plain @click="makeAll('0')">删除</el-button>
|
||||
</template>
|
||||
</div>
|
||||
<pagination :total="total" :page.sync="listQuery.page" :limit.sync="listQuery.limit" @pagination="getList" />
|
||||
<pagination :total="total" :page.sync="listQuery.page" :limit.sync="listQuery.limit" @pagination="getList"/>
|
||||
</div>
|
||||
<el-dialog :visible.sync="dialogFormEdit" :title="dialogType==='editUser'?'修改':'新增'" width="1000px">
|
||||
<el-form ref="form" :rules="rules" :model="form" label-width="150px" style="margin-right: 10px">
|
||||
<el-form-item label="医疗机构名称" prop="INSTITUTION_NAME">
|
||||
<el-input v-model="form.INSTITUTION_NAME" placeholder="请输入医疗机构名称..." />
|
||||
<el-input v-model="form.INSTITUTION_NAME" placeholder="请输入医疗机构名称..."/>
|
||||
</el-form-item>
|
||||
<el-row :gutter="20">
|
||||
<el-col :span="12">
|
||||
|
@ -60,20 +75,20 @@
|
|||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="医疗机构级别" prop="INSTITUTION_LEVEL">
|
||||
<el-input v-model="form.INSTITUTION_LEVEL" placeholder="请输入医疗机构级别..." />
|
||||
<el-input v-model="form.INSTITUTION_LEVEL" placeholder="请输入医疗机构级别..."/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
<el-form-item label="地址" prop="ADDRESS">
|
||||
<el-input v-model="form.ADDRESS" placeholder="请输入地址..." />
|
||||
<el-input v-model="form.ADDRESS" placeholder="请输入地址..."/>
|
||||
</el-form-item>
|
||||
|
||||
<el-row :gutter="20">
|
||||
|
||||
<el-col :span="12">
|
||||
<el-form-item label="邮编" prop="POSTAL_CODE">
|
||||
<el-input v-model="form.POSTAL_CODE" placeholder="请输入邮编..." />
|
||||
<el-input v-model="form.POSTAL_CODE" placeholder="请输入邮编..."/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col v-if="false" :span="12">
|
||||
|
@ -94,12 +109,12 @@
|
|||
|
||||
<el-col :span="12">
|
||||
<el-form-item label="传真" prop="FAX">
|
||||
<el-input v-model="form.FAX" placeholder="请输入传真..." />
|
||||
<el-input v-model="form.FAX" placeholder="请输入传真..."/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="值班电话" prop="DUTY_PHONE">
|
||||
<el-input v-model="form.DUTY_PHONE" placeholder="请输入值班电话..." />
|
||||
<el-input v-model="form.DUTY_PHONE" placeholder="请输入值班电话..."/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
@ -119,16 +134,21 @@
|
|||
<el-row :gutter="20">
|
||||
<el-col :span="12">
|
||||
<el-form-item :key="form.LONGITUDE" label="经度" prop="LONGITUDE">
|
||||
<el-input v-model="form.LONGITUDE" placeholder="请输入内容" disabled @focus="handleMap" />
|
||||
<el-input v-model="form.LONGITUDE" placeholder="请输入内容" disabled @focus="handleMap"/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item :key="form.LATITUDE" label="纬度" prop="LATITUDE">
|
||||
<div style="display: flex">
|
||||
<el-input v-model="form.LATITUDE" placeholder="请输入内容" disabled style="width: 100%" @focus="handleMap"/>
|
||||
<el-input
|
||||
v-model="form.LATITUDE"
|
||||
placeholder="请输入内容"
|
||||
disabled
|
||||
style="width: 100%"
|
||||
@focus="handleMap"/>
|
||||
<el-button style="margin-left:10px" @click="handleMap">
|
||||
<span class="svg-container">
|
||||
<svg-icon icon-class="international" />
|
||||
<svg-icon icon-class="international"/>
|
||||
</span>
|
||||
</el-button>
|
||||
</div>
|
||||
|
@ -138,84 +158,84 @@
|
|||
<el-row :gutter="20">
|
||||
<el-col :span="12">
|
||||
<el-form-item label="病床数" prop="BED_COUNT">
|
||||
<el-input v-model="form.BED_COUNT" placeholder="请输入病床数..." />
|
||||
<el-input v-model="form.BED_COUNT" placeholder="请输入病床数..."/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="医生数" prop="DOCTOR_COUNT">
|
||||
<el-input v-model="form.DOCTOR_COUNT" placeholder="请输入医生数..." />
|
||||
<el-input v-model="form.DOCTOR_COUNT" placeholder="请输入医生数..."/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row :gutter="20">
|
||||
<el-col :span="12">
|
||||
<el-form-item label="护士数" prop="NURSE_COUNT">
|
||||
<el-input v-model="form.NURSE_COUNT" placeholder="请输入护士数..." />
|
||||
<el-input v-model="form.NURSE_COUNT" placeholder="请输入护士数..."/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="急救车辆数" prop="AMBULANCE_COUNT">
|
||||
<el-input v-model="form.AMBULANCE_COUNT" placeholder="请输入急救车辆数..." />
|
||||
<el-input v-model="form.AMBULANCE_COUNT" placeholder="请输入急救车辆数..."/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row :gutter="20">
|
||||
<el-col :span="12">
|
||||
<el-form-item label="应急通讯方式" prop="EMERGENCY_COMMUNICATION">
|
||||
<el-input v-model="form.EMERGENCY_COMMUNICATION" placeholder="请输入应急通讯方式..." />
|
||||
<el-input v-model="form.EMERGENCY_COMMUNICATION" placeholder="请输入应急通讯方式..."/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="负责人" prop="PERSON_IN_CHARGE">
|
||||
<el-input v-model="form.PERSON_IN_CHARGE" placeholder="请输入负责人..." />
|
||||
<el-input v-model="form.PERSON_IN_CHARGE" placeholder="请输入负责人..."/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row :gutter="20">
|
||||
<el-col :span="12">
|
||||
<el-form-item label="负责人办公电话" prop="PIC_OFFICE_PHONE">
|
||||
<el-input v-model="form.PIC_OFFICE_PHONE" placeholder="请输入负责人办公电话..." />
|
||||
<el-input v-model="form.PIC_OFFICE_PHONE" placeholder="请输入负责人办公电话..."/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="负责人移动电话" prop="PIC_MOBILE_PHONE">
|
||||
<el-input v-model="form.PIC_MOBILE_PHONE" placeholder="请输入负责人移动电话..." />
|
||||
<el-input v-model="form.PIC_MOBILE_PHONE" placeholder="请输入负责人移动电话..."/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row :gutter="20">
|
||||
<el-col :span="12">
|
||||
<el-form-item label="负责人住宅电话" prop="PIC_HOME_PHONE">
|
||||
<el-input v-model="form.PIC_HOME_PHONE" placeholder="请输入负责人住宅电话..." />
|
||||
<el-input v-model="form.PIC_HOME_PHONE" placeholder="请输入负责人住宅电话..."/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="联系人" prop="CONTACT_PERSON">
|
||||
<el-input v-model="form.CONTACT_PERSON" placeholder="请输入联系人..." />
|
||||
<el-input v-model="form.CONTACT_PERSON" placeholder="请输入联系人..."/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row :gutter="20">
|
||||
<el-col :span="12">
|
||||
<el-form-item label="联系人办公电话" prop="CONTACT_OFFICE_PHONE">
|
||||
<el-input v-model="form.CONTACT_OFFICE_PHONE" placeholder="请输入联系人办公电话..." />
|
||||
<el-input v-model="form.CONTACT_OFFICE_PHONE" placeholder="请输入联系人办公电话..."/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="联系人移动电话" prop="CONTACT_MOBILE_PHONE">
|
||||
<el-input v-model="form.CONTACT_MOBILE_PHONE" placeholder="请输入联系人移动电话..." />
|
||||
<el-input v-model="form.CONTACT_MOBILE_PHONE" placeholder="请输入联系人移动电话..."/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row :gutter="20">
|
||||
<el-col :span="12">
|
||||
<el-form-item label="联系人住宅电话" prop="CONTACT_HOME_PHONE">
|
||||
<el-input v-model="form.CONTACT_HOME_PHONE" placeholder="请输入联系人住宅电话..." />
|
||||
<el-input v-model="form.CONTACT_HOME_PHONE" placeholder="请输入联系人住宅电话..."/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="联系人电子邮箱" prop="CONTACT_EMAIL">
|
||||
<el-input v-model="form.CONTACT_EMAIL" placeholder="请输入联系人电子邮箱..." />
|
||||
<el-input v-model="form.CONTACT_EMAIL" placeholder="请输入联系人电子邮箱..."/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
@ -229,20 +249,20 @@
|
|||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="主管单位地址" prop="AGENCY_ADDRESS">
|
||||
<el-input v-model="form.AGENCY_ADDRESS" placeholder="请输入主管单位地址..." />
|
||||
<el-input v-model="form.AGENCY_ADDRESS" placeholder="请输入主管单位地址..."/>
|
||||
</el-form-item>
|
||||
<el-form-item label="特色" prop="FEATURES">
|
||||
<el-input v-model="form.FEATURES" type="textarea" placeholder="请输入特色..." />
|
||||
<el-input v-model="form.FEATURES" type="textarea" placeholder="请输入特色..."/>
|
||||
</el-form-item>
|
||||
<el-form-item label="主要医疗设备" prop="MAIN_MEDICAL_EQUIPMENT">
|
||||
<el-input v-model="form.MAIN_MEDICAL_EQUIPMENT" placeholder="请输入主要医疗设备..." />
|
||||
<el-input v-model="form.MAIN_MEDICAL_EQUIPMENT" placeholder="请输入主要医疗设备..."/>
|
||||
</el-form-item>
|
||||
<el-form-item label="抗震设防列数" prop="SEALISMIC_RESISTANCE_LEVEL">
|
||||
<el-input v-model="form.SEALISMIC_RESISTANCE_LEVEL" placeholder="请输入抗震设防列数..." />
|
||||
<el-input v-model="form.SEALISMIC_RESISTANCE_LEVEL" placeholder="请输入抗震设防列数..."/>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="备注" prop="REMARKS">
|
||||
<el-input v-model="form.REMARKS" type="textarea" placeholder="请输入备注..." />
|
||||
<el-input v-model="form.REMARKS" type="textarea" placeholder="请输入备注..."/>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
|
@ -260,13 +280,19 @@
|
|||
:style="{height: clientHeight+'px'}"
|
||||
@click="getClickInfo"
|
||||
@ready="handler">
|
||||
<bm-view style="width: 100%; height:100%; flex: 1" />
|
||||
<bm-view style="width: 100%; height:100%; flex: 1"/>
|
||||
<bm-control ref="control" :offset="{width: 10, height: 10}" anchor="BMAP_ANCHOR_TOP_LEFT">
|
||||
<div class="map-flex">
|
||||
|
||||
<div class="map-lable">关键词:</div>
|
||||
<div style="flex:1;">
|
||||
<el-autocomplete v-model="addressKeyword" :fetch-suggestions="querySearch" :trigger-on-focus="false" placeholder="请输入详细地址" style="width:100%" @select="handleSelect" />
|
||||
<el-autocomplete
|
||||
v-model="addressKeyword"
|
||||
:fetch-suggestions="querySearch"
|
||||
:trigger-on-focus="false"
|
||||
placeholder="请输入详细地址"
|
||||
style="width:100%"
|
||||
@select="handleSelect"/>
|
||||
</div>
|
||||
<!-- <el-input v-model="addressKeyword" style="width: 200px" placeholder="请输入内容" />-->
|
||||
<!-- <el-button slot="append" icon="el-icon-search" @click="mapNameChange"/>-->
|
||||
|
@ -276,9 +302,9 @@
|
|||
</baidu-map>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<span>经度:</span>
|
||||
<el-input v-model="LONGITUDE" style="width: 200px" placeholder="请输入内容" disabled />
|
||||
<el-input v-model="LONGITUDE" style="width: 200px" placeholder="请输入内容" disabled/>
|
||||
<span>纬度:</span>
|
||||
<el-input v-model="LATITUDE" style="width: 200px" placeholder="请输入内容" disabled />
|
||||
<el-input v-model="LATITUDE" style="width: 200px" placeholder="请输入内容" disabled/>
|
||||
<el-button @click="dialogFormMap = false">取 消</el-button>
|
||||
<el-button type="primary" @click="setPosition">确 定</el-button>
|
||||
</div>
|
||||
|
@ -292,6 +318,7 @@ import Pagination from '@/components/Pagination'
|
|||
import { requestFN } from '@/utils/request'
|
||||
import { Treeselect } from '@riophae/vue-treeselect'
|
||||
import '@riophae/vue-treeselect/dist/vue-treeselect.css'
|
||||
|
||||
export default {
|
||||
components: { Treeselect, Pagination },
|
||||
data() {
|
||||
|
@ -338,7 +365,12 @@ export default {
|
|||
{ required: true, message: '负责人不能为空', trigger: 'blur' }
|
||||
],
|
||||
PIC_OFFICE_PHONE: [
|
||||
{ required: true, message: '负责人办公电话不能为空', trigger: 'blur' }
|
||||
{ required: true, message: '负责人办公电话不能为空', trigger: 'blur' },
|
||||
{ min: 11, max: 11, message: '请输入11位手机号码', trigger: 'blur' },
|
||||
{
|
||||
pattern: /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/,
|
||||
message: '请输入正确的手机号码'
|
||||
}
|
||||
]
|
||||
},
|
||||
form: {
|
||||
|
@ -405,116 +437,6 @@ export default {
|
|||
// 备注
|
||||
REMARKS: ''
|
||||
},
|
||||
// rules: {
|
||||
// INSTITUTION_NAME: [
|
||||
// { required: true, message: '医疗机构名称不能为空', trigger: 'blur' },
|
||||
// { min: 2, max: 255, message: '长度在 2 到 255 个字符', trigger: 'blur' }
|
||||
// ],
|
||||
// INSTITUTION_TYPE: [
|
||||
// { required: true, message: '医疗机构类型不能为空', trigger: 'blur' },
|
||||
// { min: 2, max: 255, message: '长度在 2 到 255 个字符', trigger: 'blur' }
|
||||
// ],
|
||||
// INSTITUTION_LEVEL: [
|
||||
// { required: true, message: '医疗机构级别不能为空', trigger: 'blur' },
|
||||
// { min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
||||
// ],
|
||||
// ADDRESS: [
|
||||
// { required: true, message: '地址不能为空', trigger: 'blur' },
|
||||
// { min: 5, max: 255, message: '长度在 5 到 255 个字符', trigger: 'blur' }
|
||||
// ],
|
||||
// POSTAL_CODE: [
|
||||
// { required: true, message: '邮编不能为空', trigger: 'blur' },
|
||||
// { min: 1, max: 50, message: '长度在 1 到 50 个字符', trigger: 'blur' }
|
||||
// ],
|
||||
// INSTITUTION_SECURITY_LEVEL: [
|
||||
// { required: true, message: '机构密级不能为空', trigger: 'blur' },
|
||||
// { min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
||||
// ],
|
||||
// DUTY_PHONE: [
|
||||
// { required: true, message: '值班电话不能为空', trigger: 'blur' },
|
||||
// { min: 5, max: 255, message: '长度在 5 到 255 个字符', trigger: 'blur' }
|
||||
// ],
|
||||
// ADMINISTRATIVE_REGION: [
|
||||
// { required: true, message: '所属区域不能为空', trigger: 'blur' },
|
||||
// { min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
||||
// ],
|
||||
// LONGITUDE: [
|
||||
// { required: true, message: '经度不能为空', trigger: 'blur' },
|
||||
// { min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
||||
// ],
|
||||
// LATITUDE: [
|
||||
// { required: true, message: '纬度不能为空', trigger: 'blur' },
|
||||
// { min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
||||
// ],
|
||||
// NURSE_COUNT: [
|
||||
// { required: true, message: '应急运输方式不能为空', trigger: 'blur' },
|
||||
// { min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
||||
// ],
|
||||
// DOCTOR_COUNT: [
|
||||
// { required: true, message: '负责人不能为空', trigger: 'blur' },
|
||||
// { min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
||||
// ],
|
||||
// PIC_OFFICE_PHONE: [
|
||||
// { required: true, message: '负责人办公电话不能为空', trigger: 'blur' },
|
||||
// { min: 1, max: 50, message: '长度在 1 到 50 个字符', trigger: 'blur' }
|
||||
// ],
|
||||
// PIC_MOBILE_PHONE: [
|
||||
// { required: true, message: '负责人移动电话不能为空', trigger: 'blur' },
|
||||
// { min: 1, max: 50, message: '长度在 1 到 50 个字符', trigger: 'blur' }
|
||||
// ],
|
||||
// PIC_HOME_PHONE: [
|
||||
// { required: true, message: '负责人住宅电话不能为空', trigger: 'blur' },
|
||||
// { min: 1, max: 50, message: '长度在 1 到 50 个字符', trigger: 'blur' }
|
||||
// ],
|
||||
// CONTACT_PERSON: [
|
||||
// { required: true, message: '联系人不能为空', trigger: 'blur' },
|
||||
// { min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
||||
// ],
|
||||
// CONTACT_OFFICE_PHONE: [
|
||||
// { required: true, message: '联系人办公电话不能为空', trigger: 'blur' },
|
||||
// { min: 1, max: 50, message: '长度在 1 到 50 个字符', trigger: 'blur' }
|
||||
// ],
|
||||
// CONTACT_MOBILE_PHONE: [
|
||||
// { required: true, message: '联系人移动电话不能为空', trigger: 'blur' },
|
||||
// { min: 1, max: 50, message: '长度在 1 到 50 个字符', trigger: 'blur' }
|
||||
// ],
|
||||
// CONTACT_HOME_PHONE: [
|
||||
// { required: true, message: '联系人住宅电话不能为空', trigger: 'blur' },
|
||||
// { min: 1, max: 50, message: '长度在 1 到 50 个字符', trigger: 'blur' }
|
||||
// ],
|
||||
// CONTACT_EMAIL: [
|
||||
// { required: true, message: '联系人电子邮箱不能为空', trigger: 'blur' },
|
||||
// { min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
||||
// ],
|
||||
// SUPERVISING_AGENCY: [
|
||||
// { required: true, message: '主管单位不能为空', trigger: 'blur' },
|
||||
// { min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
||||
// ],
|
||||
// AGENCY_ADDRESS: [
|
||||
// { required: true, message: '主管单位地址不能为空', trigger: 'blur' },
|
||||
// { min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
||||
// ],
|
||||
// FEATURES: [
|
||||
// { required: true, message: '企业基本情况不能为空', trigger: 'blur' },
|
||||
// { min: 1, max: 1000, message: '长度在 1 到 1000 个字符', trigger: 'blur' }
|
||||
// ],
|
||||
// MAIN_MEDICAL_EQUIPMENT: [
|
||||
// { required: true, message: '客运能力不能为空', trigger: 'blur' },
|
||||
// { min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
||||
// ],
|
||||
// SEALISMIC_RESISTANCE_LEVEL: [
|
||||
// { required: true, message: '货运能力不能为空', trigger: 'blur' },
|
||||
// { min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
||||
// ],
|
||||
// REMARKS: [
|
||||
// { required: true, message: '应急能力描述不能为空', trigger: 'blur' },
|
||||
// { min: 1, max: 1000, message: '长度在 1 到 1000 个字符', trigger: 'blur' }
|
||||
// ],
|
||||
// REMARK: [
|
||||
// { required: true, message: '备注不能为空', trigger: 'blur' },
|
||||
// { min: 1, max: 1000, message: '长度在 1 到 1000 个字符', trigger: 'blur' }
|
||||
// ]
|
||||
// },
|
||||
treeData: [],
|
||||
DepartmentData: [],
|
||||
yjinstitutionsettingData: [],
|
||||
|
@ -658,8 +580,6 @@ export default {
|
|||
setTimeout(() => {
|
||||
map.centerAndZoom(point, zoom)
|
||||
}, 0)
|
||||
// var marker = new BMap.Marker(point) // 创建标注
|
||||
// map.addOverlay(marker) // 将标注添加到地图中
|
||||
},
|
||||
handleMap() {
|
||||
this.dialogFormMap = true
|
||||
|
|
|
@ -243,7 +243,12 @@ export default {
|
|||
{ required: true, message: '联系人不能为空', trigger: 'blur' }
|
||||
],
|
||||
CONTACT_OFFICE_PHONE: [
|
||||
{ required: true, message: '联系人办公电话不能为空', trigger: 'blur' }
|
||||
{ required: true, message: '联系人办公电话不能为空', trigger: 'blur' },
|
||||
{ min: 11, max: 11, message: '请输入11位手机号码', trigger: 'blur' },
|
||||
{
|
||||
pattern: /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/,
|
||||
message: '请输入正确的手机号码'
|
||||
}
|
||||
]
|
||||
},
|
||||
treeData: [],
|
||||
|
|
|
@ -322,113 +322,14 @@ export default {
|
|||
RESPONSIBLE_PERSON: [
|
||||
{ required: true, message: '负责人不能为空', trigger: 'blur' }
|
||||
],
|
||||
RESPONSIBLE_OFFICE_PHONE: [
|
||||
{ required: true, message: '负责人办公电话不能为空', trigger: 'blur' }
|
||||
]/*,
|
||||
ORG_TYPE: [
|
||||
{ required: true, message: '运输机构类型不能为空', trigger: 'blur' },
|
||||
{ min: 2, max: 255, message: '长度在 2 到 255 个字符', trigger: 'blur' }
|
||||
],
|
||||
ORG_LEVEL: [
|
||||
{ required: true, message: '运输机构级别不能为空', trigger: 'blur' },
|
||||
{ min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
||||
],
|
||||
ADDRESS: [
|
||||
{ required: true, message: '地址不能为空', trigger: 'blur' },
|
||||
{ min: 5, max: 255, message: '长度在 5 到 255 个字符', trigger: 'blur' }
|
||||
],
|
||||
POSTAL_CODE: [
|
||||
{ required: true, message: '邮编不能为空', trigger: 'blur' },
|
||||
{ min: 1, max: 50, message: '长度在 1 到 50 个字符', trigger: 'blur' }
|
||||
],
|
||||
SECURITY_LEVEL: [
|
||||
{ required: true, message: '机构密级不能为空', trigger: 'blur' },
|
||||
{ min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
||||
],
|
||||
DUTY_PHONE: [
|
||||
{ required: true, message: '值班电话不能为空', trigger: 'blur' },
|
||||
{ min: 5, max: 255, message: '长度在 5 到 255 个字符', trigger: 'blur' }
|
||||
],
|
||||
ADMINISTRATIVE_REGION: [
|
||||
{ required: true, message: '所属区域不能为空', trigger: 'blur' },
|
||||
{ min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
||||
],
|
||||
LONGITUDE: [
|
||||
{ required: true, message: '经度不能为空', trigger: 'blur' },
|
||||
{ min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
||||
],
|
||||
LATITUDE: [
|
||||
{ required: true, message: '纬度不能为空', trigger: 'blur' },
|
||||
{ min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
||||
],
|
||||
EMERGENCY_TRANSPORT_MODE: [
|
||||
{ required: true, message: '应急运输方式不能为空', trigger: 'blur' },
|
||||
{ min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
||||
],
|
||||
RESPONSIBLE_PERSON: [
|
||||
{ required: true, message: '负责人不能为空', trigger: 'blur' },
|
||||
{ min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
||||
],
|
||||
RESPONSIBLE_OFFICE_PHONE: [
|
||||
{ required: true, message: '负责人办公电话不能为空', trigger: 'blur' },
|
||||
{ min: 1, max: 50, message: '长度在 1 到 50 个字符', trigger: 'blur' }
|
||||
],
|
||||
RESPONSIBLE_MOBILE_PHONE: [
|
||||
{ required: true, message: '负责人移动电话不能为空', trigger: 'blur' },
|
||||
{ min: 1, max: 50, message: '长度在 1 到 50 个字符', trigger: 'blur' }
|
||||
],
|
||||
RESPONSIBLE_HOME_PHONE: [
|
||||
{ required: true, message: '负责人住宅电话不能为空', trigger: 'blur' },
|
||||
{ min: 1, max: 50, message: '长度在 1 到 50 个字符', trigger: 'blur' }
|
||||
],
|
||||
CONTACT_PERSON: [
|
||||
{ required: true, message: '联系人不能为空', trigger: 'blur' },
|
||||
{ min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
||||
],
|
||||
CONTACT_OFFICE_PHONE: [
|
||||
{ required: true, message: '联系人办公电话不能为空', trigger: 'blur' },
|
||||
{ min: 1, max: 50, message: '长度在 1 到 50 个字符', trigger: 'blur' }
|
||||
],
|
||||
CONTACT_MOBILE_PHONE: [
|
||||
{ required: true, message: '联系人移动电话不能为空', trigger: 'blur' },
|
||||
{ min: 1, max: 50, message: '长度在 1 到 50 个字符', trigger: 'blur' }
|
||||
],
|
||||
CONTACT_HOME_PHONE: [
|
||||
{ required: true, message: '联系人住宅电话不能为空', trigger: 'blur' },
|
||||
{ min: 1, max: 50, message: '长度在 1 到 50 个字符', trigger: 'blur' }
|
||||
],
|
||||
CONTACT_EMAIL: [
|
||||
{ required: true, message: '联系人电子邮箱不能为空', trigger: 'blur' },
|
||||
{ min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
||||
],
|
||||
SUPERVISING_UNIT: [
|
||||
{ required: true, message: '主管单位不能为空', trigger: 'blur' },
|
||||
{ min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
||||
],
|
||||
SUPERVISING_UNIT_ADDRESS: [
|
||||
{ required: true, message: '主管单位地址不能为空', trigger: 'blur' },
|
||||
{ min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
||||
],
|
||||
COMPANY_OVERVIEW: [
|
||||
{ required: true, message: '企业基本情况不能为空', trigger: 'blur' },
|
||||
{ min: 1, max: 1000, message: '长度在 1 到 1000 个字符', trigger: 'blur' }
|
||||
],
|
||||
PASSENGER_TRANSPORT_CAPACITY: [
|
||||
{ required: true, message: '客运能力不能为空', trigger: 'blur' },
|
||||
{ min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
||||
],
|
||||
CARGO_TRANSPORT_CAPACITY: [
|
||||
{ required: true, message: '货运能力不能为空', trigger: 'blur' },
|
||||
{ min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }
|
||||
],
|
||||
EMERGENCY_CAPACITY_DESCRIPTION: [
|
||||
{ required: true, message: '应急能力描述不能为空', trigger: 'blur' },
|
||||
{ min: 1, max: 1000, message: '长度在 1 到 1000 个字符', trigger: 'blur' }
|
||||
],
|
||||
REMARK: [
|
||||
{ required: true, message: '备注不能为空', trigger: 'blur' },
|
||||
{ min: 1, max: 1000, message: '长度在 1 到 1000 个字符', trigger: 'blur' }
|
||||
]*/
|
||||
{ min: 11, max: 11, message: '请输入11位手机号码', trigger: 'blur' },
|
||||
{
|
||||
pattern: /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/,
|
||||
message: '请输入正确的手机号码'
|
||||
}
|
||||
]
|
||||
},
|
||||
FFILE: [],
|
||||
caseSummaryList: [],
|
||||
|
@ -721,6 +622,7 @@ export default {
|
|||
this.$message.success('保存成功')
|
||||
this.getList()
|
||||
}).catch((e) => {
|
||||
this.$message.error(e)
|
||||
this.listLoading = false
|
||||
})
|
||||
},
|
||||
|
|
|
@ -59,13 +59,13 @@
|
|||
<el-row :gutter="15">
|
||||
<el-col :span="8">
|
||||
<el-form-item :key="form.LON" label="经度" prop="LON">
|
||||
<el-input v-model="form.LON" placeholder="请输入内容" disabled @focus="handleMap" />
|
||||
<el-input v-model="form.LON" placeholder="请选择" disabled @focus="handleMap" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item :key="form.LAT" label="纬度" prop="LAT">
|
||||
<div style="display: flex">
|
||||
<el-input v-model="form.LAT" placeholder="请输入内容" disabled style="width: 100%" @focus="handleMap"/>
|
||||
<el-input v-model="form.LAT" placeholder="请选择" disabled style="width: 100%" @focus="handleMap"/>
|
||||
<el-button style="margin-left:10px" @click="handleMap">
|
||||
<span class="svg-container">
|
||||
<svg-icon icon-class="international" />
|
||||
|
|
|
@ -30,8 +30,8 @@
|
|||
<el-table-column label="操作" align="center" width="200">
|
||||
<template slot-scope="{row}">
|
||||
<el-button type="text" icon="el-icon-view" size="mini" @click="handleCheck(row.FIRERESERVEPLAN_ID)">查看</el-button>
|
||||
<el-button v-if="!(row.AUDIT_STATUS === '2')" type="text" icon="el-icon-edit" size="mini" @click="handleEdit(row.FIRERESERVEPLAN_ID)">编辑</el-button>
|
||||
<el-button v-if="!(row.AUDIT_STATUS === '2')" type="text" style="color: red" icon="el-icon-delete" size="mini" @click="handleDelete(row.FIRERESERVEPLAN_ID,row.PLANNAME)">删除</el-button>
|
||||
<el-button v-if="(row.AUDIT_STATUS === '0')" type="text" icon="el-icon-edit" size="mini" @click="handleEdit(row.FIRERESERVEPLAN_ID)">编辑</el-button>
|
||||
<el-button v-if="(row.AUDIT_STATUS === '0')" type="text" style="color: red" icon="el-icon-delete" size="mini" @click="handleDelete(row.FIRERESERVEPLAN_ID,row.PLANNAME)">删除</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
@ -140,8 +140,9 @@ export default {
|
|||
id: id
|
||||
}
|
||||
).then((data) => {
|
||||
if (data.result == 'success') {
|
||||
if (data.result === 'success') {
|
||||
this.listISLOADing = false
|
||||
this.$message.success('删除成功')
|
||||
this.getList()
|
||||
}
|
||||
}).catch((e) => {
|
||||
|
@ -181,6 +182,7 @@ export default {
|
|||
this.varList = []
|
||||
this.listQuery.page = 1
|
||||
this.$refs.multipleTable.clearSelection()
|
||||
this.$message.success('删除成功')
|
||||
this.getList()
|
||||
}).catch((e) => {
|
||||
this.listISLOADing = false
|
||||
|
|
|
@ -101,7 +101,7 @@ export default {
|
|||
this.dialogzhuangjiaShow = false
|
||||
},
|
||||
deletezhuangjiaPeople(row) {
|
||||
this.$confirm('此操作将永久删除该文件, 是否继续?', '提示', {
|
||||
this.$confirm('此操作将永久删除数据, 是否继续?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
|
|
|
@ -36,9 +36,7 @@
|
|||
<el-col :span="19"> <el-form-item label="相关资源" /></el-col>
|
||||
<el-col :span="2">
|
||||
<div class="filter-container">
|
||||
<el-button class="filter-item" type="primary" icon="el-icon-plus" @click="yjzhilingadd">
|
||||
添加
|
||||
</el-button>
|
||||
<el-button class="filter-item" type="primary" icon="el-icon-plus" @click="yjzhilingadd">添加</el-button>
|
||||
</div>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
@ -147,8 +145,13 @@ export default {
|
|||
LINKMPHONE: [
|
||||
{ required: true, message: '联系电话不能为空', trigger: 'blur' }],
|
||||
URGENTLINKPHONE: [
|
||||
{ required: true, message: '紧急联系电话不能为空', trigger: 'blur' }]
|
||||
|
||||
{ required: true, message: '紧急联系电话不能为空', trigger: 'blur' },
|
||||
{ min: 11, max: 11, message: '请输入11位手机号码', trigger: 'blur' },
|
||||
{
|
||||
pattern: /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/,
|
||||
message: '请输入正确的手机号码'
|
||||
}
|
||||
]
|
||||
},
|
||||
checkList: [],
|
||||
|
||||
|
|
|
@ -138,7 +138,13 @@ export default {
|
|||
LINKMAN: [
|
||||
{ required: true, message: '联系人不能为空', trigger: 'blur' }],
|
||||
LINKPHONE: [
|
||||
{ required: true, message: '联系电话不能为空', trigger: 'blur' }],
|
||||
{ required: true, message: '联系电话不能为空', trigger: 'blur' },
|
||||
{ min: 11, max: 11, message: '请输入11位手机号码', trigger: 'blur' },
|
||||
{
|
||||
pattern: /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/,
|
||||
message: '请输入正确的手机号码'
|
||||
}
|
||||
],
|
||||
RESOURCEDES: [
|
||||
{ required: true, message: '资源描述不能为空', trigger: 'blur' }]
|
||||
|
||||
|
|
|
@ -148,7 +148,12 @@ export default {
|
|||
{ min: 2, max: 30, message: '长度在 2 到 30 个字符', trigger: 'blur' }],
|
||||
TEL: [
|
||||
{ required: true, message: '电话不能为空', trigger: 'blur' },
|
||||
{ min: 2, max: 30, message: '长度在 2 到 30 个字符', trigger: 'blur' }]
|
||||
{ min: 11, max: 11, message: '请输入11位手机号码', trigger: 'blur' },
|
||||
{
|
||||
pattern: /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/,
|
||||
message: '请输入正确的手机号码'
|
||||
}
|
||||
]
|
||||
|
||||
},
|
||||
rules2: {
|
||||
|
@ -156,7 +161,13 @@ export default {
|
|||
{ required: true, message: '姓名不能为空', trigger: 'blur' },
|
||||
{ min: 2, max: 30, message: '长度在 2 到 30 个字符', trigger: 'blur' }],
|
||||
LINKPHONE: [
|
||||
{ required: true, message: '联系电话不能为空', trigger: 'blur' }],
|
||||
{ required: true, message: '联系电话不能为空', trigger: 'blur' },
|
||||
{ min: 11, max: 11, message: '请输入11位手机号码', trigger: 'blur' },
|
||||
{
|
||||
pattern: /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/,
|
||||
message: '请输入正确的手机号码'
|
||||
}
|
||||
],
|
||||
DUTIES: [
|
||||
{ required: true, message: '职务不能为空', trigger: 'blur' }]
|
||||
|
||||
|
|
|
@ -34,12 +34,11 @@
|
|||
prop="DUTY_DATE"
|
||||
label="值班日期"
|
||||
width="150"/>
|
||||
<el-table-column label="早班">
|
||||
<el-table-column label="早班(08:00-20:00)">
|
||||
<el-table-column
|
||||
prop="name"
|
||||
label="值班领导"
|
||||
width="180">
|
||||
|
||||
<template v-slot="scope">
|
||||
<div style="display: flex;justify-content: space-between">
|
||||
<div >
|
||||
|
@ -56,7 +55,6 @@
|
|||
<i class="el-icon-plus" style="cursor: pointer;" @click="addSysChoice(scope.row.morningShiftForLeader,scope.row.ID,1,1)"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
|
@ -75,16 +73,13 @@
|
|||
disable-transitions
|
||||
@click="peopleDetail(tag.ID,tag.PEOPLE_NAME)"
|
||||
@close="peopleClose(scope.row.morningShiftForAttendant,tag,tag.ID)">
|
||||
|
||||
{{ tag.PEOPLE_NAME }}
|
||||
|
||||
</el-tag>
|
||||
</div>
|
||||
<div>
|
||||
<i class="el-icon-plus" style="cursor: pointer;" @click="addSysChoice(scope.row.morningShiftForAttendant,scope.row.ID,2,1)"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
|
@ -112,7 +107,7 @@
|
|||
</el-table-column>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column label="晚班">
|
||||
<el-table-column label="晚班(20:00-08:00)">
|
||||
<el-table-column
|
||||
prop="name"
|
||||
label="值班领导"
|
||||
|
@ -548,10 +543,6 @@ export default {
|
|||
confirmExcel() {
|
||||
if (this.FFILE.length > 0) {
|
||||
this.upload((v) => {
|
||||
this.$message({
|
||||
message: '导入成功',
|
||||
type: 'success'
|
||||
})
|
||||
this.exceltempFormAdd = false
|
||||
this.$refs.upload.clearFiles()
|
||||
})
|
||||
|
@ -576,6 +567,11 @@ export default {
|
|||
'/workingSchedule/upload',
|
||||
formData
|
||||
).then((data) => {
|
||||
if (data.code === '200') {
|
||||
this.$message.success('导入成功')
|
||||
} else {
|
||||
this.$message.error(data.msg)
|
||||
}
|
||||
loading.close()
|
||||
fun()
|
||||
}).catch((e) => {
|
||||
|
|
|
@ -454,7 +454,10 @@ export default {
|
|||
},
|
||||
dataSave() {
|
||||
this.listISLOADing = true
|
||||
this.form.EXPERT_GROUP_TYPE_NAME = this.expertGroupType.find(item => item.DICTIONARIES_ID === this.form.EXPERT_GROUP_TYPE).name
|
||||
const group = this.expertGroupType.find(item => item.DICTIONARIES_ID === this.form.EXPERT_GROUP_TYPE)
|
||||
if (group) {
|
||||
this.form.EXPERT_GROUP_TYPE_NAME = group.name
|
||||
}
|
||||
requestFN(
|
||||
'/yjExpertGroup/save', this.form
|
||||
).then((data) => {
|
||||
|
|
|
@ -90,7 +90,11 @@ export default {
|
|||
}
|
||||
],
|
||||
TELEPHONE: [
|
||||
{ required: true, message: '请输入办公电话', trigger: 'blur' }
|
||||
{ required: true, message: '请输入办公电话', trigger: 'blur' },
|
||||
{
|
||||
pattern: /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/,
|
||||
message: '请输入正确的手机号码'
|
||||
}
|
||||
],
|
||||
TEAM_POSITION: [
|
||||
{ required: true, message: '请输入救援队职位名称', trigger: 'blur' }
|
||||
|
|
|
@ -463,7 +463,11 @@ export default {
|
|||
{ required: true, message: '负责人不能为空', trigger: 'blur' }
|
||||
],
|
||||
RESPONSIBLE_OFFICE_PHONE: [
|
||||
{ required: true, message: '负责人办公电话不能为空', trigger: 'blur' }
|
||||
{ required: true, message: '负责人办公电话不能为空', trigger: 'blur' },
|
||||
{
|
||||
pattern: /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/,
|
||||
message: '请输入正确的手机号码'
|
||||
}
|
||||
]
|
||||
},
|
||||
FFILE: [],
|
||||
|
|
|
@ -145,7 +145,11 @@ export default {
|
|||
],
|
||||
CONTACT_PHONE: [
|
||||
{ required: true, message: '联系电话不能为空', trigger: 'blur' },
|
||||
{ min: 2, max: 50, message: '长度在 2 到 50 个字符', trigger: 'blur' }
|
||||
{ min: 11, max: 11, message: '请输入11位手机号码', trigger: 'blur' },
|
||||
{
|
||||
pattern: /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/,
|
||||
message: '请输入正确的手机号码'
|
||||
}
|
||||
],
|
||||
DESCRIPTION: [
|
||||
{ required: true, message: '描述不能为空', trigger: 'blur' },
|
||||
|
|
|
@ -209,7 +209,6 @@ export default {
|
|||
SHELTER_NAME: [
|
||||
{ required: true, message: '场区名称不能为空', trigger: 'blur' },
|
||||
{ min: 2, max: 30, message: '长度在 2 到 30 个字符', trigger: 'blur' }],
|
||||
|
||||
LONGITUDE: [
|
||||
{ required: true, message: '经度不能为空', trigger: 'blur' }
|
||||
],
|
||||
|
|
|
@ -207,7 +207,12 @@ export default {
|
|||
{ required: true, message: '联系人不能为空', trigger: 'blur' }
|
||||
],
|
||||
CONTACT_MOBILE_PHONE: [
|
||||
{ required: true, message: '联系人电话不能为空', trigger: 'blur' }
|
||||
{ required: true, message: '联系人电话不能为空', trigger: 'blur' },
|
||||
{ min: 11, max: 11, message: '请输入11位手机号码', trigger: 'blur' },
|
||||
{
|
||||
pattern: /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/,
|
||||
message: '请输入正确的手机号码'
|
||||
}
|
||||
]
|
||||
},
|
||||
form: {
|
||||
|
|
|
@ -186,7 +186,11 @@ export default {
|
|||
],
|
||||
CONTACT_MOBILE_PHONE: [
|
||||
{ required: true, message: '联系人手机号码不能为空', trigger: 'blur' },
|
||||
{ min: 2, max: 50, message: '长度在 2 到 50 个字符', trigger: 'blur' }
|
||||
{ min: 11, max: 11, message: '请输入11位手机号码', trigger: 'blur' },
|
||||
{
|
||||
pattern: /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/,
|
||||
message: '请输入正确的手机号码'
|
||||
}
|
||||
],
|
||||
COMPANY_NAME: [
|
||||
{ required: true, message: '企业名称不能为空', trigger: 'blur' },
|
||||
|
|
Loading…
Reference in New Issue