|
@@ -506,12 +506,13 @@ import {
|
|
|
addParliament,
|
|
|
updateParliament,
|
|
|
exportParliament,
|
|
|
+ getAll
|
|
|
} from "@/api/thought/parliament";
|
|
|
// 树形
|
|
|
import Treeselect from "@riophae/vue-treeselect";
|
|
|
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
|
|
// 单位
|
|
|
-import { getDept2, getAll } from "@/api/grassrootsregistration/bdglmeeting";
|
|
|
+import { getDept2} from "@/api/grassrootsregistration/bdglmeeting";
|
|
|
// import { getDept2, getAll,getWeiShu } from "@/api/grassrootsregistration/bdglmeeting";
|
|
|
export default {
|
|
|
name: "Parliament",
|
|
@@ -610,6 +611,7 @@ export default {
|
|
|
unit2Format(row) {
|
|
|
var deptName = "";
|
|
|
this.recodeexecutor.map((item) => {
|
|
|
+ console.log(item.name)
|
|
|
row.participants.split(",").forEach((items, index) => {
|
|
|
if (item.id == items) {
|
|
|
deptName += item.name + " ";
|
|
@@ -627,11 +629,13 @@ export default {
|
|
|
// 获取所有人员
|
|
|
getSuoYou() {
|
|
|
getAll().then((response) => {
|
|
|
- this.executors = response.rows;
|
|
|
+ console.log(response)
|
|
|
+ this.executors = response.data;
|
|
|
// 添加的人员
|
|
|
- this.executor = response.rows;
|
|
|
+ this.executor = response.data;
|
|
|
// 记录人
|
|
|
- this.recodeexecutor = response.rows;
|
|
|
+ this.recodeexecutor = response.data;
|
|
|
+ console.log( this.recodeexecutor)
|
|
|
});
|
|
|
},
|
|
|
// 转义视图不加标签
|
|
@@ -738,6 +742,7 @@ export default {
|
|
|
getParliament(id).then((response) => {
|
|
|
this.form = response.data;
|
|
|
this.form.participants = this.form.participants.split(",").map(Number);
|
|
|
+ console.log(this.form.participants)
|
|
|
this.open = true;
|
|
|
this.title = "修改党委议教会";
|
|
|
});
|