|
@@ -52,6 +52,15 @@
|
|
|
>新增</el-button
|
|
|
>
|
|
|
</el-col>
|
|
|
+ <div class="shuJu">
|
|
|
+ <span class="box4 public"> 当前数据为 : {{ DataTime }}</span>
|
|
|
+ <span class="box5 public">
|
|
|
+ 已登记部门 : {{ registrationData.yiShenPi }}</span
|
|
|
+ >
|
|
|
+ <span class="box6">
|
|
|
+ 未登记部门 : {{ registrationData.weiShenPi }}</span
|
|
|
+ >
|
|
|
+ </div>
|
|
|
<!-- <el-col :span="1.5">
|
|
|
<el-button
|
|
|
type="success"
|
|
@@ -101,7 +110,11 @@
|
|
|
<!-- <el-table-column label="序号" align="center" prop="id" /> -->
|
|
|
<el-table-column label="序号" type="index" width="50" align="center">
|
|
|
<template scope="scope">
|
|
|
- <span>{{ (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1 }}</span>
|
|
|
+ <span>{{
|
|
|
+ (queryParams.pageNum - 1) * queryParams.pageSize +
|
|
|
+ scope.$index +
|
|
|
+ 1
|
|
|
+ }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="单位" align="center" prop="unitName" />
|
|
@@ -109,12 +122,12 @@
|
|
|
<el-table-column
|
|
|
label="值班日期"
|
|
|
align="center"
|
|
|
- prop="blogDate"
|
|
|
+ prop="diaryTime"
|
|
|
width="180"
|
|
|
:editable="false"
|
|
|
>
|
|
|
<template slot-scope="scope">
|
|
|
- <span>{{ parseTime(scope.row.blogDate, "{y}-{m}-{d}") }}</span>
|
|
|
+ <span>{{ parseTime(scope.row.diaryTime, "{y}-{m}-{d}") }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="编制干部" align="center" prop="orgcadre" />
|
|
@@ -671,6 +684,7 @@
|
|
|
<el-button type="primary" @click="submitForm(1)">确 定</el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
+ <!-- 查看 -->
|
|
|
<el-dialog
|
|
|
:visible.sync="menuRoleVisible"
|
|
|
:title="title"
|
|
@@ -692,7 +706,6 @@
|
|
|
|
|
|
<script>
|
|
|
import bdgldiary from "@/components/look_word/bdgldiary.vue";
|
|
|
-
|
|
|
import {
|
|
|
listBdgldiary,
|
|
|
getBdgldiary,
|
|
@@ -700,6 +713,7 @@ import {
|
|
|
addBdgldiary,
|
|
|
updateBdgldiary,
|
|
|
exportBdgldiary,
|
|
|
+ exportBdgShuju,
|
|
|
} from "@/api/grassrootsregistration/bdgldiary";
|
|
|
|
|
|
import {
|
|
@@ -896,6 +910,10 @@ export default {
|
|
|
percentage: null,
|
|
|
},
|
|
|
],
|
|
|
+ // 数据时间
|
|
|
+ DataTime: "",
|
|
|
+ // 右边登记数据
|
|
|
+ registrationData: {},
|
|
|
};
|
|
|
},
|
|
|
|
|
@@ -926,7 +944,6 @@ export default {
|
|
|
queDing() {
|
|
|
console.log(1);
|
|
|
this.wordInfo.examine = "1";
|
|
|
-
|
|
|
if (this.wordInfo.id != null) {
|
|
|
updateBdgldiary(this.wordInfo).then((response) => {
|
|
|
console.log(response);
|
|
@@ -935,11 +952,18 @@ export default {
|
|
|
});
|
|
|
}
|
|
|
},
|
|
|
+ // 获取部门数据
|
|
|
+ getShuJu(data) {
|
|
|
+ exportBdgShuju(data).then((res) => {
|
|
|
+ this.DataTime = data;
|
|
|
+ this.registrationData = res;
|
|
|
+ });
|
|
|
+ },
|
|
|
// 搜索时间触发
|
|
|
shiJian(data) {
|
|
|
- console.log(data);
|
|
|
this.queryParams.diaryTime = data;
|
|
|
this.getList();
|
|
|
+ this.getShuJu(data);
|
|
|
},
|
|
|
// 应到人数失去焦点触发
|
|
|
yinDao() {
|
|
@@ -950,17 +974,6 @@ export default {
|
|
|
item.percentage = str;
|
|
|
}
|
|
|
});
|
|
|
- // if (
|
|
|
- // this.xunlian[0].shouldArrive != null &&
|
|
|
- // this.xunlian[0].realTo != null
|
|
|
- // ) {
|
|
|
- // var str = (
|
|
|
- // (this.xunlian[0].realTo / this.xunlian[0].shouldArrive) *
|
|
|
- // 100
|
|
|
- // ).toFixed(2);
|
|
|
- // str += "%";
|
|
|
- // this.xunlian[0].percentage = str;
|
|
|
- // }
|
|
|
},
|
|
|
// 实到人数失去焦点触发
|
|
|
shiDao() {
|
|
@@ -971,18 +984,6 @@ export default {
|
|
|
item.percentage = str;
|
|
|
}
|
|
|
});
|
|
|
-
|
|
|
- // if (
|
|
|
- // this.xunlian[0].shouldArrive != null &&
|
|
|
- // this.xunlian[0].realTo != null
|
|
|
- // ) {
|
|
|
- // var str = (
|
|
|
- // (this.xunlian[0].realTo / this.xunlian[0].shouldArrive) *
|
|
|
- // 100
|
|
|
- // ).toFixed(2);
|
|
|
- // str += "%";
|
|
|
- // this.xunlian[0].percentage = str;
|
|
|
- // }
|
|
|
},
|
|
|
// 获取训练
|
|
|
XunLian(id, tiem) {
|
|
@@ -1071,6 +1072,7 @@ export default {
|
|
|
},
|
|
|
// 当点击完成值班时间的选择发起请求
|
|
|
blogDate() {
|
|
|
+ console.log(this.form.blogDate);
|
|
|
// 判断是否全部选择
|
|
|
if (this.form.unitId !== null && this.form.blogDate !== null) {
|
|
|
this.XunLian(this.form.unitId, this.form.blogDate);
|
|
@@ -1694,4 +1696,44 @@ export default {
|
|
|
::v-deep input:-moz-placeholder {
|
|
|
color: #bdbdbd4f !important;
|
|
|
}
|
|
|
+.shuJu {
|
|
|
+ height: 16px;
|
|
|
+ margin-top: 13px;
|
|
|
+ margin-right: 90px;
|
|
|
+ float: right;
|
|
|
+ /* background-color: red; */
|
|
|
+ color: #fff;
|
|
|
+ font-size: 14px;
|
|
|
+}
|
|
|
+/* .public {
|
|
|
+ margin-right: 40px;
|
|
|
+} */
|
|
|
+
|
|
|
+.box4::before {
|
|
|
+ display: inline-block;
|
|
|
+ content: "";
|
|
|
+ width: 8px;
|
|
|
+ height: 8px;
|
|
|
+ border-radius: 50%;
|
|
|
+ background-color: #1d96ff;
|
|
|
+ margin-left: 26px;
|
|
|
+}
|
|
|
+.box5::before {
|
|
|
+ display: inline-block;
|
|
|
+ content: "";
|
|
|
+ width: 8px;
|
|
|
+ height: 8px;
|
|
|
+ border-radius: 50%;
|
|
|
+ background-color: #67c23a;
|
|
|
+ margin-left: 26px;
|
|
|
+}
|
|
|
+.box6::before {
|
|
|
+ display: inline-block;
|
|
|
+ content: "";
|
|
|
+ width: 8px;
|
|
|
+ height: 8px;
|
|
|
+ border-radius: 50%;
|
|
|
+ background-color: #ff4949;
|
|
|
+ margin-left: 26px;
|
|
|
+}
|
|
|
</style>
|