Commit c4a55e24 authored by munan's avatar munan

系统设置

parent 05638514
......@@ -43,7 +43,7 @@ export function updateBusStudentInfo(data) {
const businessId = data.businessId
data = Qs.stringify(data)
return request({
url: '/busstudentinfo/update/' + businessId,
url: '/busstudentinfo/update/' + businessId ,
method: 'put',
data
})
......
......@@ -407,6 +407,7 @@ export default {
})
} else {
addBusStudentInfo(this.form).then(response => {
console.log(this.form)
if (response.code === 200) {
this.msgSuccess('新增成功')
this.open = false
......
<template>
<div class="app-container">
<div v-if="themeType == '8'" class="tableTitle">系统设置列表</div>
<div class="search">
<el-form ref="queryForm" style="padding: 0 0 0 10px" :model="queryParams" :inline="true">
<el-form-item label="系统名称" prop="systemName">
......@@ -105,9 +106,8 @@
</div>
</el-form>
</div>
<div class="placeholder" />
<div style="padding:5px 10px">
<div class="mb12 font-small-bold">系统设置列表</div>
<div v-if="themeType !== '8'" class="tableTitle">系统设置列表</div>
<el-table v-loading="loading" border :data="sysSettingsList" >
<el-table-column type="index" label="序号" width="55" align="center" />
<el-table-column label="系统名称" prop="systemName" :show-overflow-tooltip="true">
......@@ -133,7 +133,7 @@
</el-table-column>
<el-table-column label="系统版本" prop="systemVersion" :show-overflow-tooltip="true" >
<template slot-scope="scope" >
{{ scope.row.systemVersion || '-' }}
{{ scope.row.systemVersion || '23H2' }}
</template>
</el-table-column>
<el-table-column label="系统license" prop="systemLicense" :show-overflow-tooltip="true">
......@@ -143,27 +143,27 @@
</el-table-column>
<el-table-column label="系统编码" prop="systemSn" :show-overflow-tooltip="true">
<template slot-scope="scope">
{{ scope.row.systemSn || '-' }}
{{ scope.row.systemSn || 'GB2312' }}
</template>
</el-table-column>
<el-table-column label="过期时间" prop="systemExpire" :show-overflow-tooltip="true">
<template slot-scope="scope">
<span>{{ scope.row.systemExpire | transformDateByFormat('YYYY-MM-DD') }}</span>
<span>{{ scope.row.systemExpire | transformDateByFormat('2024-08-01 18:00:00') }}</span>
</template>
</el-table-column>
<el-table-column label="授权服务器数量" prop="systemAuthHost" :show-overflow-tooltip="true">
<template slot-scope="scope">
{{ scope.row.systemAuthHost || '-' }}
{{ scope.row.systemAuthHost || '1' }}
</template>
</el-table-column>
<el-table-column label="授权数量" prop="systemAuthGpu" :show-overflow-tooltip="true">
<template slot-scope="scope">
{{ scope.row.systemAuthGpu || '-' }}
{{ scope.row.systemAuthGpu || '1' }}
</template>
</el-table-column>
<el-table-column label="网卡编码" prop="systemRj49" :show-overflow-tooltip="true">
<template slot-scope="scope">
{{ scope.row.systemRj49 || '-' }}
{{ scope.row.systemRj49 || 'e01' }}
</template>
</el-table-column>
<el-table-column width="120" label="状态" prop="flag">
......@@ -177,11 +177,6 @@
/>
</template>
</el-table-column>
<el-table-column label="备注" prop="remarks" :show-overflow-tooltip="true">
<template slot-scope="scope">
{{ scope.row.remarks || '-' }}
</template>
</el-table-column>
<el-table-column label="操作" class-name="small-padding fixed-width" width="200px">
<template slot-scope="scope">
<el-button
......@@ -229,18 +224,18 @@
</el-upload>
</el-form-item>
<el-form-item label="系统版本" prop="systemVersion">
<el-input v-model.trim="form.systemVersion" show-word-limit :maxlength="50" placeholder="23H2" disabled/>
<el-input v-model.trim="form.systemVersion" show-word-limit :maxlength="50" placeholder="23H2" readonly/>
</el-form-item>
<el-form-item label="系统编码" prop="systemSn">
<el-input v-model.trim="form.systemSn" show-word-limit :maxlength="32" placeholder="GB2312" disabled />
<el-input v-model.trim="form.systemSn" show-word-limit :maxlength="32" placeholder="GB2312" readonly/>
</el-form-item>
<el-form-item label="过期时间" prop="systemExpire" >
<el-date-picker
v-model="form.systemExpire"
value-format="yyyy-MM-dd"
value-format="yyyy-MM-dd hh:mm:ss"
type="date"
placeholder="2024.08.01"
disabled="2024.08.01">
placeholder="2024.08.01 18:00:00"
readonly>
</el-date-picker>
</el-form-item>
<el-form-item label="授权服务器数量" prop="systemAuthHost">
......@@ -250,7 +245,7 @@
<el-input-number v-model.trim="form.systemAuthGpu" controls-position="right" :min="0" disabled/>
</el-form-item>
<el-form-item label="网卡编码" prop="systemRj49">
<el-input v-model.trim="form.systemRj49" show-word-limit :maxlength="32" placeholder="e01 " disabled />
<el-input v-model.trim="form.systemRj49" show-word-limit :maxlength="32" placeholder="e01 " readonly/>
</el-form-item>
<el-form-item label="状态">
<el-radio-group v-model="form.flag">
......@@ -326,6 +321,7 @@ export default {
form: {},
// 表单校验
rules: {
systemName:[{type: 'string',required: true,message: "系统名称必填", trigger: 'blur'}],
}
}
},
......
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