|
@@ -39,6 +39,18 @@
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
|
|
+ <template slot="menu" slot-scope="{ row, size }">
|
|
|
|
|
+ <el-button
|
|
|
|
|
+ type="text"
|
|
|
|
|
+ :size="size"
|
|
|
|
|
+ icon="el-icon-delete"
|
|
|
|
|
+ :disabled="!isDel"
|
|
|
|
|
+ @click="rowDel(row)"
|
|
|
|
|
+ >
|
|
|
|
|
+ 删 除
|
|
|
|
|
+ </el-button>
|
|
|
|
|
+ </template>
|
|
|
|
|
+
|
|
|
<template slot="zdwjdzSearch">
|
|
<template slot="zdwjdzSearch">
|
|
|
<el-input placeholder="请输入制度文件关键字" v-model="params.zdwjmc"></el-input>
|
|
<el-input placeholder="请输入制度文件关键字" v-model="params.zdwjmc"></el-input>
|
|
|
</template>
|
|
</template>
|
|
@@ -83,7 +95,7 @@
|
|
|
<script>
|
|
<script>
|
|
|
import {exportBloByPost} from "@/api/common";
|
|
import {exportBloByPost} from "@/api/common";
|
|
|
import YearMonthSelect from "@/components/year-month-select";
|
|
import YearMonthSelect from "@/components/year-month-select";
|
|
|
-import moment from "moment";
|
|
|
|
|
|
|
+import moment, { isDate } from "moment";
|
|
|
import {getToken} from "@/util/auth";
|
|
import {getToken} from "@/util/auth";
|
|
|
import {downloadXls} from "@/util/util";
|
|
import {downloadXls} from "@/util/util";
|
|
|
|
|
|
|
@@ -184,10 +196,11 @@ export default window.$crudCommon({
|
|
|
...item,
|
|
...item,
|
|
|
zdwjdz: !!item.zdwjdz ? JSON.parse(item.zdwjdz) : [],
|
|
zdwjdz: !!item.zdwjdz ? JSON.parse(item.zdwjdz) : [],
|
|
|
zdsszm: !!item.zdsszm ? JSON.parse(item.zdsszm) : [],
|
|
zdsszm: !!item.zdsszm ? JSON.parse(item.zdsszm) : [],
|
|
|
|
|
+ isDel: true
|
|
|
});
|
|
});
|
|
|
});
|
|
});
|
|
|
} else {
|
|
} else {
|
|
|
- newList.push({ wjlx: fileType });
|
|
|
|
|
|
|
+ newList.push({ wjlx: fileType, isDel: false, });
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
|
|
|