zhangchuang 1 день назад
Родитель
Сommit
d0f025a21d

+ 5 - 1
src/views/user/Patent22.vue

@@ -102,7 +102,7 @@
       />
       <el-table-column label="操作" width="300">
         <template v-slot="scope">
-          <el-button type="primary" text size="small">查看</el-button>
+          <el-button type="primary" text size="small" @click="onShow(scope.row)">查看</el-button>
           <el-button type="primary" text size="small">补充资料上传</el-button>
           <el-button type="primary" text size="small">文件下载</el-button>
         </template>
@@ -176,6 +176,10 @@ const handleSearch = () => {
   pageInit();
 };
 
+const onShow = (row: any) => {
+  console.log('onShow row ===>', row)
+}
+
 const handleReset = () => {
   queryForm.value = {
     patentsName: "",

+ 5 - 1
src/views/user/Patent23.vue

@@ -102,7 +102,7 @@
       />
       <el-table-column label="操作" width="300">
         <template v-slot="scope">
-          <el-button type="primary" text size="small">查看</el-button>
+          <el-button type="primary" text size="small" @click="onShow(scope.row)">查看</el-button>
           <el-button type="primary" text size="small">补充资料上传</el-button>
           <el-button type="primary" text size="small">文件下载</el-button>
         </template>
@@ -176,6 +176,10 @@ const handleSearch = () => {
   pageInit();
 };
 
+const onShow = (row: any) => {
+  console.log('onShow row ===>', row)
+}
+
 const handleReset = () => {
   queryForm.value = {
     patentsName: "",

+ 5 - 1
src/views/user/Patent24.vue

@@ -102,7 +102,7 @@
       />
       <el-table-column label="操作" width="300">
         <template v-slot="scope">
-          <el-button type="primary" text size="small">查看</el-button>
+          <el-button type="primary" text size="small" @click="onShow(scope.row)">查看</el-button>
           <el-button type="primary" text size="small">补充资料上传</el-button>
           <el-button type="primary" text size="small">文件下载</el-button>
         </template>
@@ -176,6 +176,10 @@ const handleSearch = () => {
   pageInit();
 };
 
+const onShow = (row: any) => {
+  console.log('onShow row ===>', row)
+}
+
 const handleReset = () => {
   queryForm.value = {
     patentsName: "",

+ 5 - 1
src/views/user/Patent25.vue

@@ -102,7 +102,7 @@
       />
       <el-table-column label="操作" width="300">
         <template v-slot="scope">
-          <el-button type="primary" text size="small">查看</el-button>
+          <el-button type="primary" text size="small" @click="onShow(scope.row)">查看</el-button>
           <el-button type="primary" text size="small">补充资料上传</el-button>
           <el-button type="primary" text size="small">文件下载</el-button>
         </template>
@@ -176,6 +176,10 @@ const handleSearch = () => {
   pageInit();
 };
 
+const onShow = (row: any) => {
+  console.log('onShow row ===>', row)
+}
+
 const handleReset = () => {
   queryForm.value = {
     patentsName: "",

+ 5 - 1
src/views/user/Patent26.vue

@@ -102,7 +102,7 @@
       />
       <el-table-column label="操作" width="300">
         <template v-slot="scope">
-          <el-button type="primary" text size="small">查看</el-button>
+          <el-button type="primary" text size="small" @click="onShow(scope.row)">查看</el-button>
           <el-button type="primary" text size="small">补充资料上传</el-button>
           <el-button type="primary" text size="small">文件下载</el-button>
         </template>
@@ -176,6 +176,10 @@ const handleSearch = () => {
   pageInit();
 };
 
+const onShow = (row: any) => {
+  console.log('onShow row ===>', row)
+}
+
 const handleReset = () => {
   queryForm.value = {
     patentsName: "",

+ 5 - 1
src/views/user/PatentApplicationRecords.vue

@@ -102,7 +102,7 @@
       />
       <el-table-column label="操作" width="300">
         <template v-slot="scope">
-          <el-button type="primary" text size="small">查看</el-button>
+          <el-button type="primary" text size="small" @click="onShow(scope.row)">查看</el-button>
           <el-button type="primary" text size="small">补充资料上传</el-button>
           <el-button type="primary" text size="small">文件下载</el-button>
         </template>
@@ -178,6 +178,10 @@ const handleSearch = () => {
   pageInit();
 };
 
+const onShow = (row: any) => {
+  console.log('onShow row ===>', row)
+}
+
 const handleReset = () => {
   queryForm.value = {
     patentsName: "",

+ 5 - 1
src/views/user/TechAchievementTransformation.vue

@@ -59,7 +59,7 @@
       />
       <el-table-column label="操作" width="200">
         <template v-slot="scope">
-          <el-button type="primary" text size="small">详情</el-button>
+          <el-button type="primary" text size="small" @click="onShow(scope.row)">详情</el-button>
           <el-button type="primary" text size="small">修改</el-button>
         </template>
       </el-table-column>
@@ -123,6 +123,10 @@ const handleSearch = () => {
   pageInit();
 };
 
+const onShow = (row: any) => {
+  console.log('onShow row ===>', row)
+}
+
 const handleReset = () => {
   queryForm.value = {
     technologicalNeedsName: "",

+ 5 - 1
src/views/user/TechInnovationDemand.vue

@@ -59,7 +59,7 @@
       />
       <el-table-column label="操作" width="200">
         <template v-slot="scope">
-          <el-button type="primary" text size="small">详情</el-button>
+          <el-button type="primary" text size="small" @click="onShow(scope.row)">详情</el-button>
           <el-button type="primary" text size="small">修改</el-button>
         </template>
       </el-table-column>
@@ -125,6 +125,10 @@ const handleSearch = () => {
   pageInit();
 };
 
+const onShow = (row: any) => {
+  console.log('onShow row ===>', row)
+}
+
 const handleReset = () => {
   queryForm.value = {
     technologicalNeedsName: "",

+ 5 - 1
src/views/user/TrademarkRegistrationRecords.vue

@@ -102,7 +102,7 @@
       />
       <el-table-column label="操作" width="300">
         <template v-slot="scope">
-          <el-button type="primary" text size="small">查看</el-button>
+          <el-button type="primary" text size="small" @click="onShow(scope.row)">查看</el-button>
           <el-button type="primary" text size="small">补充资料上传</el-button>
           <el-button type="primary" text size="small">文件下载</el-button>
         </template>
@@ -176,6 +176,10 @@ const handleSearch = () => {
   pageInit();
 };
 
+const onShow = (row: any) => {
+  console.log('onShow row ===>', row)
+}
+
 const handleReset = () => {
   queryForm.value = {
     patentsName: "",