diff --git a/public/index.html b/public/index.html
index b2b324b..6972211 100644
--- a/public/index.html
+++ b/public/index.html
@@ -147,7 +147,7 @@
top: 0;
width: 51%;
height: 100%;
- background: #49a9ee;
+ background: #069F99;
/* Old browsers */
z-index: 1000;
-webkit-transform: translateX(0);
diff --git a/src/api/incomePaymentsApi.js b/src/api/incomePaymentsApi.js
index 7c7bf1f..22e38ae 100644
--- a/src/api/incomePaymentsApi.js
+++ b/src/api/incomePaymentsApi.js
@@ -52,6 +52,8 @@ const removePackProject = (param) => postAction('/pack/payPackCompanyProject/rem
const batchRemovePackProject = (param) => postAction('/pack/payPackCompanyProject/removeBatch', param)
// 企业管理审核
const aduitCompany = (param) => getAction('/company/payCompanyManagement/audit', param)
+// 企业管理删除确认是否有联系人
+const checkContactByCompany = (param) => getAction('/company/payCompanyManagement/queryCompanyByIdFindContacts', param)
// 资料分发
const distribute = (param) => postAction('/project/payWorkingGroupDistributionRecord/add', param)
// 资料批量分发
@@ -100,6 +102,7 @@ export {
removePackProject,
batchRemovePackProject,
aduitCompany,
+ checkContactByCompany,
distribute,
batchDistribute,
distributeMemberList,
diff --git a/src/components/layouts/TabLayout.vue b/src/components/layouts/TabLayout.vue
index c3bbb84..b54e528 100644
--- a/src/components/layouts/TabLayout.vue
+++ b/src/components/layouts/TabLayout.vue
@@ -171,7 +171,7 @@
// update-begin-author:sunjianlei date:20200120 for: 动态更改页面标题
changeTitle(title) {
- let projectTitle = 'Jero-Boot 企业级快速开发平台'
+ let projectTitle = '标准所协同工作平台'
// 首页特殊处理
if (this.$route.path === indexKey) {
document.title = projectTitle
diff --git a/src/components/page/GlobalHeader.vue b/src/components/page/GlobalHeader.vue
index bd26207..af5b811 100644
--- a/src/components/page/GlobalHeader.vue
+++ b/src/components/page/GlobalHeader.vue
@@ -17,7 +17,7 @@
:type="collapsed ? 'menu-unfold' : 'menu-fold'"
@click="toggle"/>
- 欢迎进入来款系统管理平台
+ 欢迎进入标准所协同工作平台
Jero-Boot
diff --git a/src/components/tools/StatusSlot.vue b/src/components/tools/StatusSlot.vue
index 0191007..72ed18b 100644
--- a/src/components/tools/StatusSlot.vue
+++ b/src/components/tools/StatusSlot.vue
@@ -7,8 +7,7 @@
:title="currentTitle"
arrow-point-at-center
:mouse-enter-delay="0.1"
- @visibleChange="visibleChange"
- >
+ @visibleChange="visibleChange">
@@ -32,7 +31,7 @@ export default {
data() {
return {
currentTitle: ' ', // 气泡中显示的文字,必须有内容,否则dom选择时不会解析
- hasInfo: false, // 是否有详情信息可以显示,即是否通过接口请求过数据
+ hasInfo: false // 是否有详情信息可以显示,即是否通过接口请求过数据
}
},
props: {
@@ -50,7 +49,7 @@ export default {
statusType: {
type: Boolean,
required: false,
- default:false
+ default: false
},
/*
* 具体的状态值
@@ -60,8 +59,8 @@ export default {
required: false
},
// 当前需要转换key的属性, 悬浮显示实际具体内容信息时需要
- // paymentRecord 来款 mail -- 邮寄 bill--邮寄
- statusKey:{
+ // paymentRecord 来款 mail -- 邮寄 bill--开票
+ statusKey: {
type: String,
required: false,
default: 'paymentRecord'
@@ -76,32 +75,37 @@ export default {
computed: {
// eslint-disable-next-line vue/return-in-computed-property
status() {
- if (this.statuObj.amountReceivable === '0.00' || this.statuObj.receivableAmount === '0.00' ) {
- if(this.statusType){
+ if (this.statuObj.amountReceivable === '0.00' || this.statuObj.receivableAmount === '0.00') {
+ if (this.statusType) {
// 应收金额为0 未到账 未邮寄 未开票的状态
return zero
- }else {
+ } else {
// 应收金额为0 打包 与需要开票的状态
- if(this.statusNo === 0 ){
+ if (this.statusNo === 0) {
return error
- }else if(this.statusNo === 1){
+ } else if (this.statusNo === 1) {
return finished
- }else if(this.statusNo === 2){
+ } else if (this.statusNo === 2) {
return half
}
}
- }else {
+ } else {
// 应收金额不为0 都正常判断
- if(this.statusNo === 0 ){
- return error
- }else if(this.statusNo === 1){
+ if (this.statusNo === 0) {
+ // 开票或邮寄时,不需要发票
+ if ((this.statusKey === 'bill' || this.statusKey === 'mail') && this.statuObj.needInvoice === 0) {
+ return zero
+ } else {
+ return error
+ }
+ } else if (this.statusNo === 1) {
return finished
- }else if(this.statusNo === 2){
+ } else if (this.statusNo === 2) {
// 如果不是打包和需要发票
- if(this.statusType){
+ if (this.statusType) {
return half
- }else {
+ } else {
return finished
}
}
@@ -110,11 +114,14 @@ export default {
// 操作返回数据的key值,此处是根据业务逻辑处理的
opeStatusKey() {
let result = this.statusKey
- if(this.statusKey === 'mail' || this.statusKey === 'bill') {
+ if (this.statusKey === 'mail' || this.statusKey === 'bill') {
result = 'mailBill'
}
return result
}
+ },
+ created() {
+
},
methods: {
s() {
@@ -123,9 +130,9 @@ export default {
visibleChange(visible) {
// 到账、开票、邮寄 的时候,请求接口获得相应的数据
// 判断条件 tooltip显示、 有不同的统计状态,统计状态值不为0 没有请求过详情数据
- if(visible && this.statusType && this.statusNo && !this.hasInfo) {
- this.getInfoFunc({id: this.statuObj.id}).then(res =>{
- if(res.success) {
+ if (visible && this.statusType && this.statusNo && !this.hasInfo) {
+ this.getInfoFunc({ id: this.statuObj.id }).then(res => {
+ if (res.success) {
let arr = res.result[this.opeStatusKey] || []
let result = []
arr.map(tt => {
@@ -147,12 +154,12 @@ export default {
let result = ''
console.log(item)
// 来款
- if(this.statusKey === 'paymentRecord') {
- result = `${item.paymentDate}到账${item.amountReceived}`
- } else if(this.statusKey === 'bill') {
- result = `${item.billDate}新增发票,发票单号:${item.billNo}`
- } else if(this.statusKey === 'mail') {
- result = `${item.sendDate}新增邮寄信息,邮寄单号:${item.postNo}`
+ if (this.statusKey === 'paymentRecord') {
+ result = `${ item.paymentDate }到账${ item.amountReceived }`
+ } else if (this.statusKey === 'bill') {
+ result = `${ item.billDate }新增发票,发票单号:${ item.billNo }`
+ } else if (this.statusKey === 'mail') {
+ result = `${ item.sendDate }新增邮寄信息,邮寄单号:${ item.postNo }`
}
return result
}
@@ -165,7 +172,7 @@ export default {
diff --git a/src/components/tools/UserPassword.vue b/src/components/tools/UserPassword.vue
index 4bb0ea1..ac7863b 100644
--- a/src/components/tools/UserPassword.vue
+++ b/src/components/tools/UserPassword.vue
@@ -14,22 +14,35 @@
-
+
-
+
-
+
@@ -39,116 +52,125 @@