| | |
| | | <el-button type="primary" @click="query_(true)">查询</el-button> |
| | | <el-button type="info" @click="empty_">重置</el-button> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="排序"> |
| | | <el-select v-model="orderBy" size="mini" style="width: 100px;" @change="query_(true)" placeholder="请选择"> |
| | | <el-option |
| | | v-for="item in options_orderBy" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-form> |
| | | </el-col> |
| | | <el-col :span="4" > |
| | | <el-button type="primary" @click="createNew">创建</el-button> |
| | | |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | |
| | | <div ref="list_div" class="infinite-list-wrapper" style="overflow:auto; border-top: 1px solid #c3c5c7;"> |
| | | <div v-if="isRefresh" class="list" v-infinite-scroll="load" infinite-scroll-disabled="disabled"> |
| | | <div v-if="isRefresh" class="list" v-infinite-scroll="load" infinite-scroll-disabled="disabled" infinite-scroll-distance="20"> |
| | | <div v-for="one in dataList" :key="one.id" class="list-item"> |
| | | <el-row> |
| | | <el-col :span="17"><div class="grid-content z_grid-content1 grid-content_text" @click="showItem(one)">{{one.title}}</div></el-col> |
| | |
| | | </span> |
| | | </el-dialog> |
| | | |
| | | <el-dialog v-if="dialogFormTitle" title="立题评估" :visible.sync="dialogFormTitle" append-to-body> |
| | | <el-dialog v-if="dialogFormTitle" title="立题评估" :visible.sync="dialogFormTitle" append-to-body width="850px"> |
| | | <div class="transition-box class_substep class_form_z1" style="height: 400px; overflow-y: auto; text-align: left; margin: 0 10px;"> |
| | | <div> |
| | | <el-form :show-message="false" :model="form_['title']" ref="ref_title" label-position='right' label-width="100px" class="demo-form-inline"> |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6" class="z_grid-content3"> |
| | | <el-form-item label="交付物" prop="mustAttach" |
| | | :rules="[{required: true, message: '请选择', trigger: ['blur', 'change']}]" |
| | | > |
| | | <el-form-item label="交付物"> |
| | | <el-switch v-model="form_['title'].mustAttach"></el-switch> |
| | | </el-form-item> |
| | | </el-col> |
| | |
| | | </div> |
| | | </el-dialog> |
| | | |
| | | <el-dialog v-if="dialogFormTitle2" title="立题评估" :visible.sync="dialogFormTitle2"> |
| | | <el-dialog v-if="dialogFormTitle2" title="立题评估" :visible.sync="dialogFormTitle2" width="850px"> |
| | | <div class="transition-box class_substep class_form_z1" style="height: 400px; overflow-y: auto; text-align: left; margin: 0 10px;"> |
| | | <div> |
| | | <el-form :show-message="false" :model="form_['title']" ref="ref_title" label-position='right' label-width="100px" class="demo-form-inline"> |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6" class="z_grid-content3"> |
| | | <el-form-item label="交付物" prop="mustAttach" |
| | | :rules="[{required: true, message: '请选择', trigger: ['blur', 'change']}]" |
| | | > |
| | | <el-form-item label="交付物"> |
| | | <el-switch v-model="form_['title'].mustAttach"></el-switch> |
| | | </el-form-item> |
| | | </el-col> |
| | |
| | | label: "针对客户既定的题目方向" |
| | | } |
| | | ], |
| | | orderBy: "", |
| | | options_orderBy: [ |
| | | { |
| | | value: "title", |
| | | label: "按名称" |
| | | }, |
| | | { |
| | | value: "", |
| | | label: "按时间" |
| | | } |
| | | ], |
| | | |
| | | titleInput_: "", |
| | | options_users: [], |
| | | |
| | |
| | | attachment:"222" |
| | | }, |
| | | formLabelWidth:"100px", |
| | | dataList: [ |
| | | ], |
| | | dataList: [], |
| | | options_parttimeUser: [], |
| | | loading: false, |
| | | |
| | |
| | | params.title = query.title; |
| | | //params.desc = query.desc; |
| | | } |
| | | if(this.orderBy) { |
| | | params.orderBy = this.orderBy; |
| | | } |
| | | this.$axios.post(url, |
| | | params |
| | | ) |