663 排序不正确】
659 没有重置 659 没有重置 657 重置按钮不好使 565 审核弹窗排版调整一下 506 添加专家组成员页面 搜索掉线liujun0703-新项目开发
parent
cbdce13b4e
commit
6305e03fae
|
@ -27,7 +27,7 @@
|
||||||
<template slot-scope="{ row }">
|
<template slot-scope="{ row }">
|
||||||
<el-button v-if="false" type="text" icon="el-icon-download" size="mini" @click="confirmExport(row.ID)">数据导出</el-button>
|
<el-button v-if="false" type="text" icon="el-icon-download" size="mini" @click="confirmExport(row.ID)">数据导出</el-button>
|
||||||
<el-button type="text" 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="text" icon="el-icon-delete" size="mini" @click="handleDelete(row.ID, row.UNIT)">删除</el-button>
|
<el-button v-if="false" type="text" icon="el-icon-delete" size="mini" @click="handleDelete(row.ID, row.UNIT)">删除</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
@ -35,7 +35,7 @@
|
||||||
<div>
|
<div>
|
||||||
<template>
|
<template>
|
||||||
<el-button type="primary" icon="el-icon-plus" @click="handleAdd">新增</el-button>
|
<el-button type="primary" icon="el-icon-plus" @click="handleAdd">新增</el-button>
|
||||||
<el-button type="danger" icon="el-icon-delete" plain @click="makeAll('0')">删除</el-button>
|
<el-button v-if="false" type="danger" icon="el-icon-delete" plain @click="makeAll('0')">删除</el-button>
|
||||||
</template>
|
</template>
|
||||||
</div>
|
</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" />
|
||||||
|
|
|
@ -227,8 +227,10 @@ export default {
|
||||||
this.dialogFormEdit = false
|
this.dialogFormEdit = false
|
||||||
this.varList = []
|
this.varList = []
|
||||||
this.listQuery.page = 1
|
this.listQuery.page = 1
|
||||||
|
this.$message.success('保存成功')
|
||||||
this.getList()
|
this.getList()
|
||||||
}).catch((e) => {
|
}).catch((e) => {
|
||||||
|
this.$message.error('保存失败')
|
||||||
this.listLoading = false
|
this.listLoading = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
@ -246,11 +248,13 @@ export default {
|
||||||
id: id
|
id: id
|
||||||
}
|
}
|
||||||
).then((data) => {
|
).then((data) => {
|
||||||
if (data.result == 'success') {
|
if (data.result === 'success') {
|
||||||
this.listLoading = false
|
this.listLoading = false
|
||||||
|
this.$message.success('删除成功')
|
||||||
this.getList()
|
this.getList()
|
||||||
}
|
}
|
||||||
}).catch((e) => {
|
}).catch((e) => {
|
||||||
|
this.$message.error(e)
|
||||||
this.listLoading = false
|
this.listLoading = false
|
||||||
})
|
})
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<div class="filter-container">
|
<div class="filter-container">
|
||||||
<el-form inline>
|
<el-form inline>
|
||||||
<el-form-item label="姓名:" prop="KEYWORDS_NAME">
|
<el-form-item label="姓名:" prop="KEYWORDS_NAME">
|
||||||
<el-input v-model="KEYWORDS_NAME" placeholder="姓名" class="filter-item" style="width: 200px;" />
|
<el-input v-model="KEYWORDS_NAME" placeholder="姓名" class="filter-item" style="width: 200px;"/>
|
||||||
</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>
|
||||||
|
@ -11,24 +11,37 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</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
|
||||||
<el-table-column type="selection" width="55" align="center" />
|
ref="multipleTable"
|
||||||
<el-table-column type="index" label="序号" width="50" align="center" />
|
:data="varList"
|
||||||
<el-table-column prop="USER_NAME" label="姓名" width="180" />
|
: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="USER_NAME" label="姓名" width="180"/>
|
||||||
<el-table-column :show-overflow-tooltip="true" label="性别">
|
<el-table-column :show-overflow-tooltip="true" label="性别">
|
||||||
<template slot-scope="{ row }">
|
<template slot-scope="{ row }">
|
||||||
{{ row.GENDER === '0' ? '男' : row.GENDER === '1' ? '女' : '' }}
|
{{ row.GENDER === '0' ? '男' : row.GENDER === '1' ? '女' : '' }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column :show-overflow-tooltip="true" prop="ADMINISTRATIVE_POSITION" label="行政职务" />
|
<el-table-column :show-overflow-tooltip="true" prop="ADMINISTRATIVE_POSITION" label="行政职务"/>
|
||||||
<el-table-column :show-overflow-tooltip="true" prop="ADMINISTRATIVE_LEVEL" label="行政级别" />
|
<el-table-column :show-overflow-tooltip="true" prop="ADMINISTRATIVE_LEVEL" label="行政级别"/>
|
||||||
<el-table-column :show-overflow-tooltip="true" prop="IDENTITY_NUMBER" label="身份证号" />
|
<el-table-column :show-overflow-tooltip="true" prop="IDENTITY_NUMBER" label="身份证号"/>
|
||||||
<el-table-column :show-overflow-tooltip="true" prop="CONTACT_PHONE" label="联系电话" />
|
<el-table-column :show-overflow-tooltip="true" prop="CONTACT_PHONE" label="联系电话"/>
|
||||||
<el-table-column label="操作" align="center" width="200">
|
<el-table-column label="操作" align="center" width="200">
|
||||||
<template slot-scope="{row}">
|
<template slot-scope="{row}">
|
||||||
<el-button type="text" icon="el-icon-document" size="mini" @click="showDetails(row)">查看</el-button>
|
<el-button type="text" icon="el-icon-document" size="mini" @click="showDetails(row)">查看</el-button>
|
||||||
<el-button type="text" 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="text" style="color: red;" icon="el-icon-delete" size="mini" @click="handleDelete(row.ID,row.USER_NAME)">删除</el-button>
|
<el-button
|
||||||
|
type="text"
|
||||||
|
style="color: red;"
|
||||||
|
icon="el-icon-delete"
|
||||||
|
size="mini"
|
||||||
|
@click="handleDelete(row.ID,row.USER_NAME)">删除
|
||||||
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
@ -39,51 +52,51 @@
|
||||||
<el-button type="danger" icon="el-icon-delete" plain @click="makeAll('0')">删除</el-button>
|
<el-button type="danger" icon="el-icon-delete" plain @click="makeAll('0')">删除</el-button>
|
||||||
</template>
|
</template>
|
||||||
</div>
|
</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>
|
</div>
|
||||||
|
|
||||||
<!-- 查看弹窗 -->
|
<!-- 查看弹窗 -->
|
||||||
<el-dialog :visible.sync="dialogFormShow" title="详情" width="1000px">
|
<el-dialog :visible.sync="dialogFormShow" title="详情" width="1000px">
|
||||||
<el-form :model="form" label-width="100px" style="margin-right: 10px">
|
<el-form :model="form" label-width="100px" style="margin-right: 10px">
|
||||||
<el-form-item label="姓名" prop="USER_NAME">
|
<el-form-item label="姓名" prop="USER_NAME">
|
||||||
<el-input v-model="form.USER_NAME" placeholder="请输入姓名..." disabled />
|
<el-input v-model="form.USER_NAME" placeholder="请输入姓名..." disabled/>
|
||||||
</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="GENDER">
|
<el-form-item label="性别" prop="GENDER">
|
||||||
<el-select v-model="form.GENDER" disabled placeholder="请选择性别" style="width: 100%;">
|
<el-select v-model="form.GENDER" disabled placeholder="请选择性别" style="width: 100%;">
|
||||||
<el-option label="男" value="0" />
|
<el-option label="男" value="0"/>
|
||||||
<el-option label="女" value="1" />
|
<el-option label="女" value="1"/>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="行政职务" prop="ADMINISTRATIVE_POSITION">
|
<el-form-item label="行政职务" prop="ADMINISTRATIVE_POSITION">
|
||||||
<el-input v-model="form.ADMINISTRATIVE_POSITION" placeholder="请选择行政职务" disabled />
|
<el-input v-model="form.ADMINISTRATIVE_POSITION" placeholder="请选择行政职务" disabled/>
|
||||||
</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="ADMINISTRATIVE_LEVEL">
|
<el-form-item label="行政级别" prop="ADMINISTRATIVE_LEVEL">
|
||||||
<el-input v-model="form.ADMINISTRATIVE_LEVEL" placeholder="请选择行政级别" disabled />
|
<el-input v-model="form.ADMINISTRATIVE_LEVEL" placeholder="请选择行政级别" disabled/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="身份证号" prop="IDENTITY_NUMBER">
|
<el-form-item label="身份证号" prop="IDENTITY_NUMBER">
|
||||||
<el-input v-model="form.IDENTITY_NUMBER" placeholder="请输入身份证号..." disabled />
|
<el-input v-model="form.IDENTITY_NUMBER" placeholder="请输入身份证号..." disabled/>
|
||||||
</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_PHONE">
|
<el-form-item label="联系电话" prop="CONTACT_PHONE">
|
||||||
<el-input v-model="form.CONTACT_PHONE" placeholder="请输入联系电话..." disabled />
|
<el-input v-model="form.CONTACT_PHONE" placeholder="请输入联系电话..." disabled/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="排序" prop="SORT_ORDER">
|
<el-form-item label="排序" prop="SORT_ORDER">
|
||||||
<el-input v-model="form.SORT_ORDER" placeholder="请输入排序..." disabled />
|
<el-input v-model="form.SORT_ORDER" placeholder="请输入排序..." disabled/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
@ -116,14 +129,14 @@
|
||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="排序" prop="SORT_ORDER">
|
<el-form-item label="排序" prop="SORT_ORDER">
|
||||||
<el-input v-model="form.SORT_ORDER" placeholder="请输入排序..." />
|
<el-input v-model="form.SORT_ORDER" placeholder="请输入排序..."/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="性别" prop="GENDER">
|
<el-form-item label="性别" prop="GENDER">
|
||||||
<el-select v-model="form.GENDER" placeholder="请选择性别" style="width: 100%;">
|
<el-select v-model="form.GENDER" placeholder="请选择性别" style="width: 100%;">
|
||||||
<el-option label="男" value="0" />
|
<el-option label="男" value="0"/>
|
||||||
<el-option label="女" value="1" />
|
<el-option label="女" value="1"/>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
@ -131,24 +144,24 @@
|
||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="行政职务" prop="ADMINISTRATIVE_POSITION">
|
<el-form-item label="行政职务" prop="ADMINISTRATIVE_POSITION">
|
||||||
<el-input v-model="form.ADMINISTRATIVE_POSITION" placeholder="请输入行政职务..." />
|
<el-input v-model="form.ADMINISTRATIVE_POSITION" placeholder="请输入行政职务..."/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="行政级别" prop="ADMINISTRATIVE_LEVEL">
|
<el-form-item label="行政级别" prop="ADMINISTRATIVE_LEVEL">
|
||||||
<el-input v-model="form.ADMINISTRATIVE_LEVEL" placeholder="请输入行政级别..." />
|
<el-input v-model="form.ADMINISTRATIVE_LEVEL" 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="IDENTITY_NUMBER">
|
<el-form-item label="身份证号" prop="IDENTITY_NUMBER">
|
||||||
<el-input v-model="form.IDENTITY_NUMBER" placeholder="请输入身份证号..." />
|
<el-input v-model="form.IDENTITY_NUMBER" placeholder="请输入身份证号..."/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="联系电话" prop="CONTACT_PHONE">
|
<el-form-item label="联系电话" prop="CONTACT_PHONE">
|
||||||
<el-input v-model="form.CONTACT_PHONE" placeholder="请输入联系电话..." />
|
<el-input v-model="form.CONTACT_PHONE" placeholder="请输入联系电话..."/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
@ -372,7 +385,8 @@ export default {
|
||||||
}).catch((e) => {
|
}).catch((e) => {
|
||||||
this.listLoading = false
|
this.listLoading = false
|
||||||
})
|
})
|
||||||
}).catch(() => { })
|
}).catch(() => {
|
||||||
|
})
|
||||||
},
|
},
|
||||||
makeAll() {
|
makeAll() {
|
||||||
const _selectData = this.$refs.multipleTable.selection
|
const _selectData = this.$refs.multipleTable.selection
|
||||||
|
@ -398,7 +412,8 @@ export default {
|
||||||
}).catch((e) => {
|
}).catch((e) => {
|
||||||
this.listLoading = false
|
this.listLoading = false
|
||||||
})
|
})
|
||||||
}).catch(() => { })
|
}).catch(() => {
|
||||||
|
})
|
||||||
},
|
},
|
||||||
getQuery() {
|
getQuery() {
|
||||||
this.$refs.multipleTable.clearSelection()
|
this.$refs.multipleTable.clearSelection()
|
||||||
|
@ -407,9 +422,7 @@ export default {
|
||||||
getList() {
|
getList() {
|
||||||
this.listLoading = true
|
this.listLoading = true
|
||||||
requestFN('/major/personnel/list?showCount=' + this.listQuery.limit + '¤tPage=' + this.listQuery.page,
|
requestFN('/major/personnel/list?showCount=' + this.listQuery.limit + '¤tPage=' + this.listQuery.page,
|
||||||
{
|
{ name: this.KEYWORDS_NAME }
|
||||||
name: this.KEYWORDS_NAME
|
|
||||||
}
|
|
||||||
).then((data) => {
|
).then((data) => {
|
||||||
this.listLoading = false
|
this.listLoading = false
|
||||||
this.varList = data.varList
|
this.varList = data.varList
|
||||||
|
|
|
@ -344,7 +344,12 @@ export default {
|
||||||
{ required: true, message: '负责人不能为空', trigger: 'blur' }
|
{ required: true, message: '负责人不能为空', trigger: 'blur' }
|
||||||
],
|
],
|
||||||
RESPONSIBLE_OFFICE_PHONE: [
|
RESPONSIBLE_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: '请输入正确的手机号码'
|
||||||
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
// rules: {
|
// rules: {
|
||||||
|
|
|
@ -535,7 +535,9 @@ export default {
|
||||||
this.varList = []
|
this.varList = []
|
||||||
this.listQuery.page = 1
|
this.listQuery.page = 1
|
||||||
this.getList()
|
this.getList()
|
||||||
|
this.$message.success('保存成功')
|
||||||
}).catch((e) => {
|
}).catch((e) => {
|
||||||
|
this.$message.error(e)
|
||||||
this.listISLOADing = false
|
this.listISLOADing = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
|
@ -38,14 +38,19 @@
|
||||||
<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="dialogFormCheck" title="审核" width="400px" class="dy-dialog">
|
<el-dialog :visible.sync="dialogFormCheck" title="审核" width="400px">
|
||||||
<Treeselect
|
<el-form inline label-width="120px">
|
||||||
:options="FILESTATUSThree"
|
<el-form-item label="审核状态:" >
|
||||||
v-model="AUDIT_STATUS"
|
<Treeselect
|
||||||
placeholder="请选择预案类型"
|
:options="FILESTATUSThree"
|
||||||
no-options-text="暂无数据"
|
v-model="AUDIT_STATUS"
|
||||||
no-children-text="暂无数据"
|
placeholder="请选择预案类型"
|
||||||
/>
|
no-options-text="暂无数据"
|
||||||
|
no-children-text="暂无数据"
|
||||||
|
style="width: 300px"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="dialogFormCheck = false">取 消</el-button>
|
<el-button @click="dialogFormCheck = false">取 消</el-button>
|
||||||
<el-button type="primary" @click="setCheck">确 定</el-button>
|
<el-button type="primary" @click="setCheck">确 定</el-button>
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
<div>
|
<div>
|
||||||
<template>
|
<template>
|
||||||
<el-button type="primary" icon="el-icon-plus" @click="handleAdd">新增</el-button>
|
<el-button type="primary" icon="el-icon-plus" @click="handleAdd">新增</el-button>
|
||||||
<el-button type="danger" icon="el-icon-delete" plain @click="makeAll('0')">删除</el-button>
|
<el-button v-if="false" type="danger" icon="el-icon-delete" plain @click="makeAll('0')">删除</el-button>
|
||||||
</template>
|
</template>
|
||||||
</div>
|
</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" />
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<el-dialog v-loading="listLoading" :visible.sync="visible" title="选择人员" width="850px">
|
<el-dialog v-loading="listLoading" :visible.sync="visible" :before-close="closeDialog" title="选择人员" width="850px">
|
||||||
<el-container>
|
<el-container>
|
||||||
<el-aside width="240px" style="background-color:#fff">
|
<el-aside width="240px" style="background-color:#fff">
|
||||||
<el-input
|
<el-input
|
||||||
|
@ -59,7 +59,7 @@
|
||||||
</el-main>
|
</el-main>
|
||||||
</el-container>
|
</el-container>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="visible = false">取 消</el-button>
|
<el-button @click="closeDialog">取 消</el-button>
|
||||||
<el-button type="primary" @click="savePeople">确 定</el-button>
|
<el-button type="primary" @click="savePeople">确 定</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
@ -189,6 +189,12 @@ export default {
|
||||||
}).catch((e) => {
|
}).catch((e) => {
|
||||||
this.treeLoading = false
|
this.treeLoading = false
|
||||||
})
|
})
|
||||||
|
},
|
||||||
|
closeDialog() {
|
||||||
|
this.filterText = ''
|
||||||
|
this.KEYWORDS = ''
|
||||||
|
this.treeData = []
|
||||||
|
this.visible = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,7 +38,15 @@
|
||||||
</el-row>
|
</el-row>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
<el-table ref="multipleTable" :data="varList" :header-cell-style="{'font-weight': 'bold','color': '#000'}" style="height:350px" tooltip-effect="dark" border fit highlight-current-row>
|
<el-table
|
||||||
|
ref="multipleTable"
|
||||||
|
:data="varList"
|
||||||
|
:header-cell-style="{'font-weight': 'bold','color': '#000'}"
|
||||||
|
tooltip-effect="dark"
|
||||||
|
border
|
||||||
|
fit
|
||||||
|
height="350px"
|
||||||
|
highlight-current-row>
|
||||||
<el-table-column type="selection" width="55" align="center" />
|
<el-table-column type="selection" width="55" align="center" />
|
||||||
<el-table-column prop="NAME" label="姓名" />
|
<el-table-column prop="NAME" label="姓名" />
|
||||||
<el-table-column prop="USERNAME" width="180" align="center" label="电话号码" />
|
<el-table-column prop="USERNAME" width="180" align="center" label="电话号码" />
|
||||||
|
|
|
@ -30,6 +30,10 @@
|
||||||
<td class="tbg">联系电话</td>
|
<td class="tbg">联系电话</td>
|
||||||
<td>{{ form.CONTACT_PHONE }}</td>
|
<td>{{ form.CONTACT_PHONE }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="tbg">其他信息</td>
|
||||||
|
<td colspan="3">{{ form.OTHER_INFO }}</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="tbg">单位名称</td>
|
<td class="tbg">单位名称</td>
|
||||||
<td>{{ form.UNIT_NAME }}</td>
|
<td>{{ form.UNIT_NAME }}</td>
|
||||||
|
@ -57,14 +61,15 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td class="tbg">所在地址</td>
|
<td class="tbg">所在地址</td>
|
||||||
<td>{{ form.LOCATION_ADDRESS }}</td>
|
<td>{{ form.LOCATION_ADDRESS }}</td>
|
||||||
<td class="tbg">经度</td>
|
|
||||||
<td>{{ form.LONGITUDE }}</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="tbg">纬度</td>
|
|
||||||
<td>{{ form.LATITUDE }}</td>
|
|
||||||
<td class="tbg">接报类型</td>
|
<td class="tbg">接报类型</td>
|
||||||
<td>{{ form.REPORT_TYPE }}</td>
|
<td>{{ form.REPORT_TYPE }}</td>
|
||||||
|
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="tbg">经度</td>
|
||||||
|
<td>{{ form.LONGITUDE }}</td>
|
||||||
|
<td class="tbg">纬度</td>
|
||||||
|
<td>{{ form.LATITUDE }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="tbg">事故标题</td>
|
<td class="tbg">事故标题</td>
|
||||||
|
|
|
@ -197,7 +197,7 @@
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col v-if="rescueForm.RESCUE_SITUATION === '1'" :span="12">
|
||||||
<el-form-item label="是否执预案:" prop="EVENT_SITUATION">
|
<el-form-item label="是否执预案:" prop="EVENT_SITUATION">
|
||||||
<el-radio-group v-model="rescueForm.EVENT_SITUATION">
|
<el-radio-group v-model="rescueForm.EVENT_SITUATION">
|
||||||
<el-radio :label="'1'">是</el-radio>
|
<el-radio :label="'1'">是</el-radio>
|
||||||
|
|
|
@ -1,11 +1,16 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<div class="filter-container">
|
<div class="filter-container">
|
||||||
<el-input v-model="KEYWORDS" placeholder="搜索" class="filter-item" style="width: 200px;" />
|
<el-form inline>
|
||||||
<el-button class="filter-item" type="primary" icon="el-icon-search" @click="getQuery">
|
<el-form-item label="专家姓名:" prop="EXPERT_GROUP_ID">
|
||||||
搜索
|
<el-input v-model="KEYWORDS" placeholder="搜索" class="filter-item" style="width: 200px;" />
|
||||||
</el-button>
|
</el-form-item>
|
||||||
<el-button type="primary" icon="el-icon-plus" @click="handleAdd">新增</el-button>
|
<el-form-item prop="EXPERT_NAME">
|
||||||
|
<el-button class="filter-item" type="primary" icon="el-icon-search" @click="getQuery">搜索</el-button>
|
||||||
|
<el-button class="filter-item" type="info" icon="el-icon-search" @click="resetting">重置</el-button>
|
||||||
|
<el-button type="primary" icon="el-icon-plus" @click="handleAdd">新增</el-button>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
<div class="ui-foot">
|
<div class="ui-foot">
|
||||||
<el-button type="primary" @click="goBack">返回专家组</el-button>
|
<el-button type="primary" @click="goBack">返回专家组</el-button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -130,6 +135,10 @@ export default {
|
||||||
getQuery() {
|
getQuery() {
|
||||||
this.$refs.multipleTable.clearSelection()
|
this.$refs.multipleTable.clearSelection()
|
||||||
this.getList()
|
this.getList()
|
||||||
|
},
|
||||||
|
resetting() {
|
||||||
|
this.KEYWORDS = ''
|
||||||
|
this.getList()
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -290,8 +290,13 @@ export default {
|
||||||
this.FFILE = fileList
|
this.FFILE = fileList
|
||||||
},
|
},
|
||||||
upload(fun) {
|
upload(fun) {
|
||||||
|
const loading = this.$loading({
|
||||||
|
lock: true,
|
||||||
|
text: 'Loading',
|
||||||
|
spinner: 'el-icon-loading',
|
||||||
|
background: 'rgba(0, 0, 0, 0.7)'
|
||||||
|
})
|
||||||
const formData = new FormData()
|
const formData = new FormData()
|
||||||
|
|
||||||
for (let i = 0; i < this.FFILE.length; i++) {
|
for (let i = 0; i < this.FFILE.length; i++) {
|
||||||
if (this.FFILE[i].raw) {
|
if (this.FFILE[i].raw) {
|
||||||
formData.append('FFILE', this.FFILE[i].raw)
|
formData.append('FFILE', this.FFILE[i].raw)
|
||||||
|
@ -302,7 +307,10 @@ export default {
|
||||||
formData
|
formData
|
||||||
).then((data) => {
|
).then((data) => {
|
||||||
fun(data.fileurl)
|
fun(data.fileurl)
|
||||||
|
loading.close()
|
||||||
}).catch((e) => {
|
}).catch((e) => {
|
||||||
|
this.$message.error(e)
|
||||||
|
loading.close()
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
//* ****************************************
|
//* ****************************************
|
||||||
|
@ -461,6 +469,7 @@ export default {
|
||||||
requestFN(
|
requestFN(
|
||||||
'/yjExpertGroup/save', this.form
|
'/yjExpertGroup/save', this.form
|
||||||
).then((data) => {
|
).then((data) => {
|
||||||
|
this.$message.success('保存成功')
|
||||||
this.listISLOADing = false
|
this.listISLOADing = false
|
||||||
this.dialogFormEdit = false
|
this.dialogFormEdit = false
|
||||||
this.varList = []
|
this.varList = []
|
||||||
|
@ -511,6 +520,7 @@ export default {
|
||||||
}
|
}
|
||||||
this.getList()
|
this.getList()
|
||||||
}).catch((e) => {
|
}).catch((e) => {
|
||||||
|
this.$message.error(e)
|
||||||
this.listISLOADing = false
|
this.listISLOADing = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
@ -529,10 +539,12 @@ export default {
|
||||||
}
|
}
|
||||||
).then((data) => {
|
).then((data) => {
|
||||||
if (data.result === 'success') {
|
if (data.result === 'success') {
|
||||||
|
this.$message.success('删除成功')
|
||||||
this.listISLOADing = false
|
this.listISLOADing = false
|
||||||
this.getList()
|
this.getList()
|
||||||
}
|
}
|
||||||
}).catch((e) => {
|
}).catch((e) => {
|
||||||
|
this.$message.error(e)
|
||||||
this.listISLOADing = false
|
this.listISLOADing = false
|
||||||
})
|
})
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
|
@ -570,6 +582,7 @@ export default {
|
||||||
this.listQuery.page = 1
|
this.listQuery.page = 1
|
||||||
this.$refs.multipleTable.clearSelection()
|
this.$refs.multipleTable.clearSelection()
|
||||||
this.getList()
|
this.getList()
|
||||||
|
this.$message.success('删除成功')
|
||||||
}).catch((e) => {
|
}).catch((e) => {
|
||||||
this.listISLOADing = false
|
this.listISLOADing = false
|
||||||
})
|
})
|
||||||
|
|
|
@ -609,7 +609,9 @@ export default {
|
||||||
this.varList = []
|
this.varList = []
|
||||||
this.listQuery.page = 1
|
this.listQuery.page = 1
|
||||||
this.getList()
|
this.getList()
|
||||||
|
this.$message.success('保存成功')
|
||||||
}).catch((e) => {
|
}).catch((e) => {
|
||||||
|
console.error('保存失败', e)
|
||||||
this.listISLOADing = false
|
this.listISLOADing = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
|
@ -194,6 +194,7 @@ export default {
|
||||||
},
|
},
|
||||||
resetQuery() {
|
resetQuery() {
|
||||||
this.RESCUE_TEAM_NAME = ''
|
this.RESCUE_TEAM_NAME = ''
|
||||||
|
this.NAME = ''
|
||||||
this.getQuery()
|
this.getQuery()
|
||||||
},
|
},
|
||||||
goList(page, CASE_ID, ticketType) {
|
goList(page, CASE_ID, ticketType) {
|
||||||
|
|
|
@ -12,8 +12,8 @@
|
||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<el-button v-show="add" type="primary" icon="el-icon-plus" plain @click="handleAdd">新增</el-button>
|
<el-button type="primary" icon="el-icon-plus" plain @click="handleAdd">新增</el-button>
|
||||||
<el-button v-show="del" type="danger" icon="el-icon-delete" plain @click="batchDel">删除</el-button>
|
<el-button type="danger" icon="el-icon-delete" plain @click="batchDel">删除</el-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -38,8 +38,8 @@
|
||||||
<el-table-column prop="ORG_DUTY" label="机构职责" />
|
<el-table-column prop="ORG_DUTY" label="机构职责" />
|
||||||
<el-table-column label="操作" align="center" width="200">
|
<el-table-column label="操作" align="center" width="200">
|
||||||
<template slot-scope="{row}">
|
<template slot-scope="{row}">
|
||||||
<el-button v-show="edit" type="primary" icon="el-icon-edit" size="mini" @click="handleEdit(row.EMERGENCYDRILLORG_ID)">编辑</el-button>
|
<el-button type="text" icon="el-icon-edit" size="mini" @click="handleEdit(row.EMERGENCYDRILLORG_ID)">编辑</el-button>
|
||||||
<el-button v-show="del" type="danger" icon="el-icon-delete" size="mini" @click="handleDelete(row.EMERGENCYDRILLORG_ID)">删除</el-button>
|
<el-button type="text" style="color: red" icon="el-icon-delete" size="mini" @click="handleDelete(row.EMERGENCYDRILLORG_ID)">删除</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
@ -186,6 +186,7 @@ export default {
|
||||||
this.listLoading = false
|
this.listLoading = false
|
||||||
this.dialogFormEdit = false
|
this.dialogFormEdit = false
|
||||||
this.getList()
|
this.getList()
|
||||||
|
this.$message.success('保存成功')
|
||||||
}).catch((e) => {
|
}).catch((e) => {
|
||||||
this.listLoading = false
|
this.listLoading = false
|
||||||
})
|
})
|
||||||
|
|
|
@ -12,8 +12,8 @@
|
||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<el-button v-show="add" type="primary" icon="el-icon-plus" plain @click="handleAdd">新增</el-button>
|
<el-button type="primary" icon="el-icon-plus" plain @click="handleAdd">新增</el-button>
|
||||||
<el-button v-show="del" type="danger" icon="el-icon-delete" plain @click="batchDel">删除</el-button>
|
<el-button type="danger" icon="el-icon-delete" plain @click="batchDel">删除</el-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -41,8 +41,8 @@
|
||||||
<el-table-column prop="MEMBER_EMERGENCY_PHONE" label="紧急联系电话" width="110" />
|
<el-table-column prop="MEMBER_EMERGENCY_PHONE" label="紧急联系电话" width="110" />
|
||||||
<el-table-column label="操作" align="center" width="200">
|
<el-table-column label="操作" align="center" width="200">
|
||||||
<template slot-scope="{row}">
|
<template slot-scope="{row}">
|
||||||
<el-button v-show="edit" type="primary" icon="el-icon-edit" size="mini" @click="handleEdit(row.EMERGENCYDRILLORGMEMBER_ID)">编辑</el-button>
|
<el-button type="text" icon="el-icon-edit" size="mini" @click="handleEdit(row.EMERGENCYDRILLORGMEMBER_ID)">编辑</el-button>
|
||||||
<el-button v-show="del" type="danger" icon="el-icon-delete" size="mini" @click="handleDelete(row.EMERGENCYDRILLORGMEMBER_ID)">删除</el-button>
|
<el-button type="text" style="color: red" icon="el-icon-delete" size="mini" @click="handleDelete(row.EMERGENCYDRILLORGMEMBER_ID)">删除</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
@ -220,6 +220,7 @@ export default {
|
||||||
this.listLoading = false
|
this.listLoading = false
|
||||||
this.dialogFormEdit = false
|
this.dialogFormEdit = false
|
||||||
this.getList()
|
this.getList()
|
||||||
|
this.$message.success('保存成功')
|
||||||
}).catch((e) => {
|
}).catch((e) => {
|
||||||
this.listLoading = false
|
this.listLoading = false
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue