| | |
| | | </a-col>
|
| | | </a-row>
|
| | | <!-- <span><b>发布单位:</b>{{form.publishingUnit}}</span>-->
|
| | | <br /><br />
|
| | | <!-- <br /><br />-->
|
| | | <!-- 子单位-->
|
| | | <a-row :gutter="24">
|
| | | <a-col :span="12">
|
| | |
| | | <a-tree-select
|
| | | v-model="form.recipient"
|
| | | style="width: 100%"
|
| | | :maxTagCount="3"
|
| | | :tree-data="treeData"
|
| | | tree-checkable
|
| | | placeholder="选择平级接收单位"
|
| | | :show-checked-strategy="SHOW_PARENT"
|
| | | search-placeholder="Please select"
|
| | | @change="handle"
|
| | | @focus="getPj()"
|
| | | />
|
| | | </a-form-model-item>
|
| | | </a-col>
|
| | |
| | | </a-form-model-item>
|
| | | </a-col>
|
| | | <a-col :span="12" style="text-align: right">
|
| | | <a-button type="primary" style="width: 250px;" @click="confirmSend()" v-preventReClick="1500"
|
| | | <a-button type="primary" style="width: 250px;" @click="confirmSend()" v-preventReClick="2000"
|
| | | :disabled="userInfo.role.id==1?true:false">
|
| | | 确认并提交审核
|
| | | </a-button>
|
| | |
| | | <h2>短信预览</h2>
|
| | | <div class="mobile">
|
| | | <div class="mesg">
|
| | | <P>【自然灾害风险预警提示】{{form.content}}</P>
|
| | | <P>【防灾减灾工作提示】{{form.content}}</P>
|
| | | </div>
|
| | | </div>
|
| | | </div>
|
| | |
| | | components: {},
|
| | | created() {
|
| | | const t = this
|
| | | t.treeData = []
|
| | | t.getAreaUsers()
|
| | | t.areaUsers = JSON.parse(localStorage.getItem('areaUsers'))
|
| | | const {
|
| | |
| | |
|
| | | for (const resKey in res.data.data) {
|
| | | t.filteredOptions = t.filteredOptions.concat(...res.data.data[resKey]);
|
| | | console.log(t.filteredOptions,'ops')
|
| | | const obj = {
|
| | | title: resKey,
|
| | | value: resKey,
|
| | |
| | | this.$message.warning(res.data.msg);
|
| | | }
|
| | | },
|
| | |
|
| | | getPj(){
|
| | | this.treeData = []
|
| | | this.getSameLevel()
|
| | | },
|
| | | // 获取接收单位
|
| | | async getAreaUsers() {
|
| | | let t = this
|
| | |
| | | ...data
|
| | | } = this.form
|
| | | msgSend(data).then(res => {
|
| | |
|
| | | if (res.data.code == 100) {
|
| | | this.deleteFile()
|
| | | this.$message.success('信息已提交审核')
|