样式修改

master
jinna 7 months ago
parent f486cab5d7
commit 904140e4d3
  1. 68
      src/views/tankSolutionSystem/info.vue
  2. 14
      src/views/tankSolutionSystem/tankSolutionTaskAssignment.vue
  3. 15
      src/views/tankSolutionSystem/tankSolutionTaskDispose.vue
  4. 15
      src/views/tankSolutionSystem/workTankLine.vue
  5. 10
      src/views/tankSolutionSystem/workTankMangage.vue

@ -5,26 +5,29 @@
@selection-change="selectionChange" @current-change="currentChange" @size-change="sizeChange"
@refresh-change="refreshChange" @on-load="onLoad" >
<template #menu-left>
<el-button type="danger" icon="el-icon-delete" @click="handleDelete">
<el-button type="danger" icon="el-icon-delete" @click="handleDelete"
>
</el-button>
<el-button type="success" icon="el-icon-upload" @click="handleImport">导入
<el-button
type="success"
icon="el-icon-upload"
@click="handleImport"
>导入
</el-button>
<el-button type="primary" icon="el-icon-setting" @click="handleSetting">批量设置
<el-button
type="primary"
icon="el-icon-setting"
@click="handleSetting"
>批量设置
</el-button>
</template>
<template #menu="{ row }">
<el-button type="primary" text plain style="border: 0; background-color: transparent !important"
size="medium" @click.stop="handleIssue(row)">
<el-icon>
<Pointer />
</el-icon>
</el-button>
size="medium" @click.stop="handleIssue(row)" >下发</el-button>
</template>
<template #targetLimit-form="{type}">
<div style="width: 100%;display: flex;justify-content: space-between;"
v-show="type == 'add' || type == 'edit'">
<el-input style="width: 47%;" placeholder="请输入"></el-input>~<el-input style="width: 47%;"
placeholder="请输入"></el-input>
<div style="width: 100%;display: flex;justify-content: space-between;" v-show="type == 'add' || type == 'edit'">
<el-input style="width: 47%;" placeholder="请输入"></el-input>~<el-input style="width: 47%;" placeholder=""></el-input>
</div>
<div v-show="type == 'view'">5 ~ 10</div>
</template>
@ -61,8 +64,12 @@
<el-dialog title="批量设置" append-to-body v-model="setBox" width="555px">
<el-form v-model="settingForm" label-width="80px">
<el-form-item label="有效期">
<el-date-picker v-model="settingForm.reallyDate" type="date" style="width: 100%;"
placeholder="请选择有效期" />
<el-date-picker
v-model="settingForm.reallyDate"
type="date"
style="width: 100%;"
placeholder="请选择有效期"
/>
</el-form-item>
<el-form-item label="主管工艺">
<el-select v-model="settingForm.chargeCraft"></el-select>
@ -89,9 +96,8 @@ export default {
settingForm:{},
checkList:[1,2,3,4,5,6,7],
option:{
// sortable:true,
rowSort: false,
columnSort: true,
height:'auto',
calcHeight: 32,
tip: false,
size: 'medium',
simplePage: true,
@ -106,9 +112,12 @@ export default {
viewBtn: true,
delBtn: true,
editBtnText: '修改',
viewBtnIcon:' ',
delBtnIcon:' ',
editBtnIcon:' ',
viewBtnText:'详情',
labelWidth: 120,
menuWidth: 330,
menuWidth: 220,
dialogWidth: 1200,
dialogClickModal: false,
searchEnter: true,
@ -116,6 +125,7 @@ export default {
filterBtn: true,
searchShowBtn: false,
excelBtn: true,
columnSort:true,
index: false,
showOverflowTooltip: true,
column:[
@ -675,4 +685,24 @@ export default {
}
</script>
<style lang="scss" scoped></style>
<style lang="scss" scoped>
</style>
<style lang="scss">
.el-table .el-table__cell{
height: 36px !important;
padding: 0 !important;
line-height: 36px !important;
}
.el-table th.el-table__cell{
background: #284c89 !important;
color: #fff !important;
}
.el-table .sort-caret.ascending{
border-bottom-color: #fff !important;
}
.el-table .sort-caret.descending {
border-top-color: #fff;
}
</style>

@ -117,7 +117,6 @@ export default {
issueForm:{},
option:{
tip: false,
simplePage: true,
searchShow: true,
searchMenuSpan: 6,
searchIcon: true,
@ -141,6 +140,19 @@ export default {
searchShowBtn: false,
excelBtn: true,
showOverflowTooltip: true,
align:'center',
height:'auto',
calcHeight: 32,
// height: 'auto',
// calcHeight: 32,
// tip: false,
// searchShow: true,
// searchMenuSpan: 6,
// border: true,
// index: true,
// viewBtn: true,
// selection: true,
// dialogClickModal: false,
column:[
{
label: '任务编号',

@ -19,13 +19,12 @@
@on-load="onLoad"
>
<template #menu="scope">
<el-button text icon="el-icon-view" @click="handleView(scope.row,'view')">详情</el-button>
<el-button text @click="handleView(scope.row,'view')">详情</el-button>
<el-button text @click="handleView(scope.row,'add')" v-show="scope.row.status == 1 || scope.row.status == 4">
<el-icon style="margin-right: 5px;"><Edit /></el-icon>
填报
</el-button>
<el-button text v-show="scope.row.status == 3" icon="el-icon-first-aid-kit" @click="handleView(scope.row,'drug')">领药</el-button>
<el-button text v-show="scope.row.status == 2" icon="el-icon-circle-check" @click="handleView(scope.row,'check')">审核</el-button>
<el-button text v-show="scope.row.status == 3" @click="handleView(scope.row,'drug')">领药</el-button>
<el-button text v-show="scope.row.status == 2" @click="handleView(scope.row,'check')">审核</el-button>
</template>
<template #userId="{ row }">
{{ row.testMan.userName }}
@ -66,7 +65,9 @@ export default {
issueForm:{},
option:{
tip: false,
simplePage: true,
height:'auto',
calcHeight: 32,
// simplePage: true,
searchShow: true,
searchMenuSpan: 6,
searchIcon: true,
@ -81,6 +82,9 @@ export default {
editBtn:false,
editBtnText: '修改',
viewBtnText:'详情',
viewBtnIcon:' ',
delBtnIcon:' ',
editBtnIcon:' ',
labelWidth: 120,
// menuWidth: 330,
dialogWidth: 600,
@ -90,6 +94,7 @@ export default {
searchShowBtn: false,
excelBtn: true,
showOverflowTooltip: true,
align:'center',
column:[
{
label: '任务编号',

@ -13,8 +13,8 @@
</el-button>
</template>
<template #menu="scope">
<el-button icon="el-icon-view" type="text" @click="handleView(scope.row)">详情</el-button>
<el-button icon="el-icon-view" type="text" @click="rowDel(scope.row)">删除</el-button>
<el-button type="text" @click="handleView(scope.row)">详情</el-button>
<el-button type="text" @click="rowDel(scope.row)">删除</el-button>
</template>
</avue-crud>
<el-dialog title="生产曲线" append-to-body v-model="lineBox" width="70%">
@ -111,7 +111,10 @@ export default {
option:{
tip: false,
size: 'medium',
simplePage: true,
height:'auto',
align:'center',
calcHeight: 32,
// simplePage: true,
searchShow: true,
searchMenuSpan: 6,
searchIcon: true,
@ -127,7 +130,7 @@ export default {
editBtnText: '修改',
viewBtnText:'详情',
labelWidth: 120,
menuWidth: 200,
// menuWidth: 200,
dialogWidth: 1200,
dialogClickModal: false,
searchEnter: true,
@ -135,6 +138,9 @@ export default {
filterBtn: true,
searchShowBtn: false,
excelBtn: true,
viewBtnIcon:' ',
delBtnIcon:' ',
editBtnIcon:' ',
index: false,
showOverflowTooltip: true,
column:[
@ -230,6 +236,7 @@ export default {
filter: true,
span: 8,
search:false,
width:240,
rules: [
{
required: true,

@ -30,7 +30,7 @@
</el-button>
</template>
<template #status="{ row }">
<div style="display: flex;align-items: center;">
<div style="display: flex;align-items: center;justify-content: center;">
<span :style="{marginRight:'5px',backgroundColor:row.status == 1 ? '#00A854' : '#F04134',width:'12px',height:'12px',borderRadius:'50%',display:'inline-block'}"></span><span>{{ row.status == 0 ? '暂停使用' : '使用中' }}</span>
</div>
</template>
@ -63,7 +63,8 @@ export default {
excelBox:false,
option:{
tip: false,
simplePage: true,
height:'auto',
calcHeight: 32,
searchShow: true,
searchMenuSpan: 6,
searchIcon: true,
@ -76,8 +77,10 @@ export default {
delBtn: true,
editBtnText: '修改',
viewBtnText:'详情',
editBtnIcon:' ',
viewBtnIcon:' ',
delBtnIcon:' ',
labelWidth: 120,
menuWidth: 330,
dialogWidth: 600,
dialogClickModal: false,
searchEnter: true,
@ -85,6 +88,7 @@ export default {
searchShowBtn: false,
excelBtn: true,
showOverflowTooltip: true,
align:'center',
column:[
{
label: '编码',

Loading…
Cancel
Save