|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<HcTable ui="no-border" is-new :index-style="{ width: 60 }" :column="tableColumn" :datas="tableData" :loading="tableLoading">
|
|
|
<template #archiveName="{ row }">
|
|
|
- <span class="text-blue text-hover" @click="tableRowClick(row)">{{ row.archiveName }}</span>
|
|
|
+ <span class="text-hover text-blue" @click="tableRowClick(row)">{{ row.archiveName }}</span>
|
|
|
</template>
|
|
|
<template #opinion="{ row }">
|
|
|
<el-input v-if="row.isEdit" v-model="row.opinion" placeholder="请输入抽检意见" />
|
|
@@ -67,6 +67,14 @@ watch(() => [
|
|
|
projectId.value = ProjectId
|
|
|
currentId.value = Cid
|
|
|
})
|
|
|
+
|
|
|
+watch(
|
|
|
+ () => searchLogForm.value,
|
|
|
+ () => {
|
|
|
+ getTableData()
|
|
|
+ },
|
|
|
+ { deep: true }, // 深度监听对象的变化
|
|
|
+)
|
|
|
//表格数据
|
|
|
const tableColumn = ref([
|
|
|
{ key:'unitName', name: '抽检所属', width: 180 },
|