+
楼盘选择:
-
+
- 筛选
@@ -122,6 +124,7 @@ export default {
data() {
return {
currentPage: 4,
+ orgType:localStorage.getItem('orgType'),
value: "",
input: "",
tableData: [],
@@ -232,13 +235,14 @@ export default {
}
});
},
- screen(){
- this.currentPage=1
+ screen() {
+ this.currentPage = 1;
this.correctFindbypage();
},
clascreen() {
this.searchForm.wrongWord = "";
this.searchForm.correctWord = "";
+ this.searchForm.houseId=this.orgType==3? localStorage.getItem('houseId'):this.houseList[0].id,
this.correctFindbypage();
},
houseChange() {
@@ -252,7 +256,12 @@ export default {
.then((res) => {
// console.log(res)
this.houseList = res.data;
- this.searchForm.houseId = res.data[0].id;
+ if (localStorage.getItem("orgType") == 3) {
+ this.searchForm.houseId = localStorage.getItem("houseId");
+ } else {
+ this.searchForm.houseId = res.data[0].id;
+ }
+ // this.searchForm.houseId = res.data[0].id;
// 列表获取
this.correctFindbypage();
});
@@ -327,6 +336,7 @@ export default {
font-weight: 400;
color: #32363d;
line-height: 14px;
+ width: 80px;
margin-left: 15px;
}
.toptimeqhuan {
diff --git a/src/views/building/index.vue b/src/views/building/index.vue
index 82b406d..5a5f41e 100644
--- a/src/views/building/index.vue
+++ b/src/views/building/index.vue
@@ -561,7 +561,7 @@ export default {
},
],
currentPage: 1,
- size: "",
+ size: 10,
total: 10,
value: "",
input: "",
@@ -635,7 +635,7 @@ export default {
// console.log(valid,this.operaForm);
this.$api.api
.zkoperationrecordSaveHouse({
- orgType: 2,
+ orgType: 3,
accountIds: this.operaForm.operationalPeople.join(","),
orgId: this.operaForm.orgId,
orgCode: this.operaForm.orgCode,
@@ -660,7 +660,7 @@ export default {
zkoperationrecordFindByOrg(orgId) {
this.$api.api
.zkoperationrecordFindByOrg({
- orgType: "2",
+ orgType: "3",
orgId,
})
.then((res) => {
@@ -841,9 +841,9 @@ export default {
orgType: localStorage.getItem("orgType"),
...this.searchForm,
};
- // if (this.orgType == 0) {
- // obj.residueTime = "";
- // }
+ if (this.orgType == 0) {
+ obj.residueTime = null;
+ }
this.$api.api.zkhousePage(obj).then((res) => {
// console.log(res)
this.tableData = res.data.records;
diff --git a/vue.config.js b/vue.config.js
index 66382a7..0c27fdb 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -4,8 +4,8 @@
*/
// const url = 'http://pigx-gateway'
// const url = 'http://39.97.167.65:9999' //测试
-// const url = 'http://192.168.31.168:9999' //长龙
-const url = 'http://192.168.31.133:9999' //嘉豪
+const url = 'http://192.168.31.168:9999' //长龙
+// const url = 'http://192.168.31.133:9999' //嘉豪
// const url = 'http://192.168.31.100:9999' //王笑
const CompressionWebpackPlugin = require('compression-webpack-plugin')