Browse Source

Merge branch 'dev-用户反馈' into dev

dev-用户反馈
mk 3 years ago
parent
commit
3c4fb6dbf5
  1. 2
      src/views/modules/partymember/icpartyorgtree.vue
  2. 18
      src/views/modules/partymember/lookMember.vue

2
src/views/modules/partymember/icpartyorgtree.vue

@ -305,7 +305,6 @@
}, },
// //
handleLook(agencyPids, id, row,agencyId) { handleLook(agencyPids, id, row,agencyId) {
console.log(row);
this.lookMemberShow = true this.lookMemberShow = true
this.$nextTick(() => { this.$nextTick(() => {
this.$refs.ref_table_Member.initForm(agencyPids.split(':')[agencyPids.split(':').length - 1], id,agencyId) this.$refs.ref_table_Member.initForm(agencyPids.split(':')[agencyPids.split(':').length - 1], id,agencyId)
@ -316,7 +315,6 @@
}, },
lookMemberCancle () { lookMemberCancle () {
this.lookMemberShow = false this.lookMemberShow = false
this.$refs.ref_table_Member.searchForm = {}
}, },
lookMemberOk () { lookMemberOk () {
this.lookMemberShow = false this.lookMemberShow = false

18
src/views/modules/partymember/lookMember.vue

@ -27,6 +27,7 @@
:options="optionsG" :options="optionsG"
:props="partyProps" :props="partyProps"
clearable clearable
:key="cascaderKey"
@change="handlePartyChange"></el-cascader> @change="handlePartyChange"></el-cascader>
</el-form-item> </el-form-item>
<el-form-item label="姓名" <el-form-item label="姓名"
@ -311,6 +312,7 @@ import { requestGet } from '../../../js/dai/request'
export default { export default {
data () { data () {
return { return {
cascaderKey:0,//
uploadUlr: window.SITE_CONFIG['apiURL'] + '/oss/file/uploadqrcodeV2', uploadUlr: window.SITE_CONFIG['apiURL'] + '/oss/file/uploadqrcodeV2',
importBtnTitle: '导入', importBtnTitle: '导入',
importLoading: false, importLoading: false,
@ -434,6 +436,15 @@ export default {
components: { components: {
crateForm crateForm
}, },
created(){
},
watch: {
'optionsG': {
handler(newVal){
this.cascaderKey ++
}
},
},
methods: { methods: {
initForm (agencyId, id,agencyIds) { initForm (agencyId, id,agencyIds) {
this.agencyId = agencyId this.agencyId = agencyId
@ -442,7 +453,6 @@ export default {
console.log('this.searchForm.partyOrgId:::::', this.searchForm.partyOrgId) console.log('this.searchForm.partyOrgId:::::', this.searchForm.partyOrgId)
this.tableLoading = true this.tableLoading = true
this.pageLoading = true this.pageLoading = true
this.getTableData() this.getTableData()
@ -450,6 +460,9 @@ export default {
}, },
// //
handleCancle () { handleCancle () {
this.partyOrgRange = []
console.log( this.partyOrgRange);
console.log(this.searchForm.partyOrgId);
this.$emit('lookMemberCancle') this.$emit('lookMemberCancle')
}, },
@ -658,6 +671,7 @@ export default {
this.searchForm.payEndDate = '' this.searchForm.payEndDate = ''
this.searchForm.rdsjStartDate = '' this.searchForm.rdsjStartDate = ''
this.searchForm.rdsjEndDate = '' this.searchForm.rdsjEndDate = ''
this.partyOrgRange = []
this.$refs[formName].resetFields() this.$refs[formName].resetFields()
this.searchForm.partyOrgId = this.partyOrgId this.searchForm.partyOrgId = this.partyOrgId
this.handleSearch() this.handleSearch()
@ -745,7 +759,7 @@ export default {
this.tableLoading = true this.tableLoading = true
let params = { let params = {
...this.searchForm, ...this.searchForm,
agencyId: this.agencyId, // agencyId:this.agencyId,
pageNo: this.currentPage, pageNo: this.currentPage,
pageSize: this.pageSize pageSize: this.pageSize
} }

Loading…
Cancel
Save