Commit e712f9b5 by 前端

更新v3.4.0代码

1 parent 59889dac
...@@ -37,6 +37,23 @@ export default { ...@@ -37,6 +37,23 @@ export default {
} }
}, },
methods: { methods: {
// 返回
handleCancel(path) {
if (this.editStatus || this.$refs.welcome.previewList.length > 0) {
this.$confirm('当前有内容信息未保存,是否继续返回?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
})
.then(() => {
this.$router.push(path)
})
.catch(() => {
})
} else {
this.$router.push(path)
}
},
// 选择客户change事件 // 选择客户change事件
radioChange(val) { radioChange(val) {
this.isSelectCrowd = false this.isSelectCrowd = false
...@@ -119,8 +136,20 @@ export default { ...@@ -119,8 +136,20 @@ export default {
this.taggingList = arr this.taggingList = arr
this.isUpdate = true this.isUpdate = true
}, },
async getTheNumberOfPeople(params) {
await this.$apis.wechatGroup
.batchmessagingCustomercount(params)
.then(res => {
this.groupNumber = res
})
.catch(err => {
this.viewLoading = false
this.groupNumber = 0
this.isUpdate = false
})
},
// 查看群发人数 // 查看群发人数
viewMembers() { async viewMembers() {
if (this.basicForm.selectType == '1' && !this.taggingList.length) { if (this.basicForm.selectType == '1' && !this.taggingList.length) {
return this.$message({ return this.$message({
type: 'error', type: 'error',
...@@ -133,24 +162,11 @@ export default { ...@@ -133,24 +162,11 @@ export default {
message: '请选择人群' message: '请选择人群'
}) })
} }
const params = this.getBaseInfo() let params = this.getBaseInfo()
this.viewLoading = true this.viewLoading = true
this.$apis.wechatGroup await this.getTheNumberOfPeople(params)
.batchmessagingCustomercount(params)
.then(res => {
if (res || res == 0) {
this.isUpdate = false this.isUpdate = false
this.groupNumber = res
} else {
this.isUpdate = true
}
this.viewLoading = false
})
.catch(err => {
this.viewLoading = false this.viewLoading = false
this.groupNumber = 0
this.isUpdate = false
})
}, },
getBaseInfo() { getBaseInfo() {
let params = { let params = {
......
...@@ -20,9 +20,9 @@ ...@@ -20,9 +20,9 @@
<i class="el-icon-plus"></i> <i class="el-icon-plus"></i>
选择员工 选择员工
</el-button> </el-button>
<div class="sale-select" v-show="basicForm.userList && basicForm.userList.length != 0"> <div class="sale-select" v-show="basicForm.staffUserList && basicForm.staffUserList.length != 0">
<div :key="key" class="el-input-tag input-tag-wrapper"> <div :key="key" class="el-input-tag input-tag-wrapper">
<el-tag effect="plain" type="info" v-for="(tag, idx) in basicForm.userList" :key="idx" closable <el-tag effect="plain" type="info" v-for="(tag, idx) in basicForm.staffUserList" :key="idx" closable
:disable-transitions="false" @close="remove(tag, idx)"> :disable-transitions="false" @close="remove(tag, idx)">
<i class="el-icon-user-solid"></i> <i class="el-icon-user-solid"></i>
{{ tag.staffName }} {{ tag.staffName }}
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,7 @@
</GLDialog> </GLDialog>
</div> </div>
<GLFooter> <GLFooter>
<el-button @click="handleCancel">取消</el-button> <el-button @click="handleCancel('/friendGroup/index')">取消</el-button>
<el-button type="primary" v-loading="addLoading" @click="handleSubmit">提交</el-button> <el-button type="primary" v-loading="addLoading" @click="handleSubmit">提交</el-button>
</GLFooter> </GLFooter>
<SelectLabel ref="selectLabel" @tagSelected="handleSelect" :resetMerchantId="resetMerchantId" <SelectLabel ref="selectLabel" @tagSelected="handleSelect" :resetMerchantId="resetMerchantId"
...@@ -211,15 +211,16 @@ export default { ...@@ -211,15 +211,16 @@ export default {
// templateDetailApi: this.$apis.welcomeword.templateDetail // templateDetailApi: this.$apis.welcomeword.templateDetail
// } // }
], ],
dialogVisible: false, dialogVisible: false,
basicForm: { basicForm: {
userList: [], staffUserList: [],
taskName: '', taskName: '',
taskMerchantId: '', taskMerchantId: '',
sendType: 1, sendType: 1,
sendTime: '', sendTime: '',
sendDate: '', sendDate: '',
selectType: 1, selectType: 0,
crowdList: [] crowdList: []
}, },
attachmentShow: false, attachmentShow: false,
...@@ -238,8 +239,6 @@ export default { ...@@ -238,8 +239,6 @@ export default {
key: new Date(), key: new Date(),
previewFlag: false, previewFlag: false,
selectData: [], selectData: [],
// 是否有修改筛选成员
// isUpdate: true,
tagging: [], tagging: [],
editStatus: false, editStatus: false,
firstFlag: true, firstFlag: true,
...@@ -248,17 +247,7 @@ export default { ...@@ -248,17 +247,7 @@ export default {
} }
}, },
watch: { watch: {
basicForm: { 'basicForm.staffUserList'() {
handler(val) {
if (this.firstFlag) {
this.firstFlag = false
} else {
this.editStatus = true
}
},
deep: true
},
'basicForm.userList'() {
this.empErrorShow = false this.empErrorShow = false
} }
}, },
...@@ -274,28 +263,12 @@ export default { ...@@ -274,28 +263,12 @@ export default {
openMembers() { openMembers() {
this.membersVisible = !this.membersVisible this.membersVisible = !this.membersVisible
}, },
handleCancel() {
if (this.editStatus || this.$refs.welcome.previewList.length > 0) {
this.$confirm('当前有内容信息未保存,是否继续返回?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
})
.then(() => {
this.$router.push('/friendGroup/index')
})
.catch(() => {
})
} else {
this.$router.push('/friendGroup/index')
}
},
// 成员弹窗 // 成员弹窗
handleConfirm() { handleConfirm() {
if (this.$refs.membersForm.innerTags.length) { if (this.$refs.membersForm.innerTags.length) {
// this.basicForm.userList = this.$refs.membersForm.innerTags // this.basicForm.userList = this.$refs.membersForm.innerTags
this.$set(this.basicForm, 'userList', this.$refs.membersForm.innerTags) this.$set(this.basicForm, 'staffUserList', this.$refs.membersForm.innerTags)
this.selectData = this.basicForm.userList this.selectData = this.basicForm.staffUserList
this.openMembers() this.openMembers()
this.isUpdate = true this.isUpdate = true
this.editStatus = true this.editStatus = true
...@@ -309,11 +282,11 @@ export default { ...@@ -309,11 +282,11 @@ export default {
remove(val, idx) { remove(val, idx) {
if (this.$refs.membersForm) { if (this.$refs.membersForm) {
this.$refs.membersForm.remove(val) this.$refs.membersForm.remove(val)
this.$set(this.basicForm, 'userList', this.$refs.membersForm.innerTags) this.$set(this.basicForm, 'staffUserList', this.$refs.membersForm.innerTags)
this.key = new Date() this.key = new Date()
} else { } else {
this.basicForm.userList.splice(idx, 1) this.basicForm.staffUserList.splice(idx, 1)
this.selectData = this.basicForm.userList this.selectData = this.basicForm.staffUserList
this.key = new Date() this.key = new Date()
} }
this.isUpdate = true this.isUpdate = true
...@@ -321,7 +294,21 @@ export default { ...@@ -321,7 +294,21 @@ export default {
handleSubmit: utils.debounce(function () { handleSubmit: utils.debounce(function () {
this.$refs.groupForm.validate(valid => { this.$refs.groupForm.validate(valid => {
if (valid) { if (valid) {
if (this.basicForm.userList.length == 0) { if (this.basicForm.selectType == '1' && !this.taggingList.length) {
this.$message({
type: 'error',
message: '请选择标签'
})
return
}
if (this.basicForm.selectType == 2 && !this.basicForm.crowdList.length) {
this.$message({
type: 'error',
message: '请选择人群'
})
return
}
if (this.basicForm.staffUserList.length == 0) {
this.empErrorShow = true this.empErrorShow = true
return return
} }
...@@ -334,7 +321,7 @@ export default { ...@@ -334,7 +321,7 @@ export default {
if (previewList.length != 0) { if (previewList.length != 0) {
this.basicForm.attachmentList = previewList this.basicForm.attachmentList = previewList
} }
let staffIds = this.basicForm.userList.map(item => { let staffIds = this.basicForm.staffUserList.map(item => {
return item.staffId return item.staffId
}) })
let attachmentList = this.$refs.welcome.previewList let attachmentList = this.$refs.welcome.previewList
...@@ -358,6 +345,15 @@ export default { ...@@ -358,6 +345,15 @@ export default {
} }
const {taskName, taskMerchantId, sendType} = this.basicForm const {taskName, taskMerchantId, sendType} = this.basicForm
const taskMerchantName = this.optionsMe.find(item => item.msgMerchantId == taskMerchantId).msgMerchantName const taskMerchantName = this.optionsMe.find(item => item.msgMerchantId == taskMerchantId).msgMerchantName
let peopleParams = this.getBaseInfo()
this.getTheNumberOfPeople(peopleParams)
if (this.groupNumber == 0) {
this.$message({
type: 'error',
message: '群发人数为0!'
})
return
}
let params = { let params = {
materialType, materialType,
attachmentList, attachmentList,
...@@ -559,17 +555,20 @@ export default { ...@@ -559,17 +555,20 @@ export default {
.group-content { .group-content {
padding: 22px 0 20px; padding: 22px 0 20px;
} }
.crowd-tips { .crowd-tips {
color: #999999; color: #999999;
font-size: 12px; font-size: 12px;
line-height: 16px; line-height: 16px;
} }
.filter-footer { .filter-footer {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
color: #999; color: #999;
font-size: 14px; font-size: 14px;
.filter-number { .filter-number {
display: inline-block; display: inline-block;
line-height: 20px; line-height: 20px;
...@@ -577,6 +576,7 @@ export default { ...@@ -577,6 +576,7 @@ export default {
background-color: #e6e9ff; background-color: #e6e9ff;
color: #333; color: #333;
margin-top: 8px; margin-top: 8px;
span { span {
color: #5850ff; color: #5850ff;
cursor: pointer; cursor: pointer;
......
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
<!-- 表格区域 开始 --> <!-- 表格区域 开始 -->
<GLTable v-loading="loading" ref="proGroupRef" @refreshTable="handleSearch" :layout="layout" :tableData="tableData" :tableTotal="tableTotal" :searchForm="searchForm" :tableParams="tableParams" :pageConf="pageConf"> <GLTable v-loading="loading" ref="proGroupRef" @refreshTable="handleSearch" :layout="layout" :tableData="tableData" :tableTotal="tableTotal" :searchForm="searchForm" :tableParams="tableParams" :pageConf="pageConf">
<div class="loginStatus" slot="sendStatus" slot-scope="scope"> <div class="loginStatus" slot="sendStatus" slot-scope="scope">
<span class="cycle" :style="{ background: scope.scope.sendStatus == '2' ? '#2CCA74' : scope.scope.sendStatus == '-1' ? '#EB4E4E' : scope.scope.sendStatus == '1' ? '#FDB757' : '' }"></span> <span class="cycle" :style="{ background: scope.scope.sendState == '1' ? '#2CCA74' : scope.scope.sendState == '2' ? '#EB4E4E' : scope.scope.sendState == '0' ? '#FDB757' : scope.scope.sendState == '3' ? '#E5E5E5':'' }"></span>
{{ scope.scope.sendStatus == '2' ? '已完成' : scope.scope.sendStatus == '-1' ? '发送失败' : scope.scope.sendStatus == '1' ? '发送中' : '' }} {{ scope.scope.sendState == '1' ? '已完成' : scope.scope.sendState == '2' ? '发送失败' : scope.scope.sendState == '0' ? '发送中' : scope.scope.sendState == '3' ? '待发送':'' }}
</div> </div>
<div class="table-btns" slot="auth-button" slot-scope="scope"> <div class="table-btns" slot="auth-button" slot-scope="scope">
<GLTableButton :buttonList="tableButtonList" :buttonItem="scope.scope" :buttonNum="3"></GLTableButton> <GLTableButton :buttonList="tableButtonList" :buttonItem="scope.scope" :buttonNum="3"></GLTableButton>
...@@ -22,6 +22,15 @@ ...@@ -22,6 +22,15 @@
</GLTable> </GLTable>
<!-- 表格区域 end --> <!-- 表格区域 end -->
</div> </div>
<GLDialog :title="'终止发送'" mode="small" :visible.sync="popVisible">
<div class="qrIMGbox">
是否确认终止发送
</div>
<span slot="footer" class="dialog-footer">
<el-button size="small" @click="popVisible = false">取消</el-button>
<el-button type="primary" size="small" @click="getCode">确定</el-button>
</span>
</GLDialog>
<draw-record ref="drawForm"></draw-record> <draw-record ref="drawForm"></draw-record>
</div> </div>
</template> </template>
...@@ -40,6 +49,7 @@ export default { ...@@ -40,6 +49,7 @@ export default {
}, },
data() { data() {
return { return {
popVisible:false,
size: 'small', size: 'small',
loading: false, loading: false,
url: url, url: url,
...@@ -101,6 +111,19 @@ export default { ...@@ -101,6 +111,19 @@ export default {
listeners: { listeners: {
click: this.handleRecord click: this.handleRecord
} }
},
{
type: 'el-button',
name: '终止',
attrs: {
type: 'text'
},
condition: row => {
return row.sendStatus == 3
},
listeners: {
click: this.terminatePopup
}
} }
], ],
// 表格 // 表格
...@@ -162,6 +185,9 @@ export default { ...@@ -162,6 +185,9 @@ export default {
}, },
methods: { methods: {
terminatePopup(){
this.popVisible = true
},
handleRecord(row) { handleRecord(row) {
this.$refs.drawForm.init(row) this.$refs.drawForm.init(row)
}, },
......
...@@ -98,7 +98,7 @@ ...@@ -98,7 +98,7 @@
</div> </div>
</div> </div>
<GLFooter> <GLFooter>
<el-button @click="handleCancel">取消</el-button> <el-button @click="handleCancel('/wechatGroup/index')">取消</el-button>
<el-button type="primary" v-loading="addLoading" @click="handleSubmit">提交</el-button> <el-button type="primary" v-loading="addLoading" @click="handleSubmit">提交</el-button>
</GLFooter> </GLFooter>
...@@ -109,8 +109,6 @@ ...@@ -109,8 +109,6 @@
</div> </div>
</template> </template>
<script> <script>
import department from "@/mixins/department";
const combineType = { const combineType = {
label: 2, label: 2,
crowd: 1 crowd: 1
...@@ -118,17 +116,35 @@ const combineType = { ...@@ -118,17 +116,35 @@ const combineType = {
import emoji from '@/utils/emo' import emoji from '@/utils/emo'
import SelectCrowd from '@/components/selectCrowd/selectCrowd' import SelectCrowd from '@/components/selectCrowd/selectCrowd'
import SelectLabel from '@/components/SelectLabel/SelectLabel' import SelectLabel from '@/components/SelectLabel/SelectLabel'
import department from '@/mixins/department'
import marketingGroup from '@/mixins/marketingGroup' import marketingGroup from '@/mixins/marketingGroup'
// import SearchDropDown from './components/searchDropDown/index' // import SearchDropDown from './components/searchDropDown/index'
import * as dayjs from 'dayjs' import * as dayjs from 'dayjs'
export default { export default {
mixins: [marketingGroup], mixins: [department,marketingGroup],
components: { components: {
SelectLabel, SelectLabel,
SelectCrowd SelectCrowd
}, },
data() { data() {
const validatorSendType = (rule, value, callback) => {
if (value) {
if (value == 2) {
if (!this.basicForm.sendTime) {
callback(new Error('请选择日期'))
}
if (!this.basicForm.sendDate) {
callback(new Error('请选择时间'))
}
if (this.basicForm.sendTime && this.basicForm.sendDate) {
callback()
}
} else {
callback()
}
}
}
return { return {
resetMerchantId: '', resetMerchantId: '',
msgMerchantName: '', msgMerchantName: '',
...@@ -248,13 +264,20 @@ export default { ...@@ -248,13 +264,20 @@ export default {
basicRules: { basicRules: {
groupName: [{required: true, message: '请输入群发名称', trigger: 'blur'}], groupName: [{required: true, message: '请输入群发名称', trigger: 'blur'}],
selectStore: [{required: true, message: '请选择门店', trigger: 'change'}], selectStore: [{required: true, message: '请选择门店', trigger: 'change'}],
selectType: [{required: true, message: '请选择客户类型', trigger: 'change'}] selectType: [{required: true, message: '请选择客户类型', trigger: 'change'}],
sendType: [
{required: true, message: '请选择发送时间', trigger: 'change'},
{validator: validatorSendType, trigger: 'change'}
]
}, },
basicForm: { basicForm: {
groupName: '', groupName: '',
selectStore: '', selectStore: '',
selectType: 1, selectType: 1,
crowdList: [] sendType:1,
crowdList: [],
sendDate:'',
sendTime:''
}, },
groupList: [], groupList: [],
selectData: [], selectData: [],
...@@ -271,74 +294,15 @@ export default { ...@@ -271,74 +294,15 @@ export default {
dataItems: [] dataItems: []
} }
}, },
watch: { async mounted() {
basicForm: {
handler(val) {
if (this.firstFlag) {
this.firstFlag = false
} else {
this.editStatus = true
}
},
deep: true
},
'basicForm.selectType'(newVal, oldVal) {
if (oldVal == 2 || newVal == 2) {
this.basicForm.userList = []
this.selectData = []
this.basicForm.crowdList = []
this.$refs.selectLabel.labelTreeRetSelect = []
}
}
},
mounted() {
let clientHeight = document.documentElement.clientHeight
this.footerLeft = document.querySelector('.base-container-right').offsetLeft this.footerLeft = document.querySelector('.base-container-right').offsetLeft
this.footerWidth = document.documentElement.clientWidth - this.footerLeft this.footerWidth = document.documentElement.clientWidth - this.footerLeft
this.boxHeight = clientHeight - 200 const merchantList = await this.merchantList()
this.loadUpData() this.dataItems = merchantList ? merchantList : []
}, },
methods: { methods: {
async loadUpData() {
const params = {
pageNum: 1,
pageSize: 10000
}
await this.$apis.wechatGroup.getStoreList(params).then(res => {
this.dataItems = res || []
})
},
// 返回
handleCancel() {
if (this.editStatus || this.$refs.welcome.previewList.length > 0) {
this.$confirm('当前有内容信息未保存,是否继续返回?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
})
.then(() => {
this.$router.push('/wechatGroup/index')
})
.catch(() => {
})
} else {
this.$router.push('/wechatGroup/index')
}
},
// 提交 // 提交
async handleSubmit() { async handleSubmit() {
const params = this.getBaseInfo()
// 统计群发人数
await this.$apis.wechatGroup
.batchmessagingCustomercount(params)
.then(res => {
if (res || res == 0) {
this.groupNumber = res
}
})
.catch(err => {
this.groupNumber = 0
})
this.$refs.basicForm.validate(valid => { this.$refs.basicForm.validate(valid => {
if (valid) { if (valid) {
if (this.basicForm.selectType == '1' && !this.taggingList.length) { if (this.basicForm.selectType == '1' && !this.taggingList.length) {
...@@ -370,20 +334,22 @@ export default { ...@@ -370,20 +334,22 @@ export default {
} else { } else {
return (this.attachmentText = '请输入群发内容') return (this.attachmentText = '请输入群发内容')
} }
if (this.groupNumber == '0') { this.$refs.groupForm.validate(async v => {
if (v) {
let params = this.getBaseInfo()
await this.getTheNumberOfPeople(params)
if (this.groupNumber == 0) {
this.$message({ this.$message({
type: 'error', type: 'error',
message: '群发人数为0!' message: '群发人数为0!'
}) })
return return
} }
this.$refs.groupForm.validate(async v => { params.sendType = this.basicForm.sendType
if (v) {
const params = this.getBaseInfo()
params.type = 1
if (params.sendType == 2) { if (params.sendType == 2) {
params.sendTimeStr = this.basicForm.sendTime + ' ' + this.basicForm.sendDate params.sendTimeStr = this.basicForm.sendTime + ' ' + this.basicForm.sendDate
} }
params.type = 1
const previewList = this.$common ? this.$common.utils.deepClone(this.$refs.welcome.previewList) : this.$refs.welcome.previewList const previewList = this.$common ? this.$common.utils.deepClone(this.$refs.welcome.previewList) : this.$refs.welcome.previewList
const contentList = previewList.map(item => { const contentList = previewList.map(item => {
if (item.attType == 1) { if (item.attType == 1) {
......
...@@ -10,18 +10,30 @@ ...@@ -10,18 +10,30 @@
<GLCombiForm :formObj="searchForm" :rowNumber="1" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm> <GLCombiForm :formObj="searchForm" :rowNumber="1" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<GLTable ref="activeTable" :noDataImg="url" :getListApi="getListApi" :searchForm="searchFormTable" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun"> <GLTable ref="activeTable" :noDataImg="url" :getListApi="getListApi" :searchForm="searchFormTable" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun">
<div slot="optionBtns" slot-scope="scope"> <div slot="optionBtns" slot-scope="scope">
<div v-if="scope.scope.sendState == '1'"> <div v-if="scope.scope.sendState == '3'">
<span class="sendRecord" @click="traceRecord(scope.scope)">发送记录</span> <span class="sendRecord" @click="traceRecord(scope.scope)">发送记录</span>
</div> </div>
<div v-if="scope.scope.sendState == '1'">
<span class="sendRecord" @click="terminatePopup">终止</span>
</div>
</div> </div>
<div slot="sendState" slot-scope="scope"> <div slot="sendState" slot-scope="scope">
<div class="loginStatus"> <div class="loginStatus">
<span class="cycle" :style="{ background: scope.scope.sendState == '1' ? '#2CCA74' : scope.scope.sendState == '2' ? '#EB4E4E' : scope.scope.sendState == '0' ? '#FDB757' : '' }"></span> <span class="cycle" :style="{ background: scope.scope.sendState == '1' ? '#2CCA74' : scope.scope.sendState == '2' ? '#EB4E4E' : scope.scope.sendState == '0' ? '#FDB757' : scope.scope.sendState == '3' ? '#E5E5E5':'' }"></span>
{{ scope.scope.sendState == '1' ? '已完成' : scope.scope.sendState == '2' ? '发送失败' : scope.scope.sendState == '0' ? '发送中' : '' }} {{ scope.scope.sendState == '1' ? '已完成' : scope.scope.sendState == '2' ? '发送失败' : scope.scope.sendState == '0' ? '发送中' : scope.scope.sendState == '3' ? '待发送':'' }}
</div> </div>
</div> </div>
</GLTable> </GLTable>
</div> </div>
<GLDialog :title="'终止发送'" mode="small" :visible.sync="popVisible">
<div class="qrIMGbox">
是否确认终止发送
</div>
<span slot="footer" class="dialog-footer">
<el-button size="small" @click="popVisible = false">取消</el-button>
<el-button type="primary" size="small" @click="getCode">确定</el-button>
</span>
</GLDialog>
<el-drawer size="50%" title="发送记录" :visible.sync="sendRecordDrawer.isVisible" :direction="sendRecordDrawer.direction"> <el-drawer size="50%" title="发送记录" :visible.sync="sendRecordDrawer.isVisible" :direction="sendRecordDrawer.direction">
<div class="horizon"></div> <div class="horizon"></div>
<div class="sendRecordDrawerbox"> <div class="sendRecordDrawerbox">
...@@ -53,6 +65,7 @@ export default { ...@@ -53,6 +65,7 @@ export default {
data() { data() {
return { return {
url, url,
popVisible:false,
sendRecordDrawer: { sendRecordDrawer: {
isVisible: false, isVisible: false,
direction: 'rtl', direction: 'rtl',
...@@ -181,6 +194,11 @@ export default { ...@@ -181,6 +194,11 @@ export default {
} }
}, },
methods: { methods: {
terminatePopup(){
console.log('??????')
this.popVisible = true
console.log(this.popVisible )
},
handleSearch() { handleSearch() {
this.$refs.activeTable.refreshTable() this.$refs.activeTable.refreshTable()
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!