| | |
| | | Vue.use(Vuex) |
| | | |
| | | export default new Vuex.Store({ |
| | | state: { |
| | | }, |
| | | mutations: { |
| | | }, |
| | | state: {}, |
| | | mutations: {}, |
| | | actions: { |
| | | }, |
| | | modules: { |
| | |
| | | <!-- </a-select>--> |
| | | <a-tree-select |
| | | v-model="form.recipient" |
| | | :maxTagCount="3" |
| | | style="width: 100%" |
| | | :tree-data="treeData" |
| | | tree-checkable |
| | |
| | | const t = this |
| | | const { baseUrl } = require('../../../../config/env.' + process.env.NODE_ENV) |
| | | t.uploadUrl= baseUrl + '/attachment/upload/detail' |
| | | t.userInfo = getUserInfo() |
| | | t.header.uid = t.userInfo.uid |
| | | t.form.districtId = t.userInfo.districtId |
| | | t.form.publishingUnit = t.userInfo.company |
| | | t.getSameLevel() |
| | | t.getAreaUsers() |
| | | }, |
| | | computed: {}, |
| | | methods: { |
| | | openMod(type,data,id){ |
| | | const t = this |
| | | console.log(data,'data') |
| | | t.getLeaders() |
| | | t.treeData = [] |
| | | t.userInfo = getUserInfo() |
| | | t.header.uid = t.userInfo.uid |
| | | t.form.districtId = t.userInfo.districtId |
| | | t.form.publishingUnit = t.userInfo.company |
| | | t.getSameLevel() |
| | | t.getAreaUsers() |
| | | t.form.acceptingUnitIds = [] |
| | | t.form.peerRecipientIds = [] |
| | | t.sendLeaders = [] |
| | |
| | | </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="选择平级接收单位"
|
| | |
| | | </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>
|
| | |
| | | components: {},
|
| | | created() {
|
| | | const t = this
|
| | | t.treeData = []
|
| | | t.getAreaUsers()
|
| | | t.areaUsers = JSON.parse(localStorage.getItem('areaUsers'))
|
| | | const {
|