Commit c6e22e4c authored by gengchunlei's avatar gengchunlei

Merge remote-tracking branch 'origin/gcl' into gcl

# Conflicts:
#	.env.dev
#	.env.production
#	src/views/Home.vue
#	src/views/indexComponent/inStockManage/components/addMaterialDistribution.vue
parents cd50f9c1 8bd226ba
NODE_ENV = yueyang
VUE_APP_BASE_URL1 = https://beta-ysservice.yiboshi.com
VUE_APP_BASE_URL =https://yyys-service.yiboshi.com
VUE_APP_BASE_PATH = https://beta-yac.yiboshi.com
VUE_APP_KEY_WORD = 'XwKsGlMcdPMEhR1B'
......@@ -5,7 +5,8 @@
"scripts": {
"serve": "vue-cli-service serve --mode dev",
"build:test": "vue-cli-service build --mode test",
"build:prod": "vue-cli-service build --mode production --report"
"build:prod": "vue-cli-service build --mode production --report",
"build:yueyang": "vue-cli-service build --mode yueyang"
},
"dependencies": {
"ant-design-vue": "^1.6.4",
......@@ -13,6 +14,7 @@
"compression-webpack-plugin": "5.0.0",
"core-js": "^3.6.5",
"http-parser-js": "^0.5.3",
"jsonp": "^0.2.1",
"moment": "^2.29.1",
"moment-locales-webpack-plugin": "^1.2.0",
"nprogress": "^0.2.0",
......@@ -21,8 +23,7 @@
"vue-qr": "^2.3.0",
"vue-router": "^3.2.0",
"vue-ueditor-wrap": "^2.4.4",
"vuex": "^3.4.0",
"jsonp": "^0.2.1"
"vuex": "^3.4.0"
},
"devDependencies": {
"@vue/cli-plugin-babel": "~4.5.0",
......
......@@ -13,12 +13,16 @@
<!-- <span v-if="item.frontActionUrl == '/Home/distributionWarehousing'">{{item.name}}<span>(0)</span></span>-->
<!-- <span v-if="item.frontActionUrl == '/Home/folviteApply'">{{item.name}}<span>(0)</span></span>-->
</span>
<span>{{item.name}}</span>
</a-tab-pane>
<a-tab-pane :key="111">
<span slot="tab">
<span>{{unitInfo.unitName}}</span>
</span>
</a-tab-pane>
</a-tabs>
<router-view></router-view>
</div>
</a-layout-content>
<div style="clear: both"></div>
</a-layout>
......@@ -50,6 +54,7 @@
activeKey: '',
showChildren: false,
menuTest,
unitInfo: {}
}
},
created() {
......@@ -60,6 +65,7 @@
if (cookieToken) {
let par = {}
this.$api.fyManage.fetchFYLoginUser(par).then(({data}) => {
this.unitInfo = data.unitInfo;
window.sessionStorage.setItem('menuList', JSON.stringify(this.menuList));
window.sessionStorage.setItem('userInfo', JSON.stringify(data.userInfo));
window.sessionStorage.setItem('unitInfo', JSON.stringify(data.unitInfo));
......
<!--
<template>
<div class="login_container">
<div class="login_box">
......@@ -9,9 +9,9 @@
</div>
<a-form-model :model="formData" :rules="formRules" class="login_form" ref="formRef">
<a-form-model-item prop="username">
&lt;!&ndash; <a-input placeholder="请输入用户名" v-model="formData.username" size="large" @keyup.enter="login">&ndash;&gt;
&lt;!&ndash; <a-icon slot="prefix" type="user"/>&ndash;&gt;
&lt;!&ndash; </a-input>&ndash;&gt;
<!-- <a-input placeholder="请输入用户名" v-model="formData.username" size="large" @keyup.enter="login">-->
<!-- <a-icon slot="prefix" type="user"/>-->
<!-- </a-input>-->
<a-select v-model="formData.username" size="large" @change="userChange">
<a-select-option v-for="(i,index) in userList" :key="i.userName" :value="index">
{{i.unitName+"("+i.userName+")"}}
......@@ -70,10 +70,10 @@
created() {
let unitNames = ["云南省妇幼保健院","云南省妇幼保健院(供应商管理)","昆明市妇幼保健院", "五华区妇幼保健院", "五华区普吉大普吉社区卫生服务中心",
"五华区普吉新村社区卫生服务站", "五华区普吉林家院社区卫生服务站", "五华区大观社区卫生服务中心", "五华区护国南通街社区卫生服务站",
"五华区大观新闻里社区卫生服务中心"];
let userNames = ["3163915418", "3104754897","3458022605", "4040050358", "0892676849", "7381485204", "4681975615",
"0580382354", "2409311755", "7531945226"];
let passwords = ["ynfy2021","075546","078730", "073657", "07473X", "072179", "074991", "076479", "079813", "076831"];
"五华区大观新闻里社区卫生服务中心","医博士妇幼保健院"];
let userNames = ["3163915418", "3104754897","3458022605", "4040050358", "0892676849", "7381485204", "4681975615",-
"0580382354", "2409311755", "7531945226","330781198509074950"];
let passwords = ["ynfy2021","075546","078730", "073657", "07473X", "072179", "074991", "076479", "079813", "076831","ybs1234"];
unitNames.forEach((x, index) => {
this.userList.push({unitName: x, userName: userNames[index], password: passwords[index]});
})
......@@ -157,5 +157,5 @@
}
}
</style>
&ndash;&gt;
-->
-->
......@@ -81,8 +81,8 @@
<img style="width: 100%" :src="consentUrl" height="100%"/>
</div>
<div v-else>
<div style="white-space:pre;text-indent:2em">
<div v-html="consentInfo" style="white-space:pre">
<div>
<div v-html="consentInfo" style="width: 100%">
</div>
<div style="float: right;margin-right: 10px">
<div style="height: 60px">签名: <img style="width:200px;height: 40px;display: inline-block" :src="applySignUrl" height="100%"/></div>
......
......@@ -211,6 +211,7 @@
}
},
created() {
this.unitInfo = JSON.parse(sessionStorage.getItem("unitInfo"));
this.routerParams = this.$route.query
if (this.routerParams.menuId) {
window.sessionStorage.setItem('menuId', this.routerParams.menuId)
......@@ -224,7 +225,7 @@
getEnumListInfo() {
if (window.sessionStorage.getItem('allEnum')) {
this.brandList = getEnumByFlag("folacin_stock_record_brand_id");
this.unitInfo = JSON.parse(sessionStorage.getItem("unitInfo"))
this.unitInfo = JSON.parse(sessionStorage.getItem("unitInfo"));
} else {
let par = {
menuId: this.menuId
......
......@@ -177,10 +177,13 @@
submitForm() {
let vm = this;
this.$refs.formRef.validate(valid => {
if (true) {
if (valid) {
// vm.subLoad = true;
const {areaCode, areaName, ...others} = vm.formData
let areaInfo = areaCode[areaCode.length - 1]
const {areaCode, areaName, ...others} = vm.formData;
let areaInfo = "";
if (this.$api.utils.isNoBlank(areaCode)) {
areaInfo = areaCode[areaCode.length - 1];
}
let par = {
areaCode: areaInfo,
...others,
......
......@@ -302,5 +302,10 @@ ant-pagination-item:focus, .ant-pagination-item:hover {
color: #FF4D80;
border: 1px solid #FF4D80;
}
.ant-tag-blue{
background-color: #FF4D80;color: white;border: 0;cursor:pointer;
}
.ant-tag-blue:hover{
background-color: red;
}
//---------------------------------------------------------
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment