This commit is contained in:
2025-11-21 11:29:50 +08:00
parent 5607f66e2b
commit 9852cf826d

View File

@@ -265,7 +265,7 @@
<el-tooltip class="item" effect="dark" content="Duplicate references" placement="top"> <el-tooltip class="item" effect="dark" content="Duplicate references" placement="top">
<img <img
src="../../assets/img/repeat.png" src="../../assets/img/repeat.png"
v-if="scope.row.is_repeat == 1" v-if="scope.row.is_repeat == 1&&scope.row.is_deal == 1"
alt="" alt=""
style="width: 24px; height: 24px; float: left" style="width: 24px; height: 24px; float: left"
/> />
@@ -312,7 +312,11 @@
</el-table-column> </el-table-column>
<el-table-column align="center" width="360"> <el-table-column align="center" width="360">
<div slot-scope="scope"> <div slot-scope="scope">
<el-button <div>
</div>
<el-button
v-if="scope.row.is_deal == 1"
style="margin-left: 10px" style="margin-left: 10px"
@click="change(scope.row, 'Edit')" @click="change(scope.row, 'Edit')"
plain plain
@@ -330,7 +334,8 @@
> >
<el-button @click="addLine(scope.row, 'Add')" type="success" size="mini" plain>Add</el-button> <el-button @click="addLine(scope.row, 'Add')" type="success" size="mini" plain>Add</el-button>
</el-tooltip> </el-tooltip>
<el-button <el-button
v-if="scope.row.is_deal == 1"
type="warning" type="warning"
size="mini" size="mini"
plain plain
@@ -338,7 +343,8 @@
@click="changeOrder(scope.row, 'up')" @click="changeOrder(scope.row, 'up')"
>↑</el-button >↑</el-button
> >
<el-button <el-button
v-if="scope.row.is_deal == 1"
type="warning" type="warning"
size="mini" size="mini"
plain plain
@@ -346,7 +352,8 @@
@click="changeOrder(scope.row, 'down')" @click="changeOrder(scope.row, 'down')"
>↓</el-button >↓</el-button
> >
<el-button <el-button
v-if="scope.row.is_deal == 1"
type="danger" type="danger"
icon="el-icon-delete" icon="el-icon-delete"
size="mini" size="mini"
@@ -355,6 +362,9 @@
@click="deleteLine(scope.row)" @click="deleteLine(scope.row)"
>delete</el-button >delete</el-button
> >
<i class="el-icon-loading" style="font-size: 24px;color: #606266;" v-if="scope.row.is_deal==2"></i>
<i class="el-icon-success" style="font-size: 24px;color: #2ac95c;" v-if="scope.row.is_deal==1"></i>
</div> </div>
</el-table-column> </el-table-column>
</el-table> </el-table>
@@ -660,7 +670,7 @@ export default {
methods: { methods: {
async getProgress() { async getProgress() {
var that = this; var that = this;
this.getRefData()
var progress = 0; var progress = 0;
this.$api this.$api