优化用户权限以及页面等样式问题
This commit is contained in:
parent
ea33107e86
commit
a71a21d070
|
|
@ -1,6 +1,8 @@
|
||||||
# 页面标题
|
# 页面标题
|
||||||
VUE_APP_TITLE = 施工装备管理系统
|
VUE_APP_TITLE = 施工装备管理系统
|
||||||
|
|
||||||
|
NODE_ENV = production
|
||||||
|
|
||||||
# 生产环境配置
|
# 生产环境配置
|
||||||
ENV = 'production'
|
ENV = 'production'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
||||||
# 南网系统配置
|
|
||||||
|
|
||||||
# 页面标题
|
|
||||||
VUE_APP_TITLE = 施工装备管理系统
|
|
||||||
|
|
||||||
# 生产环境配置
|
|
||||||
ENV = 'production-nw'
|
|
||||||
|
|
||||||
# 若依管理系统/生产环境
|
|
||||||
VUE_APP_BASE_API = '/gl/dev-api'
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
# 页面标题
|
# 页面标题
|
||||||
VUE_APP_TITLE = 若依管理系统
|
VUE_APP_TITLE = 若依管理系统
|
||||||
|
|
||||||
NODE_ENV = production
|
NODE_ENV = testing
|
||||||
|
|
||||||
# 测试环境配置
|
# 测试环境配置
|
||||||
ENV = 'staging'
|
ENV = 'testing'
|
||||||
|
|
||||||
# 若依管理系统/测试环境
|
# 若依管理系统/测试环境
|
||||||
VUE_APP_BASE_API = '/stage-api'
|
VUE_APP_BASE_API = '/dev-api'
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
@echo off
|
||||||
|
echo.
|
||||||
|
echo [<5B><>Ϣ] <20><><EFBFBD>Web<65><62><EFBFBD>̣<EFBFBD><CCA3><EFBFBD><EFBFBD><EFBFBD>dist<73>ļ<EFBFBD><C4BC><EFBFBD>
|
||||||
|
echo.
|
||||||
|
|
||||||
|
%~d0
|
||||||
|
cd %~dp0
|
||||||
|
|
||||||
|
cd ..
|
||||||
|
npm run build:prod
|
||||||
|
|
||||||
|
pause
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
@echo off
|
||||||
|
echo.
|
||||||
|
echo [<5B><>Ϣ] <20><><EFBFBD>Web<65><62><EFBFBD>̣<EFBFBD><CCA3><EFBFBD><EFBFBD><EFBFBD>dist<73>ļ<EFBFBD><C4BC><EFBFBD>
|
||||||
|
echo.
|
||||||
|
|
||||||
|
%~d0
|
||||||
|
cd %~dp0
|
||||||
|
|
||||||
|
cd ..
|
||||||
|
npm run build:test
|
||||||
|
|
||||||
|
pause
|
||||||
|
|
@ -7,7 +7,8 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vue-cli-service serve",
|
"dev": "vue-cli-service serve",
|
||||||
"build": "vue-cli-service build",
|
"build": "vue-cli-service build",
|
||||||
"build:stage": "vue-cli-service build --mode staging",
|
"build:test": "vue-cli-service build --mode testing",
|
||||||
|
"build:prod": "vue-cli-service build --mode production",
|
||||||
"preview": "node build/index.js --preview",
|
"preview": "node build/index.js --preview",
|
||||||
"lint": "eslint --ext .js,.vue src"
|
"lint": "eslint --ext .js,.vue src"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
// const qrUrl = 'http://112.29.103.165:21624/qrCode/qrCodePage?qrCode='; //宁夏
|
// const qrUrl = 'http://112.29.103.165:21624/qrCode/qrCodePage?qrCode='; //宁夏
|
||||||
// const qrUrl = 'https://z.csgmall.com.cn/gl/qrCode/qrCodePage?qrCode='; //南网
|
// const qrUrl = 'https://z.csgmall.com.cn/gl/qrCode/qrCodePage?qrCode='; //南网
|
||||||
|
|
||||||
const qrUrl = process.env.NODE_ENV === 'production' ? 'https://z.csgmall.com.cn/gl/qrCode/qrCodePage?qrCode=' : 'http://192.168.0.14:21624/qrCode/qrCodePage?qrCode='
|
const qrUrl = process.env.NODE_ENV === 'production' ? 'http://112.29.103.165:21624/qrCode/qrCodePage?qrCode=' : 'http://192.168.0.14:21624/qrCode/qrCodePage?qrCode='
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
qrUrl,
|
qrUrl,
|
||||||
|
|
|
||||||
|
|
@ -168,6 +168,7 @@
|
||||||
type="primary"
|
type="primary"
|
||||||
v-if="scope.row.taskStatus != 35"
|
v-if="scope.row.taskStatus != 35"
|
||||||
@click="handleOut(scope.row)"
|
@click="handleOut(scope.row)"
|
||||||
|
v-hasPermi="['picking:outbound']"
|
||||||
>
|
>
|
||||||
出库
|
出库
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|
|
||||||
|
|
@ -238,6 +238,7 @@
|
||||||
icon="el-icon-setting"
|
icon="el-icon-setting"
|
||||||
v-if="scope.row.repairStatusCode == '43'"
|
v-if="scope.row.repairStatusCode == '43'"
|
||||||
@click="handleUpdate(scope.row, 'update')"
|
@click="handleUpdate(scope.row, 'update')"
|
||||||
|
v-hasPermi="['service:button']"
|
||||||
>
|
>
|
||||||
维修
|
维修
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|
|
||||||
|
|
@ -136,6 +136,7 @@
|
||||||
size="mini"
|
size="mini"
|
||||||
:disabled="multiple"
|
:disabled="multiple"
|
||||||
@click="checkClick"
|
@click="checkClick"
|
||||||
|
v-hasPermi="['service:batch:auditing']"
|
||||||
>批量审核</el-button
|
>批量审核</el-button
|
||||||
>
|
>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
@ -244,6 +245,7 @@
|
||||||
icon="el-icon-circle-check"
|
icon="el-icon-circle-check"
|
||||||
v-if="scope.row.taskStatus == 46"
|
v-if="scope.row.taskStatus == 46"
|
||||||
@click="handleUpdate(scope.row, 'update')"
|
@click="handleUpdate(scope.row, 'update')"
|
||||||
|
v-hasPermi="['service:auditing']"
|
||||||
>审核</el-button
|
>审核</el-button
|
||||||
>
|
>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -63,6 +63,7 @@
|
||||||
size="mini"
|
size="mini"
|
||||||
v-if="data.taskStatus === 121 || data.taskStatus === 120"
|
v-if="data.taskStatus === 121 || data.taskStatus === 120"
|
||||||
@click="handleAuditing(data)"
|
@click="handleAuditing(data)"
|
||||||
|
v-hasPermi="['forecast:waste:auditing']"
|
||||||
>审核</el-button
|
>审核</el-button
|
||||||
>
|
>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -21,9 +21,12 @@
|
||||||
icon="el-icon-circle-check"
|
icon="el-icon-circle-check"
|
||||||
size="mini"
|
size="mini"
|
||||||
@click="handelSubmitScrap"
|
@click="handelSubmitScrap"
|
||||||
|
v-hasPermi="['submit:batch:scrap']"
|
||||||
>提交报废</el-button
|
>提交报废</el-button
|
||||||
>
|
>
|
||||||
|
|
||||||
|
<!-- 批量提交报废 -->
|
||||||
|
|
||||||
<el-button
|
<el-button
|
||||||
type="success"
|
type="success"
|
||||||
plain
|
plain
|
||||||
|
|
@ -75,7 +78,7 @@
|
||||||
type="text"
|
type="text"
|
||||||
size="mini"
|
size="mini"
|
||||||
v-if="data.taskStatus == 124"
|
v-if="data.taskStatus == 124"
|
||||||
v-hasPermi="['scrap:auditing']"
|
v-hasPermi="['submit:scrap']"
|
||||||
@click="handleSubmitScrap(data)"
|
@click="handleSubmitScrap(data)"
|
||||||
>提交报废</el-button
|
>提交报废</el-button
|
||||||
>
|
>
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,7 @@
|
||||||
plain
|
plain
|
||||||
size="mini"
|
size="mini"
|
||||||
@click="handleBatchDisposition()"
|
@click="handleBatchDisposition()"
|
||||||
|
v-hasPermi="['scrap:batch:disposition']"
|
||||||
>批量处置</el-button
|
>批量处置</el-button
|
||||||
>
|
>
|
||||||
<el-button
|
<el-button
|
||||||
|
|
@ -69,6 +70,7 @@
|
||||||
type="text"
|
type="text"
|
||||||
@click="handleDisposition(data)"
|
@click="handleDisposition(data)"
|
||||||
v-if="data.disposition == 0"
|
v-if="data.disposition == 0"
|
||||||
|
v-hasPermi="['scrap:disposition']"
|
||||||
>
|
>
|
||||||
处置
|
处置
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|
|
||||||
|
|
@ -243,6 +243,7 @@
|
||||||
scope.row.manageType != '1'
|
scope.row.manageType != '1'
|
||||||
"
|
"
|
||||||
@click="handleCode(scope.row)"
|
@click="handleCode(scope.row)"
|
||||||
|
v-hasPermi="['coding:manage']"
|
||||||
>编码管理</el-button
|
>编码管理</el-button
|
||||||
>
|
>
|
||||||
<el-button
|
<el-button
|
||||||
|
|
|
||||||
|
|
@ -184,6 +184,7 @@
|
||||||
scope.row.taskStatus == '105'
|
scope.row.taskStatus == '105'
|
||||||
"
|
"
|
||||||
@click="handleUpdate(scope.row)"
|
@click="handleUpdate(scope.row)"
|
||||||
|
v-hasPermi="['warehousing:auditing']"
|
||||||
>审核</el-button
|
>审核</el-button
|
||||||
>
|
>
|
||||||
<el-button
|
<el-button
|
||||||
|
|
|
||||||
|
|
@ -181,6 +181,7 @@
|
||||||
icon="el-icon-edit"
|
icon="el-icon-edit"
|
||||||
@click="handleUpdate(scope.row)"
|
@click="handleUpdate(scope.row)"
|
||||||
v-if="scope.row.taskStatus == '入库进行中'"
|
v-if="scope.row.taskStatus == '入库进行中'"
|
||||||
|
v-hasPermi="['repairTest:auditing']"
|
||||||
>审核</el-button
|
>审核</el-button
|
||||||
>
|
>
|
||||||
<!-- <el-button-->
|
<!-- <el-button-->
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue