diff --git a/src/views/projectAdmin/fourEngin/command/center.vue b/src/views/projectAdmin/fourEngin/command/center.vue index d9a25d4d..cfa07ff1 100644 --- a/src/views/projectAdmin/fourEngin/command/center.vue +++ b/src/views/projectAdmin/fourEngin/command/center.vue @@ -3,12 +3,13 @@
-
+ +
-
+
{{ item.label }} @@ -33,15 +34,17 @@ export default { data() { return { // 信息窗体开关 - open: false, + open: true, // 信息窗体表单 informationForm: { - projectName: { label: '项目名称:', value: undefined }, - bulidStatus: { label: '项目状态:', value: undefined }, - constructionStage: { label: '形象进度:', value: undefined }, - projectAcreage: { label: '工程面积:', value: undefined, unit: '㎡' }, - constructionUnit: { label: '建设单位:', value: undefined }, - projectAddress: { label: '项目地址:', value: undefined } + projectName: { label: '项目名称:', value: '中建四局安置房三期工程' }, + bulidStatus: { label: '项目状态:', value: '正常施工' }, + constructionStage: { label: '形象进度:', value: '主体施工' }, + val1:{label: '项目造价:', value: '956.33万元'}, + val2:{label: '已完成投资::', value: '956.33万元'}, + projectAcreage: { label: '工程面积:', value: '1.53', unit: '㎡' }, + constructionUnit: { label: '建设单位:', value: '中建四局发展(广州天河)有限公司'}, + projectAddress: { label: '项目地址:', value: '建宁路与热河交叉路口' }, }, // 项目状态枚举 projectStatusEnum: { @@ -72,33 +75,36 @@ export default { } }, created() { - this.getList() + // this.getList() }, methods: { /** 查询数据 */ - getList() { - listProjectInfo({ projectSn: this.$store.state.projectSn }).then(res => { - console.log('项目信息: ', res) - const informationForm = this.informationForm - Object.keys(informationForm).forEach(key => { + // getList() { + // listProjectInfo({ projectSn: this.$store.state.projectSn }).then(res => { + // console.log('项目信息: ', res) + // const informationForm = this.informationForm + // Object.keys(informationForm).forEach(key => { - if (key === 'constructionStage') { - informationForm[key].value = this.constructionStageEnum[res.result[key]] - } else if (key === 'bulidStatus') { - informationForm[key].value = this.projectStatusEnum[res.result[key]] - } else { - informationForm[key].value = res.result[key] - } - }) - }) - }, + // if (key === 'constructionStage') { + // informationForm[key].value = this.constructionStageEnum[res.result[key]] + // } else if (key === 'bulidStatus') { + // informationForm[key].value = this.projectStatusEnum[res.result[key]] + // } else { + // informationForm[key].value = res.result[key] + // } + // }) + // }) + // }, // 标记点 鼠标移入事件 - handleMouseenter() { - this.open = true - }, - // 标记点 鼠标移出事件 - handleMouseleave() { - this.open = false + // handleMouseenter() { + // this.open = true + // }, + // // 标记点 鼠标移出事件 + // handleMouseleave() { + // this.open = false + // }, + clickBtn(){ + this.open = !this.open } } } @@ -224,14 +230,14 @@ export default { // 信息窗体 .information-form { - display: none; + // display: none; position: absolute; - right: 33%; - top: 23%; - + right: 15%; + top: 35%; padding: 20px; - width: 300px; - height: 400px; + width: 290px; + height: 275px; + font-size: 14px; background-color: #44bfc598; border: 2px solid #89a483; border-radius: 4px; diff --git a/src/views/projectAdmin/fourEngin/command/leftOne.vue b/src/views/projectAdmin/fourEngin/command/leftOne.vue index e2c63855..1f58b802 100644 --- a/src/views/projectAdmin/fourEngin/command/leftOne.vue +++ b/src/views/projectAdmin/fourEngin/command/leftOne.vue @@ -1,10 +1,10 @@