Commit 3d6a27aa by lp784568205

修改阵地

parent 69e1d220
...@@ -25,7 +25,7 @@ export const infoZdjyhd = params => ...@@ -25,7 +25,7 @@ export const infoZdjyhd = params =>
//统计图表 //统计图表
//交易活动场所统计 //交易活动场所统计
export const getZdcsResult = params => export const getZdcsResult = params =>
post(`${base.alyIP}/zdjyhdxx/getZdcsResult`, params); postform(`${base.alyIP}/zdjyhdxx/getZdcsResult`, params);
//人员学历统计 //人员学历统计
......
...@@ -135,7 +135,7 @@ const zdjbxx = [ ...@@ -135,7 +135,7 @@ const zdjbxx = [
col: "2", col: "2",
}, },
{ {
name: "阵地半径范围:", name: "阵地半径范围",
id: "zdbjfw", id: "zdbjfw",
type: "text", type: "text",
value: "", value: "",
......
...@@ -853,7 +853,7 @@ export default { ...@@ -853,7 +853,7 @@ export default {
isShowDialog: true, isShowDialog: true,
}, },
{ {
label: "是否损失物品", label: "是否重点物品",
prop: "sfzdwp", prop: "sfzdwp",
}, },
], ],
...@@ -890,7 +890,7 @@ export default { ...@@ -890,7 +890,7 @@ export default {
isShowDialog: true, isShowDialog: true,
}, },
{ {
label: "是否损失物品", label: "是否重点物品",
prop: "sfzdwp", prop: "sfzdwp",
}, },
], ],
...@@ -931,7 +931,7 @@ export default { ...@@ -931,7 +931,7 @@ export default {
isShowDialog: true, isShowDialog: true,
}, },
{ {
label: "是否损失物品", label: "是否重点物品",
prop: "sfzdwp", prop: "sfzdwp",
}, },
], ],
...@@ -972,7 +972,7 @@ export default { ...@@ -972,7 +972,7 @@ export default {
isShowDialog: true, isShowDialog: true,
}, },
{ {
label: "是否损失物品", label: "是否重点物品",
prop: "sfzdwp", prop: "sfzdwp",
}, },
], ],
...@@ -1013,7 +1013,7 @@ export default { ...@@ -1013,7 +1013,7 @@ export default {
isShowDialog: true, isShowDialog: true,
}, },
{ {
label: "是否损失物品", label: "是否重点物品",
prop: "sfzdwp", prop: "sfzdwp",
}, },
], ],
...@@ -1050,7 +1050,7 @@ export default { ...@@ -1050,7 +1050,7 @@ export default {
isShowDialog: true, isShowDialog: true,
}, },
{ {
label: "是否损失物品", label: "是否重点物品",
prop: "sfzdwp", prop: "sfzdwp",
}, },
], ],
...@@ -1087,7 +1087,7 @@ export default { ...@@ -1087,7 +1087,7 @@ export default {
isShowDialog: true, isShowDialog: true,
}, },
{ {
label: "是否损失物品", label: "是否重点物品",
prop: "sfzdwp", prop: "sfzdwp",
}, },
], ],
...@@ -1128,7 +1128,7 @@ export default { ...@@ -1128,7 +1128,7 @@ export default {
isShowDialog: true, isShowDialog: true,
}, },
{ {
label: "是否损失物品", label: "是否重点物品",
prop: "sfzdwp", prop: "sfzdwp",
}, },
], ],
...@@ -1169,7 +1169,7 @@ export default { ...@@ -1169,7 +1169,7 @@ export default {
isShowDialog: true, isShowDialog: true,
}, },
{ {
label: "是否损失物品", label: "是否重点物品",
prop: "sfzdwp", prop: "sfzdwp",
}, },
], ],
......
...@@ -546,7 +546,7 @@ export default { ...@@ -546,7 +546,7 @@ export default {
isShowDialog: true, isShowDialog: true,
}, },
{ {
label: "是否损失物品", label: "是否重点物品",
prop: "sfzdwp", prop: "sfzdwp",
}, },
], ],
...@@ -583,7 +583,7 @@ export default { ...@@ -583,7 +583,7 @@ export default {
isShowDialog: true, isShowDialog: true,
}, },
{ {
label: "是否损失物品", label: "是否重点物品",
prop: "sfzdwp", prop: "sfzdwp",
}, },
], ],
...@@ -624,7 +624,7 @@ export default { ...@@ -624,7 +624,7 @@ export default {
isShowDialog: true, isShowDialog: true,
}, },
{ {
label: "是否损失物品", label: "是否重点物品",
prop: "sfzdwp", prop: "sfzdwp",
}, },
], ],
...@@ -665,7 +665,7 @@ export default { ...@@ -665,7 +665,7 @@ export default {
isShowDialog: true, isShowDialog: true,
}, },
{ {
label: "是否损失物品", label: "是否重点物品",
prop: "sfzdwp", prop: "sfzdwp",
}, },
], ],
...@@ -706,7 +706,7 @@ export default { ...@@ -706,7 +706,7 @@ export default {
isShowDialog: true, isShowDialog: true,
}, },
{ {
label: "是否损失物品", label: "是否重点物品",
prop: "sfzdwp", prop: "sfzdwp",
}, },
], ],
...@@ -743,7 +743,7 @@ export default { ...@@ -743,7 +743,7 @@ export default {
isShowDialog: true, isShowDialog: true,
}, },
{ {
label: "是否损失物品", label: "是否重点物品",
prop: "sfzdwp", prop: "sfzdwp",
}, },
], ],
...@@ -780,7 +780,7 @@ export default { ...@@ -780,7 +780,7 @@ export default {
isShowDialog: true, isShowDialog: true,
}, },
{ {
label: "是否损失物品", label: "是否重点物品",
prop: "sfzdwp", prop: "sfzdwp",
}, },
], ],
...@@ -821,7 +821,7 @@ export default { ...@@ -821,7 +821,7 @@ export default {
isShowDialog: true, isShowDialog: true,
}, },
{ {
label: "是否损失物品", label: "是否重点物品",
prop: "sfzdwp", prop: "sfzdwp",
}, },
], ],
...@@ -862,7 +862,7 @@ export default { ...@@ -862,7 +862,7 @@ export default {
isShowDialog: true, isShowDialog: true,
}, },
{ {
label: "是否损失物品", label: "是否重点物品",
prop: "sfzdwp", prop: "sfzdwp",
}, },
], ],
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
align="right" align="right"
unlink-panels unlink-panels
suffix-icon="el-icon-date" suffix-icon="el-icon-date"
value-format="yyyy-MM-dd HH:mm:ss" value-format="yyyy-MM-dd"
> >
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
align="right" align="right"
unlink-panels unlink-panels
suffix-icon="el-icon-date" suffix-icon="el-icon-date"
value-format="yyyy-MM-dd HH:mm:ss" value-format="yyyy-MM-dd"
> >
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
...@@ -321,7 +321,16 @@ export default { ...@@ -321,7 +321,16 @@ export default {
created() { created() {
// this.$store.commit("user/SET_Menu", this.Menu); // this.$store.commit("user/SET_Menu", this.Menu);
}, },
watch: {}, watch: {
"formData.djsjStart"(val) {
this.$echarts.init(document.getElementById('charts')).dispose();
this.getCode();
},
"formData.djsjEnd"(val) {
this.$echarts.init(document.getElementById('charts')).dispose();
this.getCode();
},
},
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
align="right" align="right"
unlink-panels unlink-panels
suffix-icon="el-icon-date" suffix-icon="el-icon-date"
value-format="yyyy-MM-dd HH:mm:ss" value-format="yyyy-MM-dd"
> >
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
align="right" align="right"
unlink-panels unlink-panels
suffix-icon="el-icon-date" suffix-icon="el-icon-date"
value-format="yyyy-MM-dd HH:mm:ss" value-format="yyyy-MM-dd"
> >
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
...@@ -357,7 +357,16 @@ export default { ...@@ -357,7 +357,16 @@ export default {
created() { created() {
// this.$store.commit("user/SET_Menu", this.Menu); // this.$store.commit("user/SET_Menu", this.Menu);
}, },
watch: {}, watch: {
"formData.djsjStart"(val) {
this.$echarts.init(document.getElementById('charts')).dispose();
this.getCode();
},
"formData.djsjEnd"(val) {
this.$echarts.init(document.getElementById('charts')).dispose();
this.getCode();
},
},
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
align="right" align="right"
unlink-panels unlink-panels
suffix-icon="el-icon-date" suffix-icon="el-icon-date"
value-format="yyyy-MM-dd HH:mm:ss" value-format="yyyy-MM-dd"
> >
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
align="right" align="right"
unlink-panels unlink-panels
suffix-icon="el-icon-date" suffix-icon="el-icon-date"
value-format="yyyy-MM-dd HH:mm:ss" value-format="yyyy-MM-dd"
> >
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
...@@ -321,7 +321,16 @@ export default { ...@@ -321,7 +321,16 @@ export default {
created() { created() {
// this.$store.commit("user/SET_Menu", this.Menu); // this.$store.commit("user/SET_Menu", this.Menu);
}, },
watch: {}, watch: {
"formData.djsjStart"(val) {
this.$echarts.init(document.getElementById('charts')).dispose();
this.getCode();
},
"formData.djsjEnd"(val) {
this.$echarts.init(document.getElementById('charts')).dispose();
this.getCode();
},
},
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
align="right" align="right"
unlink-panels unlink-panels
suffix-icon="el-icon-date" suffix-icon="el-icon-date"
value-format="yyyy-MM-dd HH:mm:ss" value-format="yyyy-MM-dd"
> >
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
align="right" align="right"
unlink-panels unlink-panels
suffix-icon="el-icon-date" suffix-icon="el-icon-date"
value-format="yyyy-MM-dd HH:mm:ss" value-format="yyyy-MM-dd"
> >
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
...@@ -357,7 +357,16 @@ export default { ...@@ -357,7 +357,16 @@ export default {
created() { created() {
// this.$store.commit("user/SET_Menu", this.Menu); // this.$store.commit("user/SET_Menu", this.Menu);
}, },
watch: {}, watch: {
"formData.djsjStart"(val) {
this.$echarts.init(document.getElementById('charts')).dispose();
this.getCode();
},
"formData.djsjEnd"(val) {
this.$echarts.init(document.getElementById('charts')).dispose();
this.getCode();
},
},
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
align="right" align="right"
unlink-panels unlink-panels
suffix-icon="el-icon-date" suffix-icon="el-icon-date"
value-format="yyyy-MM-dd HH:mm:ss" value-format="yyyy-MM-dd"
> >
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
align="right" align="right"
unlink-panels unlink-panels
suffix-icon="el-icon-date" suffix-icon="el-icon-date"
value-format="yyyy-MM-dd HH:mm:ss" value-format="yyyy-MM-dd"
> >
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
...@@ -328,9 +328,10 @@ export default { ...@@ -328,9 +328,10 @@ export default {
// }, // },
getCode() { getCode() {
let obj = {}; let obj = {};
var arr = [] var arr = [];
console.log(this.formData.djsjStart); console.log(this.formData.djsjStart);
var params = new FormData(); console.log(this.formData.djsjEnd);
var params = new FormData()
params.append("djsjStart", this.formData.djsjStart); params.append("djsjStart", this.formData.djsjStart);
params.append("djsjEnd", this.formData.djsjEnd); params.append("djsjEnd", this.formData.djsjEnd);
getZdcsResult(params).then((res) => { getZdcsResult(params).then((res) => {
...@@ -344,15 +345,25 @@ export default { ...@@ -344,15 +345,25 @@ export default {
}); });
} }
console.log(this.pieEchartsDate); console.log(this.pieEchartsDate);
this.pieEchartsDate.map((v,index) => { this.pieEchartsDate.map((v, index) => {
if( v.value != 0) { if (v.value != 0) {
arr.push(v) arr.push(v);
} }
}) });
this.startMyEcharts(arr); this.startMyEcharts(arr);
}); });
}, },
}, },
watch: {
"formData.djsjStart"(val) {
this.$echarts.init(document.getElementById('charts')).dispose();
this.getCode();
},
"formData.djsjEnd"(val) {
this.$echarts.init(document.getElementById('charts')).dispose();
this.getCode();
},
},
mounted() { mounted() {
//初始化图形 //初始化图形
// this.getChartsData(); // this.getChartsData();
...@@ -361,7 +372,6 @@ export default { ...@@ -361,7 +372,6 @@ export default {
created() { created() {
// this.$store.commit("user/SET_Menu", this.Menu); // this.$store.commit("user/SET_Menu", this.Menu);
}, },
watch: {},
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
......
...@@ -313,19 +313,19 @@ export default { ...@@ -313,19 +313,19 @@ export default {
}, },
], ],
}); });
myChart.on("click", pieConsole); // myChart.on("click", pieConsole);
function pieConsole(val) { // function pieConsole(val) {
console.log(val); // console.log(val);
console.log(val.data); // console.log(val.data);
self.getTableData() // self.getTableData()
} // }
}, },
//表格内容接口 //表格内容接口
getTableData(dm) { // getTableData(dm) {
this.type = "table"; // this.type = "table";
// this.$set(this.cxFormData, "xzqhdm", dm); // // this.$set(this.cxFormData, "xzqhdm", dm);
this.$refs.rightContent.doQuery("yes"); // this.$refs.rightContent.doQuery("yes");
}, // },
getCode() { getCode() {
let arr = []; let arr = [];
console.log(this.formData.djsjStart); console.log(this.formData.djsjStart);
...@@ -339,7 +339,7 @@ export default { ...@@ -339,7 +339,7 @@ export default {
arr.map((i) => { arr.map((i) => {
if(i.count != 0) { if(i.count != 0) {
this.pieEchartsDate.push({ this.pieEchartsDate.push({
name: i.hyhfdmStr, name: i.jywplxStr,
value: i.count, value: i.count,
}) })
} }
...@@ -357,7 +357,16 @@ export default { ...@@ -357,7 +357,16 @@ export default {
created() { created() {
// this.$store.commit("user/SET_Menu", this.Menu); // this.$store.commit("user/SET_Menu", this.Menu);
}, },
watch: {}, watch: {
"formData.djsjStart"(val) {
this.$echarts.init(document.getElementById('charts')).dispose();
this.getCode();
},
"formData.djsjEnd"(val) {
this.$echarts.init(document.getElementById('charts')).dispose();
this.getCode();
},
},
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
......
...@@ -125,7 +125,7 @@ export default { ...@@ -125,7 +125,7 @@ export default {
col: "3", col: "3",
}, },
{ {
name: "阵地半径范围:", name: "阵地半径范围",
id: "zdbjfw", id: "zdbjfw",
type: "text", type: "text",
value: "", value: "",
......
...@@ -73,6 +73,7 @@ export default { ...@@ -73,6 +73,7 @@ export default {
window.opener.location.reload(); window.opener.location.reload();
}, },
addSubmit(params, loading) { addSubmit(params, loading) {
params.append("gljyhdxxzjbh", this.gljyhdxxzjbh);
params.append("glzdxxzjbh", this.glzdxxzjbh); params.append("glzdxxzjbh", this.glzdxxzjbh);
insertSsjdcwp(params).then((res) => { insertSsjdcwp(params).then((res) => {
if (res.success && res.code == 200) { if (res.success && res.code == 200) {
...@@ -92,7 +93,7 @@ export default { ...@@ -92,7 +93,7 @@ export default {
}, },
editSubmit(params, loading) { editSubmit(params, loading) {
params.append("xxzjbh", this.xxzjbh); params.append("xxzjbh", this.xxzjbh);
params.append("gljyhdxxzjbh", this.gljyhdxxzjbh);
updateJdcxx(params).then((res) => { updateJdcxx(params).then((res) => {
if (res.success && res.code == 200) { if (res.success && res.code == 200) {
this.$alert("保存成功!", "提示", { this.$alert("保存成功!", "提示", {
......
...@@ -64,6 +64,14 @@ export default { ...@@ -64,6 +64,14 @@ export default {
className: "iconfont icongongnengfuwu", className: "iconfont icongongnengfuwu",
disabled: false, disabled: false,
}, },
{
id: "zdjywptjt",
label: "阵地交易物品统计",
index: "zdjywptjt",
auth: "M0102",
className: "iconfont icongongnengfuwu",
disabled: false,
},
// { // {
// id: "zdsfhgtjt", // id: "zdsfhgtjt",
// label: "是否换岗统计", // label: "是否换岗统计",
......
...@@ -122,7 +122,7 @@ export default { ...@@ -122,7 +122,7 @@ export default {
col: "3", col: "3",
}, },
{ {
name: "阵地半径范围:", name: "阵地半径范围",
id: "zdbjfw", id: "zdbjfw",
type: "text", type: "text",
value: "", value: "",
......
...@@ -122,7 +122,7 @@ export default { ...@@ -122,7 +122,7 @@ export default {
col: "3", col: "3",
}, },
{ {
name: "阵地半径范围:", name: "阵地半径范围",
id: "zdbjfw", id: "zdbjfw",
type: "text", type: "text",
value: "", value: "",
......
...@@ -122,7 +122,7 @@ export default { ...@@ -122,7 +122,7 @@ export default {
col: "3", col: "3",
}, },
{ {
name: "阵地半径范围:", name: "阵地半径范围",
id: "zdbjfw", id: "zdbjfw",
type: "text", type: "text",
value: "", value: "",
......
...@@ -122,7 +122,7 @@ export default { ...@@ -122,7 +122,7 @@ export default {
col: "3", col: "3",
}, },
{ {
name: "阵地半径范围:", name: "阵地半径范围",
id: "zdbjfw", id: "zdbjfw",
type: "text", type: "text",
value: "", value: "",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment