【update】-工作组资料分发、会议发布、设置标签功能

This commit is contained in:
fengchenchen
2023-07-13 18:05:54 +08:00
parent 3de3b8476d
commit d99d6b488b
7 changed files with 704 additions and 149 deletions
@@ -65,6 +65,11 @@
/>
</a-form-item>
</a-col>
<a-col :xl="6" :lg="7" :md="8" :sm="24">
<a-form-item label="标签名称" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input placeholder="请输入标签名称" v-model="queryParam.label" :maxLength='50'></a-input>
</a-form-item>
</a-col>
<a-col :xl="6" :lg="7" :md="8" :sm="24">
<span class="table-page-search-submitButtons">
@@ -103,6 +108,7 @@
<a-button type="primary" @click="setDunningReminder" v-has="'workingGroupMember:setDunningReminder'"
v-if="canOperate">催款提醒
</a-button>
<a-button type="primary" @click="setLabel" v-has="'workingGroupMember:setLabel'">设置标签</a-button>
</div>
<!-- /操作按钮区域-end-->
@@ -170,6 +176,8 @@
@ok="modalFormOk"></working-group-member-set-charge-notice>
<email-error-msg-modal ref="emailError"></email-error-msg-modal>
<work-group-set-label ref="workGroupSetLabel" @ok="modalFormOk"></work-group-set-label>
</div>
</template>
@@ -186,6 +194,7 @@ import Vue from 'vue'
import { ACCESS_TOKEN } from '../../store/mutation-types'
import PreviewFile from '../../components/jero/PreviewFile'
import EmailErrorMsgModal from './modules/EmailErrorMsgModal'
import WorkGroupSetLabel from './modules/WorkGroupSetLabel'
// eslint-disable-next-line no-undef,no-unused-vars
const Base64 = require('js-base64').Base64
@@ -200,7 +209,8 @@ export default {
WorkingGroupMemberUnitModule,
WorkingGroupMemberSetChargeNotice,
PreviewFile,
EmailErrorMsgModal
EmailErrorMsgModal,
WorkGroupSetLabel
},
mixins: [JeroListMixin],
computed: {
@@ -304,6 +314,12 @@ export default {
customRender: (text, record) => (
<j-ellipsis value={ record.paidAmount + '元' } length={ 15 }></j-ellipsis>
)
}, {
title: '标签名称',
align: 'center',
dataIndex: 'label',
width: 100,
scopedSlots: { customRender: 'text' }
}, {
// 2021-10-22需求变更新加
title: '收费通知号',
@@ -522,6 +538,14 @@ export default {
let url = `${ window._CONFIG['onlinePreviewDomainURL'] }?url=${ encodeURIComponent(fileFullUrl) }`
window.open(url)
}
},
// 设置标签
setLabel() {
if (this.selectedRowKeys.length <= 0) {
this.$message.warning('请选择一条记录!')
return
}
this.$refs.workGroupSetLabel.show(this.selectedRowKeys)
}
// 2021 10 11 沟通后去掉了这个功能
// searchReset() {