|
|
@ -97,7 +97,7 @@ |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
<script> |
|
|
<script> |
|
|
import { GetFileList, SerlistInUsing } from '@/api/scinfo' |
|
|
import { GetFileList, SerlistInUsing,SendZipFile } from '@/api/scinfo' |
|
|
|
|
|
|
|
|
export default { |
|
|
export default { |
|
|
name: 'Sfilecompare', |
|
|
name: 'Sfilecompare', |
|
|
@ -322,6 +322,17 @@ export default { |
|
|
// 当前路径 |
|
|
// 当前路径 |
|
|
let curpath = this.fspath |
|
|
let curpath = this.fspath |
|
|
|
|
|
|
|
|
|
|
|
// 拼装 |
|
|
|
|
|
let param ={ |
|
|
|
|
|
sfiles: this.selectedFiles, |
|
|
|
|
|
serverip: this.$refs.fsip.value, |
|
|
|
|
|
curpath: curpath, |
|
|
|
|
|
} |
|
|
|
|
|
// 提交post请求 |
|
|
|
|
|
SendZipFile(param).then(res=>{ |
|
|
|
|
|
console.log(res,"res") |
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
// 更新文件 |
|
|
// 更新文件 |
|
|
|