Browse Source

优化文档内容

master
ltlzx 4 years ago
parent
commit
f584fb14f6
  1. 2
      src/components/dateSelect/index.vue
  2. 11
      src/components/page/admission/index.vue
  3. 11
      src/components/page/afterService/invoice.vue
  4. 12
      src/components/page/classification/Category.vue
  5. 11
      src/components/page/classification/DataQuery.vue
  6. 11
      src/components/page/fundSettlement/index.vue
  7. 11
      src/components/page/fundSettlement/splitProportion.vue
  8. 11
      src/components/page/order/closed.vue
  9. 2
      src/components/page/order/completed.vue
  10. 11
      src/components/page/order/index.vue
  11. 11
      src/components/page/order/pendingPayment.vue
  12. 11
      src/components/page/order/toBeDelivered.vue
  13. 11
      src/components/page/order/toBeSettled.vue
  14. 4
      src/utils/request.js

2
src/components/dateSelect/index.vue

@ -63,7 +63,7 @@
<p>标志码{{item.goods_islicode}}</p> <p>标志码{{item.goods_islicode}}</p>
<p>交易关联标识符{{item.contract_code}}</p> <p>交易关联标识符{{item.contract_code}}</p>
<p>标的类型{{item.goods_type==1?'文化资源数据':'文化数字内容'}}</p> <p>标的类型{{item.goods_type==1?'文化资源数据':'文化数字内容'}}</p>
<p>交易方式{{item.goods_entrust==1?'转让':'许可'}}</p> <p>交易方式{{item.goods_entrust==1?'转让':'授权'}}</p>
<p>权益{{item.goods_ownership_str}}</p> <p>权益{{item.goods_ownership_str}}</p>
<p>委托周期{{item.contractual_period==1?'永久性委托':item.contractual_period==2?'一次性委托':'阶段性委托'}}</p> <p>委托周期{{item.contractual_period==1?'永久性委托':item.contractual_period==2?'一次性委托':'阶段性委托'}}</p>
<p>收费类型{{item.charges_type==1?'免费':'付费'}}</p> <p>收费类型{{item.charges_type==1?'免费':'付费'}}</p>

11
src/components/page/admission/index.vue

@ -52,7 +52,7 @@
</a-col> </a-col>
<a-col :span="14" class="query_item query_item1"> <a-col :span="14" class="query_item query_item1">
<a-space :size="21"> <a-space :size="21">
<a-button type="primary" class="query_button" @click="getAllDate"> </a-button> <a-button type="primary" class="query_button" @click="getAllDate(1)"> </a-button>
<a-button class="query_button" @click="resetQurey"> </a-button> <a-button class="query_button" @click="resetQurey"> </a-button>
</a-space> </a-space>
</a-col> </a-col>
@ -208,10 +208,15 @@ export default {
Object.assign(this.query, this.$options.data().query) Object.assign(this.query, this.$options.data().query)
this.getAllDate() this.getAllDate()
}, },
getAllDate(){ getAllDate(type){
let data=this.query let data=this.query
data.limit=this.limit data.limit=this.limit
data.page=this.page if(type==1){
data.page=1
this.page=1
}else{
data.page=this.page
}
getAllDate(data).then(res=>{ getAllDate(data).then(res=>{
// console.info(res) // console.info(res)
if(res.code==200){ if(res.code==200){

11
src/components/page/afterService/invoice.vue

@ -49,7 +49,7 @@
</a-col> </a-col>
<a-col :span="9" class="query_item query_item1"> <a-col :span="9" class="query_item query_item1">
<a-space :size="21"> <a-space :size="21">
<a-button type="primary" class="query_button" @click="getAllDate"> </a-button> <a-button type="primary" class="query_button" @click="getAllDate(1)"> </a-button>
<a-button class="query_button" @click="resetQurey"> </a-button> <a-button class="query_button" @click="resetQurey"> </a-button>
</a-space> </a-space>
</a-col> </a-col>
@ -175,10 +175,15 @@ export default {
Object.assign(this.query, this.$options.data().query) Object.assign(this.query, this.$options.data().query)
this.getAllDate() this.getAllDate()
}, },
getAllDate(){ getAllDate(type){
let data=this.query let data=this.query
data.limit=this.limit data.limit=this.limit
data.page=this.page if(type==1){
data.page=1
this.page=1
}else{
data.page=this.page
}
// getAllDate(data).then(res=>{ // getAllDate(data).then(res=>{
// // console.info(res) // // console.info(res)
// if(res.code==200){ // if(res.code==200){

12
src/components/page/classification/Category.vue

@ -47,7 +47,7 @@
</a-col> </a-col>
<a-col :span="12" class="query_item query_item1"> <a-col :span="12" class="query_item query_item1">
<a-space :size="21"> <a-space :size="21">
<a-button type="primary" class="query_button" @click="getAllDate"> </a-button> <a-button type="primary" class="query_button" @click="getAllDate(1)"> </a-button>
<a-button class="query_button" @click="resetQurey"> </a-button> <a-button class="query_button" @click="resetQurey"> </a-button>
</a-space> </a-space>
</a-col> </a-col>
@ -283,10 +283,16 @@ export default {
} }
}) })
}, },
getAllDate(){ getAllDate(type){
let data=this.query let data=this.query
data.limit=this.limit data.limit=this.limit
data.page=this.page if(type==1){
data.page=1
this.page=1
}else{
data.page=this.page
}
ClassifyList(data).then(res=>{ ClassifyList(data).then(res=>{
console.info(res) console.info(res)
if(res.code==200){ if(res.code==200){

11
src/components/page/classification/DataQuery.vue

@ -64,7 +64,7 @@
</a-col> </a-col>
<a-col :span="9" class="query_item query_item1"> <a-col :span="9" class="query_item query_item1">
<a-space :size="21"> <a-space :size="21">
<a-button type="primary" class="query_button" @click="getAllDate"> </a-button> <a-button type="primary" class="query_button" @click="getAllDate(1)"> </a-button>
<a-button class="query_button" @click="resetQurey"> </a-button> <a-button class="query_button" @click="resetQurey"> </a-button>
</a-space> </a-space>
</a-col> </a-col>
@ -226,10 +226,15 @@ export default {
Object.assign(this.query, this.$options.data().query) Object.assign(this.query, this.$options.data().query)
this.getAllDate() this.getAllDate()
}, },
getAllDate(){ getAllDate(type){
let data=this.query let data=this.query
data.limit=this.limit data.limit=this.limit
data.page=this.page if(type==1){
data.page=1
this.page=1
}else{
data.page=this.page
}
getAllDate(data).then(res=>{ getAllDate(data).then(res=>{
// console.info(res) // console.info(res)
if(res.code==200){ if(res.code==200){

11
src/components/page/fundSettlement/index.vue

@ -40,7 +40,7 @@
</a-col> </a-col>
<a-col :span="24" class="query_item query_item1"> <a-col :span="24" class="query_item query_item1">
<a-space :size="21"> <a-space :size="21">
<a-button type="primary" class="query_button" @click="getList"> </a-button> <a-button type="primary" class="query_button" @click="getList(1)"> </a-button>
<a-button class="query_button" @click="resetQurey"> </a-button> <a-button class="query_button" @click="resetQurey"> </a-button>
</a-space> </a-space>
</a-col> </a-col>
@ -170,10 +170,15 @@ export default {
this.getList() this.getList()
}, },
methods:{ methods:{
getList(){ getList(type){
let data=this.query let data=this.query
data.limit=this.limit data.limit=this.limit
data.page=this.page if(type==1){
data.page=1
this.page=1
}else{
data.page=this.page
}
closeList(data).then(res=>{ closeList(data).then(res=>{
if(res.code==200){ if(res.code==200){
this.data=res.data.data this.data=res.data.data

11
src/components/page/fundSettlement/splitProportion.vue

@ -36,7 +36,7 @@
</a-col> </a-col>
<a-col :span="19" class="query_item "> <a-col :span="19" class="query_item ">
<a-space :size="21"> <a-space :size="21">
<a-button type="primary" class="query_button" @click="getList"> </a-button> <a-button type="primary" class="query_button" @click="getList(1)"> </a-button>
<a-button class="query_button" @click="resetQurey"> </a-button> <a-button class="query_button" @click="resetQurey"> </a-button>
</a-space> </a-space>
</a-col> </a-col>
@ -271,10 +271,15 @@ export default {
} }
}) })
}, },
getList(){ getList(type){
let data=this.query let data=this.query
data.limit=this.limit data.limit=this.limit
data.page=this.page if(type==1){
data.page=1
this.page=1
}else{
data.page=this.page
}
ratioList(data).then(res=>{ ratioList(data).then(res=>{
if(res.code==200){ if(res.code==200){
this.data=res.data.data this.data=res.data.data

11
src/components/page/order/closed.vue

@ -50,7 +50,7 @@
</a-col> </a-col>
<a-col :span="12" class="query_item query_item1"> <a-col :span="12" class="query_item query_item1">
<a-space :size="21"> <a-space :size="21">
<a-button type="primary" class="query_button" @click="getList"> </a-button> <a-button type="primary" class="query_button" @click="getList(1)"> </a-button>
<a-button class="query_button" @click="resetQurey"> </a-button> <a-button class="query_button" @click="resetQurey"> </a-button>
</a-space> </a-space>
</a-col> </a-col>
@ -196,10 +196,15 @@ export default {
Object.assign(this.query, this.$options.data().query) Object.assign(this.query, this.$options.data().query)
this.getList() this.getList()
}, },
getList(){ getList(type){
let data=this.query let data=this.query
data.page=this.page
data.limit=this.limit data.limit=this.limit
if(type==1){
data.page=1
this.page=1
}else{
data.page=this.page
}
getOrderList(data).then(res=>{ getOrderList(data).then(res=>{
if(res.code==200){ if(res.code==200){
this.data=res.data.data this.data=res.data.data

2
src/components/page/order/completed.vue

@ -50,7 +50,7 @@
</a-col> </a-col>
<a-col :span="12" class="query_item query_item1"> <a-col :span="12" class="query_item query_item1">
<a-space :size="21"> <a-space :size="21">
<a-button type="primary" class="query_button" @click="getList"> </a-button> <a-button type="primary" class="query_button" @click="getList(1)"> </a-button>
<a-button class="query_button" @click="resetQurey"> </a-button> <a-button class="query_button" @click="resetQurey"> </a-button>
</a-space> </a-space>
</a-col> </a-col>

11
src/components/page/order/index.vue

@ -61,7 +61,7 @@
</a-col> </a-col>
<a-col :span="6" class="query_item query_item1"> <a-col :span="6" class="query_item query_item1">
<a-space :size="21"> <a-space :size="21">
<a-button type="primary" class="query_button" @click="getList"> </a-button> <a-button type="primary" class="query_button" @click="getList(1)"> </a-button>
<a-button class="query_button" @click="resetQurey"> </a-button> <a-button class="query_button" @click="resetQurey"> </a-button>
</a-space> </a-space>
</a-col> </a-col>
@ -219,10 +219,15 @@ export default {
Object.assign(this.query, this.$options.data().query) Object.assign(this.query, this.$options.data().query)
this.getList() this.getList()
}, },
getList(){ getList(type){
let data=this.query let data=this.query
data.page=this.page
data.limit=this.limit data.limit=this.limit
if(type==1){
data.page=1
this.page=1
}else{
data.page=this.page
}
getOrderList(data).then(res=>{ getOrderList(data).then(res=>{
if(res.code==200){ if(res.code==200){
this.data=res.data.data this.data=res.data.data

11
src/components/page/order/pendingPayment.vue

@ -50,7 +50,7 @@
</a-col> </a-col>
<a-col :span="12" class="query_item query_item1"> <a-col :span="12" class="query_item query_item1">
<a-space :size="21"> <a-space :size="21">
<a-button type="primary" class="query_button" @click="getList"> </a-button> <a-button type="primary" class="query_button" @click="getList(1)"> </a-button>
<a-button class="query_button" @click="resetQurey"> </a-button> <a-button class="query_button" @click="resetQurey"> </a-button>
</a-space> </a-space>
</a-col> </a-col>
@ -194,10 +194,15 @@ export default {
Object.assign(this.query, this.$options.data().query) Object.assign(this.query, this.$options.data().query)
this.getList() this.getList()
}, },
getList(){ getList(type){
let data=this.query let data=this.query
data.page=this.page
data.limit=this.limit data.limit=this.limit
if(type==1){
data.page=1
this.page=1
}else{
data.page=this.page
}
getOrderList(data).then(res=>{ getOrderList(data).then(res=>{
if(res.code==200){ if(res.code==200){
this.data=res.data.data this.data=res.data.data

11
src/components/page/order/toBeDelivered.vue

@ -50,7 +50,7 @@
</a-col> </a-col>
<a-col :span="12" class="query_item query_item1"> <a-col :span="12" class="query_item query_item1">
<a-space :size="21"> <a-space :size="21">
<a-button type="primary" class="query_button" @click="getList"> </a-button> <a-button type="primary" class="query_button" @click="getList(1)"> </a-button>
<a-button class="query_button" @click="resetQurey"> </a-button> <a-button class="query_button" @click="resetQurey"> </a-button>
</a-space> </a-space>
</a-col> </a-col>
@ -196,10 +196,15 @@ export default {
Object.assign(this.query, this.$options.data().query) Object.assign(this.query, this.$options.data().query)
this.getList() this.getList()
}, },
getList(){ getList(type){
let data=this.query let data=this.query
data.page=this.page
data.limit=this.limit data.limit=this.limit
if(type==1){
data.page=1
this.page=1
}else{
data.page=this.page
}
getOrderList(data).then(res=>{ getOrderList(data).then(res=>{
if(res.code==200){ if(res.code==200){
this.data=res.data.data this.data=res.data.data

11
src/components/page/order/toBeSettled.vue

@ -50,7 +50,7 @@
</a-col> </a-col>
<a-col :span="12" class="query_item query_item1"> <a-col :span="12" class="query_item query_item1">
<a-space :size="21"> <a-space :size="21">
<a-button type="primary" class="query_button" @click="getList"> </a-button> <a-button type="primary" class="query_button" @click="getList(1)"> </a-button>
<a-button class="query_button" @click="resetQurey"> </a-button> <a-button class="query_button" @click="resetQurey"> </a-button>
</a-space> </a-space>
</a-col> </a-col>
@ -196,10 +196,15 @@ export default {
Object.assign(this.query, this.$options.data().query) Object.assign(this.query, this.$options.data().query)
this.getList() this.getList()
}, },
getList(){ getList(type){
let data=this.query let data=this.query
data.page=this.page
data.limit=this.limit data.limit=this.limit
if(type==1){
data.page=1
this.page=1
}else{
data.page=this.page
}
getOrderList(data).then(res=>{ getOrderList(data).then(res=>{
if(res.code==200){ if(res.code==200){
this.data=res.data.data this.data=res.data.data

4
src/utils/request.js

@ -3,9 +3,9 @@ import axios from 'axios';
const service = axios.create({ const service = axios.create({
// process.env.NODE_ENV === 'development' 来判断是否开发环境 // process.env.NODE_ENV === 'development' 来判断是否开发环境
// baseURL:process.env.NODE_ENV == 'production' ? 'https://yztapi.xingtongworld.com' : '/api/', // baseURL:process.env.NODE_ENV == 'production' ? 'https://yztapi.xingtongworld.com' : '/api/',
baseURL:'http://jiao.api.alpha.xingtongworld.com', // baseURL:'http://jiao.api.alpha.xingtongworld.com',
// baseURL:'http://58.30.231.138:8899', // baseURL:'http://58.30.231.138:8899',
// baseURL:'http://192.168.66.254:8080', baseURL:'http://192.168.66.254:8080',
timeout: 5000, timeout: 5000,
}); });

Loading…
Cancel
Save