parent
18aa3452ad
commit
2af459e58a
|
@ -156,7 +156,6 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
console.log('this.$parent.CASE_ID', this.$parent.CASE_ID)
|
|
||||||
if (this.$parent.CASE_ID) {
|
if (this.$parent.CASE_ID) {
|
||||||
this.Id = this.$parent.CASE_ID
|
this.Id = this.$parent.CASE_ID
|
||||||
this.getDetail(this.Id)
|
this.getDetail(this.Id)
|
||||||
|
@ -189,7 +188,7 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
getDetail(Id) {
|
getDetail(Id) {
|
||||||
const params = { Id }
|
const params = { ID: Id }
|
||||||
requestFN('/major/communication/detail', params).then((response) => {
|
requestFN('/major/communication/detail', params).then((response) => {
|
||||||
const data = response.msg
|
const data = response.msg
|
||||||
this.form = {
|
this.form = {
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button class="filter-item" type="primary" icon="el-icon-search" @click="getQuery">搜索</el-button>
|
<el-button class="filter-item" type="primary" icon="el-icon-search" @click="getQuery">搜索</el-button>
|
||||||
<el-button class="filter-item" type="default" icon="el-icon-refresh" @click="resetQuery">重置</el-button>
|
<el-button class="filter-item" type="info" icon="el-icon-refresh" @click="resetQuery">重置</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -18,16 +18,15 @@
|
||||||
<el-table-column type="selection" width="55" align="center" />
|
<el-table-column type="selection" width="55" align="center" />
|
||||||
<el-table-column type="index" label="序号" width="50" align="center" />
|
<el-table-column type="index" label="序号" width="50" align="center" />
|
||||||
<el-table-column prop="ORG_NAME" label="通信机构名称" width="180" />
|
<el-table-column prop="ORG_NAME" label="通信机构名称" width="180" />
|
||||||
<el-table-column prop="ORG_TYPE_NAME" label="通信机构类型" show-overflow-tooltip="true" />
|
<el-table-column :show-overflow-tooltip="true" prop="ORG_TYPE_NAME" label="通信机构类型" />
|
||||||
<el-table-column prop="ORG_LEVEL" label="通信机构级别" show-overflow-tooltip="true" />
|
<el-table-column :show-overflow-tooltip="true" prop="ORG_LEVEL" label="通信机构级别" />
|
||||||
<el-table-column prop="ADDRESS" label="地址" show-overflow-tooltip="true" />
|
<el-table-column :show-overflow-tooltip="true" prop="ADDRESS" label="地址" />
|
||||||
<el-table-column prop="DUTY_PHONE" label="值班电话" show-overflow-tooltip="true" />
|
<el-table-column :show-overflow-tooltip="true" prop="DUTY_PHONE" label="值班电话" />
|
||||||
|
<el-table-column label="操作" align="center" width="200">
|
||||||
<el-table-column label="操作" align="center" width="300">
|
|
||||||
<template slot-scope="{row}">
|
<template slot-scope="{row}">
|
||||||
<el-button type="primary" icon="el-icon-document" size="mini" @click="goList('detail', row.ID, '1')">查看</el-button>
|
<el-button type="text" icon="el-icon-document" size="mini" @click="goList('detail', row.ID, '1')">查看</el-button>
|
||||||
<el-button type="primary" icon="el-icon-edit" size="mini" @click="handleEdit(row.ID,)">编辑</el-button>
|
<el-button type="text" icon="el-icon-edit" size="mini" @click="handleEdit(row.ID,)">编辑</el-button>
|
||||||
<el-button type="danger" icon="el-icon-delete" size="mini" @click="handleDelete(row.ID,row.ORG_NAME)">删除</el-button>
|
<el-button type="text" style="color: red" icon="el-icon-delete" size="mini" @click="handleDelete(row.ID,row.ORG_NAME)">删除</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
@ -41,7 +40,7 @@
|
||||||
<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>
|
</div>
|
||||||
<el-dialog :visible.sync="dialogFormEdit" :title="dialogType==='editUser'?'修改':'新增'" width="1000px">
|
<el-dialog :visible.sync="dialogFormEdit" :title="dialogType==='editUser'?'修改':'新增'" width="1000px">
|
||||||
<el-form ref="form" :rules="rules" :model="form" label-width="160px">
|
<el-form ref="form" :rules="rules" :model="form" label-width="110px" style="margin-right: 10px">
|
||||||
<el-form-item label="通信机构名称" prop="ORG_NAME">
|
<el-form-item label="通信机构名称" prop="ORG_NAME">
|
||||||
<el-input v-model="form.ORG_NAME" placeholder="请输入通信机构名称..." />
|
<el-input v-model="form.ORG_NAME" placeholder="请输入通信机构名称..." />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -55,7 +54,6 @@
|
||||||
no-children-text="暂无数据"
|
no-children-text="暂无数据"
|
||||||
@input="handleOrgTypeChange"
|
@input="handleOrgTypeChange"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
|
@ -247,11 +245,8 @@
|
||||||
<div style="flex:1;">
|
<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>
|
</div>
|
||||||
<!-- <el-input v-model="addressKeyword" style="width: 200px" placeholder="请输入内容" />-->
|
|
||||||
<!-- <el-button slot="append" icon="el-icon-search" @click="mapNameChange"/>-->
|
|
||||||
</div>
|
</div>
|
||||||
</bm-control>
|
</bm-control>
|
||||||
<!-- <bm-local-search :keyword="addressKeyword" :auto-viewport="true"/>-->
|
|
||||||
</baidu-map>
|
</baidu-map>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<span>经度:</span>
|
<span>经度:</span>
|
||||||
|
@ -302,6 +297,7 @@ export default {
|
||||||
dialogFormShow: false,
|
dialogFormShow: false,
|
||||||
dialogType: 'add',
|
dialogType: 'add',
|
||||||
form: {
|
form: {
|
||||||
|
ID: '',
|
||||||
ORG_NAME: '',
|
ORG_NAME: '',
|
||||||
ORG_TYPE: '',
|
ORG_TYPE: '',
|
||||||
ORG_TYPE_NAME: '',
|
ORG_TYPE_NAME: '',
|
||||||
|
@ -698,13 +694,13 @@ export default {
|
||||||
},
|
},
|
||||||
getDetail(ID) {
|
getDetail(ID) {
|
||||||
const params = {
|
const params = {
|
||||||
Id: ID
|
ID: ID
|
||||||
}
|
}
|
||||||
requestFN('/major/communication/detail', params).then((response) => {
|
requestFN('/major/communication/detail', params).then((response) => {
|
||||||
const data = response.msg
|
const data = response.msg
|
||||||
console.log(data)
|
console.log(data)
|
||||||
this.form = {
|
this.form = {
|
||||||
Id: data.ID,
|
ID: data.ID,
|
||||||
ORG_NAME: data.ORG_NAME,
|
ORG_NAME: data.ORG_NAME,
|
||||||
ORG_TYPE: data.ORG_TYPE,
|
ORG_TYPE: data.ORG_TYPE,
|
||||||
ORG_TYPE_NAME: data.ORG_TYPE_NAME,
|
ORG_TYPE_NAME: data.ORG_TYPE_NAME,
|
||||||
|
|
|
@ -17,11 +17,11 @@
|
||||||
<el-table-column prop="CONTACT_OFFICE_PHONE" 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="CONTACT_MOBILE_PHONE" label="联系人移动电话" show-overflow-tooltip="true" />
|
||||||
<el-table-column prop="UPDATE_TIME_STRING" label="修改时间" show-overflow-tooltip="true" />
|
<el-table-column prop="UPDATE_TIME_STRING" label="修改时间" show-overflow-tooltip="true" />
|
||||||
<el-table-column label="操作" align="center" width="300">
|
<el-table-column label="操作" align="center" width="200">
|
||||||
<template slot-scope="{row}">
|
<template slot-scope="{row}">
|
||||||
<el-button type="primary" 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="primary" icon="el-icon-edit" size="mini" @click="handleEdit(row.MEDICAL_ID)">编辑</el-button>
|
<el-button type="text" icon="el-icon-edit" size="mini" @click="handleEdit(row.MEDICAL_ID)">编辑</el-button>
|
||||||
<el-button type="danger" 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>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
@ -35,16 +35,13 @@
|
||||||
<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>
|
</div>
|
||||||
<el-dialog :visible.sync="dialogFormEdit" :title="dialogType==='editUser'?'修改':'新增'" width="1000px">
|
<el-dialog :visible.sync="dialogFormEdit" :title="dialogType==='editUser'?'修改':'新增'" width="1000px">
|
||||||
<el-form ref="form" :rules="rules" :model="form" label-width="180px">
|
<el-form ref="form" :rules="rules" :model="form" label-width="150px" style="margin-right: 10px">
|
||||||
|
|
||||||
<el-form-item label="医疗机构名称" prop="INSTITUTION_NAME">
|
<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-form-item>
|
||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
|
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="医疗机构类型" prop="INSTITUTION_TYPE">
|
<el-form-item label="医疗机构类型" prop="INSTITUTION_TYPE">
|
||||||
<!-- <el-input v-model="form.INSTITUTION_TYPE" placeholder="请输入医疗机构类型..." />-->
|
|
||||||
<Treeselect
|
<Treeselect
|
||||||
:options="yjinstitutionaltypeData"
|
:options="yjinstitutionaltypeData"
|
||||||
:normalizer="normalizer"
|
:normalizer="normalizer"
|
||||||
|
@ -53,7 +50,6 @@
|
||||||
no-options-text="暂无数据"
|
no-options-text="暂无数据"
|
||||||
no-children-text="暂无数据"
|
no-children-text="暂无数据"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
|
@ -134,7 +130,6 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="病床数" prop="BED_COUNT">
|
<el-form-item label="病床数" prop="BED_COUNT">
|
||||||
|
@ -147,7 +142,6 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="护士数" prop="NURSE_COUNT">
|
<el-form-item label="护士数" prop="NURSE_COUNT">
|
||||||
|
@ -160,7 +154,6 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="应急通讯方式" prop="EMERGENCY_COMMUNICATION">
|
<el-form-item label="应急通讯方式" prop="EMERGENCY_COMMUNICATION">
|
||||||
|
@ -173,7 +166,6 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="负责人办公电话" prop="PIC_OFFICE_PHONE">
|
<el-form-item label="负责人办公电话" prop="PIC_OFFICE_PHONE">
|
||||||
|
@ -186,7 +178,6 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="负责人住宅电话" prop="PIC_HOME_PHONE">
|
<el-form-item label="负责人住宅电话" prop="PIC_HOME_PHONE">
|
||||||
|
@ -199,7 +190,6 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="联系人办公电话" prop="CONTACT_OFFICE_PHONE">
|
<el-form-item label="联系人办公电话" prop="CONTACT_OFFICE_PHONE">
|
||||||
|
@ -212,7 +202,6 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="联系人住宅电话" prop="CONTACT_HOME_PHONE">
|
<el-form-item label="联系人住宅电话" prop="CONTACT_HOME_PHONE">
|
||||||
|
@ -225,7 +214,6 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
<el-form-item label="主管单位" prop="SUPERVISING_AGENCY">
|
<el-form-item label="主管单位" prop="SUPERVISING_AGENCY">
|
||||||
<Treeselect
|
<Treeselect
|
||||||
:options="DepartmentData"
|
:options="DepartmentData"
|
||||||
|
|
|
@ -10,16 +10,16 @@
|
||||||
<el-table-column type="selection" width="55" align="center" />
|
<el-table-column type="selection" width="55" align="center" />
|
||||||
<el-table-column type="index" label="序号" width="50" align="center" />
|
<el-table-column type="index" label="序号" width="50" align="center" />
|
||||||
<el-table-column prop="SKILL_NAME" label="机构名称" width="180" />
|
<el-table-column prop="SKILL_NAME" label="机构名称" width="180" />
|
||||||
<el-table-column prop="ADDRESS" label="地址" show-overflow-tooltip="true" />
|
<el-table-column :show-overflow-tooltip="true" prop="ADDRESS" label="地址" />
|
||||||
<el-table-column prop="CONTACT_PERSON" label="联系人" show-overflow-tooltip="true" />
|
<el-table-column :show-overflow-tooltip="true" prop="CONTACT_PERSON" label="联系人" />
|
||||||
<el-table-column prop="CONTACT_OFFICE_PHONE" label="联系人固定电话" show-overflow-tooltip="true" />
|
<el-table-column :show-overflow-tooltip="true" prop="CONTACT_OFFICE_PHONE" label="联系人固定电话" />
|
||||||
<el-table-column prop="CONTACT_MOBILE_PHONE" label="联系人移动电话" show-overflow-tooltip="true" />
|
<el-table-column :show-overflow-tooltip="true" prop="CONTACT_MOBILE_PHONE" label="联系人移动电话" />
|
||||||
<el-table-column prop="UPDATE_TIME_STRING" label="修改时间" show-overflow-tooltip="true" />
|
<el-table-column :show-overflow-tooltip="true" prop="UPDATE_TIME_STRING" label="修改时间" />
|
||||||
<el-table-column label="操作" align="center" width="300">
|
<el-table-column label="操作" align="center" width="300">
|
||||||
<template slot-scope="{row}">
|
<template slot-scope="{row}">
|
||||||
<el-button type="primary" icon="el-icon-document" size="mini" @click="goList('detail', row.SKILL_ID, '1')">查看</el-button>
|
<el-button type="text" icon="el-icon-document" size="mini" @click="goList('detail', row.SKILL_ID, '1')">查看</el-button>
|
||||||
<el-button type="primary" icon="el-icon-edit" size="mini" @click="handleEdit(row.SKILL_ID)">编辑</el-button>
|
<el-button type="text" icon="el-icon-edit" size="mini" @click="handleEdit(row.SKILL_ID)">编辑</el-button>
|
||||||
<el-button type="danger" icon="el-icon-delete" size="mini" @click="handleDelete(row.SKILL_ID,row.SKILL_NAME)">删除</el-button>
|
<el-button type="text" style="color: red" icon="el-icon-delete" size="mini" @click="handleDelete(row.SKILL_ID,row.SKILL_NAME)">删除</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
<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>
|
</div>
|
||||||
<el-dialog :visible.sync="dialogFormEdit" :title="dialogType==='editUser'?'修改':'新增'" width="1000px">
|
<el-dialog :visible.sync="dialogFormEdit" :title="dialogType==='editUser'?'修改':'新增'" width="1000px">
|
||||||
<el-form ref="form" :rules="rules" :model="form" label-width="180px">
|
<el-form ref="form" :rules="rules" :model="form" label-width="150px" style="margin-right: 10px">
|
||||||
|
|
||||||
<el-form-item label="机构名称" prop="SKILL_NAME">
|
<el-form-item label="机构名称" prop="SKILL_NAME">
|
||||||
<el-input v-model="form.SKILL_NAME" placeholder="请输入机构名称名称..." />
|
<el-input v-model="form.SKILL_NAME" placeholder="请输入机构名称名称..." />
|
||||||
|
@ -42,7 +42,6 @@
|
||||||
<el-form-item label="地址" prop="ADDRESS">
|
<el-form-item label="地址" prop="ADDRESS">
|
||||||
<el-input v-model="form.ADDRESS" placeholder="请输入地址..." />
|
<el-input v-model="form.ADDRESS" placeholder="请输入地址..." />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item label="所属区域" prop="ADMINISTRATIVE_REGION">
|
<el-form-item label="所属区域" prop="ADMINISTRATIVE_REGION">
|
||||||
<Treeselect
|
<Treeselect
|
||||||
:options="treeData"
|
:options="treeData"
|
||||||
|
@ -54,7 +53,6 @@
|
||||||
no-children-text="暂无数据"
|
no-children-text="暂无数据"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item :key="form.LONGITUDE" label="经度" prop="LONGITUDE">
|
<el-form-item :key="form.LONGITUDE" label="经度" prop="LONGITUDE">
|
||||||
|
@ -74,16 +72,13 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
|
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="联系人" prop="CONTACT_PERSON">
|
<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-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="联系人办公电话" prop="CONTACT_OFFICE_PHONE">
|
<el-form-item label="联系人办公电话" prop="CONTACT_OFFICE_PHONE">
|
||||||
|
@ -96,7 +91,6 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="联系人住宅电话" prop="CONTACT_HOME_PHONE">
|
<el-form-item label="联系人住宅电话" prop="CONTACT_HOME_PHONE">
|
||||||
|
@ -109,7 +103,6 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
<el-form-item label="运输方式" prop="AGENCY_ADDRESS">
|
<el-form-item label="运输方式" prop="AGENCY_ADDRESS">
|
||||||
<el-input v-model="form.SHIPPING" placeholder="请输入运输方式..." />
|
<el-input v-model="form.SHIPPING" placeholder="请输入运输方式..." />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -119,7 +112,6 @@
|
||||||
<el-form-item label="所用燃料" prop="FUEL">
|
<el-form-item label="所用燃料" prop="FUEL">
|
||||||
<el-input v-model="form.FUEL" placeholder="请输入所用燃料..." />
|
<el-input v-model="form.FUEL" placeholder="请输入所用燃料..." />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item label="备注" prop="REMARKS">
|
<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-item>
|
||||||
|
@ -147,11 +139,8 @@
|
||||||
<div style="flex:1;">
|
<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>
|
</div>
|
||||||
<!-- <el-input v-model="addressKeyword" style="width: 200px" placeholder="请输入内容" />-->
|
|
||||||
<!-- <el-button slot="append" icon="el-icon-search" @click="mapNameChange"/>-->
|
|
||||||
</div>
|
</div>
|
||||||
</bm-control>
|
</bm-control>
|
||||||
<!-- <bm-local-search :keyword="addressKeyword" :auto-viewport="true"/>-->
|
|
||||||
</baidu-map>
|
</baidu-map>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<span>经度:</span>
|
<span>经度:</span>
|
||||||
|
@ -251,116 +240,6 @@ export default {
|
||||||
{ required: true, message: '联系人办公电话不能为空', trigger: 'blur' }
|
{ required: true, message: '联系人办公电话不能为空', trigger: 'blur' }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
// rules: {
|
|
||||||
// SKILL_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' }
|
|
||||||
// ],
|
|
||||||
// REMARKSS: [
|
|
||||||
// { required: true, message: '应急能力描述不能为空', trigger: 'blur' },
|
|
||||||
// { min: 1, max: 1000, message: '长度在 1 到 1000 个字符', trigger: 'blur' }
|
|
||||||
// ],
|
|
||||||
// REMARKS: [
|
|
||||||
// { required: true, message: '备注不能为空', trigger: 'blur' },
|
|
||||||
// { min: 1, max: 1000, message: '长度在 1 到 1000 个字符', trigger: 'blur' }
|
|
||||||
// ]
|
|
||||||
// },
|
|
||||||
treeData: [],
|
treeData: [],
|
||||||
DepartmentData: [],
|
DepartmentData: [],
|
||||||
yjinstitutionsettingData: [],
|
yjinstitutionsettingData: [],
|
||||||
|
|
|
@ -7,14 +7,14 @@
|
||||||
<div class="mb-20">
|
<div class="mb-20">
|
||||||
<table class="table-ui">
|
<table class="table-ui">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="tbg">运输机构名称</td>
|
<td class="tbg" style="width: 200px">运输机构名称</td>
|
||||||
<td>{{ form.ORG_NAME }}</td>
|
<td>{{ form.ORG_NAME }}</td>
|
||||||
<td class="tbg">地址</td>
|
<td class="tbg" style="width: 200px">地址</td>
|
||||||
<td>{{ form.ADDRESS }}</td>
|
<td>{{ form.ADDRESS }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="tbg">运输机构类型</td>
|
<td class="tbg">运输机构类型</td>
|
||||||
<td>{{ form.ORG_TYPE }}</td>
|
<td>{{ form.ORG_TYPE_NAME }}</td>
|
||||||
<td class="tbg">运输机构级别</td>
|
<td class="tbg">运输机构级别</td>
|
||||||
<td>{{ form.ORG_LEVEL }}</td>
|
<td>{{ form.ORG_LEVEL }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -157,7 +157,7 @@ export default {
|
||||||
this.$parent.activeName = 'list'
|
this.$parent.activeName = 'list'
|
||||||
},
|
},
|
||||||
getDetail(Id) {
|
getDetail(Id) {
|
||||||
const params = { Id }
|
const params = { ID: Id }
|
||||||
requestFN('/major/transportation/detail', params).then((response) => {
|
requestFN('/major/transportation/detail', params).then((response) => {
|
||||||
const data = response.msg
|
const data = response.msg
|
||||||
this.form = {
|
this.form = {
|
||||||
|
@ -190,7 +190,8 @@ export default {
|
||||||
PASSENGER_TRANSPORT_CAPACITY: data.PASSENGER_TRANSPORT_CAPACITY,
|
PASSENGER_TRANSPORT_CAPACITY: data.PASSENGER_TRANSPORT_CAPACITY,
|
||||||
CARGO_TRANSPORT_CAPACITY: data.CARGO_TRANSPORT_CAPACITY,
|
CARGO_TRANSPORT_CAPACITY: data.CARGO_TRANSPORT_CAPACITY,
|
||||||
EMERGENCY_CAPACITY_DESCRIPTION: data.EMERGENCY_CAPACITY_DESCRIPTION,
|
EMERGENCY_CAPACITY_DESCRIPTION: data.EMERGENCY_CAPACITY_DESCRIPTION,
|
||||||
REMARK: data.REMARK
|
REMARK: data.REMARK,
|
||||||
|
ORG_TYPE_NAME: data.ORG_TYPE_NAME
|
||||||
}
|
}
|
||||||
}).catch((e) => {
|
}).catch((e) => {
|
||||||
console.error('获取详情数据失败', e)
|
console.error('获取详情数据失败', e)
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button class="filter-item" type="primary" icon="el-icon-search" @click="getQuery">搜索</el-button>
|
<el-button class="filter-item" type="primary" icon="el-icon-search" @click="getQuery">搜索</el-button>
|
||||||
<el-button class="filter-item" type="default" icon="el-icon-refresh" @click="resetQuery">重置</el-button>
|
<el-button class="filter-item" type="info" icon="el-icon-refresh" @click="resetQuery">重置</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -18,16 +18,16 @@
|
||||||
<el-table-column type="selection" width="55" align="center" />
|
<el-table-column type="selection" width="55" align="center" />
|
||||||
<el-table-column type="index" label="序号" width="50" align="center" />
|
<el-table-column type="index" label="序号" width="50" align="center" />
|
||||||
<el-table-column prop="ORG_NAME" label="运输机构名称" width="180" />
|
<el-table-column prop="ORG_NAME" label="运输机构名称" width="180" />
|
||||||
<el-table-column prop="ORG_TYPE_NAME" label="运输机构类型" show-overflow-tooltip="true" />
|
<el-table-column :show-overflow-tooltip="true" prop="ORG_TYPE_NAME" label="运输机构类型" />
|
||||||
<el-table-column prop="ORG_LEVEL" label="运输机构级别" show-overflow-tooltip="true" />
|
<el-table-column :show-overflow-tooltip="true" prop="ORG_LEVEL" label="运输机构级别" />
|
||||||
<el-table-column prop="ADDRESS" label="地址" show-overflow-tooltip="true" />
|
<el-table-column :show-overflow-tooltip="true" prop="ADDRESS" label="地址" />
|
||||||
<el-table-column prop="DUTY_PHONE" label="值班电话" show-overflow-tooltip="true" />
|
<el-table-column :show-overflow-tooltip="true" prop="DUTY_PHONE" label="值班电话" />
|
||||||
|
|
||||||
<el-table-column label="操作" align="center" width="300">
|
<el-table-column label="操作" align="center" width="200px">
|
||||||
<template slot-scope="{row}">
|
<template slot-scope="{row}">
|
||||||
<el-button type="primary" icon="el-icon-document" size="mini" @click="goList('detail', row.ID, '1')">查看</el-button>
|
<el-button type="text" icon="el-icon-document" size="mini" @click="goList('detail', row.ID, '1')">查看</el-button>
|
||||||
<el-button type="primary" icon="el-icon-edit" size="mini" @click="handleEdit(row.ID)">编辑</el-button>
|
<el-button type="text" icon="el-icon-edit" size="mini" @click="handleEdit(row.ID)">编辑</el-button>
|
||||||
<el-button type="danger" icon="el-icon-delete" size="mini" @click="handleDelete(row.ID,row.ORG_NAME)">删除</el-button>
|
<el-button type="text" style="color: red" icon="el-icon-delete" size="mini" @click="handleDelete(row.ID,row.ORG_NAME)">删除</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
<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>
|
</div>
|
||||||
<el-dialog :visible.sync="dialogFormEdit" :title="dialogType==='editUser'?'修改':'新增'" width="1000px">
|
<el-dialog :visible.sync="dialogFormEdit" :title="dialogType==='editUser'?'修改':'新增'" width="1000px">
|
||||||
<el-form ref="form" :rules="rules" :model="form" label-width="250px">
|
<el-form ref="form" :rules="rules" :model="form" label-width="120px" style="margin-right: 10px">
|
||||||
<el-form-item label="运输机构名称" prop="ORG_NAME">
|
<el-form-item label="运输机构名称" prop="ORG_NAME">
|
||||||
<el-input v-model="form.ORG_NAME" placeholder="请输入运输机构名称..." />
|
<el-input v-model="form.ORG_NAME" placeholder="请输入运输机构名称..." />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -658,7 +658,7 @@ export default {
|
||||||
},
|
},
|
||||||
getDetail(id) {
|
getDetail(id) {
|
||||||
const params = {
|
const params = {
|
||||||
id: id
|
ID: id
|
||||||
}
|
}
|
||||||
requestFN('/major/transportation/detail', params).then((response) => {
|
requestFN('/major/transportation/detail', params).then((response) => {
|
||||||
const data = response.msg
|
const data = response.msg
|
||||||
|
@ -740,7 +740,7 @@ export default {
|
||||||
requestFN(
|
requestFN(
|
||||||
'/major/transportation/delete',
|
'/major/transportation/delete',
|
||||||
{
|
{
|
||||||
id: id
|
ID: id
|
||||||
}
|
}
|
||||||
).then((data) => {
|
).then((data) => {
|
||||||
if (data.result == 'success') {
|
if (data.result == 'success') {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<list v-show="activeName=='list'" ref="list" />
|
<list v-show="activeName==='list'" ref="list" />
|
||||||
<detail v-if="activeName=='detail'"/>
|
<detail v-if="activeName==='detail'"/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
|
|
Loading…
Reference in New Issue