修改国内标准bug

This commit is contained in:
宋伟佳
2022-03-01 14:42:18 +08:00
parent e2bae1af35
commit fa19a8b3cb
@@ -213,6 +213,11 @@
@click="handlePreview(scope.row)">{{ scope.row.standSortShow }} {{ @click="handlePreview(scope.row)">{{ scope.row.standSortShow }} {{
scope.row.standNumber scope.row.standNumber
}}-{{ scope.row.standYear }}</a> }}-{{ scope.row.standYear }}</a>
<a v-else-if="scope.row.standYear && textStatusMap[scope.row.textStatus] === '参考' "
class="table-jump" style="color: #98E165"
@click="handlePreview(scope.row)">{{ scope.row.standSortShow }} {{
scope.row.standNumber
}}-{{ scope.row.standYear }}</a>
<a v-else-if="scope.row.standYear" class="table-jump" style="color: #333333" <a v-else-if="scope.row.standYear" class="table-jump" style="color: #333333"
@click="handlePreview(scope.row)">{{ scope.row.standSortShow }} {{ @click="handlePreview(scope.row)">{{ scope.row.standSortShow }} {{
scope.row.standNumber scope.row.standNumber
@@ -233,6 +238,10 @@
@click="handlePreview(scope.row)" class="table-jump" style="color: #F56C6C">{{ @click="handlePreview(scope.row)" class="table-jump" style="color: #F56C6C">{{
scope.row.standName scope.row.standName
}}</a> }}</a>
<a v-else-if="textStatusMap[scope.row.textStatus] === '参考' "
@click="handlePreview(scope.row)" class="table-jump" style="color: #98E165">{{
scope.row.standName
}}</a>
<a v-else @click="handlePreview(scope.row)" style="color: #333333" <a v-else @click="handlePreview(scope.row)" style="color: #333333"
class="table-jump">{{ scope.row.standName }}</a> class="table-jump">{{ scope.row.standName }}</a>
</template> </template>
@@ -246,6 +255,9 @@
<span <span
v-if="textStatusMap[scope.row.textStatus] === '废止' || textStatusMap[scope.row.textStatus] === '被代替'" v-if="textStatusMap[scope.row.textStatus] === '废止' || textStatusMap[scope.row.textStatus] === '被代替'"
style="color: #F56C6C">{{ scope.row.issueTime }}</span> style="color: #F56C6C">{{ scope.row.issueTime }}</span>
<span
v-else-if="textStatusMap[scope.row.textStatus] === '参考' "
style="color: #98E165">{{ scope.row.issueTime }}</span>
<span v-else>{{ scope.row.issueTime }}</span> <span v-else>{{ scope.row.issueTime }}</span>
</template> </template>
</el-table-column> </el-table-column>
@@ -258,6 +270,9 @@
<span <span
v-if="textStatusMap[scope.row.textStatus] === '废止' || textStatusMap[scope.row.textStatus] === '被代替'" v-if="textStatusMap[scope.row.textStatus] === '废止' || textStatusMap[scope.row.textStatus] === '被代替'"
style="color: #F56C6C">{{ scope.row.SSRQ }}</span> style="color: #F56C6C">{{ scope.row.SSRQ }}</span>
<span
v-else-if="textStatusMap[scope.row.textStatus] === '参考' "
style="color: #98E165">{{ scope.row.SSRQ }}</span>
<span v-else>{{ scope.row.SSRQ }}</span> <span v-else>{{ scope.row.SSRQ }}</span>
</template> </template>
@@ -271,6 +286,9 @@
<span <span
v-if="textStatusMap[scope.row.textStatus] === '废止' || textStatusMap[scope.row.textStatus] === '被代替'" v-if="textStatusMap[scope.row.textStatus] === '废止' || textStatusMap[scope.row.textStatus] === '被代替'"
style="color: #F56C6C">{{ scope.row.XCXSSRQ }}</span> style="color: #F56C6C">{{ scope.row.XCXSSRQ }}</span>
<span
v-else-if="textStatusMap[scope.row.textStatus] === '参考' "
style="color: #98E165">{{ scope.row.XCXSSRQ }}</span>
<span v-else>{{ scope.row.XCXSSRQ }}</span> <span v-else>{{ scope.row.XCXSSRQ }}</span>
</template> </template>
</el-table-column> </el-table-column>
@@ -282,6 +300,9 @@
<span <span
v-if="textStatusMap[scope.row.textStatus] === '废止' || textStatusMap[scope.row.textStatus] === '被代替'" v-if="textStatusMap[scope.row.textStatus] === '废止' || textStatusMap[scope.row.textStatus] === '被代替'"
style="color: #F56C6C">{{ scope.row.ZCCSSRQ }}</span> style="color: #F56C6C">{{ scope.row.ZCCSSRQ }}</span>
<span
v-else-if="textStatusMap[scope.row.textStatus] === '参考' "
style="color: #98E165">{{ scope.row.ZCCSSRQ }}</span>
<span v-else>{{ scope.row.ZCCSSRQ }}</span> <span v-else>{{ scope.row.ZCCSSRQ }}</span>
</template> </template>
</el-table-column> </el-table-column>
@@ -289,6 +310,15 @@
prop="dtbzh" prop="dtbzh"
width="200" width="200"
label="代替标准号"> label="代替标准号">
<template slot-scope="scope">
<span
v-if="textStatusMap[scope.row.textStatus] === '废止' || textStatusMap[scope.row.textStatus] === '被代替'"
style="color: #F56C6C">{{ scope.row.dtbzh }}</span>
<span
v-else-if="textStatusMap[scope.row.textStatus] === '参考' "
style="color: #98E165">{{ scope.row.dtbzh }}</span>
<span v-else>{{ scope.row.dtbzh }}</span>
</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="textStatus" prop="textStatus"
@@ -304,6 +334,9 @@
style="color: #F56C6C">{{ style="color: #F56C6C">{{
textStatusMap[scope.row.textStatus] textStatusMap[scope.row.textStatus]
}}</span> }}</span>
<span
v-else-if="textStatusMap[scope.row.textStatus] === '参考' "
style="color: #98E165">{{ textStatusMap[scope.row.textStatus] }}</span>
<span v-else>{{ textStatusMap[scope.row.textStatus] }}</span> <span v-else>{{ textStatusMap[scope.row.textStatus] }}</span>
</template> </template>
</el-table-column> </el-table-column>