mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-07 01:46:43 +08:00
Merge branch 'zcwy-0511-out' of https://codeup.aliyun.com/648097ddb583fece2f059e59/vue/fe-manage into zcwy-0511-out
This commit is contained in:
@@ -119,4 +119,5 @@ async function init() {
|
||||
initDict("course_pic"); //课程封面
|
||||
initDict("job_type"); //岗位
|
||||
initDict("band"); //band
|
||||
initDict("examine_cover")
|
||||
}
|
||||
@@ -111,8 +111,8 @@ const createParam = ref({
|
||||
})
|
||||
const imgClick = (item) => {
|
||||
console.log(item,'url')
|
||||
createParam.value.cover = item.url
|
||||
createParam.value.index = item.id
|
||||
createParam.value.cover = item.value
|
||||
createParam.value.index = item.code
|
||||
}
|
||||
//创建认证确定
|
||||
const handleOk = async () => {
|
||||
@@ -332,8 +332,13 @@ loading.value = false
|
||||
total.value = res.data.total
|
||||
data.value= res.data.records
|
||||
}
|
||||
|
||||
const imageList = ref([])
|
||||
onMounted(()=>{
|
||||
imageList.value = store.state.examine_cover?.map((e) => ({
|
||||
code: e.id,
|
||||
value: e.value,
|
||||
label: e.name,
|
||||
}));
|
||||
getlist()
|
||||
})
|
||||
|
||||
@@ -522,8 +527,8 @@ function handleOper(record, type, status = "") {
|
||||
<img style="width: 127px; height: 70px;margin-bottom: 13px;" src="../../assets/33.png" alt="">
|
||||
<img style="width: 127px; height: 70px;margin-bottom: 13px;margin-left: 15px" src="../../assets/47.png" alt="">
|
||||
<img style="width: 127px; height: 70px;margin-bottom: 13px;margin-left: 15px" src="../../assets/49.png" alt=""> -->
|
||||
<div class="img_box_item" @click="imgClick(item)" v-for="(item,index) in imgData" :key="index">
|
||||
<img :style="createParam?.index==item.id?{border:'3px solid rgba(78, 166, 255, 1)'}:{border:'1px solid #ccc'}" style="width: 127px; height: 70px;" :src="require(`../../assets/${item.img}`)" alt="">
|
||||
<div class="img_box_item" @click="imgClick(item)" v-for="(item,index) in imageList" :key="index">
|
||||
<img :style="createParam?.cover==item.value?{border:'3px solid rgba(78, 166, 255, 1)'}:{border:'1px solid #ccc'}" style="width: 127px; height: 70px;" :src="item.value" alt="">
|
||||
</div>
|
||||
</a-form-item>
|
||||
<a-form-item style="margin-left: 32px;margin-top: 24px" label="具体说明">
|
||||
|
||||
Reference in New Issue
Block a user