|
@@ -137,6 +137,32 @@ export default {
|
|
|
this.size = val;
|
|
|
// this.getUsers();
|
|
|
},
|
|
|
+ getFileList() {
|
|
|
+ this.http.post(
|
|
|
+ this.port.mold.moldFileListAll,
|
|
|
+ {},
|
|
|
+ res => {
|
|
|
+ if (res.code == "ok") {
|
|
|
+ this.$message({
|
|
|
+ message: "安排上了",
|
|
|
+ type: "success"
|
|
|
+ });
|
|
|
+ console.log(res);
|
|
|
+ } else {
|
|
|
+ this.$message({
|
|
|
+ message: res.msg,
|
|
|
+ type: "error"
|
|
|
+ });
|
|
|
+ }
|
|
|
+ },
|
|
|
+ error => {
|
|
|
+ this.$message({
|
|
|
+ message: error,
|
|
|
+ type: "error"
|
|
|
+ });
|
|
|
+ }
|
|
|
+ );
|
|
|
+ },
|
|
|
selectionChanged(row) {
|
|
|
this.selectedArray = [];
|
|
|
row.forEach(item => {
|
|
@@ -176,7 +202,9 @@ export default {
|
|
|
let height = window.innerHeight;
|
|
|
this.tableHeight = height - 210;
|
|
|
},
|
|
|
- mounted() {}
|
|
|
+ mounted() {
|
|
|
+ // this.getFileList();
|
|
|
+ }
|
|
|
};
|
|
|
</script>
|
|
|
|