|
|
@@ -46,6 +46,7 @@
|
|
|
stripe
|
|
|
style="width: 100%"
|
|
|
max-height="260"
|
|
|
+ @cell-dblclick="dblClick"
|
|
|
>
|
|
|
<el-table-column
|
|
|
v-for="(key, index) in tableColumns"
|
|
|
@@ -75,7 +76,7 @@ import { GetByBsms } from "@/api/ghyzt/zzllApi.js";
|
|
|
import { reactive, toRefs, ref } from "@vue/reactivity";
|
|
|
import { onMounted, watch } from "@vue/runtime-core";
|
|
|
import { remove } from "@/api/gdal/index.js";
|
|
|
-import { getAttributesById } from "@/api/ghfxpj/cyfxApi.js";
|
|
|
+import { getAttributesById, intersects } from "@/api/ghfxpj/cyfxApi.js";
|
|
|
|
|
|
export default {
|
|
|
components: {
|
|
|
@@ -166,6 +167,16 @@ export default {
|
|
|
closeTable() {
|
|
|
ghcyfx.showTable = false;
|
|
|
},
|
|
|
+ dblClick(row, column, cell, event) {
|
|
|
+ console.log(row, column, cell, event);
|
|
|
+ intersects({ id: ghcyfx.transfer.id, objectid: row["编号"] }).then(
|
|
|
+ (res) => {
|
|
|
+ if (res.statuscode === 200) {
|
|
|
+ console.log(res, "??????????");
|
|
|
+ }
|
|
|
+ }
|
|
|
+ );
|
|
|
+ },
|
|
|
});
|
|
|
watch(
|
|
|
() => store.state.xmgl.transfer,
|