flx:人员登记培训 信息详情新增编辑按钮

This commit is contained in:
X_Rian 2024-07-31 11:36:41 +08:00
parent 96e1a46c45
commit d5be67d629
4 changed files with 453 additions and 982 deletions

View File

@ -301,7 +301,8 @@ Vue.prototype.checkPermission = function(permission) {
permissions = permissions.filter(
(x) => x.path == permission.menuPath
)[0];
if (!permissions.actionList) {
// console.log('权限', permissions)
if (!permissions || !permissions.actionList) {
return false;
}
let index = permissions.actionList.findIndex(

View File

@ -59,11 +59,11 @@ export default new Vuex.Store({
UPLOADURL: 'http://192.168.34.221:9111/upload/image/', // 郭圣雄本地
FILEURL: 'http://192.168.34.221:9111/image/', //郭圣雄本地
// WORKFLOWURL: "http://192.168.34.138:88/#/workspace/forms", //坤工作流地址(本地)
WORKFLOWURL: "http://192.168.34.175:88/#/workspace/forms", //罗峰工作流地址(本地)
WORKFLOWURL: "http://192.168.34.129:88/#/workspace/forms", //罗峰工作流地址(本地)
CONTRACTORURL: process.env.NODE_ENV == "development" ? "http://192.168.34.175:5173/#/contractorApply" : `${window.location.protocol}//${window.location.host}/contractorApply/index.html#/contractorApply`, //罗峰承包商入场地址(本地)
// UPLOADURL:'http://182.90.224.237:51234/upload/image/',// 郭圣雄远程
// FILEURL:'http://182.90.224.237:51234/image/',//郭圣雄远程
// UPLOADURL: 'http://42.180.188.17:11211/upload/image', //测试
UPLOADURL: 'http://42.180.188.17:11211/upload/image', //测试
// FILEURL: 'http://42.180.188.17:11211/image/', //测试
// BASEURL: baseUrl ?
// baseUrl : window.location.protocol + "//" + window.location.host + "/", //正式环境

View File

@ -956,13 +956,14 @@
</el-col>
<el-col :span="12">
<el-form-item label="当前安全评分分值:" prop="safeScore">
<el-input
<!-- <el-input
v-if="detailInfoStatus"
style="width: 80%"
v-model="workerInfo.safeScore"
placeholder="请输入"
></el-input>
<span v-else>{{ workerInfo.safeScore }}</span>
<span v-else>{{ workerInfo.safeScore }}</span> -->
<span>{{ workerInfo.safeScore }}</span>
</el-form-item>
</el-col>
</el-row>

File diff suppressed because it is too large Load Diff