YF-yuan преди 3 години
родител
ревизия
758b735e0c
променени са 7 файла, в които са добавени 2 реда и са изтрити 21 реда
  1. +1
    -5
      src/views/chain/assessmentContent.vue
  2. +1
    -4
      src/views/chain/coordinationManage/applyCooperation.vue
  3. +0
    -2
      src/views/chain/coordinationManage/approvalCooperation.vue
  4. +0
    -3
      src/views/second/segmentation/contentDetail.vue
  5. +0
    -3
      src/views/second/taskSummary/basicTable.vue
  6. +0
    -2
      src/views/second/taskSummary/constraint.vue
  7. +0
    -2
      src/views/second/taskSummary/reward.vue

+ 1
- 5
src/views/chain/assessmentContent.vue Целия файл

@@ -314,15 +314,12 @@ export default {
getList() {
try {
this.$refs.body.scrollTop = 0;
} catch (e) {
console.log(e);
}
} catch (e) {}
this.loading = true;
api
.getList(Object.assign({}, this.searchParams))
.then((res) => {
this.dataList = res.data.data;
console.log(this.dataList);
})
.catch((e) => {
this.dataList = [];
@@ -373,7 +370,6 @@ export default {
if (valid) {
let form = JSON.parse(JSON.stringify(this.form));
try {
console.log(form);
form.otherDept = form.otherDept.join(",");
form.cooperateDept = form.cooperateDept.join(",");
} catch (e) {

+ 1
- 4
src/views/chain/coordinationManage/applyCooperation.vue Целия файл

@@ -174,15 +174,13 @@ export default {
methods: {
exportData(data){
this.loading=true;
api.exportList(Object.assign({sheetName:"链长制配合申请列表"},data)).then(res=>{
console.log(res.data.data)
api.exportList(Object.assign({sheetName:"链长制配合申请列表", isApply: 1},data)).then(res=>{
window.open(res.data.data);
this.$message({
type:"success",
message:"导出成功"
})
}).catch(e=>{
console.log(e)
this.$message.error("导出失败")
}).finally(()=>{
this.loading=false;
@@ -230,7 +228,6 @@ export default {
});
});
});
// console.log(list);
list = list.filter((item) => {
return !this.judge(item);
});

+ 0
- 2
src/views/chain/coordinationManage/approvalCooperation.vue Целия файл

@@ -184,14 +184,12 @@ export default {
exportData(data){
this.loading=true;
api.exportList(Object.assign({sheetName:"链长制配合申请审核记录"},data)).then(res=>{
console.log(res.data.data)
window.open(res.data.data);
this.$message({
type:"success",
message:"导出成功"
})
}).catch(e=>{
console.log(e)
this.$message.error("导出失败")
}).finally(()=>{
this.loading=false;

+ 0
- 3
src/views/second/segmentation/contentDetail.vue Целия файл

@@ -730,7 +730,6 @@ export default {
let nameIds = [];
depts.forEach((dept) => {
this.department.forEach((item) => {
console.log(item, dept);
if (item.id == dept) {
nameIds.push(parseInt(item.principal));
}
@@ -938,7 +937,6 @@ export default {
this.getApi()
.addItem(Object.assign({}, form, obj))
.then((res) => {
console.log(res.data.code);
if (res.data.code === 0) {
this.$message({
type: "success",
@@ -969,7 +967,6 @@ export default {
this.getData();
})
.catch((e) => {
console.log(e);
this.$message.error("删除小项失败");
})
.finally(() => {

+ 0
- 3
src/views/second/taskSummary/basicTable.vue Целия файл

@@ -408,14 +408,12 @@ export default {
exportData(data){
this.loading=true;
api.exportBasicList(Object.assign({sheetName:"基础目标任务细分小条"},data)).then(res=>{
console.log(res.data.data)
window.open(res.data.data);
this.$message({
type:"success",
message:"导出成功"
})
}).catch(e=>{
console.log(e)
this.$message.error("导出失败")
}).finally(()=>{
this.loading=false;
@@ -562,7 +560,6 @@ export default {
});
return;
}
console.log(form[param]);
if (
form[param] &&
typeof form[param] == "string" &&

+ 0
- 2
src/views/second/taskSummary/constraint.vue Целия файл

@@ -418,7 +418,6 @@ export default {
});
})
.catch((e) => {
console.log(e);
this.$message.error("导出失败");
})
.finally(() => {
@@ -566,7 +565,6 @@ export default {
});
return;
}
console.log(form[param]);
if (
form[param] &&
typeof form[param] == "string" &&

+ 0
- 2
src/views/second/taskSummary/reward.vue Целия файл

@@ -425,7 +425,6 @@ export default {
});
})
.catch((e) => {
console.log(e);
this.$message.error("导出失败");
})
.finally(() => {
@@ -572,7 +571,6 @@ export default {
});
return;
}
console.log(form[param]);
if (
form[param] &&
typeof form[param] == "string" &&

Loading…
Отказ
Запис