| | |
| | | style="width: 100%" |
| | | /> |
| | | </a-col> |
| | | <a-col :span="4"> |
| | | <a-col :span="6"> |
| | | <a-button type="primary" @click="searchData()">查询</a-button> |
| | | <a-button style="margin-left: 12px" @click="resetSearch">重置</a-button> |
| | | </a-col> |
| | |
| | | { |
| | | title: '操作', |
| | | dataIndex: 'operation', |
| | | width: '18%', |
| | | scopedSlots: { |
| | | customRender: 'operation' |
| | | }, |
| | |
| | | <template> |
| | | <div class="inner"> |
| | | <a-row type="flex" justify="space-between" style="margin-bottom: 20px"> |
| | | <a-col :span="8"> |
| | | <a-col :span="6"> |
| | | <a-button v-if="unittype && unittype !== null" type="primary" @click="editData('add',{})">新增</a-button> |
| | | <a-button v-if="unittype && unittype !== null" type="primary" @click="visible = true" style="margin: 0 12px">导入通讯录表</a-button> |
| | | <a-button v-if="unittype && unittype !== null" type="primary" @click="openGroup()">分组管理</a-button> |
| | | </a-col> |
| | | <a-col :span="16"> |
| | | <a-col :span="18"> |
| | | <a-row type="flex" justify="end" :gutter="14"> |
| | | <a-col :span="6"> |
| | | <a-input v-model="search.searchParams.company" placeholder="单位名称" style="width: 100%"/> |
| | |
| | | <a-select-option v-for="item in groupData" :value="item.id" :key="item.id">{{item.name}}</a-select-option> |
| | | </a-select> |
| | | </a-col> |
| | | <a-col :span="4"> |
| | | <a-col :span="6"> |
| | | <a-button type="primary" @click="searchData()">查询</a-button> |
| | | <a-button style="margin-left: 12px" @click="resetSearch">重置</a-button> |
| | | </a-col> |
| | |
| | | { |
| | | title: '操作', |
| | | key: 'action', |
| | | width: '15%', |
| | | scopedSlots: { customRender: 'action' } |
| | | }, |
| | | ], |
| | |
| | | style="width: 100%" |
| | | /> |
| | | </a-col> |
| | | <a-col :span="4"> |
| | | <a-col :span="6"> |
| | | <a-button type="primary" @click="searchData">查询</a-button> |
| | | <a-button style="margin-left: 12px" @click="resetSearch">重置</a-button> |
| | | </a-col> |
| | |
| | | :title="title" |
| | | :visible="visible" |
| | | centered |
| | | width="50%" |
| | | width="75%" |
| | | @cancel="handleCancel" |
| | | :afterClose="clearMod" |
| | | :footer="null" |
| | |
| | | <template>
|
| | | <div class="inner">
|
| | | <a-row type="flex" justify="space-between" style="margin-bottom: 20px">
|
| | | <a-col :span="6">
|
| | | <a-col :span="4">
|
| | | <a-radio-group v-model="search.searchParams.emergType" @change="getData">
|
| | | <a-radio-button :value="null">
|
| | | 全部
|
| | |
| | | </a-radio-button>
|
| | | </a-radio-group>
|
| | | </a-col>
|
| | | <a-col :span="18">
|
| | | <a-col :span="20">
|
| | | <a-row type="flex" justify="end" :gutter="18">
|
| | | <a-col :span="8">
|
| | | <a-range-picker
|
| | |
| | | <a-col :span="6">
|
| | | <a-input v-model="search.searchParams.publishingUnit" placeholder="单位名称" style="width: 100%"/>
|
| | | </a-col>
|
| | | <a-col :span="4">
|
| | | <a-col :span="6">
|
| | | <a-button type="primary" @click="searchData">查询</a-button>
|
| | | <a-button style="margin-left: 12px" @click="resetSearch">重置</a-button>
|
| | | </a-col>
|
| | |
| | | {
|
| | | title: '操作',
|
| | | dataIndex: 'operation',
|
| | | width: '15%',
|
| | | scopedSlots: {
|
| | | customRender: 'operation'
|
| | | },
|
| | |
| | | style="width: 100%"
|
| | | />
|
| | | </a-col>
|
| | | <a-col :span="4">
|
| | | <a-col :span="6">
|
| | | <a-button type="primary" @click="searchData">查询</a-button>
|
| | | <a-button style="margin-left: 12px" @click="resetSearch">重置</a-button>
|
| | | </a-col>
|
| | |
| | | {
|
| | | title: '操作',
|
| | | dataIndex: 'operation',
|
| | | width: '15%',
|
| | | width: '18%',
|
| | | scopedSlots: {
|
| | | customRender: 'operation'
|
| | | },
|
| | |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <div style="display:flex;justify-content: space-between;align-items: center;"> |
| | | <b>选择接收单位:</b> |
| | | <a-checkbox :checked="checkAll" @change="checkChange"> |
| | | 全选 |
| | | </a-checkbox> |
| | | </div> |
| | | <a-form-model-item prop="receiver"> |
| | | <a-tree-select |
| | | show-search |
| | | tree-checkable |
| | | treeCheckStrictly |
| | | style="width: 100%" |
| | | v-model="form.receiver" |
| | | :dropdown-style="{ maxHeight: '400px', overflow: 'auto' }" |
| | | placeholder="选择工作通知接收单位" |
| | | allow-clear |
| | | multiple |
| | | :maxTagCount="3" |
| | | @change="onChanges" |
| | | @search="onSearch" |
| | | @select="onSelect" |
| | | :tree-data="areaUsers" |
| | | :replaceFields="replaceFields" |
| | | > |
| | | </a-tree-select> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <div style="display:flex;justify-content: space-between;align-items: center;"> |
| | | <b>平级接收人选择:</b> |
| | | <a-checkbox :checked="checkSlAll" @change="checkSlChange"> |
| | | 全选 |
| | | </a-checkbox> |
| | | </div> |
| | | <a-form-model-item> |
| | | <a-select mode="multiple" placeholder="选择平级接收单位" v-model="form.recipient" @change="handle"> |
| | | <a-select-option v-for="item in filteredOptions" :key="item.id" :value="item.id" :maxTagCount="3"> |
| | | {{ item.recipientName }}({{item.company}} {{item.phone}}) |
| | | </a-select-option> |
| | | </a-select> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <!-- <a-row :gutter="24">--> |
| | | <!-- <a-col :span="12">--> |
| | | <!-- <div style="display:flex;justify-content: space-between;align-items: center;">--> |
| | | <!-- <b>选择接收单位:</b>--> |
| | | <!-- <a-checkbox :checked="checkAll" @change="checkChange">--> |
| | | <!-- 全选--> |
| | | <!-- </a-checkbox>--> |
| | | <!-- </div>--> |
| | | <!-- <a-form-model-item prop="receiver">--> |
| | | <!-- <a-tree-select--> |
| | | <!-- show-search--> |
| | | <!-- tree-checkable--> |
| | | <!-- treeCheckStrictly--> |
| | | <!-- style="width: 100%"--> |
| | | <!-- v-model="form.receiver"--> |
| | | <!-- :dropdown-style="{ maxHeight: '400px', overflow: 'auto' }"--> |
| | | <!-- placeholder="选择工作通知接收单位"--> |
| | | <!-- allow-clear--> |
| | | <!-- multiple--> |
| | | <!-- :maxTagCount="3"--> |
| | | <!-- @change="onChanges"--> |
| | | <!-- @search="onSearch"--> |
| | | <!-- @select="onSelect"--> |
| | | <!-- :tree-data="areaUsers"--> |
| | | <!-- :replaceFields="replaceFields"--> |
| | | <!-- >--> |
| | | <!-- </a-tree-select>--> |
| | | <!-- </a-form-model-item>--> |
| | | <!-- </a-col>--> |
| | | <!-- <a-col :span="12">--> |
| | | <!-- <div style="display:flex;justify-content: space-between;align-items: center;">--> |
| | | <!-- <b>平级接收人选择:</b>--> |
| | | <!-- <a-checkbox :checked="checkSlAll" @change="checkSlChange">--> |
| | | <!-- 全选--> |
| | | <!-- </a-checkbox>--> |
| | | <!-- </div>--> |
| | | <!-- <a-form-model-item>--> |
| | | <!-- <a-select mode="multiple" placeholder="选择平级接收单位" v-model="form.recipient" @change="handle">--> |
| | | <!-- <a-select-option v-for="item in filteredOptions" :key="item.id" :value="item.id" :maxTagCount="3">--> |
| | | <!-- {{ item.recipientName }}({{item.company}} {{item.phone}})--> |
| | | <!-- </a-select-option>--> |
| | | <!-- </a-select>--> |
| | | <!-- </a-form-model-item>--> |
| | | <!-- </a-col>--> |
| | | <!-- </a-row>--> |
| | | <!-- <div>--> |
| | | <!-- <b>选择审批领导:</b> --> |
| | | <!-- <a-select show-search placeholder="请选择审批领导"--> |
| | |
| | | disasterType: [{ required: true, message: '请选择灾种', trigger: 'change'}], |
| | | warningLevel: [{ required: true, message: '请选择预警级别', trigger: 'change'}], |
| | | content: [{ required: true, message: '请输入信息内容', trigger: 'blur'}], |
| | | receiver: [{ required: true, message: '请选择接收单位', trigger: 'change'}], |
| | | // receiver: [{ required: true, message: '请选择接收单位', trigger: 'change'}], |
| | | // recipient: [{ required: true, message: '请选择平级接收人', trigger: 'change'}] |
| | | // verticalRecipient: [{ required: true, message: '请选择接收单位', trigger: 'change'}], |
| | | // horizontalRecipient: [{ required: true, message: '请选择平级接收人', trigger: 'change'}] |
| | |
| | | }, |
| | | { |
| | | title: '操作', |
| | | width: '12%', |
| | | key: 'action', |
| | | scopedSlots: { customRender: 'action' } |
| | | }, |
| | |
| | | style="width: 100%" |
| | | /> |
| | | </a-col> |
| | | <a-col :span="4"> |
| | | <a-col :span="6"> |
| | | <a-button type="primary" @click="getData">查询</a-button> |
| | | <a-button style="margin-left: 12px" @click="resetSearch">重置</a-button> |
| | | </a-col> |
| | |
| | | { |
| | | title: '灾种', |
| | | dataIndex: 'disasterType', |
| | | width: '8%', |
| | | scopedSlots: { |
| | | customRender: 'disasterType' |
| | | } |
| | |
| | | { |
| | | title: '信息标题', |
| | | dataIndex: 'title', |
| | | width: '16%', |
| | | }, |
| | | { |
| | | title: '附件', |
| | |
| | | { |
| | | title: '叫应情况', |
| | | dataIndex: 'responsesRate', |
| | | width: '10%', |
| | | scopedSlots: { |
| | | customRender: 'responsesRate' |
| | | }, //设置定制化表格数据 |
| | |
| | | { |
| | | title: '操作', |
| | | dataIndex: 'operation', |
| | | width: '14%', |
| | | scopedSlots: { |
| | | customRender: 'operation' |
| | | }, |
| | |
| | | <a-col :span="6"> |
| | | <a-input v-model="search.searchParams.company" placeholder="单位名称" style="width: 100%"/> |
| | | </a-col> |
| | | <a-col :span="4" v-if="unittype == null || !unittype"> |
| | | <a-col :span="6" v-if="unittype == null || !unittype"> |
| | | <a-cascader :options="areaData" v-model="areaVal" placeholder="所属区域" expandTrigger="hover" :fieldNames="fieldNames" changeOnSelect @change="onChange" style="width: 100%"/> |
| | | </a-col> |
| | | <a-col :span="4"> |
| | | <a-col :span="6"> |
| | | <a-button type="primary" @click="getUserList">查询</a-button> |
| | | <a-button style="margin-left: 12px" @click="resetSearch">重置</a-button> |
| | | </a-col> |
| | |
| | | }, |
| | | { |
| | | title: '操作', |
| | | width: '12%', |
| | | key: 'action', |
| | | scopedSlots: { customRender: 'action' } |
| | | }, |
| | |
| | | <a-col :span="4"> |
| | | <a-input v-model="search.searchParams.realName" placeholder="姓名" style="width: 100%"/> |
| | | </a-col> |
| | | <a-col :span="4"> |
| | | <a-col :span="6"> |
| | | <a-button type="primary" @click="getUserList">查询</a-button> |
| | | <a-button style="margin-left: 12px" @click="resetSearch">重置</a-button> |
| | | </a-col> |
| | |
| | | { |
| | | title: '操作', |
| | | key: 'action', |
| | | width: '18%', |
| | | scopedSlots: { customRender: 'action' }, |
| | | }, |
| | | ], |