提交 943760d0 authored 作者: 彭涛's avatar 彭涛

bug修复

上级 cc0fc070
...@@ -115,8 +115,10 @@ ...@@ -115,8 +115,10 @@
<text class="right_title" v-if="item.status == 1">待确认</text> <text class="right_title" v-if="item.status == 1">待确认</text>
<text class="right_title" v-if="item.status == 2">待盖章</text> <text class="right_title" v-if="item.status == 2">待盖章</text>
<text class="right_title right_title2" v-if="item.status == 9||item.status == 10">已寄送</text> <text class="right_title right_title2" v-if="item.status == 9||item.status == 10">已寄送</text>
<text class="right_title right_title2" v-if="(item.status == 4||item.status == 5)&&item.isElectronicSeal==2">已签收</text> <text class="right_title right_title2"
<text class="right_title right_title2" v-if="item.isElectronicSeal == 1&&(item.isContractASealed == 1||item.isContractASealed == 0)">已电子盖章</text> v-if="(item.status == 4||item.status == 5)&&item.isElectronicSeal==2">已签收</text>
<text class="right_title right_title2"
v-if="item.isElectronicSeal == 1&&(item.isContractASealed == 1||item.isContractASealed == 0)">已电子盖章</text>
<text class="right_title right_title2" v-if="item.status == 7">已生效</text> <text class="right_title right_title2" v-if="item.status == 7">已生效</text>
</view> </view>
<view>合同甲方: {{item.contractA}}</view> <view>合同甲方: {{item.contractA}}</view>
...@@ -213,7 +215,7 @@ ...@@ -213,7 +215,7 @@
} from '../../../static/util/fun.js' } from '../../../static/util/fun.js'
export default { export default {
onLoad(options) { onLoad(options) {
let that=this let that = this
this.enterpriseId = options.id this.enterpriseId = options.id
this.getEnterpriseCertificationDetail(this.enterpriseId) this.getEnterpriseCertificationDetail(this.enterpriseId)
get(api.getIndustryList).then(res => { get(api.getIndustryList).then(res => {
......
...@@ -134,7 +134,7 @@ ...@@ -134,7 +134,7 @@
<text class="right_title" v-if="item.status == 6">待生效</text> <text class="right_title" v-if="item.status == 6">待生效</text>
<text class="right_title" v-if="item.status == 7">已生效</text> <text class="right_title" v-if="item.status == 7">已生效</text>
<text class="right_title" <text class="right_title"
v-if="(item.status == 4||item.status == 5)&&(item.isContractASealed == 1||item.isContractASealed == 0)">已电子盖章</text> v-if="item.isElectronicSeal == 1&&(item.isContractASealed == 1||item.isContractASealed == 0)">已电子盖章</text>
<text class="right_title" v-if="item.status == 8">已失效</text> <text class="right_title" v-if="item.status == 8">已失效</text>
</text> </text>
<view>合同编号: {{item.contractNumber}}</view> <view>合同编号: {{item.contractNumber}}</view>
......
...@@ -16,12 +16,16 @@ ...@@ -16,12 +16,16 @@
} from '@/static/util/fun.js' } from '@/static/util/fun.js'
import api from '@/static/util/api.js' import api from '@/static/util/api.js'
export default { export default {
created() {
this.getUesrInfo()
},
components: { components: {
bottomWindow bottomWindow
}, },
data() { data() {
return { return {
isshare: false, isshare: false,
isAuthenticate: 0,
} }
}, },
methods: { methods: {
...@@ -50,6 +54,20 @@ ...@@ -50,6 +54,20 @@
this.isshare = false this.isshare = false
} }
}, },
// 获取电客信息
getUesrInfo() {
let electricId = uni.getStorageSync('user').electricId
get(api.getUserInformation, {
type: 2,
userId: electricId
}).then(res => {
// console.log(res)
if (res.code == 200) {
this.isAuthenticate = res.data.isAuthenticate
//isAuthenticate 认证状态(0:未认证;1:认证失败;2:已认证;3:待审核)
}
})
},
//开启赚钱之路 //开启赚钱之路
openmakemoney(){ openmakemoney(){
let that=this let that=this
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -351,6 +351,8 @@ __webpack_require__.r(__webpack_exports__); ...@@ -351,6 +351,8 @@ __webpack_require__.r(__webpack_exports__);
...@@ -580,6 +582,8 @@ var _fun = __webpack_require__(/*! ../../../static/util/fun.js */ 50);function _ ...@@ -580,6 +582,8 @@ var _fun = __webpack_require__(/*! ../../../static/util/fun.js */ 50);function _
// //
// //
// //
//
//
var _default = { onLoad: function onLoad(options) {var that = this;this.enterpriseId = options.id;this.getEnterpriseCertificationDetail(this.enterpriseId);(0, _fun.get)(_api.default.getIndustryList).then(function (res) {if (res.code == 200) {var data = res.data;that.industryName = res.data[0].industryName;var arr = data.filter(function (item) {return item.type == that.type;});}});}, data: function data() {return { tab: 1, //tab切换 var _default = { onLoad: function onLoad(options) {var that = this;this.enterpriseId = options.id;this.getEnterpriseCertificationDetail(this.enterpriseId);(0, _fun.get)(_api.default.getIndustryList).then(function (res) {if (res.code == 200) {var data = res.data;that.industryName = res.data[0].industryName;var arr = data.filter(function (item) {return item.type == that.type;});}});}, data: function data() {return { tab: 1, //tab切换
enterpriseId: '', //企业id enterpriseId: '', //企业id
companydata: {}, //企业基本信息 companydata: {}, //企业基本信息
......
...@@ -171,12 +171,16 @@ var _fun = __webpack_require__(/*! @/static/util/fun.js */ 50); ...@@ -171,12 +171,16 @@ var _fun = __webpack_require__(/*! @/static/util/fun.js */ 50);
var _api = _interopRequireDefault(__webpack_require__(/*! @/static/util/api.js */ 49));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var bottomWindow = function bottomWindow() {__webpack_require__.e(/*! require.ensure | components/bottomWindow/bottomWindow */ "components/bottomWindow/bottomWindow").then((function () {return resolve(__webpack_require__(/*! @/components/bottomWindow/bottomWindow.vue */ 653));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var _default = var _api = _interopRequireDefault(__webpack_require__(/*! @/static/util/api.js */ 49));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var bottomWindow = function bottomWindow() {__webpack_require__.e(/*! require.ensure | components/bottomWindow/bottomWindow */ "components/bottomWindow/bottomWindow").then((function () {return resolve(__webpack_require__(/*! @/components/bottomWindow/bottomWindow.vue */ 653));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var _default =
{ {
created: function created() {
this.getUesrInfo();
},
components: { components: {
bottomWindow: bottomWindow }, bottomWindow: bottomWindow },
data: function data() { data: function data() {
return { return {
isshare: false }; isshare: false,
isAuthenticate: 0 };
}, },
methods: { methods: {
...@@ -205,6 +209,20 @@ var _api = _interopRequireDefault(__webpack_require__(/*! @/static/util/api.js * ...@@ -205,6 +209,20 @@ var _api = _interopRequireDefault(__webpack_require__(/*! @/static/util/api.js *
this.isshare = false; this.isshare = false;
} }
}, },
// 获取电客信息
getUesrInfo: function getUesrInfo() {var _this = this;
var electricId = uni.getStorageSync('user').electricId;
(0, _fun.get)(_api.default.getUserInformation, {
type: 2,
userId: electricId }).
then(function (res) {
// console.log(res)
if (res.code == 200) {
_this.isAuthenticate = res.data.isAuthenticate;
//isAuthenticate 认证状态(0:未认证;1:认证失败;2:已认证;3:待审核)
}
});
},
//开启赚钱之路 //开启赚钱之路
openmakemoney: function openmakemoney() { openmakemoney: function openmakemoney() {
var that = this; var that = this;
......
...@@ -15,19 +15,15 @@ ...@@ -15,19 +15,15 @@
"projectname": "gangshi", "projectname": "gangshi",
"condition": { "condition": {
"search": { "search": {
"current": -1,
"list": [] "list": []
}, },
"conversation": { "conversation": {
"current": -1,
"list": [] "list": []
}, },
"game": { "game": {
"current": -1,
"list": [] "list": []
}, },
"miniprogram": { "miniprogram": {
"current": 0,
"list": [ "list": [
{ {
"name": "", "name": "",
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论