|
@@ -8,13 +8,6 @@
|
|
|
<div class="flex-count">
|
|
|
<Table v-loading="loading" @clickDemand="clickDemand" :list="lableTable" ref="TableList" @changeNum="changeNum"
|
|
|
@changeSize="changeSize">
|
|
|
- <!-- <template v-slot:first>
|
|
|
- <Export :num="num" ref="export" :exportStatusList="exportStatus" @seachExportList="seachExportList"
|
|
|
- @export="batchExport" @clickApproval="clickApproval"></Export>
|
|
|
- </template> -->
|
|
|
- <!-- <template v-slot:first>
|
|
|
- <Seach :list="filterData" @seachList="seachList"></Seach>
|
|
|
- </template> -->
|
|
|
</Table>
|
|
|
</div>
|
|
|
<el-dialog :title="dialogTitle" :visible.sync="dialogStatus" width="100%" :before-close="handleClose" :modal="false"
|
|
@@ -302,16 +295,16 @@ export default {
|
|
|
label: "我发起的",
|
|
|
number: 3,
|
|
|
},
|
|
|
- {
|
|
|
- index: "four",
|
|
|
- label: "待阅",
|
|
|
- number: 4,
|
|
|
- },
|
|
|
- {
|
|
|
- index: "five",
|
|
|
- label: "已阅",
|
|
|
- number: 5,
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // index: "four",
|
|
|
+ // label: "待阅",
|
|
|
+ // number: 4,
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // index: "five",
|
|
|
+ // label: "已阅",
|
|
|
+ // number: 5,
|
|
|
+ // },
|
|
|
],
|
|
|
lableTable: {},//传给子组件table
|
|
|
phone: '',
|
|
@@ -494,7 +487,7 @@ export default {
|
|
|
],
|
|
|
},
|
|
|
},
|
|
|
- fourTable: {
|
|
|
+ fourlabel: {
|
|
|
name: "four",
|
|
|
titledata: [
|
|
|
{
|
|
@@ -552,14 +545,25 @@ export default {
|
|
|
this.dialogStatus = true;
|
|
|
this.disabled = true;
|
|
|
this.buttonStatus = false;
|
|
|
- this.getReadList(r.copytaskid);
|
|
|
+ let copymanlist = r.copyman.split(',')
|
|
|
+ let copytaskidlist = r.copytaskid.split(',')
|
|
|
+ let copytaskid=''
|
|
|
+ console.log(copymanlist);
|
|
|
+ console.log(copytaskidlist);
|
|
|
+ copymanlist.map((item, index) => {
|
|
|
+ if (item == JSON.parse(window.sessionStorage.getItem('userInfo')).loginNoStr) {
|
|
|
+ copytaskid=copytaskidlist[index]
|
|
|
+ }
|
|
|
+ })
|
|
|
+ console.log(copytaskid);
|
|
|
+ this.getReadList(copytaskid);
|
|
|
this.clickForm(r);
|
|
|
}, // 自定义事件
|
|
|
},
|
|
|
],
|
|
|
},
|
|
|
},
|
|
|
- fiveTable: {
|
|
|
+ fivelabel: {
|
|
|
name: "five",
|
|
|
titledata: [
|
|
|
{
|
|
@@ -588,11 +592,6 @@ export default {
|
|
|
prop: "proposer_time",
|
|
|
width: 300,
|
|
|
},
|
|
|
- // {
|
|
|
- // label: "工单状态",
|
|
|
- // prop: "taskName",
|
|
|
- // width: 200,
|
|
|
- // },
|
|
|
], //表格头
|
|
|
data: [], //内容数据
|
|
|
loading: true,
|
|
@@ -837,11 +836,11 @@ export default {
|
|
|
this.getMeLaunch()
|
|
|
}
|
|
|
if (this.clickTagName == 'four') {
|
|
|
- this.fourTable.pageData.pageNum = e;
|
|
|
+ this.fourlabel.pageData.pageNum = e;
|
|
|
this.getToBeRead()
|
|
|
}
|
|
|
if (this.clickTagName == 'five') {
|
|
|
- this.fiveTable.pageData.pageNum = e;
|
|
|
+ this.fivelabel.pageData.pageNum = e;
|
|
|
this.getBeReadList()
|
|
|
}
|
|
|
},
|
|
@@ -979,6 +978,27 @@ export default {
|
|
|
handleClose() {//关闭弹窗
|
|
|
this.dialogStatus = false;
|
|
|
this.fromList = {};
|
|
|
+ this.usernumber()
|
|
|
+ if (this.clickTagName == 'first') {
|
|
|
+ this.lableTable = this.firstlabel
|
|
|
+ this.getQueryList();
|
|
|
+ }
|
|
|
+ if (this.clickTagName == 'two') {
|
|
|
+ this.lableTable = this.twolabel
|
|
|
+ this.getQueryDone();
|
|
|
+ }
|
|
|
+ if (this.clickTagName == 'three') {
|
|
|
+ this.lableTable = this.threelabel
|
|
|
+ this.getMeLaunch()
|
|
|
+ }
|
|
|
+ if (this.clickTagName == 'four') {
|
|
|
+ this.lableTable = this.fourlabel
|
|
|
+ this.getToBeRead()
|
|
|
+ }
|
|
|
+ if (this.clickTagName == 'five') {
|
|
|
+ this.lableTable = this.fivelabel
|
|
|
+ this.getBeReadList()
|
|
|
+ }
|
|
|
},
|
|
|
async clickSave() {
|
|
|
this.$refs.form.validate((valid) => {
|
|
@@ -1185,11 +1205,11 @@ export default {
|
|
|
this.getMeLaunch()
|
|
|
}
|
|
|
if (this.clickTagName == 'four') {
|
|
|
- this.lableTable = this.fourTable
|
|
|
+ this.lableTable = this.fourlabel
|
|
|
this.getToBeRead()
|
|
|
}
|
|
|
if (this.clickTagName == 'five') {
|
|
|
- this.lableTable = this.fiveTable
|
|
|
+ this.lableTable = this.fivelabel
|
|
|
this.getBeReadList()
|
|
|
}
|
|
|
},
|
|
@@ -1211,11 +1231,11 @@ export default {
|
|
|
this.getMeLaunch()
|
|
|
}
|
|
|
if (this.clickTagName == 'four') {
|
|
|
- this.lableTable = this.fourTable
|
|
|
+ this.lableTable = this.fourlabel
|
|
|
this.getToBeRead()
|
|
|
}
|
|
|
if (this.clickTagName == 'five') {
|
|
|
- this.lableTable = this.fiveTable
|
|
|
+ this.lableTable = this.fivelabel
|
|
|
this.getBeReadList()
|
|
|
}
|
|
|
},
|
|
@@ -1310,12 +1330,12 @@ export default {
|
|
|
getTodoBase(this.pageNo, "", { tableName: this.tableName, }).then((res) => {
|
|
|
this.tabListMain[0].number = res.data.totalRecord
|
|
|
});
|
|
|
- queryReadBase(this.pageNo, "", { tableName: this.tableName, }).then((res) => {
|
|
|
- this.tabListMain[3].number = res.data.totalRecord
|
|
|
- });
|
|
|
- queryReadDoneBase(this.pageNo, "", { tableName: this.tableName, }).then((res) => {
|
|
|
- this.tabListMain[4].number = res.data.totalRecord
|
|
|
- });
|
|
|
+ // queryReadBase(this.pageNo, "", { tableName: this.tableName, }).then((res) => {
|
|
|
+ // this.tabListMain[3].number = res.data.totalRecord
|
|
|
+ // });
|
|
|
+ // queryReadDoneBase(this.pageNo, "", { tableName: this.tableName, }).then((res) => {
|
|
|
+ // this.tabListMain[4].number = res.data.totalRecord
|
|
|
+ // });
|
|
|
}
|
|
|
},
|
|
|
created() {
|