521 应急管理系统内所有搜索框 都应该有重置按钮

509 办公电话是手机号码吗 注意所有电话输入框
507 搜索框 没有重置按钮
504 专家组成员新增按钮位置调整
500 删除成功 没有提示
494 删除成功 没有提示
491 应急管理所有的菜单 列表有排序吗 应该加排序 根据创建时间或者修改时间或者其他逻辑
liujun0703-新项目开发
liujun 2024-08-23 15:15:34 +08:00
parent ff38de8d48
commit 1937116ab2
8 changed files with 60 additions and 25 deletions

View File

@ -70,7 +70,7 @@
<el-input v-model="form.POSTAL_CODE" placeholder="请输入邮编..." /> <el-input v-model="form.POSTAL_CODE" placeholder="请输入邮编..." />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col v-if="false" :span="12">
<el-form-item label="机构密级" prop="SECURITY_LEVEL"> <el-form-item label="机构密级" prop="SECURITY_LEVEL">
<el-input v-model="form.SECURITY_LEVEL" placeholder="请输入机构密级..." /> <el-input v-model="form.SECURITY_LEVEL" placeholder="请输入机构密级..." />
</el-form-item> </el-form-item>

View File

@ -8,21 +8,19 @@
<table class="table-ui"> <table class="table-ui">
<tr> <tr>
<td class="tbg">医疗机构名称</td> <td class="tbg">医疗机构名称</td>
<td>{{ form.INSTITUTION_NAME }}</td> <td style="width: 30%">{{ form.INSTITUTION_NAME }}</td>
<td class="tbg">地址</td> <td class="tbg">地址</td>
<td>{{ form.ADDRESS }}</td> <td>{{ form.ADDRESS }}</td>
</tr> </tr>
<tr> <tr>
<td class="tbg">医疗机构类型</td> <td class="tbg">医疗机构类型</td>
<td>{{ form.INSTITUTION_TYPE }}</td> <td>{{ form.INSTITUTION_TYPE_NAME }}</td>
<td class="tbg">医疗单位等级</td> <td class="tbg">医疗单位等级</td>
<td>{{ form.INSTITUTION_LEVEL }}</td> <td>{{ form.INSTITUTION_LEVEL }}</td>
</tr> </tr>
<tr> <tr>
<td class="tbg">邮编</td> <td class="tbg">邮编</td>
<td>{{ form.POSTAL_CODE }}</td> <td colspan="3">{{ form.POSTAL_CODE }}</td>
<td class="tbg">机构密级</td>
<td>{{ form.INSTITUTION_SECURITY_LEVEL }}</td>
</tr> </tr>
<tr> <tr>
<td class="tbg">值班电话</td> <td class="tbg">值班电话</td>
@ -32,7 +30,7 @@
</tr> </tr>
<tr> <tr>
<td class="tbg">所属区域</td> <td class="tbg">所属区域</td>
<td colspan="3">{{ form.ADMINISTRATIVE_REGION }}</td> <td colspan="3">{{ form.ADMINISTRATIVE_REGION_NAME }}</td>
</tr> </tr>
<tr> <tr>
<td class="tbg">经度</td> <td class="tbg">经度</td>
@ -210,6 +208,7 @@ export default {
INSTITUTION_NAME: data.INSTITUTION_NAME, INSTITUTION_NAME: data.INSTITUTION_NAME,
// //
INSTITUTION_TYPE: data.INSTITUTION_TYPE, INSTITUTION_TYPE: data.INSTITUTION_TYPE,
INSTITUTION_TYPE_NAME: data.INSTITUTION_TYPE_NAME,
// //
INSTITUTION_LEVEL: data.INSTITUTION_LEVEL, INSTITUTION_LEVEL: data.INSTITUTION_LEVEL,
// //
@ -224,6 +223,7 @@ export default {
FAX: data.FAX, FAX: data.FAX,
// //
ADMINISTRATIVE_REGION: data.ADMINISTRATIVE_REGION, ADMINISTRATIVE_REGION: data.ADMINISTRATIVE_REGION,
ADMINISTRATIVE_REGION_NAME: data.ADMINISTRATIVE_REGION_NAME,
// //
LONGITUDE: data.LONGITUDE, LONGITUDE: data.LONGITUDE,
// //

View File

@ -76,9 +76,8 @@
<el-input v-model="form.POSTAL_CODE" placeholder="请输入邮编..." /> <el-input v-model="form.POSTAL_CODE" placeholder="请输入邮编..." />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col v-if="false" :span="12">
<el-form-item label="机构密级" prop="INSTITUTION_SECURITY_LEVEL"> <el-form-item label="机构密级" prop="INSTITUTION_SECURITY_LEVEL">
<!-- <el-input v-model="form.INSTITUTION_SECURITY_LEVEL" placeholder="请输入机构密级..." />-->
<Treeselect <Treeselect
:options="yjinstitutionsettingData" :options="yjinstitutionsettingData"
:normalizer="normalizer" :normalizer="normalizer"

View File

@ -65,7 +65,7 @@
<el-input v-model="form.POSTAL_CODE" placeholder="请输入邮编..." /> <el-input v-model="form.POSTAL_CODE" placeholder="请输入邮编..." />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col v-if="false" :span="12">
<el-form-item label="机构密级" prop="SECURITY_LEVEL"> <el-form-item label="机构密级" prop="SECURITY_LEVEL">
<el-input v-model="form.SECURITY_LEVEL" placeholder="请输入机构密级..." /> <el-input v-model="form.SECURITY_LEVEL" placeholder="请输入机构密级..." />
</el-form-item> </el-form-item>

View File

@ -10,7 +10,7 @@
<td class="tbg">专家名称</td> <td class="tbg">专家名称</td>
<td>{{ form.EXPERT_NAME }}</td> <td>{{ form.EXPERT_NAME }}</td>
<td class="tbg">性别</td> <td class="tbg">性别</td>
<td>{{ form.GENDER }}</td> <td>{{ form.GENDER === '0'?'男':'女' }}</td>
</tr> </tr>
<tr> <tr>

View File

@ -668,6 +668,7 @@ export default {
this.$refs.multipleTable.clearSelection() this.$refs.multipleTable.clearSelection()
this.getList() this.getList()
this.$message.success('删除成功') this.$message.success('删除成功')
}).catch((e) => {
}).catch((e) => { }).catch((e) => {
this.listISLOADing = false this.listISLOADing = false
}) })

View File

@ -62,7 +62,7 @@ export default {
YJ_EMERGENCY_TEAM_USER_ID: '', YJ_EMERGENCY_TEAM_USER_ID: '',
YJ_EMERGENCY_TEAM_INFO_ID: '', YJ_EMERGENCY_TEAM_INFO_ID: '',
NAME: '', NAME: '',
SEX: '0', SEX: '',
AGE: '', AGE: '',
PHONE: '', PHONE: '',
TELEPHONE: '', TELEPHONE: '',
@ -71,7 +71,38 @@ export default {
COMPANY_NAME: '', COMPANY_NAME: '',
COMPANY_POSITION: '' COMPANY_POSITION: ''
}, },
rule: [] rule: {
NAME: [
{ required: true, message: '请输入姓名', trigger: 'blur' }
],
SEX: [
{ required: true, message: '请选择性别', trigger: 'blur' }
],
AGE: [
{ required: true, message: '请输入年龄', trigger: 'blur' },
{ type: 'number', message: '年龄必须为数字' }
],
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: '请输入正确的手机号码'
}
],
TELEPHONE: [
{ required: true, message: '请输入办公电话', trigger: 'blur' }
],
TEAM_POSITION: [
{ required: true, message: '请输入救援队职位名称', trigger: 'blur' }
],
COMPANY_NAME: [
{ required: true, message: '请输入所在单位名称', trigger: 'blur' }
],
COMPANY_POSITION: [
{ required: true, message: '请输入所在单位岗位名称', trigger: 'blur' }
]
}
} }
}, },
methods: { methods: {
@ -86,6 +117,8 @@ export default {
} }
}, },
confirm() { confirm() {
this.$refs.form.validate(valid => {
if (valid) {
requestFN('/major/emergency/saveTeamUser', this.form).then( requestFN('/major/emergency/saveTeamUser', this.form).then(
(data) => { (data) => {
this.$message.success('保存成功') this.$message.success('保存成功')
@ -96,6 +129,10 @@ export default {
console.error(e) console.error(e)
this.$message.error('保存失败') this.$message.error('保存失败')
}) })
} else {
return false
}
})
}, },
getInfo() { getInfo() {
requestFN('/major/emergency/getTeamUser', { ID: this.form.YJ_EMERGENCY_TEAM_USER_ID }).then( requestFN('/major/emergency/getTeamUser', { ID: this.form.YJ_EMERGENCY_TEAM_USER_ID }).then(

View File

@ -693,7 +693,6 @@ export default {
this.dialogFormEdit = true this.dialogFormEdit = true
this.dialogType = 'editUser' this.dialogType = 'editUser'
this.getDetail(id) // this.getDetail(id) //
// this.$refs.upload.clearFiles()
}, },
getDetail(id) { getDetail(id) {
const params = { const params = {
@ -754,7 +753,6 @@ export default {
this.form.LONGITUDE = '' this.form.LONGITUDE = ''
this.form.LATITUDE = '' this.form.LATITUDE = ''
this.dialogType = 'saveUser' this.dialogType = 'saveUser'
// this.$refs.upload.clearFiles()
}, },
confirm() { confirm() {
this.$refs.form.validate(valid => { this.$refs.form.validate(valid => {