Merge branch 'main' of http://git.excellentkk.cn/mkm/OfficeApp
This commit is contained in:
commit
ca387b28c8
@ -18,7 +18,7 @@
|
|||||||
</block>
|
</block>
|
||||||
<block
|
<block
|
||||||
v-else-if="datas.extend&&datas.extend.transaction&&datas.extend.transaction.arr">
|
v-else-if="datas.extend&&datas.extend.transaction&&datas.extend.transaction.arr">
|
||||||
{{(datas.extend.transaction.arr.total_price?datas.extend.transaction.arr.total_price:0)+'元/'+(datas.extend.transaction.arr.day_money?datas.extend.transaction.arr.day_money:0)+'元'}}
|
{{(datas.extend.transaction.arr.day_money?datas.extend.transaction.arr.day_money:0)+'元/'+(datas.extend.transaction.arr.total_price?datas.extend.transaction.arr.total_price:0)+'元'}}
|
||||||
</block>
|
</block>
|
||||||
<block v-else>进行中</block>
|
<block v-else>进行中</block>
|
||||||
</block>
|
</block>
|
||||||
|
2
static/server/contract.js
Normal file
2
static/server/contract.js
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
export const companyContractType = [23,24,25]
|
||||||
|
export const personnerContractType = [19,20,21,22]
|
@ -64,6 +64,7 @@
|
|||||||
import { companyView, initiateContract, Draftingcontracts, postsms } from "@/api/company.js"
|
import { companyView, initiateContract, Draftingcontracts, postsms } from "@/api/company.js"
|
||||||
import { dictDataLists } from "@/api/oaPbulic.js"
|
import { dictDataLists } from "@/api/oaPbulic.js"
|
||||||
import { Toast } from "../../libs/uniApi";
|
import { Toast } from "../../libs/uniApi";
|
||||||
|
import {companyContractType} from "@/static/server/contract.js";
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@ -122,6 +123,9 @@
|
|||||||
let res = await dictDataLists({
|
let res = await dictDataLists({
|
||||||
type_id: 7
|
type_id: 7
|
||||||
})
|
})
|
||||||
|
res.data = res.data.filter(item=>{
|
||||||
|
return companyContractType.find(t=>item.id==t);
|
||||||
|
})
|
||||||
this.contractTypeList = res.data;
|
this.contractTypeList = res.data;
|
||||||
},
|
},
|
||||||
// 生成合同
|
// 生成合同
|
||||||
|
@ -11,8 +11,6 @@
|
|||||||
</view> -->
|
</view> -->
|
||||||
<view class="contract_list">
|
<view class="contract_list">
|
||||||
<view class="item" v-for="(item,index) in list" :key="item.id">
|
<view class="item" v-for="(item,index) in list" :key="item.id">
|
||||||
|
|
||||||
|
|
||||||
<view class="personnel_list">
|
<view class="personnel_list">
|
||||||
<view class="cards">
|
<view class="cards">
|
||||||
<view class="cards_head">
|
<view class="cards_head">
|
||||||
@ -22,15 +20,15 @@
|
|||||||
<view class="right">
|
<view class="right">
|
||||||
<view class="">
|
<view class="">
|
||||||
<text>甲方 :</text>
|
<text>甲方 :</text>
|
||||||
<text> { item.name }</text>
|
<text> {{item.party_a_info.company_name}}</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="">
|
<view class="">
|
||||||
<text>乙方 :</text>
|
<text>乙方 :</text>
|
||||||
<text>{ item.phone }</text>
|
<text>{{item.party_b_info.company_name}}</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="">
|
<view class="">
|
||||||
<text>合同类型 :</text>
|
<text>合同类型 :</text>
|
||||||
<text> {{item.company.contract_type_name}} </text>
|
<text> {{item.contract_type_name}} </text>
|
||||||
</view>
|
</view>
|
||||||
<view class="">
|
<view class="">
|
||||||
<text>合同编号 :</text>
|
<text>合同编号 :</text>
|
||||||
@ -50,7 +48,7 @@
|
|||||||
<view class="left">
|
<view class="left">
|
||||||
<image class="contract_img" src="../../static/img/contract/pdf.png"></image>
|
<image class="contract_img" src="../../static/img/contract/pdf.png"></image>
|
||||||
<view class="text">
|
<view class="text">
|
||||||
<view class="name">{{item.company.contract_type_name}}</view>
|
<view class="name">{{item.contract_type_name||'合同'}}</view>
|
||||||
<view>
|
<view>
|
||||||
<text>{{item.update_time}}</text>
|
<text>{{item.update_time}}</text>
|
||||||
</view>
|
</view>
|
||||||
@ -144,12 +142,6 @@
|
|||||||
onShow() {
|
onShow() {
|
||||||
this.initLoadConfig();
|
this.initLoadConfig();
|
||||||
},
|
},
|
||||||
onReady() {
|
|
||||||
uni.setNavigationBarColor({
|
|
||||||
frontColor: '#ffffff',
|
|
||||||
backgroundColor: '#3175f9'
|
|
||||||
})
|
|
||||||
},
|
|
||||||
methods: {
|
methods: {
|
||||||
navTo(url) {
|
navTo(url) {
|
||||||
url ?
|
url ?
|
||||||
|
@ -17,12 +17,6 @@
|
|||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
this.id = options.id
|
this.id = options.id
|
||||||
},
|
},
|
||||||
onReady() {
|
|
||||||
uni.setNavigationBarColor({
|
|
||||||
frontColor: '#ffffff',
|
|
||||||
backgroundColor: '#3175f9'
|
|
||||||
})
|
|
||||||
},
|
|
||||||
onShow() {},
|
onShow() {},
|
||||||
methods: {
|
methods: {
|
||||||
navTo(url) {
|
navTo(url) {
|
||||||
|
@ -474,6 +474,7 @@ import {
|
|||||||
import {
|
import {
|
||||||
download_file
|
download_file
|
||||||
} from "@/api/junziqian.js"
|
} from "@/api/junziqian.js"
|
||||||
|
import {personnerContractType} from "@/static/server/contract.js";
|
||||||
export default {
|
export default {
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
@ -571,6 +572,9 @@ export default {
|
|||||||
let res = await dictDataLists({
|
let res = await dictDataLists({
|
||||||
type_id: 7
|
type_id: 7
|
||||||
})
|
})
|
||||||
|
res.data = res.data.filter(item=>{
|
||||||
|
return personnerContractType.find(t=>item.id==t);
|
||||||
|
})
|
||||||
this.contractTypeList = res.data;
|
this.contractTypeList = res.data;
|
||||||
},
|
},
|
||||||
// 生成合同
|
// 生成合同
|
||||||
|
Loading…
x
Reference in New Issue
Block a user