| | |
| | | |
| | | // 删除 |
| | | export function deleteById (id) { |
| | | return request.get(`/system/permission/delete/${id}`) |
| | | return request.get(`/visitsAdmin/cloudService/system/permission/delete/${id}`) |
| | | } |
| | | |
| | | // 批量删除 |
| | | export function deleteByIdInBatch (ids) { |
| | | return request.get('/system/permission/delete/batch', { |
| | | return request.get('/visitsAdmin/cloudService/system/permission/delete/batch', { |
| | | params: { |
| | | ids |
| | | } |
| | |
| | | <template> |
| | | <GlobalWindow |
| | | :title="title" |
| | | :visible.sync="visable" |
| | | :visible.sync="visible" |
| | | @confirm="confirm" |
| | | @close="reject" |
| | | > |
| | |
| | | <div class="modal_content"> |
| | | <div class="header"> |
| | | <div class="left"> |
| | | <div class="h1">隐患随手拍</div> |
| | | <div class="h1">隐患提报</div> |
| | | <div class="time">提报时间:{{model.createDate}}</div> |
| | | </div> |
| | | <div class="right" v-if="model.status==0">待审核</div> |
| | | <div class="right" v-if="model.status==0">待处理</div> |
| | | <div class="right" v-if="model.status==1">已处理</div> |
| | | <div class="right" v-if="model.status==2">已撤销</div> |
| | | </div> |
| | | <div class="info"> |
| | | <div class="title">隐患随手拍详情</div> |
| | | <div class="title">隐患提报详情</div> |
| | | <div class="list"> |
| | | <div class="item"> |
| | | <div class="label">提报人</div> |
| | |
| | | </div> |
| | | </div> |
| | | <!-- --> |
| | | <template #btns> |
| | | <el-button type="primary" plain @click="handleTransfer">转交</el-button> |
| | | <template v-slot:footer> |
| | | <el-button @click="dealDo" type="primary" v-if="model.status==0" class="status-red">处理</el-button> |
| | | <el-button type="primary" plain v-if="model.status==0" @click="handleTransfer">转交</el-button> |
| | | <el-button @click="backDo" v-if="model.status==0" type="danger" >退回</el-button> |
| | | <el-button @click="visible=false">返回</el-button> |
| | | </template> |
| | | <!-- 同意/拒绝 --> |
| | | <el-dialog |
| | |
| | | data() { |
| | | return { |
| | | title: '访客预约详情', |
| | | visable: false, |
| | | visible: false, |
| | | model: { }, |
| | | isShowAppr: false, |
| | | apprTitle: '同意', |
| | |
| | | methods: { |
| | | open(title,target){ |
| | | this.title =title |
| | | this.visable=true |
| | | this.visible=true |
| | | this.model = target |
| | | }, |
| | | confirm() { |
| | |
| | | <el-radio :label="2">仅劳务</el-radio> |
| | | </el-radio-group> |
| | | </el-form-item> |
| | | <el-form-item label="分值" prop="score"> |
| | | <el-input v-model="form.score" type="number" placeholder="请输入" v-trim/> |
| | | </el-form-item> |
| | | <el-form-item label="题目顺序(升序)" prop="sortnu"> |
| | | <el-input v-model="form.sortnu" placeholder="请输入" v-trim/> |
| | | <el-input v-model="form.sortnu" type="number" placeholder="请输入" v-trim/> |
| | | </el-form-item> |
| | | <el-form-item label="选项集合" prop="objectList" v-if="form.type === 1 || form.type === 2"> |
| | | <el-button type="primary" style="width: 120px; margin-bottom: 15px;" @click="add" icon="el-icon-plus">添加选项</el-button> |
| | |
| | | answer: '', |
| | | sortnu: '', |
| | | type: 0, |
| | | scroe:null, |
| | | useType: 0 |
| | | }, |
| | | // 验证规则 |
| | |
| | | sortnu: this.form.sortnu, |
| | | type: this.form.type, |
| | | useType: this.form.useType, |
| | | score: this.form.score, |
| | | objectList: this.form.objectList |
| | | }) |
| | | .then(() => { |
| | |
| | | </section> |
| | | </el-form> |
| | | <template v-slot:menu> |
| | | <div style="width: 100%; height: 50px; background: rgba(242, 242, 242, 1); line-height: 50px; text-align: center; font-size: 14px;">企业组织架构</div>areaSet |
| | | <div style="width: 100%; height: 50px; background: rgba(242, 242, 242, 1); line-height: 50px; text-align: center; font-size: 14px;">企业组织架构</div> |
| | | <div style="width: 100%; height: calc(100vh - 170px); overflow-y: scroll;"> |
| | | <Tree :list="companyTree" :defaultProps="{name: 'name', status: 'fsStatus', children: 'childList', id: 'id'}" @callback="callback" /> |
| | | </div> |
| | |
| | | <span v-if="row.type === 2">多选</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="scroe" label="分值" min-width="100px"></el-table-column> |
| | | <el-table-column prop="sortnu" label="题目顺序(升序)" min-width="100px"></el-table-column> |
| | | <el-table-column prop="createDate" label="创建时间" min-width="100px"></el-table-column> |
| | | <el-table-column prop="creatorName" label="创建人" min-width="100px"></el-table-column> |