|
|
@@ -13,7 +13,6 @@
|
|
|
<span style="float: right;">
|
|
|
<!--<el-button type="primary" size="mini" @click="saveEntity">保存</el-button>-->
|
|
|
<router-link :to="'/lims/dataentry'">
|
|
|
- <el-button type="primary" size="mini" @click="exportWord">导出</el-button>
|
|
|
<el-button type="primary" size="mini" style="margin-left: 8px">返回</el-button>
|
|
|
</router-link>
|
|
|
</span>
|
|
|
@@ -556,22 +555,6 @@
|
|
|
this.initData()
|
|
|
},
|
|
|
methods: {
|
|
|
- exportWord () {
|
|
|
- this.$axios.post('/limsexportword/exportWord', this.formData)
|
|
|
- .then(res => {
|
|
|
- if (res.data.code === 0) {
|
|
|
-
|
|
|
- } else {
|
|
|
- this.$message({
|
|
|
- type: 'warning',
|
|
|
- message: res.data.message
|
|
|
- })
|
|
|
- }
|
|
|
- })
|
|
|
- .catch(err => {
|
|
|
- console.error(err)
|
|
|
- })
|
|
|
- },
|
|
|
saveEntity () {
|
|
|
this.$refs['formData'].validate((valid) => {
|
|
|
if (valid) {
|