初始化
parent
727dba7137
commit
e5e0b07ff3
|
@ -1,5 +1,11 @@
|
||||||
import request from '@/utils/request'
|
import request from '@/utils/request'
|
||||||
|
|
||||||
|
export function abc() {
|
||||||
|
return request({
|
||||||
|
url: '/market/apitype/abc',
|
||||||
|
method: 'post'
|
||||||
|
})
|
||||||
|
}
|
||||||
export function updbyid(data) {
|
export function updbyid(data) {
|
||||||
return request({
|
return request({
|
||||||
url: '/market/apitype/addUserRole/'+data,
|
url: '/market/apitype/addUserRole/'+data,
|
||||||
|
|
|
@ -177,7 +177,7 @@ import Screenfull from '@/components/Screenfull'
|
||||||
import SizeSelect from '@/components/SizeSelect'
|
import SizeSelect from '@/components/SizeSelect'
|
||||||
import Search from '@/components/HeaderSearch'
|
import Search from '@/components/HeaderSearch'
|
||||||
import { findNoticeByNoticeId, findNoticeByNoticeIdAndUserId, listNoticeByUserId } from '../../api/system/notice'
|
import { findNoticeByNoticeId, findNoticeByNoticeIdAndUserId, listNoticeByUserId } from '../../api/system/notice'
|
||||||
import {standing, updbyid} from "../../api/market/apitype";
|
import {abc, standing, updbyid} from "../../api/market/apitype";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
|
@ -239,6 +239,9 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
authentication(){
|
authentication(){
|
||||||
|
abc().then(res=>{
|
||||||
|
console.log(res)
|
||||||
|
})
|
||||||
standing(this.standing).then(res=>{
|
standing(this.standing).then(res=>{
|
||||||
console.log(res.result.res)
|
console.log(res.result.res)
|
||||||
updbyid(res.result.res).then(res=>{
|
updbyid(res.result.res).then(res=>{
|
||||||
|
|
|
@ -162,13 +162,12 @@
|
||||||
<el-button type="primary" @click="buy()">确 定</el-button>
|
<el-button type="primary" @click="buy()">确 定</el-button>
|
||||||
</span>
|
</span>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { listApitype, getApitype, delApitype, addApitype, updateApitype } from "@/api/market/apitype";
|
import { listApitype, getApitype, delApitype, addApitype, updateApitype } from "@/api/market/apitype";
|
||||||
import {getAirQuality, pay} from "../../../api/market/apitype";
|
import {abc, getAirQuality, pay} from "../../../api/market/apitype";
|
||||||
import * as url from "url";
|
import * as url from "url";
|
||||||
import {listMsg} from "../../../api/reqmsg/msg";
|
import {listMsg} from "../../../api/reqmsg/msg";
|
||||||
import {addOrUpd} from "../../../api/api/api";
|
import {addOrUpd} from "../../../api/api/api";
|
||||||
|
|
Loading…
Reference in New Issue