+
@@ -228,7 +235,7 @@
+ placeholder="请选择">
+ placeholder="请选择">
+ placeholder="请选择">
+ placeholder="请选择">
-

+
@@ -357,8 +368,7 @@ export default {
],
houseItemList: [],//房屋信息第二列
staticItemList: [],//统计信息第二列
- resiRuleList: [],
- resiRuleList1: [
+ resiRuleList: [
{
ruleDesc: '',//规则描述文字,例如:基础信息性别等于女
nextLogicalRel: '',//与上一条的关系;and、or
@@ -377,12 +387,10 @@ export default {
queryTypeName: '',
colValLabel: '',
nextLogicalRelName: '',
-
}
],
- houseRuleList: [],
- houseTitleName: '房屋信息',
- houseRuleList1: [
+
+ houseRuleList: [
{
ruleDesc: '',
nextLogicalRel: '',//与上一条的关系;and、or
@@ -401,9 +409,10 @@ export default {
nextLogicalRelName: '',
}
],
+ houseTitleName: '房屋信息',
+
statTitleName: '统计信息',
- statRuleList: [],
- statRuleList1: [
+ statRuleList: [
{
ruleDesc: '',
nextLogicalRel: '',//与上一条的关系;and、or
@@ -420,9 +429,9 @@ export default {
queryTypeName: '',
colValLabel: '',
nextLogicalRelName: '',
-
}
],
+
okflag: false,
showPersonList: false,
@@ -455,8 +464,11 @@ export default {
}, 500);
return false
}
+
+
this.resiRuleList = resiRuleList
if (this.resiRuleList && this.resiRuleList.length > 0) {
+ this.personChecked = true
for (let i = 0; i < this.resiRuleList.length; i++) {
let element = this.resiRuleList[i]
@@ -481,6 +493,7 @@ export default {
this.houseRuleList = houseRuleList
if (this.houseRuleList && this.houseRuleList.length > 0) {
+ this.houseChecked = true
this.houseRuleList.forEach((element, index) => {
let selHouseItem = this.houseItemList.filter((item) =>
@@ -495,6 +508,7 @@ export default {
}
this.statRuleList = statRuleList
if (this.statRuleList && this.statRuleList.length > 0) {
+ this.staticChecked = true
this.statRuleList.forEach((element, index) => {
let selStaticItem = this.staticItemList.filter((item) =>
@@ -512,10 +526,10 @@ export default {
},
- getRule (valPerson, valHouse, valStatic) {
+ getRule () {
this.okflag = false
- let messageObj = this.validateRule(valPerson, valHouse, valStatic)
+ let messageObj = this.validateRule(this.personChecked, this.houseChecked, this.staticChecked)
// console.log('resiRuleList', this.resiRuleList)
// console.log('houseRuleList', this.houseRuleList)
@@ -547,6 +561,7 @@ export default {
let message = ''
if (valPerson) {
+
this.resiRuleList.forEach((item, index) => {
if (index === this.resiRuleList.length - 1) {
@@ -573,6 +588,8 @@ export default {
}
});
+
+
}
if (valHouse) {
@@ -635,7 +652,7 @@ export default {
return false
}
- this.getRule(this.personChecked, this.houseChecked, this.staticChecked)
+ this.getRule()
if (!this.okflag) {
return false
}
@@ -929,6 +946,18 @@ export default {
},
addPerson () {
+
+ // let array = this.resiRuleList[this.resiRuleList.length - 1]
+
+ // if (array.itemGroupId === '' ||
+ // array.itemId === '' ||
+ // array.queryType === '' ||
+ // array.colKey === '' ||
+ // array.colVal === '') {
+ // this.$message.info('请将上一条填写完整')
+ // return false
+ // }
+
let obj = {
ruleDesc: '',//规则描述文字,例如:基础信息性别等于女
nextLogicalRel: '',//与上一条的关系;and、or
@@ -957,6 +986,16 @@ export default {
},
addHouse () {
+ // let array = this.houseRuleList[this.houseRuleList.length - 1]
+
+ // if (array.itemGroupId === '' ||
+ // array.itemId === '' ||
+ // array.queryType === '' ||
+ // array.colKey === '' ||
+ // array.colVal === '') {
+ // this.$message.info('请将上一条填写完整')
+ // return false
+ // }
let obj = {
ruleDesc: '',
nextLogicalRel: '',//与上一条的关系;and、or
@@ -983,6 +1022,16 @@ export default {
},
addStatic () {
+ // let array = this.statRuleList[this.statRuleList.length - 1]
+
+ // if (array.itemGroupId === '' ||
+ // array.itemId === '' ||
+ // array.queryType === '' ||
+ // array.colKey === '' ||
+ // array.colVal === '') {
+ // this.$message.info('请将上一条填写完整')
+ // return false
+ // }
let obj = {
ruleDesc: '',
nextLogicalRel: '',//与上一条的关系;and、or
@@ -1165,7 +1214,7 @@ export default {
.row-item {
display: flex;
- margin-bottom: 5px;
+ margin-bottom: 10px;
}
.item_width_1 {
width: 120px;
@@ -1186,7 +1235,7 @@ export default {
.img_del {
width: 25px;
height: 25px;
- margin-top: 6px;
+ margin-top: 3px;
cursor: pointer;
}
diff --git a/src/views/modules/plugins/.gitkeep b/src/views/modules/plugins/.gitkeep
deleted file mode 100644
index e69de29bb..000000000
diff --git a/src/views/modules/plugins/visit/visitor-add-or-update.vue b/src/views/modules/plugins/visit/visitor-add-or-update.vue
new file mode 100644
index 000000000..528af1fb9
--- /dev/null
+++ b/src/views/modules/plugins/visit/visitor-add-or-update.vue
@@ -0,0 +1,144 @@
+
+
+
+
+
+
+
+
+
+
+
+ {{ $t('user.gender1') }}
+ {{ $t('user.gender0') }}
+
+
+
+
+
+
+
+ {{ '访客' }}
+ {{ '租客' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ $t('cancel') }}
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/plugins/visit/visitvisitor.vue b/src/views/modules/plugins/visit/visitvisitor.vue
index d65d03916..b51e5d20d 100644
--- a/src/views/modules/plugins/visit/visitvisitor.vue
+++ b/src/views/modules/plugins/visit/visitvisitor.vue
@@ -33,6 +33,9 @@
style="width:200px" @change="changeTime">
+
+
+
@@ -112,16 +115,14 @@
-
- {{scope.row.gender === '0' ? '女' : scope.row.gender === '1' ? '男' : '未知'}}
-
+
{{scope.row.type === '0' ? '访客' : '租客'}}
-
+
@@ -132,7 +133,7 @@
- {{ $t('update') }}
+
{{ $t('delete') }}
@@ -158,7 +159,7 @@
+
+
+
diff --git a/src/views/modules/visual/shundeju/screen-table.vue b/src/views/modules/visual/shundeju/screen-table.vue
new file mode 100644
index 000000000..041d687b3
--- /dev/null
+++ b/src/views/modules/visual/shundeju/screen-table.vue
@@ -0,0 +1,346 @@
+
+
+
+
+
+
+
+
+
![]()
+
+
+ {{ value[item.coulmn] }}
+
+
+
+
查看
+
+
加载中
+
+

+
+
+
+
+
+
+
+
+