最后一版
This commit is contained in:
@@ -10,15 +10,15 @@
|
|||||||
@keyup.enter.native="handleQuery"
|
@keyup.enter.native="handleQuery"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="操作人员" prop="createBy">
|
<!-- <el-form-item label="操作人员" prop="createBy">-->
|
||||||
<el-input
|
<!-- <el-input-->
|
||||||
v-model="queryParams.createBy"
|
<!-- v-model="queryParams.createBy"-->
|
||||||
placeholder="请输入操作人员"
|
<!-- placeholder="请输入操作人员"-->
|
||||||
clearable
|
<!-- clearable-->
|
||||||
size="small"
|
<!-- size="small"-->
|
||||||
@keyup.enter.native="handleQuery"
|
<!-- @keyup.enter.native="handleQuery"-->
|
||||||
/>
|
<!-- />-->
|
||||||
</el-form-item>
|
<!-- </el-form-item>-->
|
||||||
<!-- <el-form-item label="类型" prop="noticeType">-->
|
<!-- <el-form-item label="类型" prop="noticeType">-->
|
||||||
<!-- <el-select v-model="queryParams.noticeType" placeholder="公告类型" clearable size="small">-->
|
<!-- <el-select v-model="queryParams.noticeType" placeholder="公告类型" clearable size="small">-->
|
||||||
<!-- <el-option-->
|
<!-- <el-option-->
|
||||||
@@ -149,17 +149,17 @@
|
|||||||
<!-- </el-select>-->
|
<!-- </el-select>-->
|
||||||
<!-- </el-form-item>-->
|
<!-- </el-form-item>-->
|
||||||
<!-- </el-col>-->
|
<!-- </el-col>-->
|
||||||
<el-col :span="24">
|
<!-- <el-col :span="24">-->
|
||||||
<el-form-item label="状态">
|
<!-- <el-form-item label="状态">-->
|
||||||
<el-radio-group v-model="form.status">
|
<!-- <el-radio-group v-model="form.status">-->
|
||||||
<el-radio
|
<!-- <el-radio-->
|
||||||
v-for="dict in statusOptions"
|
<!-- v-for="dict in statusOptions"-->
|
||||||
:key="dict.dictValue"
|
<!-- :key="dict.dictValue"-->
|
||||||
:label="dict.dictValue"
|
<!-- :label="dict.dictValue"-->
|
||||||
>{{dict.dictLabel}}</el-radio>
|
<!-- >{{dict.dictLabel}}</el-radio>-->
|
||||||
</el-radio-group>
|
<!-- </el-radio-group>-->
|
||||||
</el-form-item>
|
<!-- </el-form-item>-->
|
||||||
</el-col>
|
<!-- </el-col>-->
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
<el-form-item label="内容">
|
<el-form-item label="内容">
|
||||||
<editor v-model="form.noticeContent" :min-height="192"/>
|
<editor v-model="form.noticeContent" :min-height="192"/>
|
||||||
@@ -308,6 +308,7 @@ export default {
|
|||||||
submitForm: function() {
|
submitForm: function() {
|
||||||
this.$refs["form"].validate(valid => {
|
this.$refs["form"].validate(valid => {
|
||||||
this.form.noticeType = "1"
|
this.form.noticeType = "1"
|
||||||
|
this.form.status = "0"
|
||||||
if (valid) {
|
if (valid) {
|
||||||
if (this.form.noticeId != undefined) {
|
if (this.form.noticeId != undefined) {
|
||||||
updateNotice(this.form).then(response => {
|
updateNotice(this.form).then(response => {
|
||||||
|
|||||||
@@ -32,19 +32,19 @@ module.exports = {
|
|||||||
// host: '0.0.0.0',
|
// host: '0.0.0.0',
|
||||||
// // port: port,
|
// // port: port,
|
||||||
port: 8080,
|
port: 8080,
|
||||||
// open: true,
|
open: true,
|
||||||
// proxy: {
|
proxy: {
|
||||||
// // detail: https://cli.vuejs.org/config/#devserver-proxy
|
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
||||||
// [process.env.VUE_APP_BASE_API]: {
|
[process.env.VUE_APP_BASE_API]: {
|
||||||
// target: `http://localhost:8085`,
|
target: `https://sist.swjtu.edu.cn/`,
|
||||||
// // target: `http://hchyunapi.tomey.live`,
|
// target: `http://hchyunapi.tomey.live`,
|
||||||
// changeOrigin: true,
|
changeOrigin: true,
|
||||||
// pathRewrite: {
|
pathRewrite: {
|
||||||
// ['^' + process.env.VUE_APP_BASE_API]: ''
|
['^' + process.env.VUE_APP_BASE_API]: '/dev-api'
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
// },
|
},
|
||||||
// disableHostCheck: true
|
disableHostCheck: true
|
||||||
},
|
},
|
||||||
// 强制内联CSS
|
// 强制内联CSS
|
||||||
// 默认true: 使用CSS分离插件 ExtractTextPlugin,采用独立样式文件载入,不采用 <style> 方式内联至 html 文件中
|
// 默认true: 使用CSS分离插件 ExtractTextPlugin,采用独立样式文件载入,不采用 <style> 方式内联至 html 文件中
|
||||||
|
|||||||
Reference in New Issue
Block a user