2ab69844 by 任超

style:样式修改

1 parent 131594e4
......@@ -119,7 +119,7 @@
</div>
<div class="d-center" v-if="!$store.state.business.Edit && titleName == 'sjmx'">
<btn nativeType="cz" @click="dialogVisible = false">取 消</btn>
<btn nativeType="cx" @click="submitForm">确 定</btn>
<btn nativeType="cx" @click="submitForm">保 存</btn>
</div>
<div class="d-center" v-if="!$store.state.business.Edit && titleName == 'xml'">
<btn nativeType="cx" @click="handleResubmit">重新上报</btn>
......@@ -294,10 +294,9 @@ export default {
})
}
let listRes = await this.$refs["editItem"].handleUpdateForm()
console.log(headRes, listRes);
if (headRes.data?.code == 200 && listRes == 200) {
this.$message({
message: '上报成功',
message: '修改成功',
type: 'success'
})
}
......@@ -325,7 +324,7 @@ export default {
if (res.code == 200) {
_this.resultInfo = res.message
_this.$message({
message: '上报成功',
message: '修改成功',
type: 'success'
})
}
......
......@@ -189,14 +189,28 @@ export default {
render: (h, scope) => {
return (
<div>
{
scope.row.receiveState == 2 ?
<el-button
type="primary"
type="text"
style="color:#67C23A"
onClick={() => {
this.handleDetails(scope.row);
}}
>
修改
<i class="el-icon-d-arrow-right"></i>
</el-button> :
<el-button
type="text"
onClick={() => {
this.handleDetails(scope.row);
}}
>
详情
<i class="el-icon-d-arrow-right"></i>
</el-button>
}
</div>
)
}
......
......@@ -192,13 +192,14 @@ class data {
return (
<div>
<el-button
size="mini"
type="primary"
type="text"
style="color:#67C23A"
onClick={() => {
vm.handleEdit(scope.row);
}}
>
编辑
修改
<i class="el-icon-d-arrow-right"></i>
</el-button>
</div>
);
......
......@@ -156,15 +156,31 @@ export default {
render: (h, scope) => {
return (
<div>
{
scope.row.exchangeState == 2 ?
<el-button
size="mini"
type="primary"
type="text"
style="color:#67C23A"
onClick={() => {
this.handleDetail(scope.row);
}}
>
修改
<i class="el-icon-d-arrow-right"></i>
</el-button> :
<el-button
size="mini"
type="text"
onClick={() => {
this.handleDetail(scope.row);
}}
>
详情
<i class="el-icon-d-arrow-right"></i>
</el-button>
}
</div>
);
},
......