demand.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651
  1. <template>
  2. <!-- 表头 -->
  3. <div class="schedule-list">
  4. <el-table v-if="tableHeader === false" max-height="38px" :data="datas" class="tableHeader" border size="mini" :header-cell-style="{ background: 'rgba(247,247,247,1)', color: 'rgb(74, 74, 74)', fontSize: '14px', fontWeight: '500'}" @selection-change="changeCheckout(1)">
  5. <el-table-column v-if="locking" type="selection" width="50" align="center" />
  6. <el-table-column prop="date" label="任务" width="300" />
  7. <el-table-column prop="taskStatus" label="任务状态" width="200" />
  8. <el-table-column prop="type" label="类型" min-width="70" />
  9. <el-table-column prop="desc" label="描述" min-width="150" />
  10. <el-table-column prop="seperateDaysNoHoliday" label="排期" min-width="160" />
  11. <el-table-column prop="dayLength" label="时长" min-width="50" />
  12. <el-table-column prop="peopleList" label="参与人员" min-width="150" />
  13. <el-table-column prop="dayLength" label="关联任务" min-width="100" />
  14. <el-table-column label="操作" width="120" />
  15. </el-table>
  16. <div v-if="tableHeader === true" class="Layout_space_between" style="height: 40px;;border: 1px solid #EBEEF5;">
  17. <div class="Layout_flex_start" style="width: 90%">
  18. <el-checkbox v-model="checkAlls" style="padding: 17.5px; line-height: 20px; border-right: 1px solid #EBEEF5" @change="changeCheckout(checkAlls)" />
  19. <div style="margin: 0 30px 0 10px" class="endCheck"> 已选择 <span style="color:rgba(64,158,255,1) ">{{ taskList.length }}</span> 个</div>
  20. <div class="endCheck cursorPo" @click="clickAddScheduling(1)"><i class="el-icon-document" /> 添加排期</div>
  21. </div>
  22. <div class="endCheck cursorPo" @click="Deselect">取消选择</div>
  23. </div>
  24. <!-- 表头 -->
  25. <!-- 任务表格 -->
  26. <el-table ref="taskList" :data="tableData" :cell-class-name="addClass" :header-cell-style="{ background: 'rgba(247,247,247,1)', color: 'rgb(74, 74, 74)', fontSize: '14px', fontWeight: '500'}" border :show-header="false" @selection-change="handleSelectionChange">
  27. <el-table-column v-if="locking" type="selection" width="50" align="center" />
  28. <el-table-column label="任务" width="300" align="left">
  29. <template slot-scope="scope">
  30. <div v-if="!scope.row.vsInput" @mouseover="scope.row.vVisible = true" @mouseout="scope.row.vVisible = false">
  31. <div class="templatName">
  32. <div class="involveApp-top-bottom">
  33. <span class="el-involveApp">{{ scope.row.involveAppString || "" }}</span>
  34. </div>
  35. <el-tooltip class="item" effect="dark" :content="scope.row.moduleInfoName" placement="top">
  36. <span v-if="scope.row.moduleInfoName !== null" ref="Simulation">{{ scope.row.moduleInfoName.length >= 24 ? scope.row.moduleInfoName.substring(0,25) + '...' : scope.row.moduleInfoName }}</span>
  37. </el-tooltip>
  38. </div>
  39. <div class="templatTaskName cursorPo" @click="clickTemplatTaskName(scope.row.id)">{{ scope.row.name }}</div>
  40. <div class="templatCreator">
  41. <el-tooltip class="item" effect="dark" content="点击修改" placement="top">
  42. <el-popover placement="bottom" title="开发负责人" width="400" trigger="click">
  43. <div class="blueStr" />
  44. <el-input v-model="form_query.rdOwner" clearable size="small" style="width: 100%; margin-bottom: 10px;" placeholder="请输入姓名或邮箱前缀" @input="remoteMethod" />
  45. <div style="height: 200px; overflow: hidden; overflow-y: auto;">
  46. <div v-for="(item, index) in memberIDAP" :key="index" class="Layout_space_between involveApp-top-bottom cursorPo" @click="changeTaskName(scope.row, item, 1)">
  47. <span class="item-detail">{{ item.deptName }}</span>
  48. <span class="item-details" style="min-width:80px">{{ item.name }}</span>
  49. <span class="item-detail">{{ item.idap }}</span>
  50. </div>
  51. </div>
  52. <span slot="reference" class="cursorPo" @click="setRdOwner(scope.row.rdObject.name)">开发负责人:{{ scope.row.rdObject.name !== null? scope.row.rdObject.name: '无' }}</span>
  53. </el-popover>
  54. </el-tooltip>
  55. <el-tooltip class="item" effect="dark" content="点击修改" placement="top">
  56. <el-popover placement="bottom" title="测试负责人" width="400" class="iconPadding" trigger="click">
  57. <div class="blueStr" />
  58. <el-input v-model="form_query.name" clearable size="small" style="width: 100%; margin-bottom: 10px;" placeholder="请输入姓名或邮箱前缀" @input="remoteMethod" />
  59. <div style="height: 200px; overflow: hidden; overflow-y: auto;">
  60. <div v-for="(item, index) in memberIDAP" :key="index" class="Layout_space_between involveApp-top-bottom cursorPo" @click="changeTaskName(scope.row, item, 2)">
  61. <span class="item-detail">{{ item.deptName }}</span>
  62. <span class="item-details" style="min-width:80px">{{ item.name }}</span>
  63. <span class="item-detail">{{ item.idap }}</span>
  64. </div>
  65. </div>
  66. <span slot="reference" class="cursorPo" @click="setRemoteMethod(scope.row.qaObject.name)">测试负责人: {{ scope.row.qaObject.name !== null ? scope.row.qaObject.name: '无' }}</span>
  67. </el-popover>
  68. </el-tooltip>
  69. </div>
  70. <div class="Layout_space_between" style="margin-bottom: 10px;">
  71. <span v-if="scope.row.isDirectlyFromDpm === 0 || scope.row.isDirectlyFromDpm === 1">
  72. <el-tooltip class="item" effect="dark" :content="scope.row.relatedDpmTaskInfo.taskId + scope.row.relatedDpmTaskInfo.name" placement="top">
  73. <img class="cursorPo img-logo" src="@/assets/home_images/WX20200914-141851@2x.png" @click="jump(scope.row.dpmUrl)">
  74. </el-tooltip>
  75. <i v-if="scope.row.isDirectlyFromDpm === 0" class="el-icon-circle-close sty-icon cursorPo" @click="delete_dpl(scope.row.id)" />
  76. </span>
  77. <el-popover v-if="scope.row.isDirectlyFromDpm === -1" placement="bottom" title="关联望岳任务" width="400" trigger="click">
  78. <div class="blueStr" />
  79. <div v-for="(item, index) in dplOption" :key="index" class="Layout_space_between involveApp-top-bottom cursorPo" @click="setRelation(item, scope.row.id)">
  80. <span class="item-detail">{{ item.moduleInfoName }}</span>
  81. <span class="item-details">{{ item.name }}</span>
  82. <span class="item-detail">{{ item.taskId }}</span>
  83. </div>
  84. <div v-if="scope.row.isDirectlyFromDpm === -1" slot="reference" class="btn-dpl" style=" cursor: pointer;" @click="getDplList(scope.row.id)"> 关联望岳 </div>
  85. </el-popover>
  86. <div v-if="locking" v-show="scope.row.vVisible" class="iconEdit">
  87. <el-tooltip class="item cursorPo lineHeight" effect="dark" :content="scope.row.isScheduleLocked === 1? '点击解锁排期' : '点击锁定排期'" placement="top">
  88. <div :class="scope.row.isScheduleLocked === 1 ? 'el-icon-lock' : 'el-icon-unlock'" @click="changeSchedule(scope.row)" />
  89. </el-tooltip>
  90. <i class="el-icon-edit-outline cursorPo lineHeight" @click="editTask(scope.row)" />
  91. <i v-show="scope.row.isScheduleLocked === 0" class="el-icon-circle-plus-outline cursorPo lineHeight" @click="clickAddScheduling(2,scope.row)" />
  92. <el-popover v-if="scope.row.isDirectlyFromDpm === 0 || scope.row.isDirectlyFromDpm === 1" placement="bottom" title="同步排期至望岳" width="400" trigger="click">
  93. <div class="blueStr" />
  94. <div class="synchronization">是否需要同步当前任务的排期到望岳<span style="color: rgba(230,162,60,100%);"> {{ taskDpl }}</span> ?</div>
  95. <div v-if="taskDataList.length > 0" class="synchronization">以下任务与该望岳任务也关联,排期将一并同步,请知悉!</div>
  96. <div v-for="(item, index) in taskDataList" :key="index" class="Layout_space_between involveApp-top-bottom">
  97. <span class="item-detail">{{ item.taskId }}</span>
  98. <span class="item-details" style="min-width:200px">{{ item.name }}</span>
  99. <span class="item-detail">{{ item.moduleInfoName }}</span>
  100. </div>
  101. <div align="right" style="margin-top:20px;">
  102. <el-button size="mini" @click="$refs.Simulation.click()">取 消</el-button>
  103. <el-button size="mini" type="primary" @click="taskSyncScheduleToDpm(scope.row.id, taskDataList)">确 定</el-button>
  104. </div>
  105. <i slot="reference" class="el-icon-sort cursorPo deg" @click="getTaskList(scope.row)" />
  106. </el-popover>
  107. </div>
  108. </div>
  109. </div>
  110. <el-input v-if="scope.row.vsInput" ref="taskName" v-model="taskName" type="textarea" rows="4" placeholder="请输入内容" maxlength="150" show-word-limit @blur="changeTaskName(scope.row)" />
  111. </template>
  112. </el-table-column>
  113. <el-table-column width="200" align="center">
  114. <template slot-scope="scope">
  115. <el-select
  116. v-model="scope.row.status"
  117. :class="{
  118. 'status0':scope.row.status===0,
  119. 'status1':scope.row.status > 0 && scope.row.status <100,
  120. 'status2':scope.row.status===100,
  121. 'public_btn':scope.row.status!==10 || scope.row.status!==40 || scope.row.status!==20 || scope.row.status!==30,
  122. 'public_btn1':scope.row.status===40,
  123. 'public_btn2':scope.row.status===10,
  124. 'public_btn3':scope.row.status===20 || scope.row.status===30
  125. }"
  126. size="mini"
  127. @change="changeStatus(scope.row)"
  128. >
  129. <el-option v-for="item in scope.row.availableStatusList" :key="item.code" :label="item.name" :value="item.code" />
  130. </el-select>
  131. </template>
  132. </el-table-column>
  133. <el-table-column label="任" style="padding: 20px;">
  134. <template slot-scope="scope">
  135. <schedule-list :id="scope.row.id" ref="taskSchedule" :locking="locking" :select-task-list="taskList" :required-list="taskScheduleLists(scope.row.id)" @listByTask="listByTask(requirementId)" />
  136. </template>
  137. </el-table-column>
  138. </el-table>
  139. <!-- 任务表格 -->
  140. <!-- 日期详情 -->
  141. <el-row><span class="demandLayout">交付日期:</span><span class="demandeta">{{ dataList.endTime }}</span></el-row>
  142. <el-row><span class="demandLayout">排期:</span><span class="demandeta">{{ dataList.startTime || '' }} ~ {{ dataList.endTime }}</span></el-row>
  143. <el-row :gutter="20">
  144. <el-col v-for="(item, index) in scheduleDetail" :key="index" :span="6"><span class="demandLayout">{{ index }}:</span><span class="demandeta">{{ item.startTime }} ~ {{ item.endTime }}</span></el-col>
  145. </el-row>
  146. <el-row><span class="demandLayout">预计上线版本:</span> <span v-for="item in preOnlineVersion" :key="item" class="demandeta">{{ item }}</span></el-row>
  147. <!-- 日期详情 -->
  148. <!-- 排期锁定弹窗 -->
  149. <schedule ref="ScheduleEvent" :visible.sync="scheduleVisble" :name="'任务'" :is-schedule-locked="isScheduleLocked" :require-id="Number(taskId)" @updataData="listByTask(requirementId)" />
  150. <!-- 排期锁定弹窗 -->
  151. <task-dialog v-if="showTaskDialog" :show.sync="showTaskDialog" :task-id="taskIdObject.id" :status-name="taskIdObject.statusString" @getList="listByTask(requirementId)" />
  152. </div>
  153. </template>
  154. <script>
  155. import { listByRequire, taskListAvailableDpmTask, taskSetTaskRelated, taskDeleteRelationship, taskShowRelatedDpmTask, taskSyncScheduleToDpm } from '@/api/requirement.js'
  156. import scheduleList from '@/views/projectManage/components/scheduleList.vue'
  157. import '@/styles/PublicStyle/index.scss' // 通用css
  158. import { configShowTaskStatusEnum } from '@/api/taskIndex'
  159. import { taskUpdate } from '@/api/taskIndex'
  160. import { memberQueryMemberInfoByIDAPorName } from '@/api/projectIndex'
  161. import schedule from '@/views/projectManage/schedule' // 排期锁定弹窗
  162. import taskDialog from '@/views/projectManage/taskList/dialog/taskDialog' // 任务状态修改(已上线/已提测/已准出)
  163. export default {
  164. components: {
  165. scheduleList,
  166. schedule,
  167. taskDialog
  168. },
  169. props: {
  170. requiredList: {
  171. type: [Object, Array],
  172. default: () => null,
  173. required: false
  174. }
  175. },
  176. data() {
  177. return {
  178. requirementId: Number(this.$route.query.id),
  179. allStatus: [], // task状态
  180. taskDataList: [], // 同步排期到望岳的任务
  181. memberIDAP: [],
  182. tableData: [],
  183. checkAlls: false,
  184. taskIdObject: {},
  185. showTaskDialog: false,
  186. taskScheduleList: [],
  187. scheduleList: [],
  188. datas: [{
  189. date: '',
  190. type: '',
  191. desc: '',
  192. seperateDaysNoHoliday: '',
  193. dayLength: '',
  194. peopleList: ''
  195. }],
  196. dplOption: [],
  197. taskDpl: '',
  198. form_query: {
  199. rdOwner: null
  200. },
  201. nowChangeTask: null, // 当前正在改变的任务对象
  202. isScheduleLocked: '', // 当前排期的状态
  203. taskId: '', // taskID
  204. scheduleVisble: false, // 排期锁定
  205. userInformation: localStorage.getItem('username'),
  206. userNames: localStorage.getItem('realname'),
  207. taskList: [], // 全选list
  208. tableHeader: false, // 表头切换
  209. taskName: '', // taskname
  210. scheduleDetail: {}, // 用例/开发/提测/测试/准出/上线
  211. preOnlineVersion: [], // 预计上线版本
  212. dataList: {}, // 排期
  213. taskScheduleEvent: [], // 排期类型
  214. locking: true, // 查看历史记录锁定能
  215. isDelete: false // 删除排期操作
  216. }
  217. },
  218. watch: {
  219. requiredList: {
  220. handler(newV, old) {
  221. if (newV.length === 0) {
  222. console.log('没有数据')
  223. } else {
  224. this.tableData = newV.taskDetailList // 任务list
  225. this.dataList = newV // 排期
  226. this.scheduleList = newV.scheduleDetailRespons || []
  227. this.scheduleDetail = newV.timeInfos // 用例/开发/提测/测试/准出/上线
  228. this.preOnlineVersion = newV.preOnlineVersion // 预计上线版本
  229. this.taskScheduleEvent = newV.scheduleDetailRespons // 排期详情
  230. this.locking = false
  231. this.tableHeader = false
  232. if (this.tableData !== null) {
  233. this.tableData = this.tableData.map(item => ({
  234. ...item,
  235. vVisible: false,
  236. vsInput: false
  237. }))
  238. }
  239. }
  240. },
  241. deep: true,
  242. immediate: true
  243. }
  244. },
  245. created() {
  246. this.configShowTaskStatusEnum()
  247. },
  248. methods: {
  249. async listByTask(id) { // 获取排期列表
  250. this.taskList = []
  251. this.scheduleVisble = false
  252. const res = await listByRequire(id)
  253. if (res.code === 200) {
  254. this.$nextTick(() => {
  255. this.tableData = res.data.taskDetailList // 任务list
  256. this.dataList = res.data // 排期
  257. this.scheduleList = res.data.scheduleDetailRespons || []
  258. this.scheduleDetail = res.data.timeInfos // 用例/开发/提测/测试/准出/上线
  259. this.preOnlineVersion = res.data.preOnlineVersion // 预计上线版本
  260. this.taskScheduleEvent = res.data.scheduleDetailRespons // 排期详情
  261. this.tableData = this.tableData.map(item => ({
  262. ...item,
  263. vVisible: false,
  264. vsInput: false
  265. }))
  266. })
  267. }
  268. },
  269. async configShowTaskStatusEnum() {
  270. const res = await configShowTaskStatusEnum(localStorage.getItem('bizId'))
  271. if (res.code === 200) {
  272. this.allStatus = res.data.taskStatus
  273. }
  274. },
  275. async taskSyncScheduleToDpm(id) {
  276. const res = await taskSyncScheduleToDpm(id)
  277. if (res.code === 200) {
  278. this.$refs.Simulation.click()
  279. this.$message({ message: '同步排期成功', type: 'success', offset: 150 })
  280. }
  281. },
  282. async getDplList(taskId) {
  283. const res = await taskListAvailableDpmTask(taskId)
  284. if (res.code === 200) {
  285. this.dplOption = res.data
  286. }
  287. },
  288. async getTaskList(item) {
  289. this.taskDpl = item.relatedDpmTaskInfo.taskId + item.relatedDpmTaskInfo.name
  290. const res = await taskShowRelatedDpmTask(item.id)
  291. if (res.code === 200) {
  292. this.taskDataList = res.data
  293. }
  294. },
  295. async changeStatus(e) { // 状态改变
  296. if (e.status === 70 || e.status === 90 || e.status === 100) {
  297. this.taskIdObject = e
  298. this.allStatus.map(item => {
  299. item.code === e.status ? this.taskIdObject.statusString = item.msg : ''
  300. })
  301. this.showTaskDialog = true
  302. this.nowChangeTask = e
  303. return
  304. } else {
  305. const user = {
  306. name: localStorage.getItem('username'),
  307. ename: localStorage.getItem('realname'),
  308. id: ''
  309. }
  310. const taskInfoDO = e
  311. const resTask = await taskUpdate({ taskInfoDO, user })
  312. if (resTask.code === 200) {
  313. this.listByTask(this.requirementId)
  314. this.$message({ message: '修改成功', type: 'success', offset: 150 })
  315. }
  316. }
  317. },
  318. addClass({ row, column, rowIndex, columnIndex }) {
  319. if (columnIndex === 3) {
  320. return 'cell-grey'
  321. }
  322. },
  323. setRemoteMethod(val) {
  324. this.form_query.name = val
  325. this.remoteMethod(val)
  326. },
  327. async remoteMethod(query) {
  328. const res = await memberQueryMemberInfoByIDAPorName({ memberIDAP: query })
  329. this.memberIDAP = res.data
  330. },
  331. setRdOwner(e) {
  332. this.$set(this.form_query, 'rdOwner', e)
  333. this.remoteMethod(e)
  334. },
  335. jump(url) {
  336. window.open(url, '_blank')
  337. },
  338. async setRelation(item, taskId) { // 关联望月任务
  339. const res = await taskSetTaskRelated(taskId, item.id)
  340. if (res.code === 200) {
  341. this.listByTask(this.requirementId)
  342. this.$refs.Simulation.click()
  343. this.$message({ message: '关联成功', type: 'success', offset: 150 })
  344. }
  345. },
  346. async delete_dpl(val) { // task断开和望月的关联
  347. const res = await taskDeleteRelationship(val)
  348. if (res.code === 200) {
  349. this.listByTask(this.requirementId)
  350. this.$message({ message: '已取消关联', type: 'success', offset: 150 })
  351. }
  352. },
  353. lockingchange() {
  354. this.locking = true
  355. },
  356. changeSchedule(ele) { // 修改锁定状态
  357. if (this.dataList.isScheduleLocked === 1 && ele.isScheduleLocked === 1) {
  358. this.$message({ message: '无法解锁,请先变更归属需求的排期状态为未锁定状态!', type: 'error', duration: 3000, offset: 150 })
  359. } else {
  360. this.isScheduleLocked = ele.isScheduleLocked
  361. this.taskId = ele.id
  362. this.scheduleVisble = true
  363. }
  364. },
  365. async changeTaskName(val, value, key) { // 修改taskname
  366. if (value) {
  367. console.log(val, value)
  368. key === 1 ? val.rdOwner = value.idap : ''
  369. key === 2 ? val.qaOwner = value.idap : ''
  370. }
  371. val.vsInput = false
  372. val.vVisible = false
  373. val.name = this.taskName.split(' ').join('').length === 0 ? val.name : this.taskName
  374. const taskInfoDO = val
  375. const user = { name: this.userNames, ename: this.userInformation, id: '' }
  376. const res = await taskUpdate({ taskInfoDO, user })
  377. if (res.code === 200) {
  378. this.$refs.Simulation.click()
  379. this.listByTask(this.requirementId)
  380. this.$message({ message: '任务更新成功', type: 'success', duration: 1000, offset: 150 })
  381. }
  382. },
  383. clickAddScheduling(index, ele) { // 模拟调用自组件方法
  384. if (index === 2) {
  385. this.taskList = []
  386. this.taskList.push(ele)
  387. }
  388. const taskA = []
  389. this.taskList.map(item => {
  390. if (item.isScheduleLocked === 1) {
  391. taskA.push(item.taskIdSting)
  392. }
  393. })
  394. if (taskA.length !== 0) {
  395. this.$message({ message: '任务 ' + taskA + ' 的排期已锁定,请先解锁排期后再添加排期', type: 'warning', offset: 150 })
  396. return
  397. }
  398. this.$refs.taskSchedule.addSchedule()
  399. },
  400. clickTemplatTaskName(e) { // 任务名称店家跳转
  401. const { href } = this.$router.resolve({ name: '任务详情', query: { id: e }})
  402. window.open(href, '_blank')
  403. },
  404. editTask(val) { // 点击修改taskName
  405. val.vsInput = true
  406. this.taskName = val.name
  407. this.$nextTick(() => {
  408. this.$refs.taskName.focus()
  409. })
  410. },
  411. changeCheckout(rows) {
  412. if (rows) {
  413. this.tableData.forEach(row => {
  414. this.$refs.taskList.toggleRowSelection(row, true)
  415. })
  416. } else {
  417. this.$refs.taskList.clearSelection()
  418. }
  419. },
  420. Deselect() { // 取消选择
  421. this.taskList.forEach(row => {
  422. this.$refs.taskList.clearSelection()// 调用这个方法
  423. })
  424. this.tableHeader = false
  425. this.taskList = []
  426. },
  427. handleSelectionChange(val) {
  428. this.taskList = val
  429. this.taskList.length === this.tableData.length ? this.checkAlls = true : this.checkAlls = false
  430. if (this.taskList.length > 0) {
  431. this.tableHeader = true
  432. } else {
  433. this.tableHeader = false
  434. }
  435. },
  436. taskScheduleLists(id) {
  437. for (var key in this.taskScheduleEvent) {
  438. if (id === Number(key)) {
  439. return this.taskScheduleEvent[key]
  440. }
  441. }
  442. }
  443. }
  444. }
  445. </script>
  446. <style lang="scss" scoped>
  447. .item-detail {
  448. min-width:110px;
  449. color: #999999;
  450. font-size: 12px;
  451. overflow:hidden
  452. }
  453. .item-details {
  454. color: #333333;
  455. font-size: 12px;
  456. overflow:hidden
  457. }
  458. .templatName {
  459. font-size:12px;
  460. font-family:MicrosoftYaHei;
  461. line-height:14px;
  462. color:rgba(102,102,102,1);
  463. opacity:1;
  464. margin: 5px 0;
  465. }
  466. .templatTaskName {
  467. font-size:14px;
  468. font-family:MicrosoftYaHei;
  469. line-height:23px;
  470. color:rgba(51,51,51,1);
  471. margin-right: 5px;
  472. opacity:1;
  473. }
  474. .lineHeight {
  475. line-height: inherit;
  476. }
  477. .cursorPo:hover {
  478. color:#409EFF;
  479. cursor: pointer;
  480. }
  481. .templatCreator {
  482. font-size:12px;
  483. font-family:MicrosoftYaHei;
  484. line-height:14px;
  485. color:rgba(102,102,102,1);
  486. opacity:1;
  487. margin: 5px 0;
  488. }
  489. .demandLayout {
  490. display: inline-block;
  491. // width: 100px;
  492. margin: 10px 0;
  493. font-size:14px;
  494. line-height:14px;
  495. color:rgba(102,102,102,1);
  496. opacity:1;
  497. }
  498. .demandeta {
  499. font-size:12px;
  500. font-family:MicrosoftYaHei;
  501. line-height:14px;
  502. color:rgba(51,51,51,1);
  503. opacity:1;
  504. }
  505. .iconEdit {
  506. width:100px;
  507. background:rgba(245,245,245,1);
  508. opacity:1;
  509. padding: 2px 10px;
  510. border-radius:20px;
  511. display: flex;
  512. justify-content: space-between;
  513. }
  514. .tableHeader {
  515. >>> .el-table__empty-block{
  516. display: none;
  517. }
  518. }
  519. .involveApp-top-bottom {
  520. margin: 10px 0;
  521. }
  522. .iconPadding {
  523. margin-left: 5px;
  524. }
  525. .schedule-list {
  526. /deep/ .el-table td {
  527. padding: 0;
  528. }
  529. }
  530. .schedule-list {
  531. margin: 0 20px;
  532. padding: 0;
  533. }
  534. .img-logo {
  535. display: inline-block;
  536. width: 60px;
  537. }
  538. >>>.el-table, .el-table__expanded-cell{
  539. background:rgba(248,248,248,0.6);
  540. }
  541. .sty-icon {
  542. position: absolute;
  543. left: 63px;
  544. bottom: 30px;
  545. background: #eee;
  546. border-radius: 50%;
  547. }
  548. .el-involveApp {
  549. font-size:10px;
  550. font-family:MicrosoftYaHei;
  551. line-height:12px;
  552. color:rgba(64,158,255,1);
  553. opacity:1;
  554. }
  555. .endCheck {
  556. font-size:14px;
  557. font-family:Microsoft Sans Serif;
  558. font-weight:400;
  559. line-height:16px;
  560. margin-right: 10px;
  561. color:rgba(102,102,102,1);
  562. opacity:1;
  563. }
  564. @mixin setStatus($color) {
  565. input {
  566. color:$color;
  567. border: 1px solid $color;
  568. }
  569. >>> .el-select__caret{
  570. color:$color;
  571. }
  572. >>> .el-input__inner{
  573. color:$color;
  574. border-color: $color;
  575. }
  576. >>> .el-input__inner:focus {
  577. border-color: $color;
  578. }
  579. }
  580. .status0 {
  581. @include setStatus(#409EFF)
  582. }
  583. .status1{
  584. @include setStatus(#FF8952)
  585. }
  586. .status2 {
  587. @include setStatus(#7ED321)
  588. }
  589. .deg {
  590. transform:rotate(90deg);
  591. -ms-transform:rotate(-90deg); /* Internet Explorer 9*/
  592. -moz-transform:rotate(-90deg); /* Firefox */
  593. -webkit-transform:rotate(-90deg); /* Safari 和 Chrome */
  594. -o-transform:rotate(-90deg); /* Opera */
  595. }
  596. .blueStr {
  597. width:4px;
  598. height:17px;
  599. background:#409EFF;
  600. border-radius:1px;
  601. position: absolute;
  602. top: 22px;
  603. left: 15px;
  604. }
  605. .synchronization {
  606. font-size: 14px;
  607. font-family: Microsoft Sans Serif;
  608. font-weight: 400;
  609. line-height: 25px;
  610. color: #333333;
  611. opacity: 1;
  612. }
  613. .btn-dpl {
  614. color: #fff;
  615. font-size: 12px;
  616. background: #409EFF;
  617. opacity: 1;
  618. border-radius: 5px;
  619. padding: 0 6px;
  620. }
  621. </style>
  622. <style>
  623. .el-popover__title {
  624. color: #333333;
  625. padding-left: 10px;
  626. }
  627. .cell-grey .cell {
  628. padding: 0 !important;
  629. }
  630. .el-tooltip__popper.is-dark {
  631. background:rgba(121,132,150,0.8);
  632. color: #FFF;
  633. }
  634. </style>