demand.vue 25 KB

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