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