|
@@ -32,14 +32,6 @@
|
|
>
|
|
>
|
|
启用
|
|
启用
|
|
</el-button>
|
|
</el-button>
|
|
- <el-button
|
|
|
|
- type="text"
|
|
|
|
- size="small"
|
|
|
|
- @click="onDeactivate(scope)"
|
|
|
|
- v-else
|
|
|
|
- >
|
|
|
|
- 停用
|
|
|
|
- </el-button>
|
|
|
|
<el-button
|
|
<el-button
|
|
type="text"
|
|
type="text"
|
|
size="mini"
|
|
size="mini"
|
|
@@ -121,7 +113,7 @@ export default {
|
|
cancelButtonText: '取消',
|
|
cancelButtonText: '取消',
|
|
type: 'warning'
|
|
type: 'warning'
|
|
}).then(() => {
|
|
}).then(() => {
|
|
- this.axios.post("/api/v1/rms/updateOilPrice/"+scope.row.priceId).then((res) => {
|
|
|
|
|
|
+ this.axios.post("/api/v1/rms/updateOilPrice",{"priceId":scope.row.priceId}).then((res) => {
|
|
if (res.data.code == "200") {
|
|
if (res.data.code == "200") {
|
|
this.$message({ type: "success", message: "启用成功!",});
|
|
this.$message({ type: "success", message: "启用成功!",});
|
|
this.options.requestUrl = "/api/v1/rms/getOilPriceResultList?apiId=380&i="+ new Date();
|
|
this.options.requestUrl = "/api/v1/rms/getOilPriceResultList?apiId=380&i="+ new Date();
|