¶Ô±ÈÐÂÎļþ |
| | |
| | | import request from '@/utils/request' |
| | | import { parseStrEmpty } from "@/utils/ruoyi";//å¤çå符串,und,null转æ¢ä¸º''; |
| | | |
| | | // ä¿®æ¹å®£æåç±» |
| | | export function amendtag(data) { |
| | | return request({ |
| | | url: '/smartor/hecategory', |
| | | method: 'put', |
| | | data: data |
| | | }) |
| | | }; |
| | | // æ°å¢å®£æåç±» |
| | | export function addapitag(data) { |
| | | return request({ |
| | | url: '/smartor/hecategory', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | }; |
| | | |
| | | /** |
| | | * |
| | | * @param {æ ç¾id} userId |
| | | * è·å宣æè¯¦æ
|
| | | * @returns |
| | | */ |
| | | export function detailstag(userId) { |
| | | return request({ |
| | | url: '/smartor/hecategory/'+ userId, |
| | | method: 'get', |
| | | }) |
| | | }; |
| | | |
| | | |
| | | /** |
| | | * |
| | | * @param {æ ç¾id} userId |
| | | * å 餿 ç¾ |
| | | * @returns |
| | | */ |
| | | export function deletetag(userId) { |
| | | return request({ |
| | | url: '/smartor/hecategory/' + userId, |
| | | method: 'delete', |
| | | }) |
| | | }; |
| | | // å¯¼åºæ ç¾å表 |
| | | export function exporttag(data) { |
| | | return request({ |
| | | url: '/smartor/hecategory/export', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | }; |
| | | // æ¥è¯¢æ ç¾å表 |
| | | export function listtag(query) { |
| | | return request({ |
| | | url: '/smartor/hecategory/list', |
| | | method: 'get', |
| | | params: query |
| | | }) |
| | | }; |
¶Ô±ÈÐÂÎļþ |
| | |
| | | import request from '@/utils/request' |
| | | import { parseStrEmpty } from "@/utils/ruoyi";//å¤çå符串,und,null转æ¢ä¸º''; |
| | | |
| | | // æ¥è¯¢é¢åºå表 |
| | | export function listpatient(query) { |
| | | return request({ |
| | | url: '/smartor/patarchive/list', |
| | | method: 'get', |
| | | params: query |
| | | }) |
| | | }; |
¶Ô±ÈÐÂÎļþ |
| | |
| | | import request from '@/utils/request' |
| | | import { parseStrEmpty } from "@/utils/ruoyi";//å¤çå符串,und,null转æ¢ä¸º''; |
| | | |
| | | // æ¥è¯¢é®å·å表 |
| | | export function listpatient(query) { |
| | | return request({ |
| | | url: '/smartor/patarchive/list', |
| | | method: 'get', |
| | | params: query |
| | | }) |
| | | }; |
| | |
| | | import request from '@/utils/request' |
| | | import { parseStrEmpty } from "@/utils/ruoyi"; |
| | | import { parseStrEmpty } from "@/utils/ruoyi";//å¤çå符串,und,null转æ¢ä¸º''; |
| | | |
| | | // æ¥è¯¢æ£è
å表 |
| | | export function listpatient(query) { |
| | |
| | | method: 'get', |
| | | params: query |
| | | }) |
| | | } |
| | | }; |
| | | // ç¨æ·ä¿¡æ¯æ¥è¯¢æ£è
å表 |
| | | export function messagelistpatient(data) { |
| | | return request({ |
| | | url: '/smartor/patarchive/patInfoByContion', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | }; |
| | | // æ ç¾æ¥è¯¢æ£è
å表 |
| | | export function taglistpatient(data) { |
| | | return request({ |
| | | url: '/smartor/patarchive/patTagByContion', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | }; |
| | | // ä¿®æ¹æ£è
æ¡£æ¡ |
| | | export function alterpatient(data) { |
| | | return request({ |
| | | url: '/smartor/patarchive', |
| | | method: 'put', |
| | | data: data |
| | | }) |
| | | }; |
| | | // æ°å¢æ£è
|
| | | export function addpatient(data) { |
| | | return request({ |
| | | url: '/smartor/patarchive', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | }; |
| | | // æ£è
详æ
|
| | | export function particularpatient(userId) { |
| | | return request({ |
| | | url: '/smartor/patarchive/' + userId, |
| | | method: 'get', |
| | | }) |
| | | }; |
| | | // å 餿£è
å表 |
| | | export function deletepatient(userId) { |
| | | return request({ |
| | | url: '/smartor/patarchive/' + userId, |
| | | method: 'delete', |
| | | }) |
| | | }; |
| | | |
| | | // å¯¼åºæ£è
éè¯¯ä¿¡æ¯ |
| | | export function Exporterrorpatient(userId) { |
| | | return request({ |
| | | url: '/smartor/patarchive/patTagByContion/'+userId, |
| | | method: 'get', |
| | | }) |
| | | }; |
| | | // 导å
¥æ£è
æä»¶å¤ç |
| | | export function toleadpatient(userId) { |
| | | return request({ |
| | | url: '/smartor/patarchive/patTagByContion/'+userId, |
| | | method: 'get', |
| | | }) |
| | | }; |
¶Ô±ÈÐÂÎļþ |
| | |
| | | import request from '@/utils/request' |
| | | import { parseStrEmpty } from "@/utils/ruoyi";//å¤çå符串,und,null转æ¢ä¸º''; |
| | | |
| | | // ä¿®æ¹æ ç¾ |
| | | export function amendtag(data) { |
| | | return request({ |
| | | url: '/base/tag', |
| | | method: 'put', |
| | | data: data |
| | | }) |
| | | }; |
| | | // æ°å¢æ ç¾ |
| | | export function addapitag(data) { |
| | | return request({ |
| | | url: '/base/tag', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | }; |
| | | |
| | | /** |
| | | * |
| | | * @param {æ ç¾id} userId |
| | | * è·åæ ç¾è¯¦æ
|
| | | * @returns |
| | | */ |
| | | export function detailstag(userId) { |
| | | return request({ |
| | | url: '/base/tag/'+ userId, |
| | | method: 'get', |
| | | }) |
| | | }; |
| | | |
| | | |
| | | /** |
| | | * |
| | | * @param {æ ç¾id} userId |
| | | * å 餿 ç¾ |
| | | * @returns |
| | | */ |
| | | export function deletetag(userId) { |
| | | return request({ |
| | | url: '/base/tag/' + userId, |
| | | method: 'delete', |
| | | }) |
| | | }; |
| | | // å¯¼åºæ ç¾å表 |
| | | export function exporttag(data) { |
| | | return request({ |
| | | url: '/base/tag/export', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | }; |
| | | // æ¥è¯¢æ ç¾å表 |
| | | export function listtag(query) { |
| | | return request({ |
| | | url: '/base/tag/list', |
| | | method: 'get', |
| | | params: query |
| | | }) |
| | | }; |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div class="Questionnairemanagement"> |
| | | <!-- 左侧æ --> |
| | | <div class="sidecolumn"> |
| | | <div style="height: 200px"> |
| | | <el-steps direction="vertical" :active="Editprogress"> |
| | | <el-step title="åºç¡ä¿¡æ¯è®¾ç½®"></el-step> |
| | | <el-step title="宣æå
容"></el-step> |
| | | </el-steps> |
| | | </div> |
| | | </div> |
| | | <!-- å³ä¾§æ°æ® --> |
| | | <div class="leftvlue"> |
| | | <!-- åºæ¬ä¿¡æ¯ --> |
| | | <div v-if="Editprogress == 1"> |
| | | <div class="leftvlue-jbxx"> |
| | | åºæ¬ä¿¡æ¯<span>å½åçæ¬:{{ currentVersion }}</span> |
| | | </div> |
| | | <el-form |
| | | :model="ruleForm" |
| | | :rules="rules" |
| | | ref="ruleForm" |
| | | label-width="100px" |
| | | class="demo-ruleForm" |
| | | > |
| | | <el-form-item label="宣æåç§°" prop="name"> |
| | | <el-input v-model="ruleForm.name"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="宣æå½¢å¼" prop="name"> |
| | | <el-select v-model="ruleForm.shape" placeholder="è¯·éæ©"> |
| | | <el-option |
| | | v-for="item in xjxsoptions" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="宣æåç±»" prop="region"> |
| | | <el-select |
| | | v-model="ruleForm.classify" |
| | | size="medium" |
| | | multiple |
| | | filterable |
| | | placeholder="è¯·éæ©åç±»" |
| | | > |
| | | <el-option |
| | | class="ruleFormaa" |
| | | v-for="item in options" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="éç¨ç¾ç
" prop="sickness"> |
| | | <el-select |
| | | v-model="ruleForm.sickness" |
| | | filterable |
| | | placeholder="è¯·éæ©" |
| | | > |
| | | <el-option |
| | | v-for="item in sicknessoptions" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="æ´»å¨å½¢å¼" prop="desc"> |
| | | <el-input |
| | | :rows="4" |
| | | type="textarea" |
| | | v-model="ruleForm.desc" |
| | | maxlength="400" |
| | | show-word-limit |
| | | ></el-input> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button type="success" @click="submitForm('ruleForm')" |
| | | >ä¸ä¸æ¥</el-button |
| | | > |
| | | <el-button @click="resetForm('ruleForm')">éç½®</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | | <!-- 宣æå
容 --> |
| | | <div v-if="Editprogress == 2"> |
| | | <div class="leftvlue-jbxx">宣æå
容</div> |
| | | <el-form |
| | | :model="ruleForm" |
| | | :rules="rules" |
| | | ref="ruleForm" |
| | | label-width="100px" |
| | | class="demo-ruleForm" |
| | | > |
| | | <el-form-item label="宣æä»ç»" prop="desc"> |
| | | <el-cascader |
| | | class="demo-cascader" |
| | | v-model="ruleForm.templatevalue" |
| | | :options="asoptions" |
| | | :props="{ expandTrigger: 'hover' }" |
| | | ></el-cascader> |
| | | <el-select v-model="ruleForm.data2" placeholder="æäº¤æç¤º"> |
| | | <el-option |
| | | v-for="item in asoptions" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | <div style="display: flex; margin-top: 20px"> |
| | | <div class="PreviewTemplate" @click="PreviewTemplate()"> |
| | | é¢è§æ¨¡ç |
| | | </div> |
| | | <el-button type="primary">确认å¼ç¨</el-button> |
| | | </div> |
| | | </el-form-item> |
| | | <el-form-item label="æ´»å¨å½¢å¼" prop="desc"> |
| | | <el-input type="textarea" v-model="ruleForm.desc"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="æ´»å¨å½¢å¼" prop="desc"> |
| | | <el-input type="textarea" v-model="ruleForm.desc"></el-input> |
| | | <div class="addtopic"> |
| | | <el-select |
| | | v-model="addvalue" |
| | | @change="changeaddtopic" |
| | | class="addtopic-input" |
| | | > |
| | | <el-option |
| | | v-for="item in options" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | </div> |
| | | |
| | | <div class="presentation"> |
| | | <div class="presentation-left"> |
| | | <el-table v-loading="loading" :data="userList"> |
| | | <el-table-column |
| | | label="åºå·" |
| | | align="center" |
| | | key="userid" |
| | | prop="userid" |
| | | /> |
| | | <el-table-column |
| | | label="é¢ç®" |
| | | align="center" |
| | | key="userName" |
| | | prop="userName" |
| | | :show-overflow-tooltip="true" |
| | | /> |
| | | |
| | | <el-table-column |
| | | label="æä½" |
| | | align="center" |
| | | width="300" |
| | | class-name="small-padding fixed-width" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <!-- <el-button |
| | | size="medium" |
| | | type="text" |
| | | @click="goQRCode(scope.row)" |
| | | v-hasPermi="['system:user:edit']" |
| | | > |
| | | <span class="button-text" |
| | | ><i class="el-icon-edit"></i>äºç»´ç </span |
| | | ></el-button |
| | | > |
| | | <el-button |
| | | size="medium" |
| | | type="text" |
| | | @click="ViewQuestionnaire(scope.row)" |
| | | v-hasPermi="['system:user:edit']" |
| | | ><span class="button-textck" |
| | | ><i class="el-icon-edit"></i>æ¥ç</span |
| | | ></el-button |
| | | > --> |
| | | <el-button |
| | | size="medium" |
| | | type="text" |
| | | @click="handleUpdate(scope.row)" |
| | | v-hasPermi="['system:user:edit']" |
| | | ><span class="button-textxg" |
| | | ><i class="el-icon-scissors"></i>ä¿®æ¹</span |
| | | ></el-button |
| | | > |
| | | <el-button |
| | | size="medium" |
| | | type="text" |
| | | @click="handleDelete(scope.row)" |
| | | v-hasPermi="['system:user:remove']" |
| | | ><span class="button-textsc" |
| | | ><i class="el-icon-delete"></i>å é¤</span |
| | | ></el-button |
| | | > |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | |
| | | <pagination |
| | | v-show="total > 0" |
| | | :total="total" |
| | | :page.sync="queryParams.pageNum" |
| | | :limit.sync="queryParams.pageSize" |
| | | @pagination="getList" |
| | | /> |
| | | </div> |
| | | <div class="presentation-right"> |
| | | <div class="headline">é¢ç®è®¾ç½®è¯¦æ
</div> |
| | | <div>é¢ç®æ é¢ï¼<span>è¿å®¶æºææä¹æ ·</span></div> |
| | | <div>æ¯å¦å¿
çï¼<span>æ¯</span> æ¯å¦éèï¼<span>å¦</span></div> |
| | | <div class="headline">é项设置</div> |
| | | <div> |
| | | <p>é项1:<span>å»çæºæ</span></p> |
| | | <p> |
| | | å¡«åæç»ï¼<span>æ </span> å¼å¸¸é项ï¼<span>æ </span> |
| | | åå¼ï¼<span>3</span> |
| | | </p> |
| | | <p>éä¸æç¤ºï¼<span>è¿ä¸ªé¢æç¹é¾è¯·æ³¨æ</span></p> |
| | | <p>éä¸è·³è½¬ï¼<span>æ </span></p> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button type="success" @click="submitForm('ruleForm')" |
| | | >ç«å³å建</el-button |
| | | > |
| | | <el-button type="primary" @click="laststep()">ä¸ä¸æ¥</el-button> |
| | | <el-button @click="resetForm('ruleForm')">éç½®</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | data() { |
| | | return { |
| | | sidecolumnrabs: "left", //æ¹å |
| | | Editprogress: 1, //ç¼è¾è¿åº¦ |
| | | currentVersion: "1.2.3", //å½åçæ¬ |
| | | loading: false, // é®ç½©å± |
| | | drawer: false, //æ§å¶å±å¼ |
| | | radio: "false", //åéé¢éä¸ |
| | | radios: [], //å¤éé¢éä¸ |
| | | radioas: "", //填空é¢çæ¡ |
| | | // æ»æ¡æ° |
| | | total: 1, |
| | | ruleForm: { |
| | | name: "", |
| | | shape: "", |
| | | classify: "", |
| | | region: "", |
| | | date1: "", |
| | | date2: "", |
| | | delivery: false, |
| | | type: [], |
| | | resource: "", |
| | | desc: "", |
| | | templatevalue: "", |
| | | data2: "", |
| | | }, |
| | | rules: {}, |
| | | rulesa: { |
| | | name: [ |
| | | { required: true, message: "请è¾å
¥æ´»å¨åç§°", trigger: "blur" }, |
| | | { min: 3, max: 5, message: "é¿åº¦å¨ 3 å° 5 个å符", trigger: "blur" }, |
| | | ], |
| | | region: [ |
| | | { required: true, message: "è¯·éæ©æ´»å¨åºå", trigger: "change" }, |
| | | ], |
| | | date1: [ |
| | | { |
| | | type: "date", |
| | | required: true, |
| | | message: "è¯·éæ©æ¥æ", |
| | | trigger: "change", |
| | | }, |
| | | ], |
| | | date2: [ |
| | | { |
| | | type: "date", |
| | | required: true, |
| | | message: "è¯·éæ©æ¶é´", |
| | | trigger: "change", |
| | | }, |
| | | ], |
| | | type: [ |
| | | { |
| | | type: "array", |
| | | required: true, |
| | | message: "请è³å°éæ©ä¸ä¸ªæ´»å¨æ§è´¨", |
| | | trigger: "change", |
| | | }, |
| | | ], |
| | | resource: [ |
| | | { required: true, message: "è¯·éæ©æ´»å¨èµæº", trigger: "change" }, |
| | | ], |
| | | desc: [{ required: true, message: "è¯·å¡«åæ´»å¨å½¢å¼", trigger: "blur" }], |
| | | }, |
| | | options: [ |
| | | { |
| | | value: "é项1", |
| | | label: "ç¾ç
宣æ", |
| | | }, |
| | | { |
| | | value: "é项2", |
| | | label: "å
¥é¢å®£æ", |
| | | }, |
| | | { |
| | | value: "é项3", |
| | | label: "ææ¯å®£æ", |
| | | }, |
| | | { |
| | | value: "é项4", |
| | | label: "æ¤ç宣æ", |
| | | }, |
| | | ], |
| | | xjxsoptions: [ |
| | | { |
| | | value: "é项1", |
| | | label: "徿", |
| | | }, |
| | | { |
| | | value: "é项2", |
| | | label: "è§é¢", |
| | | }, |
| | | { |
| | | value: "é项3", |
| | | label: "é³é¢", |
| | | }, |
| | | ], |
| | | sicknessoptions: [ |
| | | { |
| | | value: 1, |
| | | label: "é«è¡å", |
| | | }, |
| | | { |
| | | value: 2, |
| | | label: "å¿èç
", |
| | | }, |
| | | { |
| | | value: 3, |
| | | label: "ç³å°¿ç
", |
| | | }, |
| | | { |
| | | value: 4, |
| | | label: "èæ¤ç", |
| | | }, |
| | | ], |
| | | asoptions: [ |
| | | { |
| | | value: "zhinan", |
| | | label: "æå", |
| | | children: [ |
| | | { |
| | | value: "shejiyuanze", |
| | | label: "设计åå", |
| | | children: [ |
| | | { |
| | | value: "yizhi", |
| | | label: "ä¸è´", |
| | | }, |
| | | { |
| | | value: "fankui", |
| | | label: "åé¦", |
| | | }, |
| | | { |
| | | value: "xiaolv", |
| | | label: "æç", |
| | | }, |
| | | { |
| | | value: "kekong", |
| | | label: "坿§", |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | value: "daohang", |
| | | label: "导èª", |
| | | children: [ |
| | | { |
| | | value: "cexiangdaohang", |
| | | label: "ä¾§å导èª", |
| | | }, |
| | | { |
| | | value: "dingbudaohang", |
| | | label: "é¡¶é¨å¯¼èª", |
| | | }, |
| | | ], |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | value: "zujian", |
| | | label: "ç»ä»¶", |
| | | children: [ |
| | | { |
| | | value: "basic", |
| | | label: "Basic", |
| | | children: [ |
| | | { |
| | | value: "layout", |
| | | label: "Layout å¸å±", |
| | | }, |
| | | { |
| | | value: "color", |
| | | label: "Color è²å½©", |
| | | }, |
| | | { |
| | | value: "typography", |
| | | label: "Typography åä½", |
| | | }, |
| | | { |
| | | value: "icon", |
| | | label: "Icon 徿 ", |
| | | }, |
| | | { |
| | | value: "button", |
| | | label: "Button æé®", |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | value: "form", |
| | | label: "Form", |
| | | children: [ |
| | | { |
| | | value: "radio", |
| | | label: "Radio åéæ¡", |
| | | }, |
| | | { |
| | | value: "checkbox", |
| | | label: "Checkbox å¤éæ¡", |
| | | }, |
| | | { |
| | | value: "input", |
| | | label: "Input è¾å
¥æ¡", |
| | | }, |
| | | { |
| | | value: "input-number", |
| | | label: "InputNumber 计æ°å¨", |
| | | }, |
| | | { |
| | | value: "select", |
| | | label: "Select éæ©å¨", |
| | | }, |
| | | { |
| | | value: "cascader", |
| | | label: "Cascader 级èéæ©å¨", |
| | | }, |
| | | { |
| | | value: "switch", |
| | | label: "Switch å¼å
³", |
| | | }, |
| | | { |
| | | value: "slider", |
| | | label: "Slider æ»å", |
| | | }, |
| | | { |
| | | value: "time-picker", |
| | | label: "TimePicker æ¶é´éæ©å¨", |
| | | }, |
| | | { |
| | | value: "date-picker", |
| | | label: "DatePicker æ¥æéæ©å¨", |
| | | }, |
| | | { |
| | | value: "datetime-picker", |
| | | label: "DateTimePicker æ¥ææ¶é´éæ©å¨", |
| | | }, |
| | | { |
| | | value: "upload", |
| | | label: "Upload ä¸ä¼ ", |
| | | }, |
| | | { |
| | | value: "rate", |
| | | label: "Rate è¯å", |
| | | }, |
| | | { |
| | | value: "form", |
| | | label: "Form 表å", |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | value: "data", |
| | | label: "Data", |
| | | children: [ |
| | | { |
| | | value: "table", |
| | | label: "Table è¡¨æ ¼", |
| | | }, |
| | | { |
| | | value: "tag", |
| | | label: "Tag æ ç¾", |
| | | }, |
| | | { |
| | | value: "progress", |
| | | label: "Progress è¿åº¦æ¡", |
| | | }, |
| | | { |
| | | value: "tree", |
| | | label: "Tree æ å½¢æ§ä»¶", |
| | | }, |
| | | { |
| | | value: "pagination", |
| | | label: "Pagination å页", |
| | | }, |
| | | { |
| | | value: "badge", |
| | | label: "Badge æ è®°", |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | value: "notice", |
| | | label: "Notice", |
| | | children: [ |
| | | { |
| | | value: "alert", |
| | | label: "Alert è¦å", |
| | | }, |
| | | { |
| | | value: "loading", |
| | | label: "Loading å è½½", |
| | | }, |
| | | { |
| | | value: "message", |
| | | label: "Message æ¶æ¯æç¤º", |
| | | }, |
| | | { |
| | | value: "message-box", |
| | | label: "MessageBox å¼¹æ¡", |
| | | }, |
| | | { |
| | | value: "notification", |
| | | label: "Notification éç¥", |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | value: "navigation", |
| | | label: "Navigation", |
| | | children: [ |
| | | { |
| | | value: "menu", |
| | | label: "NavMenu 导èªèå", |
| | | }, |
| | | { |
| | | value: "tabs", |
| | | label: "Tabs æ ç¾é¡µ", |
| | | }, |
| | | { |
| | | value: "breadcrumb", |
| | | label: "Breadcrumb é¢å
å±", |
| | | }, |
| | | { |
| | | value: "dropdown", |
| | | label: "Dropdown 䏿èå", |
| | | }, |
| | | { |
| | | value: "steps", |
| | | label: "Steps æ¥éª¤æ¡", |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | value: "others", |
| | | label: "Others", |
| | | children: [ |
| | | { |
| | | value: "dialog", |
| | | label: "Dialog å¯¹è¯æ¡", |
| | | }, |
| | | { |
| | | value: "tooltip", |
| | | label: "Tooltip æåæç¤º", |
| | | }, |
| | | { |
| | | value: "popover", |
| | | label: "Popover å¼¹åºæ¡", |
| | | }, |
| | | { |
| | | value: "card", |
| | | label: "Card å¡ç", |
| | | }, |
| | | { |
| | | value: "carousel", |
| | | label: "Carousel 走马ç¯", |
| | | }, |
| | | { |
| | | value: "collapse", |
| | | label: "Collapse æå 颿¿", |
| | | }, |
| | | ], |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | value: "ziyuan", |
| | | label: "èµæº", |
| | | children: [ |
| | | { |
| | | value: "axure", |
| | | label: "Axure Components", |
| | | }, |
| | | { |
| | | value: "sketch", |
| | | label: "Sketch Templates", |
| | | }, |
| | | { |
| | | value: "jiaohu", |
| | | label: "ç»ä»¶äº¤äºææ¡£", |
| | | }, |
| | | ], |
| | | }, |
| | | ], |
| | | valssu: [ |
| | | { |
| | | idd: 1, |
| | | wssd: "ä½ æè¿æä¹æ ·", |
| | | sdadd: ["sss", "ssccss", "ssaas", "ss"], |
| | | }, |
| | | ], |
| | | addvalue: "æ·»å é¢ç®", |
| | | // é¢ç®è¡¨æ ¼æ°æ® |
| | | userList: [ |
| | | { |
| | | userid: "1", |
| | | userName: "ä¸å·å®£æ", |
| | | }, |
| | | { |
| | | userid: "2", |
| | | userName: "äºå·å®£æ", |
| | | }, |
| | | { |
| | | userid: "3", |
| | | userName: "ä¸å·å®£æ", |
| | | }, |
| | | { |
| | | userid: "4", |
| | | userName: "åå·å®£æ", |
| | | }, |
| | | ], |
| | | // æ¥è¯¢åæ° |
| | | queryParams: { |
| | | pageNum: 1, |
| | | pageSize: 10, |
| | | userName: undefined, |
| | | phonenumber: undefined, |
| | | status: undefined, |
| | | deptId: undefined, |
| | | IDnumber: undefined, |
| | | }, |
| | | }; |
| | | }, |
| | | |
| | | created() {}, |
| | | |
| | | methods: { |
| | | submitForm(formName) { |
| | | if (this.Editprogress <= 3) { |
| | | return this.Editprogress++; |
| | | } |
| | | this.rules = this.rulesa; |
| | | // æäº¤ |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | alert("submit!"); |
| | | } else { |
| | | console.log("error submit!!"); |
| | | return false; |
| | | } |
| | | }); |
| | | }, |
| | | /** æ¥è¯¢é¢ç®å表 */ |
| | | getList() { |
| | | // this.loading = true; |
| | | listUser().then((response) => { |
| | | console.log(response); |
| | | // this.userList = response.data; |
| | | // this.total = response.total; |
| | | // this.loading = false; |
| | | console.log(this.userList); |
| | | }); |
| | | // const { rows } = await listUser(); |
| | | // console.log(rows); |
| | | // this.list = rows; |
| | | }, |
| | | changeaddtopic(val) { |
| | | console.log(11); |
| | | console.log(val); |
| | | this.addvalue = "æ·»å é¢ç®"; |
| | | }, |
| | | // é¢è§æ¨¡ç |
| | | PreviewTemplate() { |
| | | this.drawer = true; |
| | | }, |
| | | laststep() { |
| | | this.Editprogress--; |
| | | }, |
| | | resetForm(formName) { |
| | | this.$refs[formName].resetFields(); |
| | | }, |
| | | }, |
| | | }; |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | .Questionnairemanagement { |
| | | display: flex; |
| | | } |
| | | .sidecolumn { |
| | | width: 300px; |
| | | min-height: 100vh; |
| | | text-align: center; |
| | | // display: flex; |
| | | // margin-top: 20px; |
| | | margin: 20px; |
| | | margin-bottom: 0; |
| | | padding: 30px; |
| | | background: #edf1f7; |
| | | border: 1px solid #dcdfe6; |
| | | -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12), |
| | | 0 0 6px 0 rgba(0, 0, 0, 0.04); |
| | | } |
| | | .leftvlue { |
| | | // display: flex; |
| | | // flex: 1; |
| | | width: 80%; |
| | | margin-top: 20px; |
| | | // margin: 20px; |
| | | padding: 30px; |
| | | background: #ffff; |
| | | border: 1px solid #dcdfe6; |
| | | -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12), |
| | | 0 0 6px 0 rgba(0, 0, 0, 0.04); |
| | | .mulsz { |
| | | font-size: 20px; |
| | | } |
| | | .leftvlue-jbxx { |
| | | margin-bottom: 50px; |
| | | font-size: 20px; |
| | | span { |
| | | position: absolute; |
| | | right: 80px; |
| | | } |
| | | } |
| | | .demo-cascader { |
| | | margin-right: 20px; |
| | | } |
| | | .PreviewTemplate { |
| | | color: #02a7f0; |
| | | cursor: pointer; |
| | | font-size: 20px; |
| | | margin: 0 20px; |
| | | } |
| | | } |
| | | .preview-left { |
| | | margin: 20px; |
| | | // margin: 20px; |
| | | padding: 30px; |
| | | background: #ffff; |
| | | border: 1px solid #dcdfe6; |
| | | -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12), |
| | | 0 0 6px 0 rgba(0, 0, 0, 0.04); |
| | | .topic-dev { |
| | | margin-bottom: 25px; |
| | | font-size: 20px !important; |
| | | .dev-text { |
| | | margin-bottom: 10px; |
| | | } |
| | | } |
| | | } |
| | | .addtopic { |
| | | margin-top: 30px; |
| | | } |
| | | .presentation { |
| | | margin: 20px 0; |
| | | display: flex; |
| | | .presentation-left { |
| | | width: 50%; |
| | | height: 500px; |
| | | .button-textxg { |
| | | color: #024df0; |
| | | } |
| | | .button-textsc { |
| | | color: #f52727; |
| | | } |
| | | } |
| | | .presentation-right { |
| | | width: 50%; |
| | | height: 500px; |
| | | padding: 20px; |
| | | font-size: 18px; |
| | | border: 1px solid #909091; |
| | | span { |
| | | padding: 0 35px; |
| | | margin-right: 10px; |
| | | border-bottom: 1px solid #909091; |
| | | } |
| | | .headline { |
| | | font-size: 20px; |
| | | border-left: 3px solid #41a1be; |
| | | padding-left: 5px; |
| | | margin: 15px 0; |
| | | } |
| | | } |
| | | } |
| | | ::v-deep .addtopic-input { |
| | | input { |
| | | background: #02a7f0; |
| | | color: #edf1f7; |
| | | width: 150px; |
| | | } |
| | | } |
| | | ::v-deep.el-step.is-vertical .el-step__title { |
| | | font-size: 25px; |
| | | } |
| | | ::v-deep.el-input--medium { |
| | | font-size: 24px !important; |
| | | } |
| | | ::v-deep.ruleFormaa.el-select { |
| | | display: inline-block; |
| | | position: relative; |
| | | width: 700px; |
| | | } |
| | | .el-select__tags { |
| | | font-size: 20px; |
| | | max-width: 888px !important; |
| | | } |
| | | ::v-deep.el-radio__inner { |
| | | width: 22px; |
| | | height: 22px; |
| | | } |
| | | // ::v-deep.topic-dev.el-radio__label { |
| | | // font-size: 24px; |
| | | // } |
| | | ::v-deep.el-radio-group { |
| | | span { |
| | | font-size: 24px; |
| | | } |
| | | } |
| | | ::v-deep.el-checkbox-group { |
| | | span { |
| | | font-size: 24px; |
| | | } |
| | | } |
| | | // ::v-deep.el-form-item--medium .el-form-item__content { |
| | | // line-height: 36px; |
| | | // display: flex; |
| | | // } |
| | | </style> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div class="examineemanagement"> |
| | | <!-- 左侧æ --> |
| | | |
| | | <div class="sidecolumn"> |
| | | <div class="sidecolumn-top"> |
| | | <div class="top-wj">åå²çæ¬</div> |
| | | <!-- <div class="top-tj" @click="dialogFormVisible = true">+æ·»å </div> --> |
| | | </div> |
| | | <div class="bottom-fl"> |
| | | <el-tabs tab-position="right" v-model="activeName"> |
| | | <el-tab-pane |
| | | class="tab-paness" |
| | | :key="index" |
| | | v-for="(item, index) in editableTabs" |
| | | > |
| | | <div class="mulsz" slot="label"> |
| | | {{ item.versionsac |
| | | }}<span style="margin-left: 30px">{{ |
| | | item.startUsing ? "å¯ç¨" : "ç¦ç¨" |
| | | }}</span> |
| | | </div> |
| | | </el-tab-pane> |
| | | </el-tabs> |
| | | </div> |
| | | </div> |
| | | <!-- å³ä¾§æ°æ® --> |
| | | |
| | | <div class="leftvlue"> |
| | | <div v-if="activeName == '0'"> |
| | | <div class="examine-top"> |
| | | <span>ç¼è¾äººï¼{{ basicInformation.name }}</span> |
| | | <span>ç¼è¾æ¶é´ï¼{{ basicInformation.day }}</span> |
| | | <span class="ewmyl">äºç»´ç é¢è§</span> |
| | | </div> |
| | | <!-- åºç¡ä¿¡æ¯ --> |
| | | <div class="examine-jic"> |
| | | <div class="headline">åºç¡ä¿¡æ¯</div> |
| | | <div class="jic-value"> |
| | | <div> |
| | | 宣æåç§°ï¼{{ basicInformation.wname |
| | | }}<span>éç¨ç¾ç
ï¼{{ basicInformation.jbname }}</span> |
| | | </div> |
| | | <div> |
| | | 宣æå½¢å¼ï¼{{ basicInformation.wname |
| | | }}<span>éç¨åç±»ï¼{{ basicInformation.jbname }}</span> |
| | | </div> |
| | | <div>表åæè¿°ï¼{{ basicInformation.miaosname }}</div> |
| | | </div> |
| | | </div> |
| | | <!-- 宣æé¢è§ --> |
| | | <div class="examine-jic"> |
| | | <div class="headline">宣æå
容</div> |
| | | <div class="jic-value"> |
| | | <div> |
| | | 宣æä»ç»ï¼<span class="wenjuanjs" |
| | | >é常好é常好é常好é常好é常好é常好é常好é常好</span |
| | | > |
| | | </div> |
| | | </div> |
| | | <div class="preview-left"> |
| | | <!-- åé --> |
| | | <div class="topic-dev" v-for="item in valssu" :key="item.aaa"> |
| | | <div class="dev-text"> |
| | | {{ item.idd }}ã[åé]  <span>{{ item.wssd }}</span> |
| | | </div> |
| | | <div class="dev-xx"> |
| | | <el-radio-group v-model="radio"> |
| | | <el-radio |
| | | v-for="(items, index) in item.sdadd" |
| | | :key="index" |
| | | :label="index" |
| | | >{{ items }}</el-radio |
| | | > |
| | | </el-radio-group> |
| | | </div> |
| | | </div> |
| | | <!-- å¤é --> |
| | | <div class="topic-dev" v-for="item in valssu" :key="item.aaa"> |
| | | <div class="dev-text"> |
| | | {{ item.idd }}ã[å¤é]  <span>{{ item.wssd }}</span> |
| | | </div> |
| | | <div class="dev-xx"> |
| | | <el-checkbox-group v-model="radios"> |
| | | <el-checkbox |
| | | v-for="(items, index) in item.sdadd" |
| | | :key="index" |
| | | :label="index" |
| | | > |
| | | {{ items }} |
| | | </el-checkbox> |
| | | </el-checkbox-group> |
| | | </div> |
| | | </div> |
| | | <!-- 填空 --> |
| | | <div class="topic-dev" v-for="item in valssu" :key="item.aaa"> |
| | | <div class="dev-text"> |
| | | {{ item.idd }}ã[填空]  <span>{{ item.wssd }}</span> |
| | | </div> |
| | | <div class="dev-xx"> |
| | | <el-input placeholder="请è¾å
¥çæ¡" v-model="radioas" clearable> |
| | | </el-input> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div v-else-if="activeName == '1'">bbb</div> |
| | | <div v-else-if="activeName == '2'">ccc</div> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | data() { |
| | | return { |
| | | activeName: "0", |
| | | radios: [], //å¤éé¢éä¸ |
| | | |
| | | basicInformation: { |
| | | name: "èå´", |
| | | day: "2023å¹´12æ11æ¥16æ¶12å11ç§", |
| | | wname: "大大大", |
| | | jbname: "å°å°å°", |
| | | miaosname: "é常好大大大", |
| | | }, |
| | | valssu: [ |
| | | { |
| | | idd: 1, |
| | | wssd: "ä½ æè¿æä¹æ ·", |
| | | sdadd: ["sss", "ssccss", "ssaas", "ss"], |
| | | }, |
| | | ], |
| | | editableTabs: [ |
| | | { |
| | | versionsac: "1.0.3", |
| | | startUsing: true, |
| | | }, |
| | | { |
| | | versionsac: "1.0.2", |
| | | startUsing: false, |
| | | }, |
| | | { |
| | | versionsac: "1.0.1", |
| | | startUsing: false, |
| | | }, |
| | | ], |
| | | }; |
| | | }, |
| | | |
| | | created() {}, |
| | | |
| | | methods: { |
| | | handleClick() {}, |
| | | }, |
| | | }; |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | .examineemanagement { |
| | | display: flex; |
| | | .sidecolumn { |
| | | width: 300px; |
| | | min-height: 100vh; |
| | | text-align: center; |
| | | // display: flex; |
| | | margin-top: 20px; |
| | | margin: 20px; |
| | | padding: 30px; |
| | | background: #edf1f7; |
| | | border: 1px solid #dcdfe6; |
| | | -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12), |
| | | 0 0 6px 0 rgba(0, 0, 0, 0.04); |
| | | .sidecolumn-top { |
| | | display: flex; |
| | | justify-content: space-between; |
| | | .top-wj { |
| | | font-size: 20px; |
| | | } |
| | | .top-tj { |
| | | font-size: 18px; |
| | | |
| | | color: rgb(0, 89, 255); |
| | | cursor: pointer; |
| | | } |
| | | } |
| | | .center-ss { |
| | | margin-top: 30px; |
| | | .input-with-select { |
| | | height: 40px !important; |
| | | } |
| | | } |
| | | .bottom-fl { |
| | | margin-top: 30px; |
| | | display: center !important; |
| | | } |
| | | } |
| | | .leftvlue { |
| | | width: 80%; |
| | | margin-top: 20px; |
| | | // margin: 20px; |
| | | padding: 30px; |
| | | background: #ffff; |
| | | border: 1px solid #dcdfe6; |
| | | -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12), |
| | | 0 0 6px 0 rgba(0, 0, 0, 0.04); |
| | | .mulsz { |
| | | font-size: 20px; |
| | | span { |
| | | margin-left: 30px; |
| | | } |
| | | } |
| | | .examine-top { |
| | | font-size: 20px; |
| | | margin-bottom: 40px; |
| | | span { |
| | | margin-right: 30px; |
| | | } |
| | | .ewmyl { |
| | | color: rgb(0, 81, 255); |
| | | cursor: pointer; |
| | | } |
| | | } |
| | | .examine-jic { |
| | | .headline { |
| | | font-size: 28px; |
| | | border-left: 8px solid #42b983; |
| | | padding-left: 5px; |
| | | margin-bottom: 15px; |
| | | } |
| | | .jic-value { |
| | | font-size: 20px; |
| | | border-top: 1px solid #a7abac; |
| | | padding: 20px; |
| | | div { |
| | | margin-bottom: 15px; |
| | | span { |
| | | margin-left: 180px; |
| | | } |
| | | } |
| | | .wenjuanjs { |
| | | margin-left: 15px; |
| | | padding-bottom: 5px; |
| | | border-bottom: 1px solid #a7abac; |
| | | } |
| | | } |
| | | .preview-left { |
| | | margin: 20px; |
| | | // margin: 20px; |
| | | padding: 30px; |
| | | background: #ffff; |
| | | border: 1px solid #dcdfe6; |
| | | -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12), |
| | | 0 0 6px 0 rgba(0, 0, 0, 0.04); |
| | | .topic-dev { |
| | | margin-bottom: 25px; |
| | | font-size: 20px !important; |
| | | .dev-text { |
| | | margin-bottom: 10px; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | .examine-jieg { |
| | | .headline { |
| | | font-size: 28px; |
| | | padding-left: 5px; |
| | | border-left: 8px solid #41a1be; |
| | | // border-bottom: 1px solid #41a1be; |
| | | margin-bottom: 15px; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | ::v-deep.el-tabs--left, |
| | | .el-tabs--right { |
| | | overflow: hidden; |
| | | align-items: center; |
| | | display: flex; |
| | | } |
| | | ::v-deep.el-input--medium .el-input__inner { |
| | | height: 40px !important; |
| | | } |
| | | ::v-deep.el-tabs--right .el-tabs__active-bar.is-right { |
| | | height: 40px; |
| | | width: 5px; |
| | | left: 0; |
| | | } |
| | | ::v-deep.el-tabs--right .el-tabs__item.is-right { |
| | | display: block; |
| | | font-size: 20px; |
| | | } |
| | | ::v-deep.el-radio-group { |
| | | span { |
| | | font-size: 24px; |
| | | } |
| | | } |
| | | ::v-deep.el-checkbox-group { |
| | | span { |
| | | font-size: 24px; |
| | | } |
| | | } |
| | | </style> |
| | |
| | | <template> |
| | | <div>宣æç®¡ç</div> |
| | | <div class="educationmanagement"> |
| | | <!-- 左侧æ --> |
| | | <div class="sidecolumn"> |
| | | <div class="sidecolumn-top"> |
| | | <div class="top-wj">宣æç±»å</div> |
| | | <div class="top-tj" @click="dialogFormVisible = true">+æ·»å ç±»å«</div> |
| | | </div> |
| | | <div class="center-ss"> |
| | | <el-input |
| | | placeholder="请è¾å
¥å
容" |
| | | v-model="sidecolumnval" |
| | | class="input-with-select" |
| | | size="medium " |
| | | > |
| | | <el-button |
| | | @click="sidecolumnss" |
| | | slot="append" |
| | | icon="el-icon-search" |
| | | ></el-button> |
| | | </el-input> |
| | | </div> |
| | | <div class="bottom-fl"> |
| | | <el-tabs tab-position="right"> |
| | | <el-tab-pane :label="`å
¨é¨ (${numberlb})`"></el-tab-pane> |
| | | <el-tab-pane |
| | | class="tab-paness" |
| | | :key="item.name" |
| | | v-for="(item, index) in editableTabs" |
| | | :label="item.title + ' (' + item.number + ')'" |
| | | ></el-tab-pane> |
| | | |
| | | <el-tab-pane :label="`æªåç»(${numberlbs})`"></el-tab-pane> |
| | | </el-tabs> |
| | | </div> |
| | | </div> |
| | | <!-- å³ä¾§æ°æ® --> |
| | | <div class="leftvlue"> |
| | | <div class="leftvlue-top"> |
| | | <el-tabs v-model="topactiveName" @tab-click="tophandleClick"> |
| | | <el-tab-pane name="Local"> |
| | | <span class="mulsz" slot="label">æ¬å°å®£æåº </span> |
| | | </el-tab-pane> |
| | | <el-tab-pane name="sharing"> |
| | | <span class="mulsz" slot="label">å
±äº«å®£æåº </span> |
| | | </el-tab-pane> |
| | | </el-tabs> |
| | | </div> |
| | | <div class="leftvlue-bg"> |
| | | <el-row :gutter="20"> |
| | | <!--ç¨æ·æ°æ®--> |
| | | <el-col :span="24" :xs="24"> |
| | | <el-form |
| | | :model="queryParams" |
| | | ref="queryForm" |
| | | size="small" |
| | | :inline="true" |
| | | v-show="showSearch" |
| | | label-width="98px" |
| | | > |
| | | <el-form-item label="宣æåç§°" prop="userName"> |
| | | <el-input |
| | | v-model="queryParams.userName" |
| | | placeholder="请è¾å
¥" |
| | | clearable |
| | | style="width: 200px" |
| | | @keyup.enter.native="handleQuery" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="éç¨ç¾ç
" prop="sickness"> |
| | | <el-cascader |
| | | v-model="queryParams.sickness" |
| | | :options="optionss" |
| | | :props="propss" |
| | | clearable |
| | | ></el-cascader> |
| | | </el-form-item> |
| | | <el-form-item label="宣æå½¢å¼" prop="shape"> |
| | | <el-select |
| | | v-model="queryParams.shapevalue" |
| | | placeholder="è¯·éæ©" |
| | | > |
| | | <el-option |
| | | v-for="item in xjxsoptions" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="宣æåç±»" prop="classify"> |
| | | <el-select |
| | | v-model="queryParams.classifyvalue" |
| | | placeholder="è¯·éæ©" |
| | | > |
| | | <el-option |
| | | v-for="(item, index) in editableTabs" |
| | | :key="index++" |
| | | :label="item.title" |
| | | :value="index++" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | |
| | | <el-form-item> |
| | | <el-button |
| | | type="primary" |
| | | icon="el-icon-search" |
| | | size="medium" |
| | | @click="handleQuery" |
| | | >æç´¢</el-button |
| | | > |
| | | <el-button |
| | | icon="el-icon-refresh" |
| | | size="medium" |
| | | @click="resetQuery" |
| | | >éç½®</el-button |
| | | > |
| | | </el-form-item> |
| | | </el-form> |
| | | |
| | | <el-row :gutter="10" class="mb8"> |
| | | <el-col :span="1.5"> |
| | | <el-button |
| | | type="primary" |
| | | plain |
| | | icon="el-icon-plus" |
| | | size="medium" |
| | | @click="handleAdd" |
| | | v-hasPermi="['system:user:add']" |
| | | >æ°å¢</el-button |
| | | > |
| | | </el-col> |
| | | |
| | | <el-col :span="1.5"> |
| | | <el-button |
| | | type="danger" |
| | | plain |
| | | icon="el-icon-delete" |
| | | size="medium" |
| | | :disabled="multiple" |
| | | @click="handleDelete" |
| | | v-hasPermi="['system:user:remove']" |
| | | >å é¤</el-button |
| | | > |
| | | </el-col> |
| | | |
| | | <!-- <el-col :span="1.5"> </el-col> --> |
| | | </el-row> |
| | | <!-- <right-toolbar |
| | | :showSearch.sync="showSearch" |
| | | @queryTable="getList" |
| | | :columns="columns" |
| | | ></right-toolbar> --> |
| | | <el-table |
| | | v-loading="loading" |
| | | :data="userList" |
| | | border="true" |
| | | @selection-change="handleSelectionChange" |
| | | > |
| | | <el-table-column type="selection" width="50" align="center" /> |
| | | <el-table-column |
| | | label="åºå·" |
| | | align="center" |
| | | key="userid" |
| | | prop="userid" |
| | | /> |
| | | <el-table-column |
| | | label="宣æåç§°" |
| | | align="center" |
| | | key="userName" |
| | | prop="userName" |
| | | :show-overflow-tooltip="true" |
| | | /> |
| | | <el-table-column |
| | | label="çæ¬" |
| | | align="center" |
| | | key="nickName" |
| | | prop="nickName" |
| | | :show-overflow-tooltip="true" |
| | | /> |
| | | |
| | | <el-table-column |
| | | label="éç¨ç¾ç
" |
| | | align="center" |
| | | key="aphonenumber" |
| | | prop="aphonenumber" |
| | | width="120" |
| | | /><el-table-column |
| | | label="宣ææè¿°" |
| | | align="center" |
| | | key="bphonenumber" |
| | | prop="bphonenumber" |
| | | width="120" |
| | | /> |
| | | <el-table-column |
| | | label="æè¿ç¼è¾" |
| | | align="center" |
| | | key="cphonenumber" |
| | | prop="cphonenumber" |
| | | width="120" |
| | | /> |
| | | |
| | | <el-table-column |
| | | label="æä½" |
| | | align="center" |
| | | width="300" |
| | | class-name="small-padding fixed-width" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | | size="medium" |
| | | type="text" |
| | | @click="goQRCode(scope.row)" |
| | | v-hasPermi="['system:user:edit']" |
| | | > |
| | | <span class="button-text" |
| | | ><i class="el-icon-edit"></i>äºç»´ç </span |
| | | ></el-button |
| | | > |
| | | <el-button |
| | | size="medium" |
| | | type="text" |
| | | @click="Vieweducation(scope.row)" |
| | | v-hasPermi="['system:user:edit']" |
| | | ><span class="button-textck" |
| | | ><i class="el-icon-edit"></i>æ¥ç</span |
| | | ></el-button |
| | | > |
| | | <el-button |
| | | size="medium" |
| | | type="text" |
| | | @click="handleUpdate(scope.row)" |
| | | v-hasPermi="['system:user:edit']" |
| | | ><span class="button-textxg" |
| | | ><i class="el-icon-edit"></i>ä¿®æ¹</span |
| | | ></el-button |
| | | > |
| | | <el-button |
| | | size="medium" |
| | | type="text" |
| | | @click="handleDelete(scope.row)" |
| | | v-hasPermi="['system:user:remove']" |
| | | ><span class="button-textsc" |
| | | ><i class="el-icon-edit"></i>å é¤</span |
| | | ></el-button |
| | | > |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | |
| | | <pagination |
| | | v-show="total > 0" |
| | | :total="total" |
| | | :page.sync="queryParams.pageNum" |
| | | :limit.sync="queryParams.pageSize" |
| | | @pagination="getList" |
| | | /> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | <!-- æ·»å æä¿®æ¹å®£æé
ç½®å¯¹è¯æ¡ --> |
| | | <el-dialog |
| | | :title="title" |
| | | :visible.sync="open" |
| | | width="900px" |
| | | append-to-body |
| | | > |
| | | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="å§å" prop="nickName"> |
| | | <el-input |
| | | v-model="form.nickName" |
| | | placeholder="请è¾å
¥å§å" |
| | | maxlength="30" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="æ§å«" prop="deptId"> |
| | | <el-select v-model="form.sex" placeholder="è¯·éæ©æ§å«"> |
| | | <el-option |
| | | v-for="dict in dict.type.sys_user_sex" |
| | | :key="dict.value" |
| | | :label="dict.label" |
| | | :value="dict.value" |
| | | ></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="è¯ä»¶ç±»å" prop="phonenumber"> |
| | | <el-input |
| | | v-model="form.phonenumber" |
| | | placeholder="è¯·éæ©è¯ä»¶ç±»å" |
| | | maxlength="11" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="è¯ä»¶å·" prop="email"> |
| | | <el-input |
| | | v-model="form.email" |
| | | placeholder="请è¾å
¥è¯ä»¶å·" |
| | | maxlength="50" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="æ¬äººææºå·" prop="userName"> |
| | | <el-input |
| | | v-model="form.userName" |
| | | placeholder="请è¾å
¥ææºå·" |
| | | maxlength="30" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="äº²å±ææºå·" prop="password"> |
| | | <el-input |
| | | v-model="form.password" |
| | | placeholder="请è¾å
¥äº²å±ææºå·" |
| | | type="password" |
| | | maxlength="20" |
| | | show-password |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="æ£è
æ ç¾"> |
| | | <el-cascader |
| | | :options="optionss" |
| | | :props="propss" |
| | | clearable |
| | | ></el-cascader> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | <el-row> |
| | | <el-col :span="24"> |
| | | <el-form-item label="夿³¨"> |
| | | <el-input |
| | | v-model="form.remark" |
| | | type="textarea" |
| | | placeholder="请è¾å
¥å
容" |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="submitForm">ç¡® å®</el-button> |
| | | <el-button @click="cancel">å æ¶</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | </div> |
| | | </div> |
| | | <!-- æ·»å ç±»å«å¼¹æ¡ --> |
| | | <el-dialog width="30%" :visible.sync="dialogFormVisible"> |
| | | <el-form :model="sidecolumnform"> |
| | | <el-form-item label="请è¾å
¥ç±»å«åç§°"> |
| | | <el-input v-model="form.name" autocomplete="off"></el-input> |
| | | </el-form-item> |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button @click="dialogFormVisible = false">å æ¶</el-button> |
| | | <el-button type="primary" @click="submitsidecolumn">ç¡® å®</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | <!-- äºç»´ç å±ç¤ºå¼¹æ¡ --> |
| | | <el-dialog width="30%" :visible.sync="goQRCodeVisible"> |
| | | <div class="qrcode-dialo"> |
| | | <div class="qrcode-text"> |
| | | {{ nameeducation }}<span>{{ haoeducation }}</span> |
| | | </div> |
| | | <div class="qrcode-img"></div> |
| | | </div> |
| | | </el-dialog> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | import { |
| | | listUser, |
| | | getUser, |
| | | delUser, |
| | | addUser, |
| | | updateUser, |
| | | } from "@/api/system/user"; |
| | | import { getToken } from "@/utils/auth"; |
| | | import Treeselect from "@riophae/vue-treeselect"; |
| | | import "@riophae/vue-treeselect/dist/vue-treeselect.css"; |
| | | export default { |
| | | name: "education", |
| | | dicts: ["sys_normal_disable", "sys_user_sex"], |
| | | components: { Treeselect }, |
| | | data() { |
| | | return {}; |
| | | return { |
| | | topactiveName: "Local", //é¡¶é¨éæ© |
| | | // é®ç½©å± |
| | | loading: false, |
| | | // é䏿°ç» |
| | | ids: [], |
| | | // éå个ç¦ç¨ |
| | | single: true, |
| | | // éå¤ä¸ªç¦ç¨ |
| | | multiple: true, |
| | | // æ¾ç¤ºæç´¢æ¡ä»¶ |
| | | showSearch: true, |
| | | // æ»æ¡æ° |
| | | total: 0, |
| | | nameeducation: "", |
| | | haoeducation: "", |
| | | // ç¨æ·è¡¨æ ¼æ°æ® |
| | | userList: [ |
| | | { |
| | | userid: 1, |
| | | userName: "ä¸å·å®£æ", |
| | | nickName: "1.2.4", |
| | | |
| | | aphonenumber: "å
³èçç", |
| | | bphonenumber: "徿£", |
| | | cphonenumber: "2022-12-12", |
| | | }, |
| | | ], |
| | | // å¼¹åºå±æ é¢ |
| | | title: "", |
| | | // æ¯å¦æ¾ç¤ºå¼¹åºå± |
| | | open: false, |
| | | // æ¥æèå´ |
| | | dateRange: [], |
| | | // å²ä½é项 |
| | | postOptions: [], |
| | | // è§è²é项 |
| | | roleOptions: [], |
| | | // 表ååæ° |
| | | form: {}, |
| | | numberlb: 22, |
| | | numberlbs: 2, |
| | | sidecolumnform: {}, //æ·»å ç±»å«è¡¨å |
| | | dialogFormVisible: false, //æ·»å ç±»å«å¼¹æ¡ |
| | | goQRCodeVisible: false, //äºç»´ç å¼¹æ¡ |
| | | sidecolumnval: "", //ç±»å«æç´¢ |
| | | propss: { multiple: true }, |
| | | optionss: [ |
| | | { |
| | | value: 1, |
| | | label: "ä¸å", |
| | | }, |
| | | { |
| | | value: 2, |
| | | label: "西å", |
| | | }, |
| | | { |
| | | value: 3, |
| | | label: "仨仨仨", |
| | | }, |
| | | { |
| | | value: 4, |
| | | label: "å
é£é£é£", |
| | | }, |
| | | ], |
| | | xjxsoptions: [ |
| | | { |
| | | value: 1, |
| | | label: "è§é¢", |
| | | }, |
| | | { |
| | | value: 2, |
| | | label: "讲座", |
| | | }, |
| | | { |
| | | value: 3, |
| | | label: "è¯é³", |
| | | }, |
| | | ], |
| | | //ç±»å«å表 |
| | | editableTabs: [ |
| | | { |
| | | title: "宣æåç±»ä¸", |
| | | number: "1", |
| | | }, |
| | | { |
| | | title: "宣æåç±»äº", |
| | | number: "2", |
| | | }, |
| | | { |
| | | title: "宣æåç±»ä¸", |
| | | number: "2", |
| | | }, |
| | | { |
| | | title: "宣æåç±»å", |
| | | number: "2", |
| | | }, |
| | | { |
| | | title: "宣æåç±»äº", |
| | | number: "2", |
| | | }, |
| | | ], |
| | | // æ¥è¯¢åæ° |
| | | queryParams: { |
| | | pageNum: 1, |
| | | pageSize: 10, |
| | | sickness: "", |
| | | classifyvalue: "", |
| | | shapevalue: "", |
| | | userName: undefined, |
| | | }, |
| | | // åä¿¡æ¯ |
| | | columns: [ |
| | | { key: 0, label: `ç¨æ·ç¼å·`, visible: true }, |
| | | { key: 1, label: `ç¨æ·åç§°`, visible: true }, |
| | | { key: 2, label: `ç¨æ·æµç§°`, visible: true }, |
| | | { key: 3, label: `é¨é¨`, visible: true }, |
| | | { key: 4, label: `ææºå·ç `, visible: true }, |
| | | { key: 5, label: `ç¶æ`, visible: true }, |
| | | { key: 6, label: `å建æ¶é´`, visible: true }, |
| | | ], |
| | | // è¡¨åæ ¡éª |
| | | rules: { |
| | | userName: [ |
| | | { required: true, message: "ç¨æ·åç§°ä¸è½ä¸ºç©º", trigger: "blur" }, |
| | | { |
| | | min: 2, |
| | | max: 20, |
| | | message: "ç¨æ·åç§°é¿åº¦å¿
é¡»ä»äº 2 å 20 ä¹é´", |
| | | trigger: "blur", |
| | | }, |
| | | ], |
| | | nickName: [ |
| | | { required: true, message: "ç¨æ·æµç§°ä¸è½ä¸ºç©º", trigger: "blur" }, |
| | | ], |
| | | password: [ |
| | | { required: true, message: "ç¨æ·å¯ç ä¸è½ä¸ºç©º", trigger: "blur" }, |
| | | { |
| | | min: 5, |
| | | max: 20, |
| | | message: "ç¨æ·å¯ç é¿åº¦å¿
é¡»ä»äº 5 å 20 ä¹é´", |
| | | trigger: "blur", |
| | | }, |
| | | ], |
| | | email: [ |
| | | { |
| | | type: "email", |
| | | message: "请è¾å
¥æ£ç¡®çé®ç®±å°å", |
| | | trigger: ["blur", "change"], |
| | | }, |
| | | ], |
| | | phonenumber: [ |
| | | { |
| | | pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/, |
| | | message: "请è¾å
¥æ£ç¡®çææºå·ç ", |
| | | trigger: "blur", |
| | | }, |
| | | ], |
| | | IDnumber: [ |
| | | { |
| | | pattern: |
| | | /^\d{6}((((((19|20)\d{2})(0[13-9]|1[012])(0[1-9]|[12]\d|30))|(((19|20)\d{2})(0[13578]|1[02])31)|((19|20)\d{2})02(0[1-9]|1\d|2[0-8])|((((19|20)([13579][26]|[2468][048]|0[48]))|(2000))0229))\d{3})|((((\d{2})(0[13-9]|1[012])(0[1-9]|[12]\d|30))|((\d{2})(0[13578]|1[02])31)|((\d{2})02(0[1-9]|1\d|2[0-8]))|(([13579][26]|[2468][048]|0[048])0229))\d{2}))(\d|X|x)$/, |
| | | message: "请è¾å
¥æ£ç¡®ç身份è¯å·ç ", |
| | | trigger: "blur", |
| | | }, |
| | | ], |
| | | }, |
| | | }; |
| | | }, |
| | | watch: {}, |
| | | created() { |
| | | this.getList(); |
| | | }, |
| | | |
| | | created() {}, |
| | | methods: { |
| | | /** æ¥è¯¢ç¨æ·å表 */ |
| | | getList() { |
| | | // this.loading = true; |
| | | listUser().then((response) => { |
| | | console.log(response); |
| | | // this.userList = response.data; |
| | | // this.total = response.total; |
| | | // this.loading = false; |
| | | console.log(this.userList); |
| | | }); |
| | | // const { rows } = await listUser(); |
| | | // console.log(rows); |
| | | // this.list = rows; |
| | | }, |
| | | // æ·»å ç±»å« |
| | | submitsidecolumn() { |
| | | this.dialogFormVisible = false; |
| | | }, |
| | | //æç´¢ç±»å« |
| | | sidecolumnss() {}, |
| | | // 忢å
±äº«/æ¬å° |
| | | tophandleClick() {}, |
| | | // åæ¶æé® |
| | | cancel() { |
| | | this.open = false; |
| | | this.reset(); |
| | | }, |
| | | goQRCode(row) { |
| | | this.goQRCodeVisible = true; |
| | | this.nameeducation = row.userName; |
| | | this.haoeducation = row.nickName; |
| | | }, |
| | | // 表åéç½® |
| | | reset() { |
| | | this.form = { |
| | | userId: undefined, |
| | | deptId: undefined, |
| | | userName: undefined, |
| | | nickName: undefined, |
| | | password: undefined, |
| | | phonenumber: undefined, |
| | | email: undefined, |
| | | sex: undefined, |
| | | status: "0", |
| | | remark: undefined, |
| | | postIds: [], |
| | | roleIds: [], |
| | | }; |
| | | this.resetForm("form"); |
| | | }, |
| | | /** æç´¢æé®æä½ */ |
| | | handleQuery() { |
| | | this.queryParams.pageNum = 1; |
| | | this.getList(); |
| | | }, |
| | | /** éç½®æé®æä½ */ |
| | | resetQuery() { |
| | | this.dateRange = []; |
| | | this.resetForm("queryForm"); |
| | | this.queryParams.deptId = undefined; |
| | | this.$refs.tree.setCurrentKey(null); |
| | | this.handleQuery(); |
| | | }, |
| | | // å¤éæ¡é䏿°æ® |
| | | handleSelectionChange(selection) { |
| | | this.ids = selection.map((item) => item.userId); |
| | | this.single = selection.length != 1; |
| | | this.multiple = !selection.length; |
| | | }, |
| | | /** æ°å¢æé®æä½ */ |
| | | handleAdd() { |
| | | this.$router.push({ |
| | | path: "/knowledge/education/compilequer/", |
| | | }); |
| | | }, |
| | | /** ä¿®æ¹æé®æä½ */ |
| | | handleUpdate(row) { |
| | | this.$router.push({ |
| | | path: "/knowledge/education/compilequer/", |
| | | query: { id: "1" }, |
| | | }); |
| | | }, |
| | | // æ¥ç宣æ |
| | | Vieweducation() { |
| | | this.$router.push({ |
| | | path: "/knowledge/education/examine/", |
| | | query: { id: "1" }, |
| | | }); |
| | | }, |
| | | |
| | | methods: {}, |
| | | /** æ´æ°/ä¿®æ¹æäº¤æé® */ |
| | | submitForm: function () { |
| | | this.$refs["form"].validate((valid) => { |
| | | if (valid) { |
| | | if (this.form.userId != undefined) { |
| | | updateUser(this.form).then((response) => { |
| | | this.$modal.msgSuccess("ä¿®æ¹æå"); |
| | | this.open = false; |
| | | this.getList(); |
| | | }); |
| | | } else { |
| | | addUser(this.form).then((response) => { |
| | | this.$modal.msgSuccess("æ°å¢æå"); |
| | | this.open = false; |
| | | this.getList(); |
| | | }); |
| | | } |
| | | } |
| | | }); |
| | | }, |
| | | /** å é¤æé®æä½ */ |
| | | handleDelete(row) { |
| | | const userIds = row.userId || this.ids; |
| | | this.$modal |
| | | .confirm('æ¯å¦ç¡®è®¤å é¤ç¨æ·ç¼å·ä¸º"' + userIds + '"çæ°æ®é¡¹ï¼') |
| | | .then(function () { |
| | | return delUser(userIds); |
| | | }) |
| | | .then(() => { |
| | | this.getList(); |
| | | this.$modal.msgSuccess("å 餿å"); |
| | | }) |
| | | .catch(() => {}); |
| | | }, |
| | | }, |
| | | }; |
| | | </script> |
| | | |
| | | <style lang="scss" scoped></style> |
| | | <style lang="scss" scoped> |
| | | .educationmanagement { |
| | | display: flex; |
| | | } |
| | | .sidecolumn { |
| | | width: 300px; |
| | | min-height: 100vh; |
| | | text-align: center; |
| | | // display: flex; |
| | | margin-top: 20px; |
| | | margin: 20px; |
| | | padding: 30px; |
| | | background: #edf1f7; |
| | | border: 1px solid #dcdfe6; |
| | | -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12), |
| | | 0 0 6px 0 rgba(0, 0, 0, 0.04); |
| | | .sidecolumn-top { |
| | | display: flex; |
| | | justify-content: space-between; |
| | | .top-wj { |
| | | font-size: 20px; |
| | | } |
| | | .top-tj { |
| | | font-size: 18px; |
| | | |
| | | color: rgb(0, 89, 255); |
| | | cursor: pointer; |
| | | } |
| | | } |
| | | .center-ss { |
| | | margin-top: 30px; |
| | | .input-with-select { |
| | | height: 40px !important; |
| | | } |
| | | } |
| | | .bottom-fl { |
| | | margin-top: 30px; |
| | | display: center !important; |
| | | } |
| | | } |
| | | .qrcode-dialo { |
| | | text-align: center; |
| | | // display: flex; |
| | | margin: 20px; |
| | | padding: 30px; |
| | | background: #edf1f7; |
| | | border: 1px solid #dcdfe6; |
| | | -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12), |
| | | 0 0 6px 0 rgba(0, 0, 0, 0.04); |
| | | .qrcode-text { |
| | | font-size: 20px; |
| | | span { |
| | | margin-left: 20px; |
| | | } |
| | | } |
| | | .qrcode-img { |
| | | width: 300px; |
| | | height: 400px; |
| | | } |
| | | } |
| | | ::v-deep.el-tabs--left, |
| | | .el-tabs--right { |
| | | overflow: hidden; |
| | | align-items: center; |
| | | display: flex; |
| | | } |
| | | ::v-deep.el-input--medium .el-input__inner { |
| | | height: 40px !important; |
| | | } |
| | | ::v-deep.el-tabs--right .el-tabs__active-bar.is-right { |
| | | height: 40px; |
| | | width: 5px; |
| | | left: 0; |
| | | } |
| | | ::v-deep.el-tabs--right .el-tabs__item.is-right { |
| | | display: block; |
| | | font-size: 20px; |
| | | } |
| | | .leftvlue { |
| | | // display: flex; |
| | | // flex: 1; |
| | | width: 80%; |
| | | margin-top: 20px; |
| | | // margin: 20px; |
| | | padding: 30px; |
| | | background: #ffff; |
| | | border: 1px solid #dcdfe6; |
| | | -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12), |
| | | 0 0 6px 0 rgba(0, 0, 0, 0.04); |
| | | .mulsz { |
| | | font-size: 20px; |
| | | } |
| | | } |
| | | .button-text { |
| | | color: rgb(70, 204, 238); |
| | | } |
| | | .button-textck { |
| | | color: rgb(39, 167, 67); |
| | | } |
| | | .button-textxg { |
| | | color: rgb(35, 81, 233); |
| | | } |
| | | .button-textsc { |
| | | color: rgb(235, 23, 23); |
| | | } |
| | | </style> |
| | |
| | | // æ¥è¯¢åæ° |
| | | queryParams: { |
| | | pageNum: 1, |
| | | name: "ç大", |
| | | pageSize: 10, |
| | | userName: undefined, |
| | | phonenumber: undefined, |
| | |
| | | /** å¯¼åºæé®æä½ */ |
| | | handleExport() { |
| | | this.download( |
| | | "system/user/export", |
| | | "smartor/patarchive/export", |
| | | { |
| | | ...this.queryParams, |
| | | }, |
| | |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-switch |
| | | v-model="scope.row.status" |
| | | active-value="0" |
| | | inactive-value="1" |
| | | v-model="scope.row.delivery" |
| | | @change="handleStatusChange(scope.row)" |
| | | ></el-switch> |
| | | </template> |
| | |
| | | /> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | <!-- æ·»å æä¿®æ¹é®å·é
ç½®å¯¹è¯æ¡ --> |
| | | <el-dialog |
| | | :title="title" |
| | | :visible.sync="open" |
| | | width="900px" |
| | | append-to-body |
| | | > |
| | | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="å§å" prop="nickName"> |
| | | <el-input |
| | | v-model="form.nickName" |
| | | placeholder="请è¾å
¥å§å" |
| | | maxlength="30" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="æ§å«" prop="deptId"> |
| | | <el-select v-model="form.sex" placeholder="è¯·éæ©æ§å«"> |
| | | <el-option |
| | | v-for="dict in dict.type.sys_user_sex" |
| | | :key="dict.value" |
| | | :label="dict.label" |
| | | :value="dict.value" |
| | | ></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="è¯ä»¶ç±»å" prop="phonenumber"> |
| | | <el-input |
| | | v-model="form.phonenumber" |
| | | placeholder="è¯·éæ©è¯ä»¶ç±»å" |
| | | maxlength="11" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="è¯ä»¶å·" prop="email"> |
| | | <el-input |
| | | v-model="form.email" |
| | | placeholder="请è¾å
¥è¯ä»¶å·" |
| | | maxlength="50" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="æ¬äººææºå·" prop="userName"> |
| | | <el-input |
| | | v-model="form.userName" |
| | | placeholder="请è¾å
¥ææºå·" |
| | | maxlength="30" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="äº²å±ææºå·" prop="password"> |
| | | <el-input |
| | | v-model="form.password" |
| | | placeholder="请è¾å
¥äº²å±ææºå·" |
| | | type="password" |
| | | maxlength="20" |
| | | show-password |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="æ£è
æ ç¾"> |
| | | <el-cascader |
| | | :options="optionss" |
| | | :props="propss" |
| | | clearable |
| | | ></el-cascader> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | <el-row> |
| | | <el-col :span="24"> |
| | | <el-form-item label="夿³¨"> |
| | | <el-input |
| | | v-model="form.remark" |
| | | type="textarea" |
| | | placeholder="请è¾å
¥å
容" |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="submitForm">ç¡® å®</el-button> |
| | | <el-button @click="cancel">å æ¶</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | </div> |
| | | </div> |
| | | <!-- æ·»å ç±»å«å¼¹æ¡ --> |
| | |
| | | <el-form-item |
| | | :label="amendtag ? '请è¾å
¥æ°çç±»å«åç§°' : '请è¾å
¥ç±»å«åç§°'" |
| | | > |
| | | <el-input v-model="form.name" autocomplete="off"></el-input> |
| | | <el-input |
| | | v-model="sidecolumnform.classesname" |
| | | autocomplete="off" |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | |
| | | scavisible: false, //å é¤å¼¹æ¡ |
| | | deleteVisible: false, //åç±»å é¤å¼¹æ¡ |
| | | deletefenl: "é«è¡å", //å é¤é¡¹ |
| | | //ä¿®æ¹æ·»å æ ç¾å¼¹æ¡æ°æ® |
| | | tagform: { |
| | | delivery: "", |
| | | name: "", |
| | | desc: "", |
| | | }, |
| | | // ç¨æ·è¡¨æ ¼æ°æ® |
| | | // æ ç¾è¡¨æ ¼æ°æ® |
| | | userList: [ |
| | | { |
| | | userid: 1, |
| | | userId: 1, |
| | | userName: "ä¸å·", |
| | | nickName: "1.2.4", |
| | | aphonenumber: "å
³èçç", |
| | | delivery: true, |
| | | aphonenumbers: "", |
| | | bphonenumber: "徿£", |
| | | cphonenumber: "2022-12-12 ", |
| | |
| | | form: {}, |
| | | numberlb: 22, |
| | | numberlbs: 2, |
| | | sidecolumnform: {}, //æ·»å ç±»å«è¡¨å |
| | | sidecolumnform: { |
| | | classesname: "", |
| | | }, //æ·»å ç±»å«è¡¨å |
| | | dialogFormVisible: false, //æ·»å ãä¿®æ¹ç±»å«å¼¹æ¡ |
| | | lstamendtagVisible: false, //æ·»å ãä¿®æ¹æ ç¾å¼¹æ¡ |
| | | goQRCodeVisible: false, //äºç»´ç å¼¹æ¡ |
| | |
| | | // æ·»å ç±»å« |
| | | submitsidecolumn() { |
| | | this.dialogFormVisible = false; |
| | | this.tagform = { |
| | | delivery: "", |
| | | name: "", |
| | | desc: "", |
| | | }; |
| | | }, |
| | | // ä¿®æ¹å¼¹æ¡ |
| | | popoveramend() { |
| | |
| | | }, |
| | | /** ä¿®æ¹æ ç¾ */ |
| | | handleUpdate(row) { |
| | | console.log(row, "ä¿®æ¹æ ç¾"); |
| | | this.lstamendtagVisible = true; |
| | | this.lstamendtag = true; |
| | | this.tagform = { |
| | | delivery: row.delivery, |
| | | name: row.userName, |
| | | desc: row.bphonenumber, |
| | | }; |
| | | }, |
| | | // æ¥çé®å· |
| | | ViewQuestionnaire() { |
| | |
| | | }, |
| | | /** å é¤æé®æä½ */ |
| | | handleDelete(row) { |
| | | console.log(row, "å é¤å¼¹çª"); |
| | | const userIds = row.userId || this.ids; |
| | | const aphonenumber = row.aphonenumber; |
| | | this.$modal |
| | | .confirm('æ¯å¦ç¡®è®¤å é¤ç¨æ·ç¼å·ä¸º"' + userIds + '"çæ°æ®é¡¹ï¼') |
| | | .confirm( |
| | | aphonenumber |
| | | ? 'æ¯å¦ç¡®è®¤å 餿 ç¾å称为"' + aphonenumber + '"çæ°æ®é¡¹ï¼' |
| | | : "æ¯å¦ç¡®è®¤å é¤éä¸çæ°æ®é¡¹ï¼" |
| | | ) |
| | | .then(function () { |
| | | return delUser(userIds); |
| | | }) |