c3537551b2d6cdb9df2f58c963e9fa28d826d73a.svn-base 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619
  1. <template>
  2. <div class="app-container">
  3. <!-- 配方模板表 -->
  4. <div ref="template" class="template">
  5. <p class="recipeTemplate" />
  6. <div class="operation">
  7. <el-button class="success" @click="handleCreate">新生成</el-button>
  8. <el-button class="export" style="float: right;margin-right: 80px;" @click="handleHistoryRecord">历史记录</el-button>
  9. <el-button class="export" style="float: right;margin-right: 10px;" @click="handleMaterialPlan">撒料计划</el-button>
  10. <el-button class="export" style="float: right;margin-right: 10px;" @click="handlePremixedPlan">预混计划</el-button>
  11. <el-button class="export" style="float: right;margin-right: 10px;" @click="handleShedFormula">栏舍配方</el-button>
  12. <el-button class="export" style="float: right;margin-right: 10px;" @click="handleRecipeemplate">配方模板</el-button>
  13. </div>
  14. <div class="search">
  15. <el-date-picker v-model="table.getdataListParm.parammaps.mydate" type="date" placeholder="选择日期" style="width: 150px;" format="yyyy-MM-dd" value-format="yyyy-MM-dd" :clearable="false" @change="changeDate" />
  16. <el-button class="el-icon-arrow-left elIconArrowLeft" @click="handleBefore" />
  17. <el-button class="el-icon-arrow-right elIconArrowRight" @click="handleNext" />
  18. <el-select v-model="table.getdataListParm.parammaps.lpplantype" filterable placeholder="计划类型" class="filter-item" clearable style="width: 120px;" @change="changePlanType">
  19. <el-option v-for="item in planTypeList" :key="item.value" :label="item.lable" :value="item.value" />
  20. </el-select>
  21. <el-select v-model="table.getdataListParm.parammaps.times" filterable placeholder="班次" class="filter-item" style="width: 120px;" clearable @change="changeFrequency">
  22. <el-option v-for="item in frequencyList" :key="item.id" :label="item.name" :value="item.id" />
  23. </el-select>
  24. <el-select v-model="table.getdataListParm.parammaps.enable" filterable placeholder="打印类型" class="filter-item" clearable style="width: 120px;">
  25. <el-option v-for="item in printingTypeList" :key="item.value" :label="item.label" :value="item.value" />
  26. </el-select>
  27. <el-select v-model="table.getdataListParm.parammaps.enable" filterable placeholder="计划维度" class="filter-item" style="width: 120px;" clearable>
  28. <el-option v-for="item in planningDimensionList" :key="item.value" :label="item.label" :value="item.value" />
  29. </el-select>
  30. <el-select v-model="table.getdataListParm.parammaps.enable" filterable placeholder="导出类型" class="filter-item" style="width: 120px;" clearable>
  31. <el-option v-for="item in exportTypeList" :key="item.value" :label="item.label" :value="item.value" />
  32. </el-select>
  33. <el-button class="export" @click="handleExport">导出</el-button>
  34. </div>
  35. <!-- 日执行计划 -->
  36. <div class="table">
  37. <el-table
  38. :key="table.tableKey"
  39. v-loading="table.listLoading"
  40. element-loading-text="给我一点时间"
  41. :data="table.list"
  42. border
  43. fit
  44. highlight-current-row
  45. style="width: 98%;"
  46. :row-style="rowStyle"
  47. :cell-style="cellStyle"
  48. class="elTable table-fixed"
  49. @row-click="tableRowClick"
  50. >
  51. <el-table-column label="序号" align="center" type="index" width="50px">
  52. <template slot-scope="scope">
  53. <span>{{ scope.$index + (table.pageNum-1) * table.pageSize + 1 }}</span>
  54. </template>
  55. </el-table-column>
  56. <el-table-column label="计划名称" min-width="130px" align="center">
  57. <template slot-scope="scope">
  58. <span>{{ scope.row.projname }}</span>
  59. </template>
  60. </el-table-column>
  61. <el-table-column label="计划类型" prop="weight" min-width="130px" align="center" :formatter="lpplantype" />
  62. <el-table-column label="TMR编号" min-width="130px" align="center">
  63. <template slot-scope="scope">
  64. <span>{{ scope.row.tmrtname }}</span>
  65. </template>
  66. </el-table-column>
  67. <el-table-column label="驾驶员" min-width="130px" align="center">
  68. <template slot-scope="scope">
  69. <span>{{ scope.row.driver }}</span>
  70. </template>
  71. </el-table-column>
  72. <el-table-column label="已执行" min-width="130px" align="center">
  73. <template slot-scope="scope">
  74. <span>{{ scope.row.havebutton }}</span>
  75. </template>
  76. </el-table-column>
  77. <el-table-column label="班次" min-width="180px" align="center">
  78. <template slot-scope="scope">
  79. <span>{{ scope.row.times }}</span>
  80. </template>
  81. </el-table-column>
  82. <el-table-column label="理论量" min-width="180px" align="center">
  83. <template slot-scope="scope">
  84. <span>{{ scope.row.lweight }}</span>
  85. </template>
  86. </el-table-column>
  87. <el-table-column label="时间" min-width="180px" align="center">
  88. <template slot-scope="scope">
  89. <span>{{ scope.row.plantime }}</span>
  90. </template>
  91. </el-table-column>
  92. <el-table-column label="发料位" min-width="180px" align="left">
  93. <template slot-scope="scope">
  94. <span>{{ scope.row.barnames }}</span>
  95. </template>
  96. </el-table-column>
  97. </el-table>
  98. </div>
  99. </div>
  100. <!-- 计划内容操作 -->
  101. <div class="content">
  102. <div class="table2">
  103. <p class="contentOperation" />
  104. <div class="content-table">
  105. <el-table
  106. :key="table2.tableKey"
  107. v-loading="table2.listLoading"
  108. element-loading-text="给我一点时间"
  109. :data="table2.list"
  110. fit
  111. highlight-current-row
  112. style="width: 100%;"
  113. height="450"
  114. :row-style="rowStyle"
  115. :cell-style="cellStyle"
  116. class="elTable table-fixed"
  117. >
  118. <el-table-column label="操作序号" min-width="130px" align="center">
  119. <template slot-scope="scope">
  120. <span>{{ scope.row.sort }}</span>
  121. </template>
  122. </el-table-column>
  123. <el-table-column label="饲料名称" prop="fname" min-width="130px" align="center">
  124. <template slot-scope="scope">
  125. <span>{{ scope.row.fname }}</span>
  126. </template>
  127. </el-table-column>
  128. <el-table-column label="设计重量(KG)" prop="weight" min-width="130px" align="center">
  129. <template slot-scope="scope">
  130. <span>{{ scope.row.weight }}</span>
  131. </template>
  132. </el-table-column>
  133. </el-table>
  134. </div>
  135. </div>
  136. <div class="table3">
  137. <p class="stallRetails" />
  138. <!-- <div class="stallRetails">
  139. <p>栏舍内容<br>栏舍详情 </p>
  140. </div> -->
  141. <div class="content-table">
  142. <el-table
  143. :key="table3.tableKey"
  144. v-loading="table3.listLoading"
  145. element-loading-text="给我一点时间"
  146. :data="table3.list"
  147. height="450"
  148. fit
  149. highlight-current-row
  150. style="width: 100%;"
  151. :row-style="rowStyle"
  152. :cell-style="cellStyle"
  153. class="elTable table-fixed"
  154. >
  155. <el-table-column label=" 操作序号" min-width="130px" align="center">
  156. <template slot-scope="scope">
  157. <span>{{ scope.row.sort }}</span>
  158. </template>
  159. </el-table-column>
  160. <el-table-column label="栏舍编号" min-width="130px" align="center">
  161. <template slot-scope="scope">
  162. <span>{{ scope.row.fname }}</span>
  163. </template>
  164. </el-table-column>
  165. <el-table-column label="设计重量(KG)" min-width="130px" align="center">
  166. <template slot-scope="scope">
  167. <span>{{ scope.row.weight }}</span>
  168. </template>
  169. </el-table-column>
  170. </el-table>
  171. </div>
  172. </div>
  173. </div>
  174. <!-- 新生成 -->
  175. <el-dialog :title="textMap[newGeneration.dialogStatus]" :destroy-on-close="true" :visible.sync="newGeneration.dialogFormVisible" :close-on-click-modal="false" width="50%">
  176. <div class="newGeneration">
  177. <el-form ref="temp" :rules="newGeneration.rules" :model="newGeneration.temp" label-position="right" label-width="155px" style="width: 100%;margin:0 auto 50px">
  178. <el-row>
  179. <el-col :span="16">
  180. <el-form-item label="时间范围:" prop="inputDatetime">
  181. <el-date-picker v-model="newGeneration.temp.inputDatetime" class="inputDatetime filter-item" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" style="width: 100%;" :clearable="false" />
  182. </el-form-item>
  183. </el-col>
  184. </el-row>
  185. </el-form>
  186. <div slot="footer" class="dialog-footer" style="bottom:10px">
  187. <el-button class="cancel" @click="newGeneration.dialogFormVisible = false;getList()">取消</el-button>
  188. <el-button class="success" :disabled="isokDisable" @click="newGenerationData()">确认</el-button>
  189. </div>
  190. </div>
  191. </el-dialog>
  192. </div>
  193. </template>
  194. <script>
  195. import { GetDataByName, GetDataByNames, ExecDataByConfig } from '@/api/common'
  196. import { MessageBox } from 'element-ui'
  197. import { parseTime } from '@/utils/index.js'
  198. import Cookies from 'js-cookie'
  199. export default {
  200. name: 'DailyExecutionPlan',
  201. data() {
  202. return {
  203. requestParams: [
  204. // { name: 'getDictByName', offset: 0, pagecount: 0, params: ['牲畜父类'] }
  205. ],
  206. planTypeList: [{ lable: '撒料计划', value: '2' }, { lable: '预混计划', value: '3' }, { lable: '剩料计划', value: '4' }], // 计划类型
  207. printingTypeList: [{ lable: '所有', value: '0' }, { lable: '精料', value: '1' }, { lable: '铲车', value: '2' }], // 打印类型
  208. frequencyList: [], // 班次
  209. planningDimensionList: [{ lable: '发料顺序', value: '0' }, { lable: 'TMR', value: '1' }], // 发料顺序
  210. exportTypeList: [{ lable: '投料简打', value: '0' }, { lable: '投料简打', value: '1' }], // 导出类型
  211. // 班次
  212. maxTime: {
  213. getMaxTimesParm: {
  214. name: 'getSysoptEnable',
  215. page: 1,
  216. offset: 1,
  217. pagecount: 1,
  218. returntype: 'Map',
  219. parammaps: {
  220. pastureid: Cookies.get('pastureid'),
  221. inforname: 'times'
  222. }
  223. }
  224. },
  225. table: {
  226. getdataListParm: {
  227. name: 'getDownloadedplanList',
  228. page: 1,
  229. offset: 1,
  230. pagecount: 10,
  231. returntype: 'Map',
  232. parammaps: {
  233. pastureid: Cookies.get('pastureid'),
  234. barid: '',
  235. mydate: parseTime(new Date(), '{y}-{m}-{d}'),
  236. times: '',
  237. lpplantype: ''
  238. }
  239. },
  240. tableKey: 0,
  241. list: [],
  242. total: 0,
  243. listLoading: false
  244. },
  245. // 计划内容操作详情
  246. table2: {
  247. getdataListParm: {
  248. name: 'getDownloadplandtl1List',
  249. page: 1,
  250. offset: 1,
  251. returntype: 'Map',
  252. parammaps: {
  253. pastureid: Cookies.get('pastureid'),
  254. date: '',
  255. flpid: ''
  256. }
  257. },
  258. tableKey: 0,
  259. list: [],
  260. total: 0,
  261. listLoading: false
  262. },
  263. // 计划内容 舍栏详情
  264. table3: {
  265. getdataListParm: {
  266. name: 'getDownloadplandt2List',
  267. page: 1,
  268. offset: 1,
  269. returntype: 'Map',
  270. parammaps: {
  271. pastureid: Cookies.get('pastureid'),
  272. date: '',
  273. flpid: ''
  274. }
  275. },
  276. tableKey: 0,
  277. list: [],
  278. total: 0,
  279. listLoading: false
  280. },
  281. // 新生成
  282. newGeneration: {
  283. dialogFormVisible: false,
  284. dialogStatus: '',
  285. getdataListParm: {
  286. name: 'checkLLPIsDistribution',
  287. page: 1,
  288. offset: 1,
  289. pagecount: 1,
  290. returntype: 'Map',
  291. parammaps: {
  292. pastureid: Cookies.get('pastureid')
  293. }
  294. },
  295. temp: {},
  296. rules: {
  297. inputDatetime: [{ type: 'array', required: true, message: '必填', trigger: 'blur' }]
  298. }
  299. },
  300. textMap: {
  301. newGeneration: '新生成'
  302. },
  303. isokDisable: false,
  304. requestParam: {},
  305. rowStyle: { maxHeight: 50 + 'px', height: 45 + 'px' },
  306. cellStyle: { padding: 0 + 'px' }
  307. }
  308. },
  309. created() {
  310. this.getList()
  311. this.getDownList()
  312. this.getIsDisplay()
  313. },
  314. mounted() {
  315. this.table.getdataListParm.parammaps.mydate = parseTime(new Date(), '{y}-{m}-{d}')
  316. },
  317. methods: {
  318. getIsDisplay() {
  319. GetDataByName(this.maxTime.getMaxTimesParm).then(response => {
  320. console.log(response.data.list[0].inforvalue)
  321. if (response.data.list[0].inforvalue == 1) {
  322. this.frequencyList = [{ id: '1', name: '第一班' }]
  323. } else if (response.data.list[0].inforvalue == 2) {
  324. this.frequencyList = [{ id: '1', name: '第一班' }, { id: '2', name: '第二班' }]
  325. } else if (response.data.list[0].inforvalue == 3) {
  326. this.frequencyList = [{ id: '1', name: '第一班' }, { id: '2', name: '第二班' }, { id: '3', name: '第三班' }]
  327. } else if (response.data.list[0].inforvalue == 4) {
  328. this.frequencyList = [{ id: '1', name: '第一班' }, { id: '2', name: '第二班' }, { id: '3', name: '第三班' }, { id: '4', name: '第四班' }]
  329. }
  330. })
  331. },
  332. getDownList() {
  333. GetDataByNames(this.requestParams).then(response => {
  334. // this.livestockTypeList = response.data.getDictByName.list
  335. })
  336. },
  337. // -------------------日执行计划-----------------------------
  338. handleBefore() {
  339. if (this.table.getdataListParm.parammaps.mydate !== '' && this.table.getdataListParm.parammaps.mydate !== null) {
  340. this.table.getdataListParm.parammaps.mydate = new Date(this.table.getdataListParm.parammaps.mydate)
  341. var start = new Date(this.table.getdataListParm.parammaps.mydate.setDate(this.table.getdataListParm.parammaps.mydate.getDate() - 1))
  342. // var start = this.table.getdataListParm.parammaps.mydate - 1
  343. this.table.getdataListParm.parammaps.mydate = parseTime(start, '{y}-{m}-{d}')
  344. // this.$forceUpdate()
  345. this.getList()
  346. }
  347. },
  348. handleNext() {
  349. if (this.table.getdataListParm.parammaps.mydate !== '' && this.table.getdataListParm.parammaps.mydate !== null) {
  350. this.table.getdataListParm.parammaps.mydate = new Date(this.table.getdataListParm.parammaps.mydate)
  351. var stop = new Date(this.table.getdataListParm.parammaps.mydate.setDate(this.table.getdataListParm.parammaps.mydate.getDate() + 1))
  352. this.table.getdataListParm.parammaps.mydate = parseTime(stop, '{y}-{m}-{d}')
  353. this.getList()
  354. }
  355. },
  356. getList() {
  357. this.table.listLoading = true
  358. GetDataByName(this.table.getdataListParm).then(response => {
  359. console.log('table数据', response.data.list)
  360. if (response.data.list !== null) {
  361. this.table.list = response.data.list
  362. this.table.pageNum = response.data.pageNum
  363. this.table.pageSize = response.data.pageSize
  364. this.table.total = response.data.total
  365. this.table2.getdataListParm.parammaps.flpid = response.data.list[0].pid
  366. this.table3.getdataListParm.parammaps.flpid = response.data.list[0].pid
  367. this.getList2()
  368. this.getList3()
  369. } else {
  370. this.table.list = []
  371. }
  372. setTimeout(() => {
  373. this.table.listLoading = false
  374. }, 100)
  375. })
  376. },
  377. lpplantype: function(cellValue) {
  378. if (cellValue.lpplantype == 2) {
  379. return '撒料'
  380. } else if (cellValue.lpplantype == 3) {
  381. return '预混'
  382. } else if (cellValue.lpplantype == 4) {
  383. return '剩料'
  384. }
  385. },
  386. changeDate(val) {
  387. console.log('选择了日期', val)
  388. this.getList()
  389. this.getList2()
  390. this.getList3()
  391. },
  392. changePlanType(val) {
  393. console.log('选择了计划类型', val)
  394. this.getList()
  395. this.getList2()
  396. this.getList3()
  397. },
  398. changeFrequency(val) {
  399. console.log('选择了班次', val)
  400. this.getList()
  401. this.getList2()
  402. this.getList3()
  403. },
  404. // 日执行计划行点击
  405. tableRowClick(row, column, event) {
  406. console.log(row, column, event)
  407. this.table2.getdataListParm.parammaps.date = this.table.getdataListParm.parammaps.mydate
  408. this.table2.getdataListParm.parammaps.flpid = row.pid
  409. this.table3.getdataListParm.parammaps.date = this.table.getdataListParm.parammaps.mydate
  410. this.table3.getdataListParm.parammaps.flpid = row.pid
  411. this.getList2()
  412. this.getList3()
  413. },
  414. // 计划内容操作详情
  415. getList2() {
  416. this.table2.listLoading = true
  417. this.table2.getdataListParm.parammaps.date = this.table.getdataListParm.parammaps.mydate
  418. GetDataByName(this.table2.getdataListParm).then(response => {
  419. console.log('table数据', response.data.list)
  420. if (response.data.list !== null) {
  421. this.table2.list = response.data.list
  422. const arr = []
  423. var a = 0
  424. let b = this.table2.list[0].sort
  425. let c = 0
  426. for (let i = 0; i < this.table2.list.length; i++) {
  427. if (b !== parseInt(this.table2.list[i].sort)) {
  428. b = this.table2.list[i].sort
  429. arr.push({ 'sort': '小计', 'weight': a.toFixed(2) })
  430. a = 0
  431. }
  432. a = a + parseFloat(this.table2.list[i].weight)
  433. c = c + parseFloat(this.table2.list[i].weight)
  434. arr.push(this.table2.list[i])
  435. }
  436. arr.push({ 'sort': '小计', 'weight': a })
  437. arr.push({ 'sort': '总计', 'weight': c.toFixed(2) })
  438. this.table2.list = arr
  439. console.log(this.table2.list)
  440. this.table2.pageNum = response.data.pageNum
  441. this.table2.pageSize = response.data.pageSize
  442. this.table2.total = response.data.total
  443. } else {
  444. this.table2.list = []
  445. }
  446. setTimeout(() => {
  447. this.table2.listLoading = false
  448. }, 100)
  449. })
  450. },
  451. // 计划内容栏舍详情
  452. getList3() {
  453. this.table3.listLoading = true
  454. this.table3.getdataListParm.parammaps.date = this.table.getdataListParm.parammaps.mydate
  455. GetDataByName(this.table3.getdataListParm).then(response => {
  456. console.log('table数据', response.data.list)
  457. if (response.data.list !== null) {
  458. this.table3.list = response.data.list
  459. this.table3.pageNum = response.data.pageNum
  460. this.table3.pageSize = response.data.pageSize
  461. this.table3.total = response.data.total
  462. } else {
  463. this.table3.list = []
  464. }
  465. setTimeout(() => {
  466. this.table3.listLoading = false
  467. }, 100)
  468. })
  469. },
  470. // 新生成
  471. handleCreate() {
  472. console.log('点击了新生成')
  473. this.newGeneration.temp = {}
  474. this.newGeneration.dialogStatus = 'newGeneration'
  475. this.newGeneration.dialogFormVisible = true
  476. GetDataByName(this.newGeneration.getdataListParm).then(response => {
  477. console.log('table数据', response.data.list)
  478. if (response.data.list !== null) {
  479. if (response.data.list[0].vmsg == '存在未分配') {
  480. this.$message({ type: 'warning', message: '撒料计划中存在未分配完栏舍,建议及时进行分配', duration: 2000 })
  481. }
  482. }
  483. })
  484. },
  485. newGenerationData() {
  486. console.log('点击了新生成保存', this.newGeneration.temp)
  487. this.isokDisable = true
  488. setTimeout(() => {
  489. this.isokDisable = false
  490. }, 1000)
  491. this.$refs['temp'].validate(valid => {
  492. if (valid) {
  493. this.newGeneration.temp.startTime = parseTime(this.newGeneration.temp.inputDatetime[0], '{y}-{m}-{d}')
  494. this.newGeneration.temp.stopTime = parseTime(this.newGeneration.temp.inputDatetime[1], '{y}-{m}-{d}')
  495. this.requestParam = {}
  496. this.requestParam.common = { 'returnmap': '0' }
  497. this.requestParam.data = []
  498. this.requestParam.data[0] = { 'name': 'checkDLPIsStart', 'type': 'e', 'parammaps': {
  499. pastureid: Cookies.get('pastureid'),
  500. startTime: this.newGeneration.temp.startTime
  501. }}
  502. this.requestParam.data[1] = { 'name': 'createdownloadedplan', 'type': 'e', 'parammaps': {
  503. pastureid: Cookies.get('pastureid'),
  504. startTime: this.newGeneration.temp.startTime,
  505. stopTime: this.newGeneration.temp.stopTime
  506. }}
  507. ExecDataByConfig(this.requestParam).then(response => {
  508. console.log('新生成保存发送参数', this.requestParam)
  509. if (response.msg === 'fail') {
  510. this.$notify({ title: '保存失败', message: response.data, type: 'warning', duration: 2000 })
  511. } else {
  512. this.$notify({ title: '', message: '保存成功', type: 'success', duration: 2000 })
  513. this.newGeneration.dialogFormVisible = false
  514. this.getList()
  515. }
  516. })
  517. }
  518. })
  519. },
  520. // 配方模板
  521. handleRecipeemplate() {
  522. console.log('点击了配方模板,页面待画')
  523. },
  524. handleShedFormula() {
  525. console.log('点击了栏舍配方,页面待画')
  526. },
  527. handlePremixedPlan() {
  528. console.log('点击了预混计划,页面待画')
  529. },
  530. handleMaterialPlan() {
  531. console.log('点击了撒料计划,页面待画')
  532. },
  533. handleHistoryRecord() {
  534. console.log('点击了历史记录,页面待画')
  535. },
  536. handleExport() {
  537. console.log('点击了导出')
  538. }
  539. }
  540. }
  541. </script>
  542. <style lang="scss" scoped>
  543. .operation{margin-bottom:10px;}
  544. .search{margin-top:10px;}
  545. .table{margin-top:10px;}
  546. .template{
  547. background: #fff;
  548. position: relative;
  549. .recipeTemplate{
  550. width: 72px;
  551. height: 70px;
  552. position: absolute;
  553. background: url(../../../assets/images/bg3.jpg) no-repeat;
  554. right: 0;
  555. top: 0;
  556. margin: 0;
  557. }
  558. }
  559. .table2{
  560. float: left;width: 49%;margin-right: 1%;background: red;
  561. background: #fff;
  562. position: relative;
  563. .contentOperation{
  564. width: 72px;
  565. height: 70px;
  566. position: absolute;
  567. background: url(../../../assets/images/bg4.jpg) no-repeat;
  568. right: 0;
  569. top: 0;
  570. margin: 0;
  571. }
  572. .content-table{margin-top: 70px;}
  573. }
  574. .table3{
  575. float: left;
  576. width: 49%;
  577. background: #fff;
  578. position: relative;
  579. .stallRetails{
  580. width: 72px;
  581. height: 70px;
  582. position: absolute;
  583. background: url(../../../assets/images/bg5.jpg) no-repeat;
  584. right: 0;
  585. top: 0;
  586. margin: 0;
  587. // p{
  588. // font-size: 12px;
  589. // transform:rotate(45deg);
  590. // -ms-transform:rotate(45deg); /* Internet Explorer 9*/
  591. // -moz-transform:rotate(45deg); /* Firefox */
  592. // -webkit-transform:rotate(45deg); /* Safari 和 Chrome */
  593. // -o-transform:rotate(45deg); /* Opera */
  594. // filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
  595. // }
  596. }
  597. .content-table{margin-top: 70px;}
  598. }
  599. </style>