Browse Source

作者调整为单选

master V0.1.3
zhangyj-html 3 years ago
parent
commit
2e25ffa5e0
  1. 2
      dist/css/app.f500aa5e.css
  2. 2
      dist/index.html
  3. 2
      dist/js/app.17950d78.js
  4. 1
      dist/js/app.17950d78.js.map
  5. 2
      dist/js/app.a7c40410.js
  6. 1
      dist/js/app.a7c40410.js.map
  7. 11
      src/views/Home.vue

2
dist/css/app.a61a1d15.css → dist/css/app.f500aa5e.css

@ -1 +1 @@
body,html{height:100%}body{margin:0}#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#2c3e50;height:100%}::-webkit-scrollbar{width:7px!important;height:7px}::-webkit-scrollbar-track{border-radius:10px;background-color:#e7e7e7}::-webkit-scrollbar-thumb{border-radius:10px;background-color:#909399}.el-dialog__wrapper .el-dialog .el-dialog__body .box_style .demo-ruleForm .el-row{margin-left:0!important;margin-right:0!important}.box_style[data-v-940a84bc]{overflow-y:auto}.index[data-v-991bebec]{padding:10px 30px 10px;height:100%;display:flex;flex-direction:column;background-color:#fff;border-radius:5px;box-sizing:border-box}.index .search_b[data-v-991bebec]{margin-bottom:0;padding:5px 0}.index .search_b[data-v-991bebec] .search_form{flex:1}.index .search_b[data-v-991bebec] .search_form .el-row{margin-left:0!important;margin-right:0!important}.index .search_b[data-v-991bebec] .el-form-item{margin-bottom:0;display:flex}.index .search_b[data-v-991bebec] .el-form-item .el-form-item__content{flex:1}.index .search_b[data-v-991bebec] .btn_b .el-button{margin:0}.index .search_b[data-v-991bebec] .btn_b .el-button:not(:first-child){margin-top:10px}.index .add_count_b[data-v-991bebec]{padding:8px 0;border-top:1px solid #ebeef5}.index .add_count_b .total_b[data-v-991bebec]{font-size:14px;color:#606266}.index .page_b[data-v-991bebec]{display:flex;align-items:center;justify-content:space-between;padding:5px 0}.index .el-table[data-v-991bebec] .el-image-viewer__wrapper .el-image-viewer__close{color:#fff}.index .demo-ruleForm .el-row[data-v-991bebec]{margin-left:0!important;margin-right:0!important}.index .label[data-v-991bebec]{width:150px}.index .el-dropdown-link[data-v-991bebec]{cursor:pointer;color:#1890ff;font-size:12px}.index .el-icon-arrow-down[data-v-991bebec]{font-size:12px}.detail_item{border-bottom:1px dashed #eee;padding:0 10px;border-radius:5px;line-height:30px;min-height:30px}.el-upload-list__item{transition:none!important}.u-f{display:flex}.u-fdc{flex-direction:column}.u-as{align-items:flex-start}.u-ac{align-items:center}.u-ae{align-items:flex-end}.u-jcs{justify-content:flex-start}.u-jcc{justify-content:center}.u-jce{justify-content:flex-end}.u-jca{justify-content:space-around}.u-jcb{justify-content:space-between}.u-flex{flex:1}.u-fcc{justify-content:center}.u-fcb,.u-fcc{display:flex;align-items:center}.u-fcb{justify-content:space-between}.u-fca{display:flex;align-items:center;justify-content:space-around}
body,html{height:100%}body{margin:0}#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#2c3e50;height:100%}::-webkit-scrollbar{width:7px!important;height:7px}::-webkit-scrollbar-track{border-radius:10px;background-color:#e7e7e7}::-webkit-scrollbar-thumb{border-radius:10px;background-color:#909399}.el-dialog__wrapper .el-dialog .el-dialog__body .box_style .demo-ruleForm .el-row{margin-left:0!important;margin-right:0!important}.box_style[data-v-940a84bc]{overflow-y:auto}.index[data-v-087ec562]{padding:10px 30px 10px;height:100%;display:flex;flex-direction:column;background-color:#fff;border-radius:5px;box-sizing:border-box}.index .search_b[data-v-087ec562]{margin-bottom:0;padding:5px 0}.index .search_b[data-v-087ec562] .search_form{flex:1}.index .search_b[data-v-087ec562] .search_form .el-row{margin-left:0!important;margin-right:0!important}.index .search_b[data-v-087ec562] .el-form-item{margin-bottom:0;display:flex}.index .search_b[data-v-087ec562] .el-form-item .el-form-item__content{flex:1}.index .search_b[data-v-087ec562] .btn_b .el-button{margin:0}.index .search_b[data-v-087ec562] .btn_b .el-button:not(:first-child){margin-top:10px}.index .add_count_b[data-v-087ec562]{padding:8px 0;border-top:1px solid #ebeef5}.index .add_count_b .total_b[data-v-087ec562]{font-size:14px;color:#606266}.index .page_b[data-v-087ec562]{display:flex;align-items:center;justify-content:space-between;padding:5px 0}.index .el-table[data-v-087ec562] .el-image-viewer__wrapper .el-image-viewer__close{color:#fff}.index .demo-ruleForm .el-row[data-v-087ec562]{margin-left:0!important;margin-right:0!important}.index .label[data-v-087ec562]{width:150px}.index .el-dropdown-link[data-v-087ec562]{cursor:pointer;color:#1890ff;font-size:12px}.index .el-icon-arrow-down[data-v-087ec562]{font-size:12px}.detail_item{border-bottom:1px dashed #eee;padding:0 10px;border-radius:5px;line-height:30px;min-height:30px}.el-upload-list__item{transition:none!important}.u-f{display:flex}.u-fdc{flex-direction:column}.u-as{align-items:flex-start}.u-ac{align-items:center}.u-ae{align-items:flex-end}.u-jcs{justify-content:flex-start}.u-jcc{justify-content:center}.u-jce{justify-content:flex-end}.u-jca{justify-content:space-around}.u-jcb{justify-content:space-between}.u-flex{flex:1}.u-fcc{justify-content:center}.u-fcb,.u-fcc{display:flex;align-items:center}.u-fcb{justify-content:space-between}.u-fca{display:flex;align-items:center;justify-content:space-around}

2
dist/index.html

@ -1 +1 @@
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>articleadmin</title><link href="/js/about.ed7f9285.js" rel="prefetch"><link href="/css/app.a61a1d15.css" rel="preload" as="style"><link href="/css/chunk-vendors.06c3b195.css" rel="preload" as="style"><link href="/js/app.17950d78.js" rel="preload" as="script"><link href="/js/chunk-vendors.132157ac.js" rel="preload" as="script"><link href="/css/chunk-vendors.06c3b195.css" rel="stylesheet"><link href="/css/app.a61a1d15.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but articleadmin doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/js/chunk-vendors.132157ac.js"></script><script src="/js/app.17950d78.js"></script></body></html>
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>articleadmin</title><link href="/js/about.ed7f9285.js" rel="prefetch"><link href="/css/app.f500aa5e.css" rel="preload" as="style"><link href="/css/chunk-vendors.06c3b195.css" rel="preload" as="style"><link href="/js/app.a7c40410.js" rel="preload" as="script"><link href="/js/chunk-vendors.132157ac.js" rel="preload" as="script"><link href="/css/chunk-vendors.06c3b195.css" rel="stylesheet"><link href="/css/app.f500aa5e.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but articleadmin doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/js/chunk-vendors.132157ac.js"></script><script src="/js/app.a7c40410.js"></script></body></html>

2
dist/js/app.17950d78.js
File diff suppressed because it is too large
View File

1
dist/js/app.17950d78.js.map
File diff suppressed because it is too large
View File

2
dist/js/app.a7c40410.js
File diff suppressed because it is too large
View File

1
dist/js/app.a7c40410.js.map
File diff suppressed because it is too large
View File

11
src/views/Home.vue

@ -113,7 +113,7 @@
</el-col>
<el-col :span="12">
<el-form-item label="作者" prop="doctorId">
<el-select v-model="editform.doctorId" placeholder="请选择" size="small" clearable filterable multiple>
<el-select v-model="editform.doctorId" placeholder="请选择" size="small" clearable filterable >
<el-option v-for="item in docoptions" :key="item.id" :label="item.showName" :value="item.id">
</el-option>
</el-select>
@ -201,7 +201,7 @@
des: '', //
title: '', //
content: '', //
doctorId: []
doctorId: ''
},
@ -364,7 +364,8 @@
this.editform.title = res.data.title
this.editform.des = res.data.des
this.editform.content = res.data.content
this.editform.doctorId = res.data.account?res.data.account.split(',').map(Number):[]
// this.editform.doctorId = res.data.account?res.data.account.split(',').map(Number):[]
this.editform.doctorId = res.data.account
// this.articleCover = res.data.cover ? [{
// url: res.data.cover
// }] : []
@ -471,11 +472,11 @@
// // this.editform.departId = departId
// let diseaseId = this.editform.diseaseId.map(a => a[a.length - 1]).toString()
let docIds = this.editform.doctorId.toString()
// let docIds = this.editform.doctorId.toString()
edtiSubmit({
id: this.editform.id,
title: this.editform.title, //
account: docIds,
account: this.editform.doctorId,
des: this.editform.des, //
content: this.editform.content, //

Loading…
Cancel
Save