Browse Source

init

newStyle
lancer 3 years ago
parent
commit
c04d04a0aa
2 changed files with 19 additions and 14 deletions
  1. +17
    -12
      src/views/houseData/analyse.vue
  2. +2
    -2
      vue.config.js

+ 17
- 12
src/views/houseData/analyse.vue View File

@@ -8,6 +8,7 @@
<el-date-picker <el-date-picker
v-model="time" v-model="time"
type="month" type="month"
:clearable='false'
value-format="yyyy-MM" value-format="yyyy-MM"
@change="confirmtime" @change="confirmtime"
placeholder="选择月" placeholder="选择月"
@@ -256,12 +257,6 @@
</el-dialog> </el-dialog>


<el-dialog title="目标" :visible.sync="targetVisible" width="400px" @close='reset'> <el-dialog title="目标" :visible.sync="targetVisible" width="400px" @close='reset'>
<!-- <div style="display:flex;line-height: 30px;">
<div style="min-width: 100px;">12月目标执行率</div>
<el-input v-model.number="num1" style="width: 80%;margin-left:20px;" maxlength="3" clearable>
<i slot="suffix" style="font-style:normal;margin-right: 10px;">%</i>
</el-input>
</div> -->
<el-form <el-form
:model="receiveForm" :model="receiveForm"
ref="receiveForm" ref="receiveForm"
@@ -315,6 +310,7 @@


<script> <script>
import * as echarts from "echarts"; import * as echarts from "echarts";
import { exportMethodPost } from "@/util/util";
export default { export default {
data() { data() {
return { return {
@@ -341,11 +337,7 @@ export default {
num2: "", num2: "",
num3: "", num3: "",
}, },
receiveRules: {
// num1: [{ max: 100, message: "最大值为100", trigger: "blur" }],
// num2: [{ max: 100, message: "最大值为100", trigger: "blur" }],
// num3: [{ max: 100, message: "最大值为100", trigger: "blur" }],
},
receiveRules: {},
objList: [ objList: [
{ {
name: "顾文一", name: "顾文一",
@@ -399,7 +391,20 @@ export default {
this.$refs.receiveForm.resetFields() this.$refs.receiveForm.resetFields()
}, },
screen() {}, screen() {},
clascreen() {},
clascreen() {
this.time=new Date().getFullYear() + "-" + (new Date().getMonth() + 1);
this.choicValue=''
if(this.orgType==0){
this.selValue='0'
}else if(this.orgType==1){
this.selValue='1'
}else{
this.selValue='2'
}
this.operationStaffId=''
this.getList()

},
sava() {}, sava() {},
getAnalyse(row) { getAnalyse(row) {
console.log("趋势图"); console.log("趋势图");


+ 2
- 2
vue.config.js View File

@@ -5,9 +5,9 @@
// const url = 'http://pigx-gateway' // const url = 'http://pigx-gateway'
// const url = 'http://39.97.167.65:9999' //测试 // const url = 'http://39.97.167.65:9999' //测试
// const url = 'http://192.168.31.169:9999' //长龙 // const url = 'http://192.168.31.169:9999' //长龙
const url = 'http://192.168.31.134:9999' //嘉豪
// const url = 'http://192.168.31.134:9999' //嘉豪
// const url = 'http://192.168.31.100:9999' //王笑 // const url = 'http://192.168.31.100:9999' //王笑
// const url = 'http://62.234.122.43:9999' //王笑
const url = 'http://62.234.122.43:9999' //王笑


const CompressionWebpackPlugin = require('compression-webpack-plugin') const CompressionWebpackPlugin = require('compression-webpack-plugin')
const productionGzipExtensions = ['js', 'css'] const productionGzipExtensions = ['js', 'css']


Loading…
Cancel
Save