|
@@ -540,18 +540,6 @@ export default {
|
|
|
menus: JSON.parse(window.sessionStorage.childrenMenus)
|
|
|
};
|
|
|
},
|
|
|
- computed: {
|
|
|
- // pickerOptions: function() {
|
|
|
- // return {
|
|
|
- // disabledDate(time) {
|
|
|
- // return (
|
|
|
- // time.getYear() + 1900 > this.year ||
|
|
|
- // time.getYear() + 1900 <= this.year - 1
|
|
|
- // );
|
|
|
- // }
|
|
|
- // };
|
|
|
- // }
|
|
|
- },
|
|
|
methods: {
|
|
|
jump(v, n) {
|
|
|
//1 查看 2上传 3编辑修改 4删除一条
|
|
@@ -562,7 +550,6 @@ export default {
|
|
|
this.getInfo(n.id);
|
|
|
this.mId = n.id;
|
|
|
|
|
|
- console.log(this.mId);
|
|
|
} else if (v === 2) {
|
|
|
this.titname = "上传";
|
|
|
this.uploadDialogStatus = true;
|
|
@@ -585,7 +572,6 @@ export default {
|
|
|
this.editDialogStatus = true;
|
|
|
|
|
|
this.editInfolist = n;
|
|
|
- console.log(this.editInfolist);
|
|
|
} else if (v === 4) {
|
|
|
this.loadinged = true;
|
|
|
this.$http({
|
|
@@ -648,13 +634,6 @@ export default {
|
|
|
this.month)
|
|
|
: "";
|
|
|
|
|
|
- this.menus.forEach(item=>{
|
|
|
- if(item.jspUrl == '/specialReport'){
|
|
|
- this.params.meetingType = "1";
|
|
|
- }else if(item.jspUrl == '/marketDecision'){
|
|
|
- this.params.meetingType = "2";
|
|
|
- }
|
|
|
- })
|
|
|
this.getList(this.params, this.pageSize);
|
|
|
},
|
|
|
//获取列表
|
|
@@ -664,7 +643,7 @@ export default {
|
|
|
this.loading = true;
|
|
|
this.tableData = [];
|
|
|
this.$http({
|
|
|
- url: "market/cMeetingDeclaration/queryMkMeetingDeclarationPage",
|
|
|
+ url: "/market/cMeetingDeclaration/queryMkMeetingDeclarationPageForType2",
|
|
|
method: "post",
|
|
|
headers: {
|
|
|
"Content-Type": "application/json",
|
|
@@ -680,13 +659,6 @@ export default {
|
|
|
// 分页
|
|
|
currchange(v) {
|
|
|
this.pageSize = v;
|
|
|
- this.menus.forEach(item=>{
|
|
|
- if(item.jspUrl == '/specialReport'){
|
|
|
- this.params.meetingType = "1";
|
|
|
- }else if(item.jspUrl == '/marketDecision'){
|
|
|
- this.params.meetingType = "2";
|
|
|
- }
|
|
|
- })
|
|
|
this.getList(this.params, this.pageSize);
|
|
|
},
|
|
|
|
|
@@ -741,8 +713,6 @@ export default {
|
|
|
});
|
|
|
|
|
|
this.infolist.attList = this.fileList;
|
|
|
-
|
|
|
- console.log(this.infolist);
|
|
|
this.submitInfo(
|
|
|
"market/cMeetingDeclaration/addInfo",
|
|
|
this.infolist
|
|
@@ -761,7 +731,6 @@ export default {
|
|
|
});
|
|
|
this.editInfolist.attList = this.fileList;
|
|
|
this.editInfolist.meetingId = this.mId;
|
|
|
- console.log(this.editInfolist);
|
|
|
this.submitInfo(
|
|
|
"/market/cMeetingDeclaration/updateInfo",
|
|
|
this.editInfolist
|
|
@@ -843,7 +812,6 @@ export default {
|
|
|
//文件返回值
|
|
|
uploadBack(v) {
|
|
|
this.attList = v;
|
|
|
- console.log(this.attList);
|
|
|
},
|
|
|
//功能栏
|
|
|
iconCli(v) {
|
|
@@ -862,15 +830,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
|
-
|
|
|
- // let menus = JSON.parse(window.sessionStorage.childrenMenus);
|
|
|
- this.menus.forEach(item=>{
|
|
|
- if(item.jspUrl == '/specialReport'){
|
|
|
- this.getList({meetingType: 1}, 1);
|
|
|
- }else if(item.jspUrl == '/marketDecision'){
|
|
|
- this.getList({meetingType: 2}, 1);
|
|
|
- }
|
|
|
- })
|
|
|
+ this.getList({}, 1);
|
|
|
this.getUser();
|
|
|
},
|
|
|
created() {}
|