Browse Source

Merge branch 'bug_mk' into test

7.31
mk 1 year ago
parent
commit
60d99c028d
  1. 7
      src/views/modules/base/diyInfo.vue
  2. 3
      src/views/modules/base/organization/organization.vue
  3. 2
      src/views/modules/base/virtualResi.vue

7
src/views/modules/base/diyInfo.vue

@ -141,6 +141,10 @@ export default {
search: { search: {
type: Object, type: Object,
default: () => {} default: () => {}
},
virtualResi:{
type:Boolean,
default:false
} }
}, },
components: { components: {
@ -331,6 +335,9 @@ export default {
}) })
} }
} }
if(this.virtualResi){
params.gridType = 'virtual'
}
await this.$http({ await this.$http({
method: 'POST', method: 'POST',
url, url,

3
src/views/modules/base/organization/organization.vue

@ -1638,7 +1638,6 @@ export default {
}, },
// //
async submitGrid () { async submitGrid () {
debugger
this.$refs.addGridForm.validate(async (result) => { this.$refs.addGridForm.validate(async (result) => {
if (result === true) { if (result === true) {
const url = "/gov/org/grid/addgrid"; const url = "/gov/org/grid/addgrid";
@ -1661,7 +1660,7 @@ export default {
if (code === 0) { if (code === 0) {
this.$message.success("添加成功"); this.$message.success("添加成功");
this.dialogVisibleGrid = false; this.dialogVisibleGrid = false;
this.GridForm = []; this.GridFormRest();
this.getAgencyList(); this.getAgencyList();
this.getDepartmentList(); this.getDepartmentList();
this.getGridList(); this.getGridList();

2
src/views/modules/base/virtualResi.vue

@ -302,7 +302,7 @@
<el-dialog :visible.sync="diyDialog" :close-on-click-modal="false" :close-on-press-escape="false" width="1150px" <el-dialog :visible.sync="diyDialog" :close-on-click-modal="false" :close-on-press-escape="false" width="1150px"
top="5vh" class="dialog-h"> top="5vh" class="dialog-h">
<diy-info v-if="diyDialog" ref="ref_diy" :list="exportList" :search="searchForm" <diy-info v-if="diyDialog" ref="ref_diy" :list="exportList" :search="searchForm"
@close="handleDiyClose"></diy-info> @close="handleDiyClose" :virtualResi="true"></diy-info>
</el-dialog> </el-dialog>
<baobiao ref="baobiao" /> <baobiao ref="baobiao" />

Loading…
Cancel
Save