|
|
@@ -77,7 +77,7 @@
|
|
|
>
|
|
|
</template>
|
|
|
<template v-if="showCaoZuoColumn" slot="caozuo" slot-scope="scope">
|
|
|
- <div style="color:#1E90FF; " @click="updateDate(scope)" class="hover-hand">
|
|
|
+ <div style="color:#1E90FF; " class="hover-hand" @click="updateDate(scope)">
|
|
|
<i class="el-icon-edit-outline" style="cursor: pointer;" />
|
|
|
<span style="cursor: pointer;"> 更新</span>
|
|
|
</div>
|
|
|
@@ -442,9 +442,9 @@ export default {
|
|
|
},
|
|
|
// 外部文件更新
|
|
|
updateDate (data) {
|
|
|
- this.dialogVisible1 = true
|
|
|
console.log('data', data)
|
|
|
- const sql = 'select * from t_wjxxb WHERE id_=' + data.row.id
|
|
|
+ this.dialogVisible1 = true
|
|
|
+ const sql = `select * from t_wjxxb WHERE id_='${data.row.id}'`
|
|
|
this.$common.request('sql', sql).then(res => {
|
|
|
console.log('res', res.variables.data[0])
|
|
|
this.dialogForm.wen_jian_lei_xing = res.variables.data[0].wen_jian_lei_xing
|
|
|
@@ -454,6 +454,8 @@ export default {
|
|
|
// this.dialogForm.wen_jian_fu_jian = res.variables.data[0].wen_jian_fu_jian_
|
|
|
this.dialogForm.ji_lu_id_ = res.variables.data[0].id_
|
|
|
this.dialogForm.yuan_wen_jian_id_ = res.variables.data[0].wen_jian_fu_jian_
|
|
|
+ }).catch(err => {
|
|
|
+ console.log(err)
|
|
|
})
|
|
|
},
|
|
|
handleClose (done) {
|